Home
last modified time | relevance | path

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

/frameworks/av/media/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.h148 UChar *CBP; /* MCBPC/CBPY stuff */ member
Dmp4enc_api.cpp664 …video->headerInfo.CBP = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for CBP (Y … in PVInitVideoEncoder()
665 if (video->headerInfo.CBP == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
1154 if (video->headerInfo.CBP)M4VENC_FREE(video->headerInfo.CBP); in PVCleanUpVideoEncoder()
/frameworks/av/media/codecs/m4v_h263/dec/src/
Dmb_motion_comp.cpp125 int CBP in MBMotionComp() argument
260 if ((CBP >> 5)&1) in MBMotionComp()
296 if ((CBP >> 4)&1) in MBMotionComp()
332 if ((CBP >> 3)&1) in MBMotionComp()
369 if ((CBP >> 2)&1) in MBMotionComp()
440 if ((CBP >> 1)&1) in MBMotionComp()
455 if (CBP&1) in MBMotionComp()
476 if ((CBP >> 1)&1) in MBMotionComp()
491 if (CBP&1) in MBMotionComp()
Dcombined_decode.cpp462 video->headerInfo.CBP[mbnum] = (uint8)(CBPY << 2 | (CBPC & 3)); in GetMBheader()
534 uint CBP = video->headerInfo.CBP[mbnum]; local
643 MBMotionComp(video, CBP);
650 if (CBP & (1 << (5 - comp)))
666 if (CBP & 2)
676 if (CBP & 1)
690 if (CBP & (1 << (5 - comp)))
702 if (CBP & 2)
717 if (CBP & 1)
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
690 MBMotionComp(video, CBP); in GetMBData_DataPart()
699 if (CBP & (1 << (5 - comp))) in GetMBData_DataPart()
720 if (CBP & 2) in GetMBData_DataPart()
736 if (CBP & 1) in GetMBData_DataPart()
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.cpp424 video->headerInfo.CBP = (uint8 *)(IMEM_headerInfo_CBP); in PVAllocVideoData()
425 if (video->headerInfo.CBP == NULL) status = PV_FALSE; in PVAllocVideoData()
477 video->headerInfo.CBP = (uint8 *) oscl_malloc(nTotalMB); in PVAllocVideoData()
478 if (video->headerInfo.CBP == NULL) status = PV_FALSE; in PVAllocVideoData()
479 else oscl_memset (video->headerInfo.CBP, 0, nTotalMB); in PVAllocVideoData()
591 video->headerInfo.CBP = NULL; in PVCleanUpVideoDecoder()
652 if (video->headerInfo.CBP) oscl_free(video->headerInfo.CBP); in PVCleanUpVideoDecoder()
Dmp4lib_int.h151 uint8 *CBP; /* MCBPC/CBPY stuff */ member
Dconceal.cpp70 video->headerInfo.CBP[mbnum] = 0; in ConcealTexture_I()
Dmp4dec_lib.h126 void MBMotionComp(VideoDecData *video, int CBP);