FFmpeg
Data Fields
AVStereo3D Struct Reference

Stereo 3D type: this structure describes how two videos are packed within a single video surface, with additional information as needed. More...

#include <stereo3d.h>

Data Fields

enum AVStereo3DType type
 How views are packed within the video. More...
 
int flags
 Additional information about the frame packing. More...
 
enum AVStereo3DView view
 Determines which views are packed. More...
 
enum AVStereo3DPrimaryEye primary_eye
 Which eye is the primary eye when rendering in 2D. More...
 
uint32_t baseline
 The distance between the centres of the lenses of the camera system, in micrometers. More...
 
AVRational horizontal_disparity_adjustment
 Relative shift of the left and right images, which changes the zero parallax plane. More...
 
AVRational horizontal_field_of_view
 Horizontal field of view, in degrees. More...
 

Detailed Description

Stereo 3D type: this structure describes how two videos are packed within a single video surface, with additional information as needed.

Note
The struct must be allocated with av_stereo3d_alloc() and its size is not a part of the public ABI.

Definition at line 203 of file stereo3d.h.

Field Documentation

◆ type

enum AVStereo3DType AVStereo3D::type

◆ flags

int AVStereo3D::flags

◆ view

enum AVStereo3DView AVStereo3D::view

◆ primary_eye

enum AVStereo3DPrimaryEye AVStereo3D::primary_eye

Which eye is the primary eye when rendering in 2D.

Definition at line 222 of file stereo3d.h.

Referenced by dump_stereo3d(), mov_read_eyes(), mov_write_eyes_tag(), mov_write_vexu_tag(), and print_pkt_side_data().

◆ baseline

uint32_t AVStereo3D::baseline

The distance between the centres of the lenses of the camera system, in micrometers.

Zero if unset.

Definition at line 228 of file stereo3d.h.

Referenced by dump_stereo3d(), mov_read_eyes(), mov_write_eyes_tag(), mov_write_vexu_tag(), and print_pkt_side_data().

◆ horizontal_disparity_adjustment

AVRational AVStereo3D::horizontal_disparity_adjustment

Relative shift of the left and right images, which changes the zero parallax plane.

Range is -1.0 to 1.0. Zero if unset.

Definition at line 234 of file stereo3d.h.

Referenced by dump_stereo3d(), get_defaults(), mov_read_eyes(), mov_write_eyes_tag(), mov_write_vexu_tag(), and print_pkt_side_data().

◆ horizontal_field_of_view

AVRational AVStereo3D::horizontal_field_of_view

Horizontal field of view, in degrees.

Zero if unset.

Definition at line 239 of file stereo3d.h.

Referenced by dump_stereo3d(), get_defaults(), mov_read_hfov(), mov_write_hfov_tag(), and print_pkt_side_data().


The documentation for this struct was generated from the following file: