Home
last modified time | relevance | path

Searched refs:aspect_ratio_idc (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavformat/
Davc.c336 int i, j, ret, rbsp_size, aspect_ratio_idc, pic_order_cnt_type; in ff_avc_decode_sps() local
432 aspect_ratio_idc = get_bits(&gb, 8); in ff_avc_decode_sps()
433 if (aspect_ratio_idc == 0xff) { in ff_avc_decode_sps()
436 } else if (aspect_ratio_idc < FF_ARRAY_ELEMS(avc_sample_aspect_ratio)) { in ff_avc_decode_sps()
437 sps->sar = avc_sample_aspect_ratio[aspect_ratio_idc]; in ff_avc_decode_sps()
/third_party/ffmpeg/libavcodec/
Dh264_ps.c137 unsigned int aspect_ratio_idc; in decode_vui_parameters() local
142 aspect_ratio_idc = get_bits(gb, 8); in decode_vui_parameters()
143 if (aspect_ratio_idc == EXTENDED_SAR) { in decode_vui_parameters()
146 } else if (aspect_ratio_idc < FF_ARRAY_ELEMS(ff_h264_pixel_aspect)) { in decode_vui_parameters()
147 sps->sar = ff_h264_pixel_aspect[aspect_ratio_idc]; in decode_vui_parameters()
Dh265_metadata_bsf.c224 sps->vui.aspect_ratio_idc = 255; in h265_metadata_update_sps()
228 sps->vui.aspect_ratio_idc = i; in h265_metadata_update_sps()
Dcbs_h264_syntax_template.c118 ub(8, aspect_ratio_idc); in FUNC()
119 if (current->aspect_ratio_idc == 255) { in FUNC()
124 infer(aspect_ratio_idc, 0); in FUNC()
224 infer(aspect_ratio_idc, 0); in FUNC()
Dvaapi_encode_h264.c403 sps->vui.aspect_ratio_idc = i; in vaapi_encode_h264_init_sequence_params()
408 sps->vui.aspect_ratio_idc = 255; in vaapi_encode_h264_init_sequence_params()
577 .aspect_ratio_idc = sps->vui.aspect_ratio_idc, in vaapi_encode_h264_init_sequence_params()
Dh264_metadata_bsf.c118 sps->vui.aspect_ratio_idc = 255; in h264_metadata_update_sps()
122 sps->vui.aspect_ratio_idc = i; in h264_metadata_update_sps()
Dcbs_h264.h69 uint8_t aspect_ratio_idc; member
Dcbs_h265_syntax_template.c326 ub(8, aspect_ratio_idc); in FUNC()
327 if (current->aspect_ratio_idc == 255) { in FUNC()
332 infer(aspect_ratio_idc, 0); in FUNC()
751 infer(aspect_ratio_idc, 0); in FUNC()
Dvaapi_encode_h265.c480 vui->aspect_ratio_idc = i; in vaapi_encode_h265_init_sequence_params()
485 vui->aspect_ratio_idc = 255; in vaapi_encode_h265_init_sequence_params()
Dcbs_h265.h137 uint8_t aspect_ratio_idc; member
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth264parser.c427 READ_UINT8 (nr, vui->aspect_ratio_idc, 8); in gst_h264_parse_vui_parameters()
428 if (vui->aspect_ratio_idc == EXTENDED_SAR) { in gst_h264_parse_vui_parameters()
433 } else if (vui->aspect_ratio_idc <= 16) { in gst_h264_parse_vui_parameters()
434 vui->par_n = aspect_ratios[vui->aspect_ratio_idc].par_n; in gst_h264_parse_vui_parameters()
435 vui->par_d = aspect_ratios[vui->aspect_ratio_idc].par_d; in gst_h264_parse_vui_parameters()
Dgsth265parser.c453 READ_UINT8 (nr, vui->aspect_ratio_idc, 8); in gst_h265_parse_vui_parameters()
454 if (vui->aspect_ratio_idc == EXTENDED_SAR) { in gst_h265_parse_vui_parameters()
459 } else if (vui->aspect_ratio_idc <= 16) { in gst_h265_parse_vui_parameters()
460 vui->par_n = aspect_ratios[vui->aspect_ratio_idc].par_n; in gst_h265_parse_vui_parameters()
461 vui->par_d = aspect_ratios[vui->aspect_ratio_idc].par_d; in gst_h265_parse_vui_parameters()
Dgsth264parser.h524 guint8 aspect_ratio_idc; member
Dgsth265parser.h704 guint8 aspect_ratio_idc; member