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 28 of file pixdesc.h.


Field Documentation

number of bits in the component minus 1

Definition at line 43 of file pixdesc.h.

Referenced by av_get_bits_per_pixel(), av_read_image_line(), av_write_image_line(), config_input(), encode_frame(), end_frame(), ff_draw_init(), filter(), get_pix_fmt_depth(), hScale16To15_c(), hScale16To19_c(), libopenjpeg_matches_pix_fmt(), mj2_create_image(), planarCopyWrapper(), return_frame(), and sws_init_context().

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(), and ff_draw_init().

which of the 4 planes contains the component

Definition at line 29 of file pixdesc.h.

Referenced by av_image_copy(), av_image_copy_to_buffer(), av_image_fill_max_pixsteps(), av_image_fill_pointers(), av_read_image_line(), av_write_image_line(), check_image_pointers(), ff_draw_init(), is_yuv_planar(), and libopenjpeg_ispacked().

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(), and av_write_image_line().

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 alloc_buffer(), av_image_fill_max_pixsteps(), av_read_image_line(), av_write_image_line(), ff_draw_init(), libopenjpeg_decode_frame(), and video_get_buffer().


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

Generated on Fri Oct 26 02:50:14 2012 for FFmpeg by doxygen 1.5.8

AltStyle によって変換されたページ (->オリジナル) /