|
Libav
|
reference-counted frame API More...
#include <stdint.h>#include "avutil.h"#include "buffer.h"#include "dict.h"#include "rational.h"#include "samplefmt.h"#include "pixfmt.h"#include "version.h"Go to the source code of this file.
Data Structures | |
| struct | AVFrameSideData |
| struct | AVFrame |
| This structure describes decoded (raw) audio or video data. More... | |
Macros | |
| #define | AV_NUM_DATA_POINTERS 8 |
| #define | AV_FRAME_FLAG_CORRUPT (1 << 0) |
| The frame data may be corrupted, e.g. More... | |
Enumerations | |
| enum | AVFrameSideDataType { AV_FRAME_DATA_PANSCAN, AV_FRAME_DATA_A53_CC, AV_FRAME_DATA_STEREO3D, AV_FRAME_DATA_MATRIXENCODING, AV_FRAME_DATA_DOWNMIX_INFO, AV_FRAME_DATA_REPLAYGAIN, AV_FRAME_DATA_DISPLAYMATRIX, AV_FRAME_DATA_AFD } |
| enum | AVActiveFormatDescription { AV_AFD_SAME = 8, AV_AFD_4_3 = 9, AV_AFD_16_9 = 10, AV_AFD_14_9 = 11, AV_AFD_4_3_SP_14_9 = 13, AV_AFD_16_9_SP_14_9 = 14, AV_AFD_SP_4_3 = 15 } |
Functions | |
| AVFrame * | av_frame_alloc (void) |
| Allocate an AVFrame and set its fields to default values. More... | |
| void | av_frame_free (AVFrame **frame) |
| Free the frame and any dynamically allocated objects in it, e.g. More... | |
| int | av_frame_ref (AVFrame *dst, const AVFrame *src) |
| Set up a new reference to the data described by the source frame. More... | |
| AVFrame * | av_frame_clone (const AVFrame *src) |
| Create a new frame that references the same data as src. More... | |
| void | av_frame_unref (AVFrame *frame) |
| Unreference all the buffers referenced by frame and reset the frame fields. More... | |
| void | av_frame_move_ref (AVFrame *dst, AVFrame *src) |
| Move everythnig contained in src to dst and reset src. More... | |
| int | av_frame_get_buffer (AVFrame *frame, int align) |
| Allocate new buffer(s) for audio or video data. More... | |
| int | av_frame_is_writable (AVFrame *frame) |
| Check if the frame data is writable. More... | |
| int | av_frame_make_writable (AVFrame *frame) |
| Ensure that the frame data is writable, avoiding data copy if possible. More... | |
| int | av_frame_copy (AVFrame *dst, const AVFrame *src) |
| Copy the frame data from src to dst. More... | |
| int | av_frame_copy_props (AVFrame *dst, const AVFrame *src) |
| Copy only "metadata" fields from src to dst. More... | |
| AVBufferRef * | av_frame_get_plane_buffer (AVFrame *frame, int plane) |
| Get the buffer reference a given data plane is stored in. More... | |
| AVFrameSideData * | av_frame_new_side_data (AVFrame *frame, enum AVFrameSideDataType type, int size) |
| Add a new side data to a frame. More... | |
| AVFrameSideData * | av_frame_get_side_data (const AVFrame *frame, enum AVFrameSideDataType type) |
| void | av_frame_remove_side_data (AVFrame *frame, enum AVFrameSideDataType type) |
| If side data of the supplied type exists in the frame, free it and remove it from the frame. More... | |
reference-counted frame API
Definition in file frame.h.
| #define AV_NUM_DATA_POINTERS 8 |
Definition at line 136 of file frame.h.
Referenced by audio_get_buffer(), avcodec_align_dimensions(), avcodec_encode_audio2(), avcodec_fill_audio_frame(), draw_slice(), ff_draw_horiz_band(), ff_h264_draw_horiz_band(), get_audio_buffer(), video_get_buffer(), and vp3_draw_horiz_band().
1.8.8