FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVComponentDescriptor Struct Reference

#include <pixdesc.h>

Data Fields

uint16_t plane:2
 which of the 4 planes contains the component
 
uint16_t step_minus1:3
 Number of elements between 2 horizontally consecutive pixels minus 1.
 
uint16_t offset_plus1:3
 Number of elements before the component of the first pixel plus 1.
 
uint16_t shift:3
 number of least significant bits that must be shifted away to get the value
 
uint16_t depth_minus1:4
 number of bits in the component minus 1
 

Detailed Description

Definition at line 30 of file pixdesc.h.

Field Documentation

uint16_t AVComponentDescriptor::plane
uint16_t AVComponentDescriptor::step_minus1

Number of elements between 2 horizontally consecutive pixels minus 1.

Elements are bits for bitstream formats, bytes otherwise.

Definition at line 37 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(), decode_slice(), encode_slice(), ff_check_pixfmt_descriptors(), ff_draw_init(), libopenjpeg_decode_frame(), and video_get_buffer().

uint16_t AVComponentDescriptor::offset_plus1

Number of elements before the component of the first pixel plus 1.

Elements are bits for bitstream formats, bytes otherwise.

Definition at line 43 of file pixdesc.h.

Referenced by av_read_image_line(), av_write_image_line(), ff_check_pixfmt_descriptors(), ff_draw_init(), and is_planar_yuv().

uint16_t AVComponentDescriptor::shift

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

Definition at line 44 of file pixdesc.h.

Referenced by av_read_image_line(), av_write_image_line(), ff_check_pixfmt_descriptors(), and is_planar_yuv().

uint16_t AVComponentDescriptor::depth_minus1

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