FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

int AVComponentDescriptor::plane
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 av_get_padded_bits_per_pixel(), av_image_fill_max_pixsteps(), av_read_image_line(), av_write_image_line(), blend_image_rgb(), blend_image_yuv(), decode_slice(), encode_slice(), ff_check_pixfmt_descriptors(), ff_draw_init(), ff_mjpeg_decode_frame(), and libopenjpeg_decode_frame().

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.

Referenced by av_read_image_line(), av_write_image_line(), blend_image_rgb(), blend_image_yuv(), config_output(), ff_check_pixfmt_descriptors(), ff_draw_color(), ff_draw_init(), ff_sws_alphablendaway(), and is_planar_yuv().

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 av_read_image_line(), av_write_image_line(), ff_check_pixfmt_descriptors(), is_planar_yuv(), libopenjpeg_copy_to_packed16(), and libopenjpeg_copyto16().

int AVComponentDescriptor::depth
attribute_deprecated int AVComponentDescriptor::step_minus1

deprecated, use step instead

Definition at line 62 of file pixdesc.h.

attribute_deprecated int AVComponentDescriptor::depth_minus1

deprecated, use depth instead

Definition at line 65 of file pixdesc.h.

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: