FFmpeg
[フレーム]
Modules | Macros | Enumerations | Functions
Other
Common utility functions

Modules

  Not exported functions, for internal usage only.
 
 
  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

#define  av_int_list_length(list, term)   av_int_list_length_for_size(sizeof(*(list)), list, term)
  Compute the length of an integer list.
 

Enumerations

 

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.
 
static voidav_x_if_null (const void *p, const void *x)
  Return x default pointer in case p is NULL.
 
unsigned  av_int_list_length_for_size (unsigned elsize, const void *list, uint64_t term) av_pure
  Compute the length of an integer list.
 

Detailed Description

Macro Definition Documentation

#define av_int_list_length (   list,
  term 
)    av_int_list_length_for_size(sizeof(*(list)), 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 312 of file avutil.h.

Enumeration Type Documentation

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 180 of file avutil.h.

Function Documentation

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:
doc/examples/demuxing.c.

Definition at line 70 of file utils.c.

Referenced by avcodec_string(), avfilter_link(), avi_write_header(), describe_frame_to_str(), find_stream(), flv_write_header(), graph_check_validity(), log_slave(), open_codec_context(), open_output_file(), process_input(), report_new_stream(), seg_write_header(), show_frame(), show_packet(), show_stream(), and write_frame().

static void* av_x_if_null ( const voidp,
const voidx 
)
inlinestatic

Return x default pointer in case p is NULL.

Examples:
doc/examples/filtering_audio.c.

Definition at line 289 of file avutil.h.

Referenced by av_opt_get(), avcodec_open2(), avfilter_link(), avi_write_header(), compact_print_section_header(), data_open(), default_print_section_header(), device_try_init(), filter_frame(), 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 voidlist,
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 96 of file utils.c.


Generated on Sat Jan 25 2014 19:52:24 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /