ffmpeg.libavutil.frame

Undocumented in source.

Members

Enums

AVActiveFormatDescription
enum AVActiveFormatDescription
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVFrameSideDataType
enum AVFrameSideDataType

@defgroup lavu_frame AVFrame @ingroup lavu_data

Functions

av_frame_alloc
AVFrame* av_frame_alloc()

Allocate an AVFrame and set its fields to default values. The resulting struct must be freed using av_frame_free().

av_frame_clone
AVFrame* av_frame_clone(AVFrame* src)

Create a new frame that references the same data as src.

av_frame_copy
int av_frame_copy(AVFrame* dst, AVFrame* src)

Copy the frame data from src to dst.

av_frame_copy_props
int av_frame_copy_props(AVFrame* dst, AVFrame* src)

Copy only "metadata" fields from src to dst.

av_frame_free
void av_frame_free(AVFrame** frame)

Free the frame and any dynamically allocated objects in it, e.g. extended_data. If the frame is reference counted, it will be unreferenced first.

av_frame_get_best_effort_timestamp
int64_t av_frame_get_best_effort_timestamp(AVFrame* frame)

Accessors for some AVFrame fields. The position of these field in the structure is not part of the ABI, they should not be accessed directly outside libavcodec.

av_frame_get_buffer
int av_frame_get_buffer(AVFrame* frame, int _align)

Allocate new buffer(s) for audio or video data.

av_frame_get_channel_layout
int64_t av_frame_get_channel_layout(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_channels
int av_frame_get_channels(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_color_range
AVColorRange av_frame_get_color_range(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_colorspace
AVColorSpace av_frame_get_colorspace(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_decode_error_flags
int av_frame_get_decode_error_flags(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_metadata
AVDictionary* av_frame_get_metadata(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_pkt_duration
int64_t av_frame_get_pkt_duration(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_pkt_pos
int64_t av_frame_get_pkt_pos(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_pkt_size
int av_frame_get_pkt_size(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_plane_buffer
AVBufferRef* av_frame_get_plane_buffer(AVFrame* frame, int plane)

Get the buffer reference a given data plane is stored in.

av_frame_get_qp_table
int8_t* av_frame_get_qp_table(AVFrame* f, int* stride, int* type)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_sample_rate
int av_frame_get_sample_rate(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_get_side_data
AVFrameSideData* av_frame_get_side_data(AVFrame* frame, AVFrameSideDataType type)

@return a pointer to the side data of a given type on success, NULL if there is no side data with such type in this frame.

av_frame_is_writable
int av_frame_is_writable(AVFrame* frame)

Check if the frame data is writable.

av_frame_make_writable
int av_frame_make_writable(AVFrame* frame)

Ensure that the frame data is writable, avoiding data copy if possible.

av_frame_move_ref
void av_frame_move_ref(AVFrame* dst, AVFrame* src)

Move everythnig contained in src to dst and reset src.

av_frame_new_side_data
AVFrameSideData* av_frame_new_side_data(AVFrame* frame, AVFrameSideDataType type, int size)

Add a new side data to a frame.

av_frame_ref
int av_frame_ref(AVFrame* dst, AVFrame* src)

Set up a new reference to the data described by the source frame.

av_frame_remove_side_data
void av_frame_remove_side_data(AVFrame* frame, AVFrameSideDataType type)

If side data of the supplied type exists in the frame, free it and remove it from the frame.

av_frame_set_best_effort_timestamp
void av_frame_set_best_effort_timestamp(AVFrame* frame, int64_t val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_channel_layout
void av_frame_set_channel_layout(AVFrame* frame, int64_t val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_channels
void av_frame_set_channels(AVFrame* frame, int val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_color_range
void av_frame_set_color_range(AVFrame* frame, AVColorRange val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_colorspace
void av_frame_set_colorspace(AVFrame* frame, AVColorSpace val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_decode_error_flags
void av_frame_set_decode_error_flags(AVFrame* frame, int val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_metadata
void av_frame_set_metadata(AVFrame* frame, AVDictionary* val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_pkt_duration
void av_frame_set_pkt_duration(AVFrame* frame, int64_t val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_pkt_pos
void av_frame_set_pkt_pos(AVFrame* frame, int64_t val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_pkt_size
void av_frame_set_pkt_size(AVFrame* frame, int val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_qp_table
int av_frame_set_qp_table(AVFrame* f, AVBufferRef* buf, int stride, int type)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_set_sample_rate
void av_frame_set_sample_rate(AVFrame* frame, int val)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_frame_side_data_name
char* av_frame_side_data_name(AVFrameSideDataType type)

@return a string identifying the side data type

av_frame_unref
void av_frame_unref(AVFrame* frame)

Unreference all the buffers referenced by frame and reset the frame fields.

av_get_colorspace_name
char* av_get_colorspace_name(AVColorSpace val)

Get the name of a colorspace. @return a static string identifying the colorspace; can be NULL.

avpriv_frame_get_metadatap
AVDictionary** avpriv_frame_get_metadatap(AVFrame* frame)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

AV_FRAME_FLAG_CORRUPT
enum AV_FRAME_FLAG_CORRUPT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_NUM_DATA_POINTERS
enum AV_NUM_DATA_POINTERS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FF_DECODE_ERROR_INVALID_BITSTREAM
enum FF_DECODE_ERROR_INVALID_BITSTREAM;

@}

FF_DECODE_ERROR_MISSING_REFERENCE
enum FF_DECODE_ERROR_MISSING_REFERENCE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

AVFrame
struct AVFrame

This structure describes decoded (raw) audio or video data.

AVFrameSideData
struct AVFrameSideData

Structure to hold side data for an AVFrame.

Meta