FFmpeg
Data Fields
AVComponentDescriptor Struct Reference

#include <pixdesc.h>

Data Fields

int plane
 Which of the 4 planes contains the component. More...
 
int step
 Number of elements between 2 horizontally consecutive pixels. More...
 
int offset
 Number of elements before the component of the first pixel. More...
 
int shift
 Number of least significant bits that must be shifted away to get the value. More...
 
int depth
 Number of bits in the component. More...
 
attribute_deprecated int step_minus1
 deprecated, use step instead More...
 
attribute_deprecated int depth_minus1
 deprecated, use depth instead More...
 
attribute_deprecated int offset_plus1
 deprecated, use offset instead More...
 

Detailed Description

Definition at line 31 of file pixdesc.h.

Field Documentation

◆ plane

int AVComponentDescriptor::plane

Which of the 4 planes contains the component.

Definition at line 35 of file pixdesc.h.

Referenced by filter_frame(), overlay_opencl_load(), and xfade_opencl_load().

◆ step

int AVComponentDescriptor::step

Number of elements between 2 horizontally consecutive pixels.

Elements are bits for bitstream formats, bytes otherwise.

Definition at line 41 of file pixdesc.h.

Referenced by decode_slice(), encode_slice(), ff_mjpeg_receive_frame(), filter_frame(), and flip_bayer().

◆ offset

int AVComponentDescriptor::offset

Number of elements before the component of the first pixel.

Elements are bits for bitstream formats, bytes otherwise.

Definition at line 47 of file pixdesc.h.

◆ shift

int AVComponentDescriptor::shift

Number of least significant bits that must be shifted away to get the value.

Definition at line 53 of file pixdesc.h.

Referenced by planarToP01xWrapper().

◆ depth

int AVComponentDescriptor::depth

◆ step_minus1

attribute_deprecated int AVComponentDescriptor::step_minus1

deprecated, use step instead

Definition at line 62 of file pixdesc.h.

◆ depth_minus1

attribute_deprecated int AVComponentDescriptor::depth_minus1

deprecated, use depth instead

Definition at line 65 of file pixdesc.h.

◆ offset_plus1

attribute_deprecated int AVComponentDescriptor::offset_plus1

deprecated, use offset instead

Definition at line 68 of file pixdesc.h.


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