FFmpeg
|
Modules | |
Preprocessor String Macros | |
Library Version Macros | |
Constants | |
Image related | |
AVPicture types, pixel formats and basic image planes manipulation. | |
Version and Build diagnostics | |
Macros and function useful to check at compiletime and at runtime which version of libavutil is in use. | |
Media Type | |
Media Type. | |
Macros | |
#define | av_int_list_length(list, term) av_int_list_length_for_size(sizeof(*(list)), list, term) |
Compute the length of an integer list. More... | |
#define | AV_FOURCC_MAX_STRING_SIZE 32 |
#define | av_fourcc2str(fourcc) av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc) |
Enumerations | |
enum | AVMediaType { AVMEDIA_TYPE_UNKNOWN = -1, AVMEDIA_TYPE_VIDEO, AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_DATA, AVMEDIA_TYPE_SUBTITLE, AVMEDIA_TYPE_ATTACHMENT, AVMEDIA_TYPE_NB } |
Functions | |
const char * | av_get_media_type_string (enum AVMediaType media_type) |
Return a string describing the media_type enum, NULL if media_type is unknown. More... | |
static void * | av_x_if_null (const void *p, const void *x) |
Return x default pointer in case p is NULL. More... | |
attribute_deprecated unsigned | av_int_list_length_for_size (unsigned elsize, const void *list, uint64_t term) av_pure |
Compute the length of an integer list. More... | |
AVRational | av_get_time_base_q (void) |
Return the fractional representation of the internal time base. More... | |
char * | av_fourcc_make_string (char *buf, uint32_t fourcc) |
Fill the provided buffer with a string containing a FourCC (four-character code) representation. More... | |
#define av_int_list_length | ( | list, | |
term | |||
) | av_int_list_length_for_size(sizeof(*(list)), list, term) |
#define av_fourcc2str | ( | fourcc | ) | av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc) |
enum AVMediaType |
const char* av_get_media_type_string | ( | enum AVMediaType | media_type | ) |
Return a string describing the media_type enum, NULL if media_type is unknown.
Definition at line 28 of file utils.c.
Referenced by avcodec_string(), avfilter_link(), avi_write_header(), choose_encoder(), create_streams(), demux_final_stats(), demux_stream_alloc(), encode_frame(), ff_framehash_write_header(), fg_complex_bind_input(), fg_create_simple(), fg_thread_set_name(), find_matching_stream(), find_stream(), flv_init(), get_type_string(), graph_check_validity(), ifilter_bind_dec(), ifilter_bind_fg(), ifilter_bind_ist(), init_muxer(), input_packet_process(), log_slave(), map_manual(), mov_read_kind(), mpeg_mux_init(), mux_final_stats(), mux_stream_alloc(), mxf_add_metadata_stream(), ofilter_alloc(), open_codec_context(), ost_add(), packet_decode(), read_thread(), report_new_stream(), seg_init(), show_frame(), show_packet(), show_stream(), stream_cycle_channel(), stream_specifier_parse(), and write_frame().
|
inlinestatic |
Return x default pointer in case p is NULL.
Definition at line 312 of file avutil.h.
Referenced by activate(), avfilter_link(), avi_write_header(), compact_print_section_header(), data_open(), default_print_section_header(), device_try_init(), ff_print_pts(), ff_print_time(), ftp_connect(), get_frame_side_data_type(), get_packet_side_data_type(), get_stream_group_type(), init(), init_filters(), init_report(), log_default(), match_section(), opt_get_elem(), parse_script(), print_link_prop(), show_stream_group(), and video_thread().
attribute_deprecated unsigned av_int_list_length_for_size | ( | unsigned | elsize, |
const void * | list, | ||
uint64_t | term | ||
) |
AVRational av_get_time_base_q | ( | void | ) |
char* av_fourcc_make_string | ( | char * | buf, |
uint32_t | fourcc | ||
) |
Fill the provided buffer with a string containing a FourCC (four-character code) representation.
buf | a buffer with size in bytes of at least AV_FOURCC_MAX_STRING_SIZE |
fourcc | the fourcc to represent |
Definition at line 75 of file utils.c.
Referenced by ff_decklink_read_header(), and mov_read_udta_string().