Lines Matching refs:cbp
458 * Encodes CBP for the MB.
461 * CBP for the MB
484 /* CBP Luma, FL, Cmax = 15, L = 4 */
530 /* CBP Chroma, TU, Cmax = 2 */
1630 WORD32 mb_tpm, mb_type, cbp, chroma_intra_mode, luma_intra_mode;
1643 cbp = ps_mb_hdr->u1_cbp;
1654 u4_cbp_c = (cbp >> 4);
1655 u4_cbp_l = (cbp & 0xF);
1682 { /* Encode MB cbp */
1683 ih264e_cabac_enc_cbp(cbp, ps_cabac_ctxt);
1686 if ((cbp > 0) || (mb_type == I16x16))
1699 ps_curr_ctxt->u1_cbp = cbp;
1701 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_AC_CTXCAT);
1705 ps_curr_ctxt->u1_cbp = cbp;
1708 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_4X4_CTXCAT);
1733 ps_cabac_ctxt->ps_curr_ctxt_mb_info->u1_cbp = cbp;
1779 WORD32 mb_tpm, mb_type, cbp, chroma_intra_mode, luma_intra_mode;
1803 cbp = ps_mb_hdr->u1_cbp;
1811 u4_cbp_c = (cbp >> 4);
1812 u4_cbp_l = (cbp & 0xF);
1845 /* encode CBP */
1846 ih264e_cabac_enc_cbp(cbp, ps_cabac_ctxt);
1849 if ((cbp > 0) || (mb_type == I16x16))
1864 ps_curr_ctxt->u1_cbp = (UWORD8) cbp;
1866 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_AC_CTXCAT);
1870 ps_curr_ctxt->u1_cbp = (UWORD8) cbp;
1873 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_4X4_CTXCAT);
1898 ps_cabac_ctxt->ps_curr_ctxt_mb_info->u1_cbp = (UWORD8) cbp;
1923 cbp = ps_mb_hdr->u1_cbp;
1947 /* Encode CBP */
1948 ih264e_cabac_enc_cbp(cbp, ps_cabac_ctxt);
1950 if (cbp)
1975 cbp = 0;
1986 if (cbp > 0)
1989 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_4X4_CTXCAT);
2007 ps_curr_ctxt->u1_cbp = cbp;
2070 WORD32 mb_tpm, mb_type, cbp, chroma_intra_mode, luma_intra_mode;
2094 cbp = ps_mb_hdr->u1_cbp;
2102 u4_cbp_c = (cbp >> 4);
2103 u4_cbp_l = (cbp & 0xF);
2153 /* encode CBP */
2154 ih264e_cabac_enc_cbp(cbp, ps_cabac_ctxt);
2157 if ((cbp > 0) || (mb_type == I16x16))
2172 ps_curr_ctxt->u1_cbp = (UWORD8) cbp;
2174 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_AC_CTXCAT);
2178 ps_curr_ctxt->u1_cbp = (UWORD8) cbp;
2181 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_4X4_CTXCAT);
2206 ps_cabac_ctxt->ps_curr_ctxt_mb_info->u1_cbp = (UWORD8) cbp;
2231 cbp = ps_mb_hdr->u1_cbp;
2264 /* Encode CBP */
2265 ih264e_cabac_enc_cbp(cbp, ps_cabac_ctxt);
2267 if (cbp)
2292 cbp = 0;
2310 cbp = ps_mb_hdr->u1_cbp;
2355 /* Encode CBP */
2356 ih264e_cabac_enc_cbp(cbp, ps_cabac_ctxt);
2358 if (cbp)
2374 if (cbp > 0)
2377 ih264e_cabac_encode_residue(ps_ent_ctxt, cbp, LUMA_4X4_CTXCAT);
2395 ps_curr_ctxt->u1_cbp = cbp;