FFmpeg  4.0
Data Fields
AVComponentDescriptor Struct Reference

#include <libavutil/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

◆ plane

int AVComponentDescriptor::plane

◆ step

int AVComponentDescriptor::step

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

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

◆ shift

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(), libopenjpeg_copyto16(), opencl_get_plane_format(), and planarToP01xWrapper().

◆ depth

int AVComponentDescriptor::depth

Number of bits in the component.

Definition at line 58 of file pixdesc.h.

Referenced by av_get_bits_per_pixel(), av_image_fill_black(), av_read_image_line(), av_write_image_line(), avcodec_open2(), avcodec_string(), compute_vmaf_score(), config_input(), config_input0(), config_input_main(), config_input_ref(), config_inputx(), config_inputy(), config_out_props(), config_output(), config_props(), copy_picture_field(), create_filtergraph(), cuvid_decode_init(), decode_frame(), draw_line(), draw_scope(), encode_frame(), encode_init(), ff_blend_mask(), ff_blend_rectangle(), ff_bwdif_init_x86(), ff_check_pixfmt_descriptors(), ff_color_frame(), ff_draw_color(), ff_draw_init(), ff_fill_rectangle(), ff_huffyuvdsp_init_x86(), ff_huffyuvencdsp_init_x86(), ff_nvdec_decode_init(), ff_qsv_process_data(), ff_sws_alphablendaway(), ff_sws_init_output_funcs(), ff_tinterlace_init_x86(), ff_vmafmotion_init(), ff_yadif_init_x86(), ffprobe_show_pixel_formats(), fill_frameinfo_by_link(), fill_picture_parameters(), filter_frame(), filter_slice(), format_init(), geq_config_props(), get_bit_depth(), get_pix_fmt_depth(), get_pix_fmt_score(), hScale16To15_c(), hScale16To19_c(), init_output_stream_encode(), init_video_param(), init_video_param_jpeg(), is16BPS(), is_planar_yuv(), isNBPS(), libopenjpeg_copy_to_packed16(), libopenjpeg_copyto16(), libopenjpeg_matches_pix_fmt(), libx265_encode_frame(), libx265_encode_init(), mj2_create_image(), mxf_write_header(), nvdec_vp9_start_frame(), opencl_get_plane_format(), oscilloscope_config_input(), pix_fmt_match(), pixscope_config_input(), planarCopyWrapper(), planarRgb16ToRgb16Wrapper(), planarToP01xWrapper(), pnm_encode_frame(), qsv_decode_init(), qsv_init_surface(), query_formats(), request_frame(), reverse_color16(), Rgb16ToPlanarRgb16Wrapper(), sws_init_context(), swscale(), vc2_encode_init(), verify_md5(), write_packet(), X264_init(), and yuv2gbrp_full_X_c().

◆ step_minus1

attribute_deprecated int AVComponentDescriptor::step_minus1

deprecated, use step instead

Definition at line 62 of file pixdesc.h.

◆ depth_minus1

attribute_deprecated int AVComponentDescriptor::depth_minus1

deprecated, use depth instead

Definition at line 65 of file pixdesc.h.

◆ offset_plus1

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: