Home
last modified time | relevance | path

Searched refs:sps_disp (Results 1 – 8 of 8) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_sps.c58 …SPS->sps_disp.vui_seq_parameters.nal_hrd_cpb_cnt_minus1 = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_HRD_Parameters()
60 if(SPS->sps_disp.vui_seq_parameters.nal_hrd_cpb_cnt_minus1 >= MAX_CPB_CNT) in h264_Parse_HRD_Parameters()
69 for(i=0; i<=SPS->sps_disp.vui_seq_parameters.nal_hrd_cpb_cnt_minus1; i++) in h264_Parse_HRD_Parameters()
81 …SPS->sps_disp.vui_seq_parameters.nal_hrd_initial_cpb_removal_delay_length_minus1 = (uint8_t)((code… in h264_Parse_HRD_Parameters()
82 …SPS->sps_disp.vui_seq_parameters.nal_hrd_cpb_removal_delay_length_minus1 = (uint8_t)((code>>10)&0x… in h264_Parse_HRD_Parameters()
83 …SPS->sps_disp.vui_seq_parameters.nal_hrd_dpb_output_delay_length_minus1 = (uint8_t)((code>>5)&0x1f… in h264_Parse_HRD_Parameters()
84 SPS->sps_disp.vui_seq_parameters.nal_hrd_time_offset_length = (uint8_t)(code&0x1f);; in h264_Parse_HRD_Parameters()
89 …SPS->sps_disp.vui_seq_parameters.vcl_hrd_cpb_cnt_minus1 = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_HRD_Parameters()
91 if(SPS->sps_disp.vui_seq_parameters.vcl_hrd_cpb_cnt_minus1 >= MAX_CPB_CNT) in h264_Parse_HRD_Parameters()
100 for(i=0; i<=SPS->sps_disp.vui_seq_parameters.vcl_hrd_cpb_cnt_minus1; i++) in h264_Parse_HRD_Parameters()
[all …]
Dviddec_h264_workload.c96 if( (pInfo->active_SPS.sps_disp.frame_cropping_flag) && in h264_translate_parser_info_to_frame_attributes()
97 (pInfo->active_SPS.sps_disp.chroma_format_idc < 4)) in h264_translate_parser_info_to_frame_attributes()
102 if(pInfo->active_SPS.sps_disp.chroma_format_idc == 0) in h264_translate_parser_info_to_frame_attributes()
105 CropUnitY = 2 - pInfo->active_SPS.sps_disp.frame_mbs_only_flag; in h264_translate_parser_info_to_frame_attributes()
109 SubWidthC = 2 - ((pInfo->active_SPS.sps_disp.chroma_format_idc - 1) >> 1); in h264_translate_parser_info_to_frame_attributes()
110 SubHeightC = 2 - ((pInfo->active_SPS.sps_disp.chroma_format_idc - 1) >>1) in h264_translate_parser_info_to_frame_attributes()
111 - ((pInfo->active_SPS.sps_disp.chroma_format_idc - 1) & 0x1); in h264_translate_parser_info_to_frame_attributes()
113 CropUnitY = SubHeightC * (2 - pInfo->active_SPS.sps_disp.frame_mbs_only_flag); in h264_translate_parser_info_to_frame_attributes()
116 …if ((int32_t)attrs->cont_size.height >(pInfo->active_SPS.sps_disp.frame_crop_rect_bottom_offset*Cr… in h264_translate_parser_info_to_frame_attributes()
118 … attrs->cont_size.height -= (pInfo->active_SPS.sps_disp.frame_crop_rect_bottom_offset*CropUnitY); in h264_translate_parser_info_to_frame_attributes()
[all …]
Dh264parse_sei.c45 if(pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_parameters_present_flag == 1) in h264_sei_buffering_period()
47 …num_bits = pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_initial_cpb_removal_delay_length_… in h264_sei_buffering_period()
49 else if(pInfo->active_SPS.sps_disp.vui_seq_parameters.vcl_hrd_parameters_present_flag) in h264_sei_buffering_period()
51 …num_bits = pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_initial_cpb_removal_delay_length_… in h264_sei_buffering_period()
60 if(pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_parameters_present_flag == 1) in h264_sei_buffering_period()
62 if(pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_cpb_cnt_minus1 >= MAX_CPB_CNT) in h264_sei_buffering_period()
65 …for(SchedSelIdx = 0; SchedSelIdx <= pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_cpb_cnt_… in h264_sei_buffering_period()
72 if(pInfo->active_SPS.sps_disp.vui_seq_parameters.vcl_hrd_parameters_present_flag == 1) in h264_sei_buffering_period()
74 if(pInfo->active_SPS.sps_disp.vui_seq_parameters.vcl_hrd_cpb_cnt_minus1 >= MAX_CPB_CNT) in h264_sei_buffering_period()
77 …for(SchedSelIdx = 0; SchedSelIdx <= pInfo->active_SPS.sps_disp.vui_seq_parameters.vcl_hrd_cpb_cnt_… in h264_sei_buffering_period()
[all …]
Dh264parse_sh.c77 if(!(pInfo->active_SPS.sps_disp.frame_mbs_only_flag)) in h264_Parse_Slice_Header_2()
101 …if(pInfo->active_SPS.sps_disp.mb_adaptive_frame_field_flag & (!(pInfo->SliceHeader.field_pic_flag)… in h264_Parse_Slice_Header_2()
433 if(pInfo->active_SPS.sps_disp.chroma_format_idc != 0) in h264_Parse_Pred_Weight_Table()
454 if(pInfo->active_SPS.sps_disp.chroma_format_idc != 0) in h264_Parse_Pred_Weight_Table()
497 if(pInfo->active_SPS.sps_disp.chroma_format_idc != 0) in h264_Parse_Pred_Weight_Table()
545 if(pInfo->active_SPS.sps_disp.chroma_format_idc != 0) in h264_Parse_Pred_Weight_Table()
570 if(pInfo->active_SPS.sps_disp.chroma_format_idc != 0) in h264_Parse_Pred_Weight_Table()
615 if(pInfo->active_SPS.sps_disp.chroma_format_idc != 0) in h264_Parse_Pred_Weight_Table()
Dh264parse.c123 pInfo->img.PicWidthInMbs = (pInfo->active_SPS.sps_disp.pic_width_in_mbs_minus1 + 1); in h264_active_par_set()
125 pInfo->img.FrameHeightInMbs = pInfo->active_SPS.sps_disp.frame_mbs_only_flag? \ in h264_active_par_set()
126 (pInfo->active_SPS.sps_disp.pic_height_in_map_units_minus1 + 1): \ in h264_active_par_set()
127 ((pInfo->active_SPS.sps_disp.pic_height_in_map_units_minus1 + 1)<<1); in h264_active_par_set()
621 …pInfo->img.MbaffFrameFlag = pInfo->active_SPS.sps_disp.mb_adaptive_frame_field_flag & (!(pInfo->S… in h264_update_img_info()
Dh264parse_dpb.c2778 if(active_sps->sps_disp.vui_parameters_present_flag) in h264_dpb_idr_memory_management()
2780 if(active_sps->sps_disp.vui_seq_parameters.bitstream_restriction_flag) in h264_dpb_idr_memory_management()
2884 …if(active_sps->sps_disp.vui_parameters_present_flag && active_sps->sps_disp.vui_seq_parameters.bit… in h264_dpb_idr_memory_management()
2886 if (active_sps->sps_disp.vui_seq_parameters.max_dec_frame_buffering > p_dpb->BumpLevel) { in h264_dpb_idr_memory_management()
2891 p_dpb->BumpLevel = (active_sps->sps_disp.vui_seq_parameters.max_dec_frame_buffering > 1) ? in h264_dpb_idr_memory_management()
2892 (active_sps->sps_disp.vui_seq_parameters.max_dec_frame_buffering) : 1; in h264_dpb_idr_memory_management()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_h264_parser.c756 if (!parser->info.active_SPS.sps_disp.frame_mbs_only_flag && in vbp_set_codec_data_h264()
757 !parser->info.active_SPS.sps_disp.mb_adaptive_frame_field_flag) in vbp_set_codec_data_h264()
766 codec_data->frame_mbs_only_flag = parser->info.active_SPS.sps_disp.frame_mbs_only_flag; in vbp_set_codec_data_h264()
767 …codec_data->mb_adaptive_frame_field_flag = parser->info.active_SPS.sps_disp.mb_adaptive_frame_fiel… in vbp_set_codec_data_h264()
770 codec_data->frame_width = (parser->info.active_SPS.sps_disp.pic_width_in_mbs_minus1 + 1 ) * 16; in vbp_set_codec_data_h264()
772 codec_data->frame_height = (2 - parser->info.active_SPS.sps_disp.frame_mbs_only_flag) * in vbp_set_codec_data_h264()
773 (parser->info.active_SPS.sps_disp.pic_height_in_map_units_minus1 + 1) * 16; in vbp_set_codec_data_h264()
777 parser->info.active_SPS.sps_disp.frame_cropping_flag; in vbp_set_codec_data_h264()
780 parser->info.active_SPS.sps_disp.frame_crop_rect_left_offset; in vbp_set_codec_data_h264()
783 parser->info.active_SPS.sps_disp.frame_crop_rect_right_offset; in vbp_set_codec_data_h264()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/
Dh264.h797 seq_param_set_disp sps_disp; member