21 #ifndef AVFORMAT_INTERNAL_H
22 #define AVFORMAT_INTERNAL_H
27 #define MAX_URL_SIZE 4096
30 # define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size)
32 # define hex_dump_debug(class, buf, size)
43 #define dynarray_add(tab, nb_ptr, elem)\
45 __typeof__(tab) _tab = (tab);\
46 __typeof__(elem) _elem = (elem);\
47 (void)sizeof(**_tab == _elem); \
48 ff_dynarray_add((intptr_t **)_tab, nb_ptr, (intptr_t)_elem);\
51 #define dynarray_add(tab, nb_ptr, elem)\
53 ff_dynarray_add((intptr_t **)(tab), nb_ptr, (intptr_t)(elem));\
57 struct tm *
brktimegm(time_t secs,
struct tm *tm);
82 #define NTP_OFFSET 2208988800ULL
83 #define NTP_OFFSET_US (NTP_OFFSET * 1000000ULL)
110 const char *authorization,
const char *hostname,
131 const
char *dest_addr, const
char *dest_type,
171 #define SPACE_CHARS " \t\r\n"
184 int key_len,
char **dest,
int *dest_len);
207 int64_t wanted_timestamp,
int flags);
213 int *nb_index_entries,
214 unsigned int *index_entries_allocated_size,
215 int64_t pos, int64_t timestamp,
int size,
int distance,
int flags);
229 int64_t start, int64_t end,
const char *title);
264 int64_t target_ts,
int flags);
283 int64_t target_ts, int64_t pos_min,
284 int64_t pos_max, int64_t pos_limit,
285 int64_t ts_min, int64_t ts_max,
286 int flags, int64_t *ts_ret,
287 int64_t (*read_timestamp)(
struct AVFormatContext *,
int , int64_t *, int64_t ));
300 unsigned int pts_num,
unsigned int pts_den);
307 uint64_t channel_layout, int32_t sample_rate,