Home
last modified time | relevance | path

Searched refs:picLayerHeader (Results 1 – 16 of 16) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
Dvc1parse_pic_com_adv.c36 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_Adv() local
40 VC1_GET_BITS9(1, picLayerHeader->FCM); in vc1_ParsePictureHeader_Adv()
41 if (picLayerHeader->FCM) in vc1_ParsePictureHeader_Adv()
43 VC1_GET_BITS9(1, picLayerHeader->FCM); in vc1_ParsePictureHeader_Adv()
44 if (picLayerHeader->FCM) in vc1_ParsePictureHeader_Adv()
46 picLayerHeader->FCM = VC1_FCM_FIELD_INTERLACE; in vc1_ParsePictureHeader_Adv()
50 picLayerHeader->FCM = VC1_FCM_FRAME_INTERLACE; in vc1_ParsePictureHeader_Adv()
53 picLayerHeader->FCM = VC1_FCM_PROGRESSIVE; in vc1_ParsePictureHeader_Adv()
56 picLayerHeader->FCM = VC1_FCM_PROGRESSIVE; in vc1_ParsePictureHeader_Adv()
59 VC1_GET_BITS9(1, picLayerHeader->PTYPE); in vc1_ParsePictureHeader_Adv()
[all …]
Dvc1parse_ppic_adv.c31 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressivePpicture_Adv() local
37 if (picLayerHeader->PQUANT > 12) in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
43 VC1_GET_BITS9(1, picLayerHeader->MVMODE); in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
44 while ((picLayerHeader->MVMODE == 0) && (bit_count < 3)) in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
46 VC1_GET_BITS9(1, picLayerHeader->MVMODE); in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
50 bit_count += picLayerHeader->MVMODE; in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
51 picLayerHeader->MVMODE = table[bit_count]; in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
53 if (picLayerHeader->MVMODE == VC1_MVMODE_INTENSCOMP) in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
56 VC1_GET_BITS9(1, picLayerHeader->MVMODE2); in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
57 while ((picLayerHeader->MVMODE2 == 0) && (bit_count < 2)) in vc1_ParsePictureHeader_ProgressivePpicture_Adv()
[all …]
Dvc1parse_ipic_adv.c29 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressiveIpicture_Adv() local
37 if ((md->OVERLAP == 1) && (picLayerHeader->PQUANT <= 8)) in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
39 VC1_GET_BITS9(1, picLayerHeader->CONDOVER); in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
40 if (picLayerHeader->CONDOVER) in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
42 VC1_GET_BITS9(1, picLayerHeader->CONDOVER); in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
43 if (! picLayerHeader->CONDOVER) in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
44 picLayerHeader->CONDOVER = VC1_CONDOVER_FLAG_ALL; in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
47 picLayerHeader->CONDOVER = VC1_CONDOVER_FLAG_SOME; in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
57 picLayerHeader->CONDOVER = VC1_CONDOVER_FLAG_NONE; in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
60 VC1_GET_BITS9(1, picLayerHeader->TRANSACFRM); in vc1_ParsePictureHeader_ProgressiveIpicture_Adv()
[all …]
Dvc1parse_vopdq.c35 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_VOPDQuant() local
42 VC1_GET_BITS9(3, picLayerHeader->PQDIFF); in vc1_VOPDQuant()
43 if (picLayerHeader->PQDIFF == 7) in vc1_VOPDQuant()
45 VC1_GET_BITS9(5, picLayerHeader->ABSPQ); in vc1_VOPDQuant()
50 VC1_GET_BITS9(1, picLayerHeader->DQUANTFRM); in vc1_VOPDQuant()
51 if (picLayerHeader->DQUANTFRM == 1) in vc1_VOPDQuant()
53 VC1_GET_BITS9(2, picLayerHeader->DQPROFILE); in vc1_VOPDQuant()
54 if (picLayerHeader->DQPROFILE == VC1_DQPROFILE_SNGLEDGES) in vc1_VOPDQuant()
56 VC1_GET_BITS9(2, picLayerHeader->DQSBEDGE); in vc1_VOPDQuant()
58 else if (picLayerHeader->DQPROFILE == VC1_DQPROFILE_DBLEDGES) in vc1_VOPDQuant()
[all …]
Dvc1parse_bpic_adv.c30 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressiveBpicture_Adv() local
35 VC1_GET_BITS9(1, picLayerHeader->MVMODE); in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
36 picLayerHeader->MVMODE = (picLayerHeader->MVMODE == 1) ? in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
51 VC1_GET_BITS9(2, picLayerHeader->MVTAB); in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
52 VC1_GET_BITS9(2, picLayerHeader->CBPTAB); in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
59 VC1_GET_BITS9(1, picLayerHeader->TTMBF); in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
60 if (picLayerHeader->TTMBF == 1) in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
62 VC1_GET_BITS9(2, picLayerHeader->TTFRM); in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
66 VC1_GET_BITS9(1, picLayerHeader->TRANSACFRM); in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
67 if (picLayerHeader->TRANSACFRM == 1) in vc1_ParsePictureHeader_ProgressiveBpicture_Adv()
[all …]
Dvc1parse_ppic.c31 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressivePpicture() local
37 picLayerHeader->RNDCTRL = md->RNDCTRL ^ 1 ; in vc1_ParsePictureHeader_ProgressivePpicture()
38 md->RNDCTRL = picLayerHeader->RNDCTRL; in vc1_ParsePictureHeader_ProgressivePpicture()
41 VC1_GET_BITS9(5, picLayerHeader->PQINDEX); in vc1_ParsePictureHeader_ProgressivePpicture()
45 if (picLayerHeader->PQINDEX <= 8) in vc1_ParsePictureHeader_ProgressivePpicture()
47 VC1_GET_BITS9(1, picLayerHeader->HALFQP); in vc1_ParsePictureHeader_ProgressivePpicture()
49 else picLayerHeader->HALFQP=0; in vc1_ParsePictureHeader_ProgressivePpicture()
53 VC1_GET_BITS9(1, picLayerHeader->PQUANTIZER); in vc1_ParsePictureHeader_ProgressivePpicture()
54 picLayerHeader->UniformQuant = picLayerHeader->PQUANTIZER; in vc1_ParsePictureHeader_ProgressivePpicture()
64 if (picLayerHeader->PQUANT > 12) in vc1_ParsePictureHeader_ProgressivePpicture()
[all …]
Dvc1parse_ipic.c32 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressiveIpicture() local
38 picLayerHeader->RNDCTRL = md->RNDCTRL | 1 ; in vc1_ParsePictureHeader_ProgressiveIpicture()
39 md->RNDCTRL = picLayerHeader->RNDCTRL; in vc1_ParsePictureHeader_ProgressiveIpicture()
43 if (picLayerHeader->PTYPE == VC1_BI_FRAME) in vc1_ParsePictureHeader_ProgressiveIpicture()
46 &picLayerHeader->BFRACTION_NUM, &picLayerHeader->BFRACTION_DEN)) in vc1_ParsePictureHeader_ProgressiveIpicture()
51 if (picLayerHeader->BFRACTION_DEN != VC1_BFRACTION_BI) in vc1_ParsePictureHeader_ProgressiveIpicture()
56 VC1_GET_BITS9(5, picLayerHeader->PQINDEX); in vc1_ParsePictureHeader_ProgressiveIpicture()
61 if (picLayerHeader->PQINDEX <= 8) in vc1_ParsePictureHeader_ProgressiveIpicture()
63 VC1_GET_BITS9(1, picLayerHeader->HALFQP); in vc1_ParsePictureHeader_ProgressiveIpicture()
65 else picLayerHeader->HALFQP=0; in vc1_ParsePictureHeader_ProgressiveIpicture()
[all …]
Dvc1parse_mv_com.c24 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_MVRangeDecode() local
28 VC1_GET_BITS9(1, picLayerHeader->MVRANGE); in vc1_MVRangeDecode()
29 if (picLayerHeader->MVRANGE) in vc1_MVRangeDecode()
31 VC1_GET_BITS9(1, picLayerHeader->MVRANGE); in vc1_MVRangeDecode()
32 if (picLayerHeader->MVRANGE) in vc1_MVRangeDecode()
34 VC1_GET_BITS9(1, picLayerHeader->MVRANGE); in vc1_MVRangeDecode()
35 picLayerHeader->MVRANGE += 1; in vc1_MVRangeDecode()
37 picLayerHeader->MVRANGE += 1; in vc1_MVRangeDecode()
41 picLayerHeader->MVRANGE = 0; in vc1_MVRangeDecode()
55 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_DMVRangeDecode() local
[all …]
Dvc1parse_bpic.c29 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader_ProgressiveBpicture() local
32 &picLayerHeader->BFRACTION_NUM, &picLayerHeader->BFRACTION_DEN)) != in vc1_ParsePictureHeader_ProgressiveBpicture()
38 VC1_GET_BITS9(5, picLayerHeader->PQINDEX); in vc1_ParsePictureHeader_ProgressiveBpicture()
42 if (picLayerHeader->PQINDEX <= 8) in vc1_ParsePictureHeader_ProgressiveBpicture()
44 VC1_GET_BITS9(1, picLayerHeader->HALFQP); in vc1_ParsePictureHeader_ProgressiveBpicture()
46 else picLayerHeader->HALFQP=0; in vc1_ParsePictureHeader_ProgressiveBpicture()
50 VC1_GET_BITS9(1, picLayerHeader->PQUANTIZER); in vc1_ParsePictureHeader_ProgressiveBpicture()
56 VC1_GET_BITS9(1, picLayerHeader->MVMODE); in vc1_ParsePictureHeader_ProgressiveBpicture()
57 picLayerHeader->MVMODE = (picLayerHeader->MVMODE == 1) ? in vc1_ParsePictureHeader_ProgressiveBpicture()
72 VC1_GET_BITS9(2, picLayerHeader->MVTAB); in vc1_ParsePictureHeader_ProgressiveBpicture()
[all …]
Dvc1parse_pic_com.c30 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParsePictureHeader() local
44 picLayerHeader->PTYPE = VC1_SKIPPED_FRAME; in vc1_ParsePictureHeader()
58 VC1_GET_BITS9(1, picLayerHeader->RANGEREDFRM); in vc1_ParsePictureHeader()
63 VC1_GET_BITS9(1, picLayerHeader->PTYPE); in vc1_ParsePictureHeader()
64 if (picLayerHeader->PTYPE == 0) in vc1_ParsePictureHeader()
65 picLayerHeader->PTYPE = VC1_I_FRAME; in vc1_ParsePictureHeader()
67 picLayerHeader->PTYPE = VC1_P_FRAME; in vc1_ParsePictureHeader()
71 VC1_GET_BITS9(1, picLayerHeader->PTYPE); in vc1_ParsePictureHeader()
72 if (picLayerHeader->PTYPE == 0) in vc1_ParsePictureHeader()
74 VC1_GET_BITS9(1, picLayerHeader->PTYPE); in vc1_ParsePictureHeader()
[all …]
Dviddec_vc1_parse.c38 memset(&parser->info.picLayerHeader, 0, sizeof(vc1_PictureLayerHeader)); in viddec_vc1_init()
139 memset(&parser->info.picLayerHeader, 0, sizeof(vc1_PictureLayerHeader)); in viddec_vc1_parse()
141 if((parser->info.picLayerHeader.PTypeField1 == VC1_I_FRAME) || in viddec_vc1_parse()
142 (parser->info.picLayerHeader.PTypeField1 == VC1_P_FRAME) || in viddec_vc1_parse()
143 (parser->info.picLayerHeader.PTYPE == VC1_I_FRAME) || in viddec_vc1_parse()
144 (parser->info.picLayerHeader.PTYPE == VC1_P_FRAME)) in viddec_vc1_parse()
171 parser->info.picLayerHeader.SLICE_ADDR = 0; in viddec_vc1_parse()
172 parser->info.picLayerHeader.CurrField = 1; in viddec_vc1_parse()
173 parser->info.picLayerHeader.REFFIELD = 0; in viddec_vc1_parse()
174 parser->info.picLayerHeader.NUMREF = 0; in viddec_vc1_parse()
[all …]
Dvc1parse_bitplane.c619 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()
637 || (pInfo->picLayerHeader.PTYPE == VC1_BI_FRAME) ) in vc1_DecodeBitplane()
641 pInfo->picLayerHeader.ACPRED.invert = bp.invert; in vc1_DecodeBitplane()
642 pInfo->picLayerHeader.ACPRED.imode = bp.imode; in vc1_DecodeBitplane()
647 pInfo->picLayerHeader.ACPRED.databits = parser->bp_acpred; in vc1_DecodeBitplane()
[all …]
Dviddec_vc1_workload.c56 if (info->picLayerHeader.FCM == VC1_FCM_FIELD_INTERLACE) { in translate_parser_info_to_frame_attributes()
57 attrs->frame_type = vc1_populate_frame_type(info->picLayerHeader.PTypeField1); in translate_parser_info_to_frame_attributes()
58 attrs->bottom_field_type = vc1_populate_frame_type(info->picLayerHeader.PTypeField2); in translate_parser_info_to_frame_attributes()
60 attrs->frame_type = vc1_populate_frame_type(info->picLayerHeader.PTYPE); in translate_parser_info_to_frame_attributes()
65 attrs->vc1.tfcntr = info->picLayerHeader.TFCNTR; in translate_parser_info_to_frame_attributes()
68 attrs->vc1.tff = info->picLayerHeader.TFF; in translate_parser_info_to_frame_attributes()
69 attrs->vc1.rptfrm = info->picLayerHeader.RPTFRM; in translate_parser_info_to_frame_attributes()
70 attrs->vc1.rff = info->picLayerHeader.RFF; in translate_parser_info_to_frame_attributes()
73 attrs->vc1.ps_present = info->picLayerHeader.PS_PRESENT; in translate_parser_info_to_frame_attributes()
74 attrs->vc1.num_of_pan_scan_windows = info->picLayerHeader.number_of_pan_scan_window; in translate_parser_info_to_frame_attributes()
[all …]
Dvc1parse.c430 vc1_PictureLayerHeader *picLayerHeader = &pInfo->picLayerHeader; in vc1_ParseFieldLayer() local
433 if (picLayerHeader->CurrField == 0) in vc1_ParseFieldLayer()
435 picLayerHeader->PTYPE = picLayerHeader->PTypeField1; in vc1_ParseFieldLayer()
436 picLayerHeader->BottomField = (uint8_t) (1 - picLayerHeader->TFF); in vc1_ParseFieldLayer()
440 picLayerHeader->BottomField = (uint8_t) (picLayerHeader->TFF); in vc1_ParseFieldLayer()
441 picLayerHeader->PTYPE = picLayerHeader->PTypeField2; in vc1_ParseFieldLayer()
478 pInfo->picLayerHeader.SLICE_ADDR = SLICE_ADDR; in vc1_ParseSliceLayer()
Dvc1.h151 vc1_PictureLayerHeader picLayerHeader; member
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_vc1_parser.c523 vc1_PictureLayerHeader *picLayerHeader = &(parser->info.picLayerHeader); in vbp_pack_bitplanes_vc1() local
533 switch (picLayerHeader->PTYPE) in vbp_pack_bitplanes_vc1()
537 if (picLayerHeader->OVERFLAGS.imode) in vbp_pack_bitplanes_vc1()
540 picLayerHeader->OVERFLAGS.databits, in vbp_pack_bitplanes_vc1()
546 if (picLayerHeader->ACPRED.imode) in vbp_pack_bitplanes_vc1()
549 picLayerHeader->ACPRED.databits, in vbp_pack_bitplanes_vc1()
555 if (picLayerHeader->FIELDTX.imode) in vbp_pack_bitplanes_vc1()
558 picLayerHeader->FIELDTX.databits, in vbp_pack_bitplanes_vc1()
565 if (picLayerHeader->MVTYPEMB.imode || in vbp_pack_bitplanes_vc1()
566 picLayerHeader->DIRECTMB.imode || in vbp_pack_bitplanes_vc1()
[all …]