Views are packed per line, as if interlaced.
This structure describes decoded (raw) audio or video data.
Views are alternated temporally.
Views are next to each other, but when upscaling apply a checkerboard pattern.
memory handling functions
#define FF_ARRAY_ELEMS(a)
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...
int av_stereo3d_from_name(const char *name)
Get the AVStereo3DType form a human-readable name.
Video is not stereoscopic (and metadata has to be there).
AVFrameSideData * av_frame_new_side_data(AVFrame *frame, enum AVFrameSideDataType type, int size)
Add a new side data to a frame.
Views are on top of each other.
AVStereo3D * av_stereo3d_create_side_data(AVFrame *frame)
Allocate a complete AVFrameSideData and add it to the frame.
Views are next to each other.
common internal and external API header
Views are packed in a checkerboard-like structure per pixel.
Views are packed per column.
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 ...