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

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.cpp52 Int sad, k, CBP, mbnum = video->mbnum; local
87 CBP = 0;
138 CBP <<= 1;
197 CBP |= 0;
205 CBP |= (*BlockQuantDequantH263DC)(dataBlock, output, &QuantParam,
233 CBP |= (*BlockQuantDequantH263)(dataBlock, output, &QuantParam,
248 video->headerInfo.CBP[mbnum] = CBP; /* 5/18/2001 */
281 Int sad, k, CBP, mbnum = video->mbnum; local
318 CBP
[all...]
H A Dvlc_encode.cpp892 UChar CBP; local
901 /* DC and AC Prediction, 5/28/01, compute CBP, intraDC_decision*/
904 /* CBP, Run, Level, and Sign */
906 CBP = video->headerInfo.CBP[mbnum];
925 PutMCBPC_Intra(CBP, Mode, bs1); /* MCBPC */
951 PutCBPY(CBP >> 2, (Char)(1), bs2); /* cbpy */
958 if (CBP&(1 << (5 - i)))
982 UChar CBP; local
993 /* DC and AC Prediction, 5/28/01, compute CBP, intraDC_decisio
1138 UChar CBP = video->headerInfo.CBP[video->mbnum]; local
1256 UChar CBP ; local
1788 Int CBP = video->headerInfo.CBP[video->mbnum]; local
[all...]
H A Dfastquant.cpp125 return CBP for this block
445 Int CBP = 0; local
465 return CBP;//rcoeff[0] = 0; not needed since CBP will be zero
489 CBP = 1;
491 return CBP;
552 Int CBP = 0; local
651 CBP = 1; /* check CBP before mismatch control, 7/5/01 */
654 if (CBP)
681 Int CBP = 0; local
856 Int CBP = 0; local
[all...]
H A Ddatapart_encode.cpp237 UChar CBP; local
363 CBP = video->headerInfo.CBP[mbnum];
421 video->headerInfo.CBP[mbnum] = CBP;
H A Dcombined_encode.cpp289 UChar CBP = 0; local
441 CBP = video->headerInfo.CBP[mbnum];
492 video->headerInfo.CBP[mbnum] = CBP;
H A Dmp4lib_int.h147 UChar *CBP; /* MCBPC/CBPY stuff */ member in struct:tagHeaderInfoDecVideo
H A Dmp4enc_api.cpp652 video->headerInfo.CBP = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for CBP (Y and C) of each MB */
653 if (video->headerInfo.CBP == NULL) goto CLEAN_UP;
1120 if (video->headerInfo.CBP)M4VENC_FREE(video->headerInfo.CBP);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp121 int CBP
259 if ((CBP >> 5)&1)
295 if ((CBP >> 4)&1)
331 if ((CBP >> 3)&1)
368 if ((CBP >> 2)&1)
476 if ((CBP >> 1)&1)
491 if (CBP&1)
512 if ((CBP >> 1)&1)
527 if (CBP&1)
H A Dcombined_decode.cpp462 video->headerInfo.CBP[mbnum] = (uint8)(CBPY << 2 | (CBPC & 3));
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
[all...]
H A Ddatapart_decode.cpp174 video->headerInfo.CBP[mbnum] = (uint8)((MCBPC >> 4) & 3);
254 video->headerInfo.CBP[mbnum] |= (uint8)(CBPY << 2);
441 video->headerInfo.CBP[mbnum] |= (uint8)(CBPY << 2);
608 video->headerInfo.CBP[mbnum] = (uint8)((MCBPC >> 4) & 3);
628 uint CBP = video->headerInfo.CBP[mbnum]; local
714 MBMotionComp(video, CBP);
723 if (CBP & (1 << (5 - comp)))
748 if (CBP & 2)
768 if (CBP
[all...]
H A Dvlc_dequant.cpp58 uint CBP = video->headerInfo.CBP[mbnum]; local
110 if (CBP & (1 << (5 - comp)))
509 uint CBP = video->headerInfo.CBP[mbnum]; local
555 if (CBP & (1 << (5 - comp)))
811 uint CBP = video->headerInfo.CBP[mbnum]; local
858 if ((CBP & (1 << (5 - comp))) == 0)
940 if (CBP
[all...]
H A Dconceal.cpp65 video->headerInfo.CBP[mbnum] = 0;
H A Dmp4lib_int.h151 uint8 *CBP; /* MCBPC/CBPY stuff */ member in struct:tagHeaderInfoDecVideo
H A Dmp4dec_lib.h126 void MBMotionComp(VideoDecData *video, int CBP);
H A Dpvdec_api.cpp376 video->headerInfo.CBP = (uint8 *)(IMEM_headerInfo_CBP);
377 if (video->headerInfo.CBP == NULL) status = PV_FALSE;
417 video->headerInfo.CBP = (uint8 *) oscl_malloc(nTotalMB);
418 if (video->headerInfo.CBP == NULL) status = PV_FALSE;
575 video->headerInfo.CBP = NULL;
640 if (video->headerInfo.CBP) oscl_free(video->headerInfo.CBP);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dslice.cpp229 currMB->CBP = 0;
247 currMB->CBP |= (1 << b8);
265 if ((currMB->CBP&(1 << b8)) && (cost8 <= _LUMA_COEFF_COST_))
269 currMB->CBP ^= (1 << b8);
293 if ((currMB->CBP&0xF) && (cost16 <= _LUMA_MB_COEFF_COST_))
295 currMB->CBP = 0; // reset it to zero
310 currMB->CBP = 0;
336 if (!currMB->CBP && currMB->NumMbPart == 1 && currMB->QPy == video->QPy)
414 /* encode mb_type, mb_pred, sub_mb_pred, CBP */
453 if (currMB->CBP
[all...]
H A Dvlc_encode.cpp113 codeNum = MapCBP2code[currMB->CBP][0];
117 codeNum = MapCBP2code[currMB->CBP][1];
H A Dblock.cpp272 if (currMB->CBP&(1 << b8))
580 currMB->CBP = 0;
630 currMB->CBP |= (1 << b8);
865 currMB->CBP |= (1 << 4); // DC present
1027 currMB->CBP |= (2 << 4);
H A Dintra_est.cpp125 currMB->CBP = 0;
679 currMB->CBP |= (1 << b8);
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davcint_common.h585 uint CBP; /* CodeBlockPattern */ member in struct:tagMacroblock

Completed in 220 milliseconds