Home | History | Annotate | Download | only in src

Lines Matching refs:CBP

229         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&(1 << b8))
468 if (currMB->CBP & (3 << 4)) /* chroma DC residual present */
481 if (currMB->CBP & (2 << 4))
548 /* encode mb_type, mb_pred, sub_mb_pred, CBP */
557 if (currMB->CBP > 47) /* chroma CBP is 11 */
559 currMB->CBP -= 16; /* remove the 5th bit from the right */
582 if (currMB->CBP > 0 || currMB->mbMode == AVC_I16)
601 /* inputs are mbMode, mb_intra, i16Mode, CBP, NumMbPart, MbPartWidth, MbPartHeight */
617 CBP_chrom = (currMB->CBP & 0x30);
618 if (currMB->CBP&0xF)
620 currMB->CBP |= 0xF; /* either 0x0 or 0xF */