AVComponentDescriptor Struct Reference

#include <pixdesc.h>

Data Fields

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

Detailed Description

Definition at line 28 of file pixdesc.h.

Field Documentation

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 41 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 42 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::step_minus1

Number of elements between 2 horizontally consecutive pixels minus 1.

Elements are bits for bitstream formats, bytes otherwise.

Definition at line 35 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().


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