FFmpeg
|
Files | |
file | stereo3d.h |
Data Structures | |
struct | AVStereo3D |
Stereo 3D type: this structure describes how two videos are packed within a single video surface, with additional information as needed. More... | |
Macros | |
#define | AV_STEREO3D_FLAG_INVERT (1 << 0) |
Inverted views, Right/Bottom represents the left view. More... | |
Enumerations | |
enum | AVStereo3DType { AV_STEREO3D_2D, AV_STEREO3D_SIDEBYSIDE, AV_STEREO3D_TOPBOTTOM, AV_STEREO3D_FRAMESEQUENCE, AV_STEREO3D_CHECKERBOARD, AV_STEREO3D_SIDEBYSIDE_QUINCUNX, AV_STEREO3D_LINES, AV_STEREO3D_COLUMNS } |
List of possible 3D Types. More... | |
enum | AVStereo3DView { AV_STEREO3D_VIEW_PACKED, AV_STEREO3D_VIEW_LEFT, AV_STEREO3D_VIEW_RIGHT } |
List of possible view types. More... | |
Functions | |
AVStereo3D * | av_stereo3d_alloc (void) |
Allocate an AVStereo3D structure and set its fields to default values. More... | |
AVStereo3D * | av_stereo3d_create_side_data (AVFrame *frame) |
Allocate a complete AVFrameSideData and add it to the frame. More... | |
const char * | av_stereo3d_type_name (unsigned int type) |
Provide a human-readable name of a given stereo3d type. More... | |
int | av_stereo3d_from_name (const char *name) |
Get the AVStereo3DType form a human-readable name. More... | |
A stereoscopic video file consists in multiple views embedded in a single frame, usually describing two views of a scene. This file describes all possible codec-independent view arrangements.
#define AV_STEREO3D_FLAG_INVERT (1 << 0) |
Inverted views, Right/Bottom represents the left view.
Definition at line 164 of file stereo3d.h.
enum AVStereo3DType |
List of possible 3D Types.
Definition at line 48 of file stereo3d.h.
enum AVStereo3DView |
List of possible view types.
Enumerator | |
---|---|
AV_STEREO3D_VIEW_PACKED | Frame contains two packed views. |
AV_STEREO3D_VIEW_LEFT | Frame contains only the left view. |
AV_STEREO3D_VIEW_RIGHT | Frame contains only the right view. |
Definition at line 144 of file stereo3d.h.
AVStereo3D* av_stereo3d_alloc | ( | void | ) |
Allocate an AVStereo3D structure and set its fields to default values.
The resulting struct can be freed using av_freep().
Definition at line 29 of file stereo3d.c.
Referenced by ff_mkv_stereo3d_conv(), mjpeg_decode_app(), mov_parse_uuid_spherical(), and mov_read_st3d().
AVStereo3D* av_stereo3d_create_side_data | ( | AVFrame * | frame | ) |
Allocate a complete AVFrameSideData and add it to the frame.
frame | The frame which side data is added to. |
Definition at line 34 of file stereo3d.c.
Referenced by ff_h2645_sei_to_frame(), ff_mjpeg_decode_frame_from_buf(), mpeg_field_start(), output_frame(), and try_push_frame().
const char* av_stereo3d_type_name | ( | unsigned int | type | ) |
Provide a human-readable name of a given stereo3d type.
type | The input stereo3d type value. |
Definition at line 58 of file stereo3d.c.
Referenced by dump_stereo3d(), mov_write_st3d_tag(), and print_pkt_side_data().
int av_stereo3d_from_name | ( | const char * | name | ) |
Get the AVStereo3DType form a human-readable name.
name | The input string. |
Definition at line 66 of file stereo3d.c.