This structure describes decoded (raw) audio or video data.
memory handling functions
Views are next to each other.
static const char * stereo3d_type_names[]
const char * av_stereo3d_type_name(unsigned int type)
Provide a human-readable name of a given stereo3d type.
Stereo 3D type: this structure describes how two videos are packed within a single video surface...
Structure to hold side data for an AVFrame.
int av_stereo3d_from_name(const char *name)
Get the AVStereo3DType form a human-readable name.
Views are alternated temporally.
Views are packed per line, as if interlaced.
#define FF_ARRAY_ELEMS(a)
Views are packed per column.
Views are next to each other, but when upscaling apply a checkerboard pattern.
AVFrameSideData * av_frame_new_side_data(AVFrame *frame, enum AVFrameSideDataType type, int size)
Add a new side data to a frame.
AVStereo3D * av_stereo3d_create_side_data(AVFrame *frame)
Allocate a complete AVFrameSideData and add it to the frame.
common internal and external API header
Video is not stereoscopic (and metadata has to be there).
Views are packed in a checkerboard-like structure per pixel.
Views are on top of each other.
AVStereo3D * av_stereo3d_alloc(void)
Allocate an AVStereo3D structure and set its fields to default values.
Stereoscopic 3d metadata.
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...