#include <stdlib.h>#include <string.h>#include <errno.h>#include "rtv.h"#include "rtvlib.h"#include "ndxclient.h"Go to the source code of this file.
Functions | |
| int | rtv_open_ndx_file (const rtv_device_info_t *devinfo, const char *filename, unsigned int cache_sz) |
| int | rtv_close_ndx_file (void) |
| int | rtv_get_ndx30_rec (unsigned int time_ms, rtv_ndx_30_record_t *rec) |
| int | rtv_get_ndx22_rec (unsigned int time_ms, rtv_ndx_22_record_t *rec) |
| int | rtv_parse_4k_ndx_file (rtv_comm_blks_t *commercials) |
| void | rtv_print_30_ndx_rec (char *tag, int rec_no, rtv_ndx_30_record_t *rec) |
| void | rtv_print_22_ndx_rec (char *tag, int rec_no, rtv_ndx_22_record_t *rec) |
Variables | |
| static const rtv_ndx_30_record_t | zero_time_ndx30_rec = { 0ULL, 0ULL, 0, 0 } |
| static const rtv_ndx_22_record_t | zero_time_ndx22_rec = { 0, 0, 0, 0, 0, 0, 0, 0, 0ULL, 0ULL} |
| static rtv_4k_ndx_slice_list_t | ndx_slice_list = { .num_slices = 0, .sec_per_slice = RTV_NUM_SEC_PER_SLICE, .slice = NULL } |
| static rtv_ndx_info_t | ndx_info |
|
|
Definition at line 141 of file ndxclient.c. References rtv_http_resp_data_t::buf, rtv_ndx_info_t::file_chunk, ndx_info, and rtv_ndx_info_t::recs_in_mem. Referenced by rtv_release_show_resources(). |
|
||||||||||||
|
||||||||||||
|
||||||||||||||||
|
|
||||||||||||||||
|
Definition at line 570 of file ndxclient.c. References rtv_ndx_22_record_t::audio_offset, rtv_ndx_info_t::base_time, ndx_info, rtv_format_nsec64(), RTV_PRT, rtv_ndx_22_record_t::stream_position, rtv_ndx_22_record_t::timestamp, and rtv_ndx_22_record_t::video_offset. Referenced by rtv_get_ndx22_rec(), and rtv_parse_4k_ndx_file(). |
|
||||||||||||||||
|
Definition at line 548 of file ndxclient.c. References rtv_ndx_30_record_t::filepos_iframe, rtv_ndx_30_record_t::iframe_size, rtv_format_nsec64(), RTV_PRT, and rtv_ndx_30_record_t::timestamp. Referenced by rtv_get_ndx30_rec(). |
|
|
Definition at line 29 of file ndxclient.c. Referenced by rtv_close_ndx_file(), rtv_get_ndx22_rec(), rtv_get_ndx30_rec(), rtv_open_ndx_file(), rtv_parse_4k_ndx_file(), and rtv_print_22_ndx_rec(). |
|
|
Definition at line 28 of file ndxclient.c. Referenced by rtv_get_ndx22_rec(), and rtv_parse_4k_ndx_file(). |
|
|
Definition at line 26 of file ndxclient.c. Referenced by rtv_get_ndx22_rec(). |
|
|
Definition at line 25 of file ndxclient.c. Referenced by rtv_get_ndx30_rec(). |
1.4.6