Lines Matching refs:cbp
239 PutMCBPC_Intra(Int cbp, Int mode, BitstreamEncVideo *bitstream)
244 ind = ((mode_MBtype[mode] >> 1) & 3) | ((cbp & 3) << 2);
254 PutMCBPC_Inter(Int cbp, Int mode, BitstreamEncVideo *bitstream)
259 ind = (mode_MBtype[mode] & 7) | ((cbp & 3) << 3);
892 UChar CBP;
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;
993 /* DC and AC Prediction, 5/28/01, compute CBP, intraDC_decision*/
1007 /* CBP, Run, Level, and Sign */
1009 CBP = video->headerInfo.CBP[mbnum];
1026 if (CBP == 0 && intra == 0) /* Determine if Skipped MB */
1049 PutMCBPC_Inter(CBP, Mode, bs1); /* MCBPC */
1077 PutCBPY(CBP >> 2, (Char)(Mode == MODE_INTRA || Mode == MODE_INTRA_Q), bs2); /* cbpy */
1099 if (CBP&(1 << (5 - i)))
1106 PutCBPY(CBP >> 2, (Char)(Mode == MODE_INTRA || Mode == MODE_INTRA_Q), bs2); /* cbpy */
1114 if (CBP&(1 << (5 - i)))
1138 UChar CBP = video->headerInfo.CBP[video->mbnum];
1149 /* DC and AC Prediction, 5/28/01, compute CBP, intraDC_decision*/
1160 /* CBP, Run, Level, and Sign */
1163 CBP = video->headerInfo.CBP[mbnum];
1180 PutMCBPC_Intra(CBP, Mode, bs1); /* mcbpc I_VOP */
1188 PutCBPY(CBP >> 2, (Char)(1), bs1); /* cbpy */
1209 if (CBP&(1 << (5 - i)))
1226 if (CBP&(1 << (5 - i)))
1234 if (CBP&(1 << (5 - i)))
1256 UChar CBP ;
1283 /* CBP, Run, Level, and Sign */
1286 CBP = video->headerInfo.CBP[mbnum];
1300 if (CBP == 0 && intra == 0) /* Determine if Skipped MB */
1322 PutMCBPC_Inter(CBP, Mode, bs1); /* mcbpc P_VOP */
1330 PutCBPY(CBP >> 2, (Char)(intra), bs1); /* cbpy */
1375 if (CBP&(1 << (5 - i)))
1392 if (CBP&(1 << (5 - i)))
1400 if (CBP&(1 << (5 - i)))
1410 if (CBP&(1 << (5 - i)))
1781 /* Int CBP Coded Block Pattern */
1788 Int CBP = video->headerInfo.CBP[video->mbnum];
1799 /* Set Run, Level and CBP for this Macroblock */
1836 if ((CBP >> (5 - i)) & 1)
1883 if (idx == intra) /* reset CBP, nothing to be coded */
1884 CBP &= imask[i];
1887 video->headerInfo.CBP[video->mbnum] = CBP;
1895 if (CBP)
1902 if ((CBP >> (5 - i)) & 1)
1912 if (idx == 0) /* reset CBP, nothing to be coded */
1913 CBP &= imask[i];
1915 video->headerInfo.CBP[video->mbnum] = CBP;
2504 if (newCBP[comp]) /* 5/28/01, update CBP */
2505 video->headerInfo.CBP[mbnum] |= mask1[comp];
2522 video->headerInfo.CBP[mbnum] |= mask1[comp];