Searched refs:aspect_ratio_idc (Results 1 – 14 of 14) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | avc.c | 336 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/ |
D | h264_ps.c | 137 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()
|
D | h265_metadata_bsf.c | 224 sps->vui.aspect_ratio_idc = 255; in h265_metadata_update_sps() 228 sps->vui.aspect_ratio_idc = i; in h265_metadata_update_sps()
|
D | cbs_h264_syntax_template.c | 118 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()
|
D | vaapi_encode_h264.c | 403 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()
|
D | h264_metadata_bsf.c | 118 sps->vui.aspect_ratio_idc = 255; in h264_metadata_update_sps() 122 sps->vui.aspect_ratio_idc = i; in h264_metadata_update_sps()
|
D | cbs_h264.h | 69 uint8_t aspect_ratio_idc; member
|
D | cbs_h265_syntax_template.c | 326 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()
|
D | vaapi_encode_h265.c | 480 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()
|
D | cbs_h265.h | 137 uint8_t aspect_ratio_idc; member
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gsth264parser.c | 427 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()
|
D | gsth265parser.c | 453 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()
|
D | gsth264parser.h | 524 guint8 aspect_ratio_idc; member
|
D | gsth265parser.h | 704 guint8 aspect_ratio_idc; member
|