/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
D | h264parse.c | 25 …int8_t *scalingList, int32_t sizeOfScalingList, uint8_t *UseDefaultScalingMatrix, h264_Info* pInfo) in h264_Scaling_List() argument 53 delta_scale = h264_GetVLCElement(parent, pInfo, true); in h264_Scaling_List() 70 h264_Status h264_active_par_set(h264_Info*pInfo,h264_Slice_Header_t* SliceHeader) in h264_active_par_set() argument 79 …if((SliceHeader->first_mb_in_slice == 0) || (SliceHeader->pic_parameter_id != pInfo->active_PPS.pi… in h264_active_par_set() 82 h264_Parse_Copy_Pps_From_DDR(pInfo, &pInfo->active_PPS, SliceHeader->pic_parameter_id); in h264_active_par_set() 84 if(pInfo->active_PPS.seq_parameter_set_id >= MAX_NUM_SPS) in h264_active_par_set() 89 if(pInfo->active_PPS.seq_parameter_set_id != pInfo->active_SPS.seq_parameter_set_id) in h264_active_par_set() 91 pInfo->Is_SPS_updated =1; in h264_active_par_set() 92 h264_Parse_Copy_Sps_From_DDR(pInfo, &pInfo->active_SPS, pInfo->active_PPS.seq_parameter_set_id); in h264_active_par_set() 93 h264_Parse_Clear_Sps_Updated_Flag(pInfo, pInfo->active_PPS.seq_parameter_set_id); in h264_active_par_set() [all …]
|
D | viddec_h264_parse.c | 21 h264_Info * pInfo = &(parser->info); in viddec_h264_init() local 30 h264_init_Info_under_sps_pps_level(pInfo); in viddec_h264_init() 46 h264_Info * pInfo = &(parser->info); in viddec_h264_parse() local 54 pInfo->img.g_new_frame = 0; in viddec_h264_parse() 55 pInfo->push_to_cur = 1; in viddec_h264_parse() 56 pInfo->is_current_workload_done =0; in viddec_h264_parse() 57 pInfo->nal_unit_type = 0; in viddec_h264_parse() 59 h264_Parse_NAL_Unit(parent, pInfo, &nal_ref_idc); in viddec_h264_parse() 62 h264_check_previous_frame_end(pInfo); in viddec_h264_parse() 69 …pInfo->got_start,pInfo->nal_unit_type, pInfo->wl_err_curr, pInfo->is_current_workload_done, 0, pI… in viddec_h264_parse() [all …]
|
D | mix_vbp_h264_stubs.c | 31 void h264_parse_emit_start_new_frame( void *parent, h264_Info *pInfo ) 34 if(pInfo->Is_first_frame_in_stream) //new stream, fill new frame in cur 37 pInfo->img.g_new_frame = 0; 38 pInfo->Is_first_frame_in_stream =0; 39 pInfo->push_to_cur = 1; 44 pInfo->push_to_cur = 0; 54 pInfo->dpb.frame_numbers_need_to_be_displayed =0; 55 pInfo->dpb.frame_numbers_need_to_be_removed =0; 56 pInfo->dpb.frame_numbers_need_to_be_allocated =0; 61 void h264_parse_emit_eos( void *parent, h264_Info *pInfo ) [all …]
|
D | viddec_h264_workload.c | 65 extern void h264_dpb_store_previous_picture_in_dpb(h264_Info * pInfo, 69 extern void h264_dpb_flush_dpb (h264_Info * pInfo,int32_t output_all, int32_t keep_complement, int3… 73 void h264_translate_parser_info_to_frame_attributes(viddec_workload_t *wl, h264_Info *pInfo) in h264_translate_parser_info_to_frame_attributes() argument 81 attrs->cont_size.height = pInfo->img.FrameHeightInMbs*16; in h264_translate_parser_info_to_frame_attributes() 82 attrs->cont_size.width = pInfo->img.PicWidthInMbs*16; in h264_translate_parser_info_to_frame_attributes() 96 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() [all …]
|
D | h264parse_sei.c | 19 void h264_sei_stream_initialise (h264_Info* pInfo) in h264_sei_stream_initialise() argument 21 pInfo->sei_information.capture_POC = 0; in h264_sei_stream_initialise() 22 pInfo->sei_information.disp_frozen = 0; in h264_sei_stream_initialise() 23 pInfo->sei_information.release_POC = 0; in h264_sei_stream_initialise() 24 pInfo->sei_information.capture_fn = 0; in h264_sei_stream_initialise() 25 pInfo->sei_information.recovery_fn = 0xFFFFFFFF; in h264_sei_stream_initialise() 26 pInfo->sei_information.scan_format = 0; in h264_sei_stream_initialise() 27 pInfo->sei_information.broken_link_pic = 0; in h264_sei_stream_initialise() 33 h264_Status h264_sei_buffering_period(void *parent,h264_Info* pInfo) in h264_sei_buffering_period() argument 45 if(pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_parameters_present_flag == 1) in h264_sei_buffering_period() [all …]
|
D | h264parse_sh.c | 14 h264_Status h264_Parse_Slice_Header_1(void *parent,h264_Info* pInfo, h264_Slice_Header_t *SliceHead… in h264_Parse_Slice_Header_1() argument 24 SliceHeader->first_mb_in_slice = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_Slice_Header_1() 27 slice_type = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_Slice_Header_1() 37 data = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_Slice_Header_1() 57 h264_Status h264_Parse_Slice_Header_2(void *parent, h264_Info* pInfo, h264_Slice_Header_t *SliceHea… in h264_Parse_Slice_Header_2() argument 69 viddec_pm_get_bits(parent, &code, pInfo->active_SPS.log2_max_frame_num_minus4+4); in h264_Parse_Slice_Header_2() 77 if(!(pInfo->active_SPS.sps_disp.frame_mbs_only_flag)) in h264_Parse_Slice_Header_2() 94 max_mb_num = pInfo->img.FrameHeightInMbs * pInfo->img.PicWidthInMbs; in h264_Parse_Slice_Header_2() 96 max_mb_num = pInfo->img.FrameHeightInMbs * pInfo->img.PicWidthInMbs/2; 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() [all …]
|
D | h264parse_dpb.c | 417 void h264_dpb_update_ref_lists(h264_Info * pInfo) in h264_dpb_update_ref_lists() argument 419 h264_DecodedPictureBuffer * p_dpb = &pInfo->dpb; in h264_dpb_update_ref_lists() 421 int32_t MaxFrameNum = 1 << (pInfo->active_SPS.log2_max_frame_num_minus4 + 4); in h264_dpb_update_ref_lists() 448 if (pInfo->SliceHeader.structure == FRAME) in h264_dpb_update_ref_lists() 457 if (active_fs->frame_num > pInfo->img.frame_num) in h264_dpb_update_ref_lists() 465 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists() 474 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists() 491 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists() 500 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists() 511 if (pInfo->SliceHeader.structure == TOP_FIELD) in h264_dpb_update_ref_lists() [all …]
|
D | h264parse_mem.c | 51 void h264_Parse_Copy_Pps_To_DDR(h264_Info* pInfo, pic_param_set_ptr PPS, uint32_t nPPSId) in h264_Parse_Copy_Pps_To_DDR() argument 54 uint32_t pps_entry_ptr = pInfo->PPS_PADDR_GL+nPPSId*copy_size; in h264_Parse_Copy_Pps_To_DDR() 68 void h264_Parse_Copy_Pps_From_DDR(h264_Info* pInfo, pic_param_set_ptr PPS, uint32_t nPPSId) in h264_Parse_Copy_Pps_From_DDR() argument 72 uint32_t pps_entry_ptr = pInfo->PPS_PADDR_GL+nPPSId*copy_size; in h264_Parse_Copy_Pps_From_DDR() 85 void h264_Parse_Copy_Sps_To_DDR(h264_Info* pInfo, seq_param_set_used_ptr SPS, uint32_t nSPSId) in h264_Parse_Copy_Sps_To_DDR() argument 88 uint32_t sps_entry_ptr = pInfo->SPS_PADDR_GL+nSPSId*sizeof(seq_param_set_all); in h264_Parse_Copy_Sps_To_DDR() 105 void h264_Parse_Copy_Sps_From_DDR(h264_Info* pInfo, seq_param_set_used_ptr SPS, uint32_t nSPSId) in h264_Parse_Copy_Sps_From_DDR() argument 108 uint32_t sps_entry_ptr = pInfo->SPS_PADDR_GL+nSPSId*sizeof(seq_param_set_all); in h264_Parse_Copy_Sps_From_DDR() 121 void h264_Parse_Copy_Offset_Ref_Frames_To_DDR(h264_Info* pInfo, int32_t* pOffset_ref_frames, uint32… in h264_Parse_Copy_Offset_Ref_Frames_To_DDR() argument 124 uint32_t offset_ref_frames_entry_ptr = pInfo->OFFSET_REF_FRAME_PADDR_GL+nSPSId*copy_size; in h264_Parse_Copy_Offset_Ref_Frames_To_DDR() [all …]
|
D | h264parse_pps.c | 9 h264_Status h264_Parse_PicParameterSet(void *parent,h264_Info * pInfo,h264_PicParameterSet_t* Pictu… in h264_Parse_PicParameterSet() argument 18 code = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_PicParameterSet() 25 code = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_PicParameterSet() 38 PictureParameterSet->num_slice_groups_minus1 = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_PicParameterSet() 46 PictureParameterSet->num_ref_idx_l0_active = h264_GetVLCElement(parent, pInfo, false)+1; in h264_Parse_PicParameterSet() 47 PictureParameterSet->num_ref_idx_l1_active = h264_GetVLCElement(parent, pInfo, false)+1; in h264_Parse_PicParameterSet() 63 PictureParameterSet->pic_init_qp_minus26 = h264_GetVLCElement(parent, pInfo, true); in h264_Parse_PicParameterSet() 64 PictureParameterSet->pic_init_qs_minus26 = h264_GetVLCElement(parent, pInfo, true); in h264_Parse_PicParameterSet() 67 PictureParameterSet->chroma_qp_index_offset = h264_GetVLCElement(parent, pInfo, true); in h264_Parse_PicParameterSet() 81 if(h264_More_RBSP_Data(parent, pInfo)) in h264_Parse_PicParameterSet() [all …]
|
D | h264parse_sps.c | 11 h264_Status h264_Parse_SeqParameterSet_Extension(void *parent,h264_Info * pInfo) 49 h264_Status h264_Parse_HRD_Parameters(void *parent, h264_Info* pInfo, int nal_hrd,seq_param_set_use… in h264_Parse_HRD_Parameters() argument 58 …SPS->sps_disp.vui_seq_parameters.nal_hrd_cpb_cnt_minus1 = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_HRD_Parameters() 71 …q_Not_Used->nal_hrd_parameters.bit_rate_value_minus1[i] = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_HRD_Parameters() 72 …q_Not_Used->nal_hrd_parameters.cpb_size_value_minus1[i] = h264_GetVLCElement(parent, pInfo, false); 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() 102 …q_Not_Used->vcl_hrd_parameters.bit_rate_value_minus1[i] = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_HRD_Parameters() 103 …q_Not_Used->vcl_hrd_parameters.cpb_size_value_minus1[i] = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_HRD_Parameters() 122 h264_Status h264_Parse_Vui_Parameters(void *parent, h264_Info* pInfo, seq_param_set_used_ptr SPS, v… in h264_Parse_Vui_Parameters() argument 191 pVUI_Seq_Not_Used->chroma_sample_loc_type_top_field = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_Vui_Parameters() [all …]
|
D | h264parse_bsd.c | 33 uint32_t h264_get_codeNum(void *parent, h264_Info* pInfo) in h264_get_codeNum() argument 46 pInfo = pInfo; in h264_get_codeNum() 168 int32_t h264_GetVLCElement(void *parent, h264_Info* pInfo, uint8_t bIsSigned) in h264_GetVLCElement() argument 173 sval = h264_get_codeNum(parent , pInfo); in h264_GetVLCElement() 188 uint8_t h264_More_RBSP_Data(void *parent, h264_Info * pInfo) in h264_More_RBSP_Data() argument 199 pInfo = pInfo; in h264_More_RBSP_Data()
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/ |
D | h264parse.h | 61 extern void h264_init_old_slice(h264_Info* pInfo); 62 extern void h264_init_img(h264_Info* pInfo); 63 extern void h264_init_Info(h264_Info* pInfo); 64 extern void h264_init_Info_under_sps_pps_level(h264_Info* pInfo); 67 extern void h264_update_old_slice(h264_Info * pInfo,h264_Slice_Header_t next_SliceHeader); 68 extern void h264_sei_stream_initialise (h264_Info* pInfo); 69 extern void h264_update_img_info(h264_Info * pInfo ); 70 extern void h264_update_frame_type(h264_Info * pInfo ); 72 extern int32_t h264_check_previous_frame_end(h264_Info * pInfo); 78 extern uint8_t h264_More_RBSP_Data(void *parent, h264_Info * pInfo); [all …]
|
D | h264parse_dpb.h | 29 extern void h264_dpb_update_ref_lists(h264_Info * pInfo); 30 extern void h264_dpb_reorder_lists(h264_Info * pInfo); 35 extern void h264_hdr_decoding_poc (h264_Info * pInfo,int32_t NonExisting, int32_t frame_num); 36 extern void h264_hdr_post_poc(h264_Info* pInfo,int32_t NonExisting, int32_t frame_num, int32_t use_… 45 extern void h264_dpb_mark_pic_long_term(h264_Info * pInfo, int32_t long_term_frame_idx, int32_t pic… 48 extern void h264_dpb_update_queue_dangling_field(h264_Info * pInfo); 53 extern void h264_dpb_flush_dpb (h264_Info * pInfo,int32_t output_all, int32_t keep_complement, int3… 55 extern void h264_dpb_idr_memory_management (h264_Info * pInfo, 59 extern void h264_dpb_init_frame_store(h264_Info * pInfo); 60 extern void h264_dpb_reset_dpb(h264_Info * pInfo,int32_t PicWidthInMbs, int32_t FrameHeightInMbs, [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
D | vc1parse.h | 79 vc1_Status vc1_ParseRCVSequenceLayer (void* ctxt, vc1_Info *pInfo); 82 vc1_Status vc1_ParseSequenceLayer(void* ctxt, vc1_Info *pInfo); 83 vc1_Status vc1_ParseEntryPointLayer(void* ctxt, vc1_Info *pInfo); 84 vc1_Status vc1_ParseSliceLayer(void* ctxt, vc1_Info *pInfo); 85 vc1_Status vc1_ParsePictureLayer(void* ctxt, vc1_Info *pInfo); 86 vc1_Status vc1_ParseFieldLayer(void* ctxt, vc1_Info *pInfo); 90 vc1_Status vc1_ParsePictureHeader(void* ctxt, vc1_Info *pInfo); 91 vc1_Status vc1_ParsePictureHeader_ProgressiveIpicture(void* ctxt, vc1_Info *pInfo); 92 vc1_Status vc1_ParsePictureHeader_ProgressivePpicture(void* ctxt, vc1_Info *pInfo); 93 vc1_Status vc1_ParsePictureHeader_ProgressiveBpicture(void* ctxt, vc1_Info *pInfo); [all …]
|
D | vc1parse_pic_com_adv.c | 29 vc1_Status vc1_ParsePictureHeader_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_Adv() argument 35 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_Adv() 36 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_Adv() 165 if ((status = vc1_CalculatePQuant(pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_Adv() 187 return vc1_ParsePictureFieldHeader_Adv(ctxt, pInfo); in vc1_ParsePictureHeader_Adv() 197 vc1_Status vc1_ParseFieldHeader_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParseFieldHeader_Adv() argument 202 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParseFieldHeader_Adv() 203 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParseFieldHeader_Adv() 340 return vc1_ParsePictureFieldHeader_Adv(ctxt, pInfo); in vc1_ParseFieldHeader_Adv() 349 vc1_Status vc1_ParsePictureFieldHeader_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureFieldHeader_Adv() argument [all …]
|
D | vc1parse_bpic_adv.c | 26 vc1_Status vc1_ParsePictureHeader_ProgressiveBpicture_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() argument 29 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() 30 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() 32 if ((status = vc1_MVRangeDecode(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() 39 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() 45 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() 54 if ((status = vc1_VOPDQuant(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() 89 vc1_Status vc1_ParsePictureHeader_InterlaceBpicture_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_InterlaceBpicture_Adv() argument 92 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_InterlaceBpicture_Adv() 93 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_InterlaceBpicture_Adv() [all …]
|
D | vc1parse_ipic_adv.c | 25 vc1_Status vc1_ParsePictureHeader_ProgressiveIpicture_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_ProgressiveIpicture_Adv() argument 28 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_ProgressiveIpicture_Adv() 29 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressiveIpicture_Adv() 31 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressiveIpicture_Adv() 48 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressiveIpicture_Adv() 76 status = vc1_VOPDQuant(ctxt, pInfo); in vc1_ParsePictureHeader_ProgressiveIpicture_Adv() 92 vc1_Status vc1_ParsePictureHeader_InterlaceIpicture_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_InterlaceIpicture_Adv() argument 95 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_InterlaceIpicture_Adv() 96 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_InterlaceIpicture_Adv() 98 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_InterlaceIpicture_Adv() [all …]
|
D | vc1parse_ppic_adv.c | 25 vc1_Status vc1_ParsePictureHeader_ProgressivePpicture_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_ProgressivePpicture_Adv() argument 30 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_ProgressivePpicture_Adv() 31 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressivePpicture_Adv() 34 if ((status = vc1_MVRangeDecode(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressivePpicture_Adv() 81 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressivePpicture_Adv() 89 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressivePpicture_Adv() 98 if ((status = vc1_VOPDQuant(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressivePpicture_Adv() 133 vc1_Status vc1_ParsePictureHeader_InterlacePpicture_Adv(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_InterlacePpicture_Adv() argument 136 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_InterlacePpicture_Adv() 137 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_InterlacePpicture_Adv() [all …]
|
D | vc1parse_bitplane.c | 470 vc1_Status vc1_DecodeBitplane(void* ctxt, vc1_Info *pInfo, in vc1_DecodeBitplane() argument 481 pInfo->metadata.bp_raw[bpnum - VIDDEC_WORKLOAD_VC1_BITPLANE0] = true; in vc1_DecodeBitplane() 484 bpp->databits = pInfo->bitplane; in vc1_DecodeBitplane() 578 pInfo->metadata.bp_raw[bpnum - VIDDEC_WORKLOAD_VC1_BITPLANE0] = false; in vc1_DecodeBitplane() 619 if (pInfo->picLayerHeader.PTYPE == VC1_B_FRAME) in vc1_DecodeBitplane() 623 pInfo->picLayerHeader.FORWARDMB.invert = bp.invert; in vc1_DecodeBitplane() 624 pInfo->picLayerHeader.FORWARDMB.imode = bp.imode; in vc1_DecodeBitplane() 629 pInfo->picLayerHeader.FORWARDMB.databits = parser->bp_forwardmb; in vc1_DecodeBitplane() 633 pInfo->picLayerHeader.raw_FORWARDMB = 1; in vc1_DecodeBitplane() 636 if ( (pInfo->picLayerHeader.PTYPE == VC1_I_FRAME) in vc1_DecodeBitplane() [all …]
|
D | vc1parse_bpic.c | 25 vc1_Status vc1_ParsePictureHeader_ProgressiveBpicture(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_ProgressiveBpicture() argument 28 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_ProgressiveBpicture() 29 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressiveBpicture() 39 if ((status = vc1_CalculatePQuant(pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressiveBpicture() 53 if ((status = vc1_MVRangeDecode(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressiveBpicture() 60 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressiveBpicture() 66 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressiveBpicture() 75 if ((status = vc1_VOPDQuant(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressiveBpicture()
|
D | vc1parse_mv_com.c | 20 vc1_Status vc1_MVRangeDecode(void* ctxt, vc1_Info *pInfo) in vc1_MVRangeDecode() argument 23 vc1_metadata_t *md = &pInfo->metadata; in vc1_MVRangeDecode() 24 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_MVRangeDecode() 51 vc1_Status vc1_DMVRangeDecode(void* ctxt, vc1_Info *pInfo) in vc1_DMVRangeDecode() argument 54 vc1_metadata_t *md = &pInfo->metadata; in vc1_DMVRangeDecode() 55 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_DMVRangeDecode()
|
D | vc1parse_ppic.c | 24 vc1_Status vc1_ParsePictureHeader_ProgressivePpicture(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader_ProgressivePpicture() argument 30 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader_ProgressivePpicture() 31 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressivePpicture() 42 if ((status = vc1_CalculatePQuant(pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressivePpicture() 58 if ((status = vc1_MVRangeDecode(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressivePpicture() 107 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressivePpicture() 115 if ((status = vc1_DecodeBitplane(ctxt, pInfo, in vc1_ParsePictureHeader_ProgressivePpicture() 124 if ((status = vc1_VOPDQuant(ctxt, pInfo)) != VC1_STATUS_OK) in vc1_ParsePictureHeader_ProgressivePpicture()
|
D | vc1parse_pic_com.c | 25 vc1_Status vc1_ParsePictureHeader(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureHeader() argument 29 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParsePictureHeader() 30 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader() 91 status = vc1_ParsePictureHeader_ProgressiveIpicture(ctxt, pInfo); in vc1_ParsePictureHeader() 94 status = vc1_ParsePictureHeader_ProgressivePpicture(ctxt, pInfo); in vc1_ParsePictureHeader() 96 status = vc1_ParsePictureHeader_ProgressiveBpicture(ctxt, pInfo); in vc1_ParsePictureHeader()
|
D | vc1parse.c | 28 vc1_Status vc1_ParseRCVSequenceLayer (void* ctxt, vc1_Info *pInfo) in vc1_ParseRCVSequenceLayer() argument 32 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParseRCVSequenceLayer() 113 vc1_Status vc1_ParseSequenceLayer(void* ctxt, vc1_Info *pInfo) in vc1_ParseSequenceLayer() argument 117 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParseSequenceLayer() 276 vc1_Status vc1_ParseEntryPointLayer(void* ctxt, vc1_Info *pInfo) in vc1_ParseEntryPointLayer() argument 279 vc1_metadata_t *md = &pInfo->metadata; in vc1_ParseEntryPointLayer() 391 vc1_Status vc1_ParsePictureLayer(void* ctxt, vc1_Info *pInfo) in vc1_ParsePictureLayer() argument 399 pInfo->metadata.bp_raw[i] = true; in vc1_ParsePictureLayer() 402 if (pInfo->metadata.PROFILE == VC1_PROFILE_ADVANCED) in vc1_ParsePictureLayer() 405 if( (pInfo->metadata.INTERLACE == 1) && (temp == VC1_FCM_FIELD_INTERLACE)) in vc1_ParsePictureLayer() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUtil.cpp | 124 bool AudioUtil::getHDMIAudioSinkCaps(EDID_AUDIO_INFO* pInfo) { in getHDMIAudioSinkCaps() argument 151 if (pInfo && data) { in getHDMIAudioSinkCaps() 170 memset(pInfo, 0, sizeof(EDID_AUDIO_INFO)); in getHDMIAudioSinkCaps() 171 pInfo->nAudioBlocks = nCountDesc; in getHDMIAudioSinkCaps() 182 for (int i = 0; i < pInfo->nAudioBlocks; i++) { in getHDMIAudioSinkCaps() 185 pInfo->AudioBlocksArray[i].nChannels = channels[i]; in getHDMIAudioSinkCaps() 186 … ALOGV("pInfo->AudioBlocksArray[i].nChannels %d\n", pInfo->AudioBlocksArray[i].nChannels); in getHDMIAudioSinkCaps() 189 … pInfo->AudioBlocksArray[i].nFormatId = (EDID_AUDIO_FORMAT_ID)printFormatFromEDID(formats[i]); in getHDMIAudioSinkCaps() 190 ALOGV("pInfo->AudioBlocksArray[i].nFormatId %d",pInfo->AudioBlocksArray[i].nFormatId); in getHDMIAudioSinkCaps() 193 pInfo->AudioBlocksArray[i].nSamplingFreq = getSamplingFrequencyFromEDID(frequency[i]); in getHDMIAudioSinkCaps() [all …]
|