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...
 

Detailed Description

Definition at line 30 of file pixdesc.h.

Field Documentation

◆ plane

int AVComponentDescriptor::plane

Which of the 4 planes contains the component.

Definition at line 34 of file pixdesc.h.

Referenced by overlay_opencl_load(), remap_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 40 of file pixdesc.h.

Referenced by decode_slice(), encode_slice(), ff_mjpeg_decode_frame_from_buf(), 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 46 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 52 of file pixdesc.h.

Referenced by planarToP01xWrapper().

◆ depth

int AVComponentDescriptor::depth

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