FFmpeg
|
Modules | |
Preprocessor String Macros | |
String manipulation macros. | |
Library Version Macros | |
Useful to check and match library version in order to maintain backward compatibility. | |
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... | |
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... | |
FILE * | av_fopen_utf8 (const char *path, const char *mode) |
Open a file using a UTF-8 filename. 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_FOURCC_MAX_STRING_SIZE 32 |
Definition at line 346 of file avutil.h.
Referenced by av_fourcc_make_string().
#define av_fourcc2str | ( | fourcc | ) | av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc) |
Definition at line 348 of file avutil.h.
Referenced by apng_read_packet(), avcodec_string(), avi_read_header(), control_port_cb(), decode_frame(), decode_frame_common(), dxa_read_packet(), ff_mov_read_stsd_entries(), ffmmal_init_decoder(), ffmmal_read_frame(), get_aiff_header(), init_muxer(), main(), matroska_parse_tracks(), mjpeg_decode_app(), mov_read_default(), mov_read_hdlr(), mov_write_hdlr_tag(), oma_write_header(), parse_dsd_prop(), parse_pixel_format(), print_pix_fmt_fourccs(), read_header(), rm_read_header(), rpl_read_header(), rsd_read_header(), scan_file(), show_stream(), videotoolbox_retrieve_data(), vqa_decode_chunk(), wc3_read_header(), wc3_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), and xwma_read_header().
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 79 of file utils.c.
Referenced by avcodec_string(), avfilter_link(), avi_write_header(), check_streamcopy_filters(), describe_frame_to_str(), ff_framehash_write_header(), find_stream(), flv_write_header(), graph_check_validity(), log_slave(), mpeg_mux_init(), mxf_add_metadata_stream(), open_codec_context(), open_output_file(), process_input(), read_thread(), report_new_stream(), seg_init(), show_frame(), show_packet(), show_stream(), stream_cycle_channel(), write_frame(), and write_packet().
Return x default pointer in case p is NULL.
Definition at line 308 of file avutil.h.
Referenced by activate(), av_opt_get(), avcodec_open2(), avfilter_link(), avi_write_header(), compact_print_section_header(), data_open(), default_print_section_header(), device_try_init(), ftp_connect(), init(), init_dict(), init_filters(), init_report(), init_video(), match_section(), opt_list(), parse_script(), print_link_prop(), and video_thread().
unsigned av_int_list_length_for_size | ( | unsigned | elsize, |
const void * | list, | ||
uint64_t | term | ||
) |
FILE* av_fopen_utf8 | ( | const char * | path, |
const char * | mode | ||
) |
Open a file using a UTF-8 filename.
The API of this function matches POSIX fopen(), errors are returned through errno.
Definition at line 154 of file file_open.c.
Referenced by disp_tree(), dump_curves(), and new_video_stream().
AVRational av_get_time_base_q | ( | void | ) |
char* av_fourcc_make_string | ( | char * | buf, |
uint32_t | fourcc | ||
) |