Modules
AVPicture types, pixel formats and basic image planes manipulation.
Macros and function useful to check at compiletime and at runtime which version of libavutil is in use.
Media Type.
Macros
Compute the length of an integer list.
More...
Enumerations
Functions
Return a string describing the media_type enum, NULL if media_type is unknown.
More...
Return x default pointer in case p is NULL.
More...
Compute the length of an integer list.
More...
Open a file using a UTF-8 filename.
More...
Return the fractional representation of the internal time base.
More...
Fill the provided buffer with a string containing a FourCC (four-character code) representation.
More...
Detailed Description
Macro Definition Documentation
◆ av_int_list_length
#define av_int_list_length
(
list,
term
Compute the length of an integer list.
- Parameters
-
term list terminator (usually 0 or -1)
list pointer to the list
- Returns
- length of the list, in elements, not counting the terminator
Definition at line 331 of file avutil.h.
◆ AV_FOURCC_MAX_STRING_SIZE
#define AV_FOURCC_MAX_STRING_SIZE 32
◆ av_fourcc2str
Enumeration Type Documentation
◆ AVMediaType
| Enumerator |
|---|
| AVMEDIA_TYPE_UNKNOWN | Usually treated as AVMEDIA_TYPE_DATA.
|
| AVMEDIA_TYPE_VIDEO |
| AVMEDIA_TYPE_AUDIO |
| AVMEDIA_TYPE_DATA | Opaque data information usually continuous.
|
| AVMEDIA_TYPE_SUBTITLE |
| AVMEDIA_TYPE_ATTACHMENT | Opaque data information usually sparse.
|
| AVMEDIA_TYPE_NB |
Definition at line 199 of file avutil.h.
Function Documentation
◆ av_get_media_type_string()
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.
- Examples
- demuxing_decoding.c.
Definition at line 71 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_matching_stream(), find_stream(), flv_init(), get_type_string(), graph_check_validity(), log_slave(), mov_read_kind(), mpeg_mux_init(), mxf_add_metadata_stream(), open_codec_context(), process_input(), read_thread(), report_new_stream(), seg_init(), show_frame(), show_packet(), show_stream(), stream_cycle_channel(), write_frame(), and write_packet().
◆ av_x_if_null()
static void* av_x_if_null
(
const void *
p,
const void *
x
)
inlinestatic |
Return x default pointer in case p is NULL.
- Examples
- filtering_audio.c.
Definition at line 308 of file avutil.h.
Referenced by activate(), av_opt_get(), avfilter_link(), avi_write_header(), compact_print_section_header(), data_open(), default_print_section_header(), device_try_init(), ff_encode_preinit(), ftp_connect(), init(), init_dict(), init_filters(), init_report(), match_section(), opt_list(), parse_script(), print_link_prop(), and video_thread().
◆ av_int_list_length_for_size()
unsigned av_int_list_length_for_size
(
unsigned
elsize,
const void *
list,
uint64_t
term
)
Compute the length of an integer list.
- Parameters
-
elsize size in bytes of each list element (only 1, 2, 4 or 8)
term list terminator (usually 0 or -1)
list pointer to the list
- Returns
- length of the list, in elements, not counting the terminator
Definition at line 97 of file utils.c.
◆ av_fopen_utf8()
FILE* av_fopen_utf8
(
const char *
path,
const char *
mode
)
◆ av_get_time_base_q()
Return the fractional representation of the internal time base.
Definition at line 139 of file utils.c.
◆ av_fourcc_make_string()
char* av_fourcc_make_string
(
char *
buf,
uint32_t
fourcc
)
Fill the provided buffer with a string containing a FourCC (four-character code) representation.
- Parameters
-
buf a buffer with size in bytes of at least AV_FOURCC_MAX_STRING_SIZE
fourcc the fourcc to represent
- Returns
- the buffer in input
Definition at line 116 of file utils.c.
Referenced by ff_decklink_read_header(), and mov_read_udta_string().
Generated on Wed Aug 24 2022 21:38:53 for FFmpeg by
doxygen
1.8.17