Home
last modified time | relevance | path

Searched refs:CBP (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastquant.cpp445 Int CBP = 0; in BlockQuantDequantH263DCInter() local
465 return CBP;//rcoeff[0] = 0; not needed since CBP will be zero in BlockQuantDequantH263DCInter()
489 CBP = 1; in BlockQuantDequantH263DCInter()
491 return CBP; in BlockQuantDequantH263DCInter()
552 Int CBP = 0; in BlockQuantDequantMPEGInter() local
651 CBP = 1; /* check CBP before mismatch control, 7/5/01 */ in BlockQuantDequantMPEGInter()
654 if (CBP) in BlockQuantDequantMPEGInter()
670 return CBP; in BlockQuantDequantMPEGInter()
681 Int CBP = 0; in BlockQuantDequantMPEGIntra() local
824 CBP = 1; /* check CBP before mismatch control, 7/5/01 */ in BlockQuantDequantMPEGIntra()
[all …]
Dfastcodemb.cpp52 Int sad, k, CBP, mbnum = video->mbnum; in CodeMB_H263() local
87 CBP = 0; in CodeMB_H263()
138 CBP <<= 1; in CodeMB_H263()
197 CBP |= 0; in CodeMB_H263()
205 CBP |= (*BlockQuantDequantH263DC)(dataBlock, output, &QuantParam, in CodeMB_H263()
233 CBP |= (*BlockQuantDequantH263)(dataBlock, output, &QuantParam, in CodeMB_H263()
248 video->headerInfo.CBP[mbnum] = CBP; /* 5/18/2001 */ in CodeMB_H263()
281 Int sad, k, CBP, mbnum = video->mbnum; in CodeMB_MPEG() local
318 CBP = 0; in CodeMB_MPEG()
365 CBP <<= 1; in CodeMB_MPEG()
[all …]
Dvlc_encode.cpp892 UChar CBP; in MBVlcEncodeDataPar_I_VOP() local
906 CBP = video->headerInfo.CBP[mbnum]; in MBVlcEncodeDataPar_I_VOP()
925 PutMCBPC_Intra(CBP, Mode, bs1); /* MCBPC */ in MBVlcEncodeDataPar_I_VOP()
951 PutCBPY(CBP >> 2, (Char)(1), bs2); /* cbpy */ in MBVlcEncodeDataPar_I_VOP()
958 if (CBP&(1 << (5 - i))) in MBVlcEncodeDataPar_I_VOP()
982 UChar CBP; in MBVlcEncodeDataPar_P_VOP() local
1009 CBP = video->headerInfo.CBP[mbnum]; in MBVlcEncodeDataPar_P_VOP()
1026 if (CBP == 0 && intra == 0) /* Determine if Skipped MB */ in MBVlcEncodeDataPar_P_VOP()
1049 PutMCBPC_Inter(CBP, Mode, bs1); /* MCBPC */ in MBVlcEncodeDataPar_P_VOP()
1077 PutCBPY(CBP >> 2, (Char)(Mode == MODE_INTRA || Mode == MODE_INTRA_Q), bs2); /* cbpy */ in MBVlcEncodeDataPar_P_VOP()
[all …]
Ddatapart_encode.cpp237 UChar CBP; in EncodeSliceDataPartMode() local
363 CBP = video->headerInfo.CBP[mbnum]; in EncodeSliceDataPartMode()
421 video->headerInfo.CBP[mbnum] = CBP; in EncodeSliceDataPartMode()
Dcombined_encode.cpp289 UChar CBP = 0; in EncodeSliceCombinedMode() local
441 CBP = video->headerInfo.CBP[mbnum]; in EncodeSliceCombinedMode()
492 video->headerInfo.CBP[mbnum] = CBP; in EncodeSliceCombinedMode()
Dmp4lib_int.h147 UChar *CBP; /* MCBPC/CBPY stuff */ member
Dmp4enc_api.cpp663 …video->headerInfo.CBP = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for CBP (Y … in PVInitVideoEncoder()
664 if (video->headerInfo.CBP == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
1153 if (video->headerInfo.CBP)M4VENC_FREE(video->headerInfo.CBP); in PVCleanUpVideoEncoder()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dslice.cpp229 currMB->CBP = 0; in EncodeMB()
247 currMB->CBP |= (1 << b8); in EncodeMB()
265 if ((currMB->CBP&(1 << b8)) && (cost8 <= _LUMA_COEFF_COST_)) in EncodeMB()
269 currMB->CBP ^= (1 << b8); in EncodeMB()
293 if ((currMB->CBP&0xF) && (cost16 <= _LUMA_MB_COEFF_COST_)) in EncodeMB()
295 currMB->CBP = 0; // reset it to zero in EncodeMB()
310 currMB->CBP = 0; in EncodeMB()
336 if (!currMB->CBP && currMB->NumMbPart == 1 && currMB->QPy == video->QPy) in EncodeMB()
453 if (currMB->CBP&(1 << b8)) in EncodeMB()
468 if (currMB->CBP & (3 << 4)) /* chroma DC residual present */ in EncodeMB()
[all …]
Dvlc_encode.cpp113 codeNum = MapCBP2code[currMB->CBP][0]; in EncodeCBP()
117 codeNum = MapCBP2code[currMB->CBP][1]; in EncodeCBP()
Dblock.cpp272 if (currMB->CBP&(1 << b8)) in MBInterIdct()
580 currMB->CBP = 0; in dct_luma_16x16()
630 currMB->CBP |= (1 << b8); in dct_luma_16x16()
865 currMB->CBP |= (1 << 4); // DC present in dct_chroma()
1027 currMB->CBP |= (2 << 4); in dct_chroma()
Dintra_est.cpp125 currMB->CBP = 0; in MBIntraSearch()
679 currMB->CBP |= (1 << b8); in mb_intra4x4_search()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dmb_motion_comp.cpp121 int CBP in MBMotionComp() argument
259 if ((CBP >> 5)&1) in MBMotionComp()
295 if ((CBP >> 4)&1) in MBMotionComp()
331 if ((CBP >> 3)&1) in MBMotionComp()
368 if ((CBP >> 2)&1) in MBMotionComp()
476 if ((CBP >> 1)&1) in MBMotionComp()
491 if (CBP&1) in MBMotionComp()
512 if ((CBP >> 1)&1) in MBMotionComp()
527 if (CBP&1) in MBMotionComp()
Ddatapart_decode.cpp174 video->headerInfo.CBP[mbnum] = (uint8)((MCBPC >> 4) & 3); in DecodeDataPart_I_VideoPacket()
254 video->headerInfo.CBP[mbnum] |= (uint8)(CBPY << 2); in DecodeDataPart_I_VideoPacket()
441 video->headerInfo.CBP[mbnum] |= (uint8)(CBPY << 2); in DecodeDataPart_P_VideoPacket()
608 video->headerInfo.CBP[mbnum] = (uint8)((MCBPC >> 4) & 3); in GetMBheaderDataPart_P()
628 uint CBP = video->headerInfo.CBP[mbnum]; in GetMBData_DataPart() local
714 MBMotionComp(video, CBP); in GetMBData_DataPart()
723 if (CBP & (1 << (5 - comp))) in GetMBData_DataPart()
748 if (CBP & 2) in GetMBData_DataPart()
768 if (CBP & 1) in GetMBData_DataPart()
Dcombined_decode.cpp462 video->headerInfo.CBP[mbnum] = (uint8)(CBPY << 2 | (CBPC & 3)); in GetMBheader()
534 uint CBP = video->headerInfo.CBP[mbnum]; local
665 MBMotionComp(video, CBP);
672 if (CBP & (1 << (5 - comp)))
702 if (CBP & 2)
726 if (CBP & 1)
754 if (CBP & (1 << (5 - comp)))
780 if (CBP & 2)
804 if (CBP & 1)
Dvlc_dequant.cpp58 uint CBP = video->headerInfo.CBP[mbnum]; in VlcDequantMpegIntraBlock() local
110 if (CBP & (1 << (5 - comp))) in VlcDequantMpegIntraBlock()
509 uint CBP = video->headerInfo.CBP[mbnum]; in VlcDequantH263IntraBlock() local
555 if (CBP & (1 << (5 - comp))) in VlcDequantH263IntraBlock()
811 uint CBP = video->headerInfo.CBP[mbnum]; in VlcDequantH263IntraBlock_SH() local
858 if ((CBP & (1 << (5 - comp))) == 0) in VlcDequantH263IntraBlock_SH()
940 if (CBP & (1 << (5 - comp))) in VlcDequantH263IntraBlock_SH()
Dpvdec_api.cpp411 video->headerInfo.CBP = (uint8 *)(IMEM_headerInfo_CBP); in PVAllocVideoData()
412 if (video->headerInfo.CBP == NULL) status = PV_FALSE; in PVAllocVideoData()
459 video->headerInfo.CBP = (uint8 *) oscl_malloc(nTotalMB); in PVAllocVideoData()
460 if (video->headerInfo.CBP == NULL) status = PV_FALSE; in PVAllocVideoData()
627 video->headerInfo.CBP = NULL; in PVCleanUpVideoDecoder()
692 if (video->headerInfo.CBP) oscl_free(video->headerInfo.CBP); in PVCleanUpVideoDecoder()
Dmp4lib_int.h151 uint8 *CBP; /* MCBPC/CBPY stuff */ member
Dconceal.cpp65 video->headerInfo.CBP[mbnum] = 0; in ConcealTexture_I()
Dmp4dec_lib.h126 void MBMotionComp(VideoDecData *video, int CBP);
/frameworks/av/media/libstagefright/codecs/avc/common/include/
Davcint_common.h585 uint CBP; /* CodeBlockPattern */ member