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)
48 #define dynarray_add(tab, nb_ptr, elem)\
50 __typeof__(tab) _tab = (tab);\
51 __typeof__(elem) _elem = (elem);\
52 (void)sizeof(**_tab == _elem); \
53 ff_dynarray_add((intptr_t **)_tab, nb_ptr, (intptr_t)_elem);\
56 #define dynarray_add(tab, nb_ptr, elem)\
58 ff_dynarray_add((intptr_t **)(tab), nb_ptr, (intptr_t)(elem));\
87 #define NTP_OFFSET 2208988800ULL
88 #define NTP_OFFSET_US (NTP_OFFSET * 1000000ULL)
115 const char *authorization,
const char *hostname,
116 int port,
const char *fmt, ...) av_printf_format(7, 8);
137 const
char *dest_addr, const
char *dest_type,
177 #define SPACE_CHARS " \t\r\n"
190 int key_len,
char **dest,
int *dest_len);
213 int64_t wanted_timestamp,
int flags);
219 int *nb_index_entries,
220 unsigned int *index_entries_allocated_size,
221 int64_t pos, int64_t timestamp,
int size,
int distance,
int flags);
235 int64_t start, int64_t end,
const char *title);
270 int64_t target_ts,
int flags);
289 int64_t target_ts, int64_t pos_min,
290 int64_t pos_max, int64_t pos_limit,
291 int64_t ts_min, int64_t ts_max,
292 int flags, int64_t *ts_ret,
293 int64_t (*read_timestamp)(
struct AVFormatContext *,
int , int64_t *, int64_t ));
308 unsigned int pts_num,
unsigned int pts_den);
315 uint64_t channel_layout,
int32_t sample_rate,