Home
last modified time | relevance | path

Searched refs:u1_cbp (Results 1 – 20 of 20) sorted by relevance

/external/libavc/decoder/
Dih264d_parse_islice.c217 COPYTHECONTEXT("coded_block_pattern", u1_cbp); in ih264d_parse_imb_cavlc()
218 ps_cur_mb_info->u1_cbp = u4_cbp; in ih264d_parse_imb_cavlc()
223 if(ps_cur_mb_info->u1_cbp) in ih264d_parse_imb_cavlc()
313 ps_cur_mb_info->u1_cbp = u4_cbp; in ih264d_parse_imb_cavlc()
487 UWORD8 u1_cbp; in ih264d_parse_imb_cabac() local
579 u1_cbp = ih264d_parse_ctx_cbp_cabac(ps_dec); in ih264d_parse_imb_cabac()
580 COPYTHECONTEXT("coded_block_pattern", u1_cbp); in ih264d_parse_imb_cabac()
581 ps_cur_mb_info->u1_cbp = u1_cbp; in ih264d_parse_imb_cabac()
582 p_curr_ctxt->u1_cbp = u1_cbp; in ih264d_parse_imb_cabac()
587 if(ps_cur_mb_info->u1_cbp) in ih264d_parse_imb_cabac()
[all …]
Dih264d_parse_cabac.c1165 UWORD8 u1_cbp = ps_cur_mb_info->u1_cbp; in ih264d_parse_residual4x4_cabac() local
1246 if(u1_cbp & 0x0f) in ih264d_parse_residual4x4_cabac()
1253 if(!(u1_cbp & 0x1)) in ih264d_parse_residual4x4_cabac()
1270 if(!(u1_cbp & 0x2)) in ih264d_parse_residual4x4_cabac()
1289 if(!(u1_cbp & 0x4)) in ih264d_parse_residual4x4_cabac()
1306 if(!(u1_cbp & 0x8)) in ih264d_parse_residual4x4_cabac()
1327 if(!(u1_cbp & 0x1)) in ih264d_parse_residual4x4_cabac()
1355 if(!(u1_cbp & 0x2)) in ih264d_parse_residual4x4_cabac()
1384 if(!(u1_cbp & 0x4)) in ih264d_parse_residual4x4_cabac()
1412 if(!(u1_cbp & 0x8)) in ih264d_parse_residual4x4_cabac()
[all …]
Dih264d_mb_utils.c929 u1_cr_cpb = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff()
945 u1_cbp_t = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff()
946 u1_cbp_b = (ps_leftMB + 1)->u1_cbp; in ih264d_get_cabac_context_mbaff()
947 ps_tempLeft->u1_cbp = (u1_cbp_t & 0x02) in ih264d_get_cabac_context_mbaff()
998 u1_cbp_t = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff()
1000 ps_tempLeft->u1_cbp = (u1_cbp_t | (u1_cbp_t << 2)); in ih264d_get_cabac_context_mbaff()
1054 u1_cbp_t = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff()
1056 ps_tempLeft->u1_cbp = (u1_cbp_t | (u1_cbp_t >> 2)); in ih264d_get_cabac_context_mbaff()
1070 ps_tempLeft->u1_cbp = ps_tempLeft->u1_cbp + ((u1_cr_cpb >> 4) << 4); in ih264d_get_cabac_context_mbaff()
Dih264d_parse_pslice.c348 ps_cur_mb_info->u1_cbp = u4_cbp; in ih264d_parse_pmb_cavlc()
658 UWORD8 u1_cbp; in ih264d_parse_pmb_cabac() local
661 u1_cbp = (WORD8)ih264d_parse_ctx_cbp_cabac(ps_dec); in ih264d_parse_pmb_cabac()
662 COPYTHECONTEXT("coded_block_pattern", u1_cbp); in ih264d_parse_pmb_cabac()
663 ps_cur_mb_info->u1_cbp = u1_cbp; in ih264d_parse_pmb_cabac()
664 p_curr_ctxt->u1_cbp = u1_cbp; in ih264d_parse_pmb_cabac()
669 if(u1_cbp > 47) in ih264d_parse_pmb_cabac()
676 if((ps_dec->s_high_profile.u1_transform8x8_present) && (u1_cbp & 0xf) in ih264d_parse_pmb_cabac()
692 if(u1_cbp) in ih264d_parse_pmb_cabac()
930 ps_cur_mb_info->u1_cbp = 0; in ih264d_parse_inter_slice_data_cabac()
[all …]
Dih264d_parse_mb_header.c808 u4_cxt_inc = (!((ps_top_ctxt->u1_cbp >> 2) & 0x01)) << 1; in ih264d_parse_ctx_cbp_cabac()
809 u4_cxt_inc += !((ps_left_ctxt->u1_cbp >> 1) & 0x01); in ih264d_parse_ctx_cbp_cabac()
865 u4_cxt_inc = (!((ps_top_ctxt->u1_cbp >> 3) & 0x01)) << 1; in ih264d_parse_ctx_cbp_cabac()
906 u4_cxt_inc += !((ps_left_ctxt->u1_cbp >> 3) & 0x01); in ih264d_parse_ctx_cbp_cabac()
1005 a = (ps_top_ctxt->u1_cbp > 15) ? 2 : 0; in ih264d_parse_ctx_cbp_cabac()
1006 c = (ps_top_ctxt->u1_cbp > 31) ? 2 : 0; in ih264d_parse_ctx_cbp_cabac()
1010 b = (ps_left_ctxt->u1_cbp > 15) ? 1 : 0; in ih264d_parse_ctx_cbp_cabac()
1011 d = (ps_left_ctxt->u1_cbp > 31) ? 1 : 0; in ih264d_parse_ctx_cbp_cabac()
Dih264d_parse_bslice.c635 UWORD8 u1_cbp; in ih264d_parse_bmb_cabac() local
679 u1_cbp = (WORD8)ih264d_parse_ctx_cbp_cabac(ps_dec); in ih264d_parse_bmb_cabac()
680 p_curr_ctxt->u1_cbp = u1_cbp; in ih264d_parse_bmb_cabac()
681 ps_cur_mb_info->u1_cbp = u1_cbp; in ih264d_parse_bmb_cabac()
683 if(u1_cbp > 47) in ih264d_parse_bmb_cabac()
686 COPYTHECONTEXT("coded_block_pattern", u1_cbp); in ih264d_parse_bmb_cabac()
691 if((ps_dec->s_high_profile.u1_transform8x8_present) && (u1_cbp & (0xf)) in ih264d_parse_bmb_cabac()
712 if(u1_cbp) in ih264d_parse_bmb_cabac()
826 ps_cur_mb_info->u1_cbp = u4_cbp; in ih264d_parse_bmb_cavlc()
Dih264d_parse_cavlc.c2460 UWORD8 u1_cbp = ps_cur_mb_info->u1_cbp; in ih264d_parse_residual4x4_cavlc() local
2499 if(u1_cbp & 0xf) in ih264d_parse_residual4x4_cavlc()
2509 if(!(u1_cbp & 0x1)) in ih264d_parse_residual4x4_cavlc()
2539 if(!(u1_cbp & 0x2)) in ih264d_parse_residual4x4_cavlc()
2569 if(!(u1_cbp & 0x4)) in ih264d_parse_residual4x4_cavlc()
2598 if(!(u1_cbp & 0x8)) in ih264d_parse_residual4x4_cavlc()
2631 u1_cbp >>= 4; in ih264d_parse_residual4x4_cavlc()
2636 if(u1_cbp == CBPC_ALLZERO || u1_cbp == CBPC_ACZERO) in ih264d_parse_residual4x4_cavlc()
2642 if(u1_cbp == CBPC_ALLZERO) in ih264d_parse_residual4x4_cavlc()
2680 if(u1_cbp == CBPC_ACZERO) in ih264d_parse_residual4x4_cavlc()
Dih264d_process_intra_mb.c551 if((ps_cur_mb_info->u1_cbp >> 4) == CBPC_ALLZERO) in ih264d_unpack_chroma_coeff4x4_mb()
571 if((ps_cur_mb_info->u1_cbp >> 4) == CBPC_NONZERO) in ih264d_unpack_chroma_coeff4x4_mb()
646 if(CHECKBIT(ps_cur_mb_info->u1_cbp, blk_8x8_cnt)) in ih264d_unpack_luma_coeff8x8_mb()
1697 if(CHECKBIT(ps_cur_mb_info->u1_cbp, u1_sub_mb_num)) in ih264d_process_intra_mb()
1763 UWORD8 u1_chroma_cbp = (UWORD8)(ps_cur_mb_info->u1_cbp >> 4); in ih264d_process_intra_mb()
Dih264d_cabac.h99 UWORD8 u1_cbp; /** Coded Block Pattern */ member
Dih264d_process_pslice.c601 if(ps_cur_mb_info->u1_cbp & 0x0f) in ih264d_process_inter_mb()
662 if(CHECKBIT(ps_cur_mb_info->u1_cbp, i)) in ih264d_process_inter_mb()
706 UWORD8 u1_chroma_cbp = (UWORD8)(ps_cur_mb_info->u1_cbp >> 4); in ih264d_process_inter_mb()
Dih264d_cabac.c144 p_DefCtxt->u1_cbp = 0x0f; in ih264d_init_cabac_contexts()
Dih264d_structs.h447 UWORD8 u1_cbp; member
Dih264d_inter_pred.c717 UWORD8 u1_chroma_cbp = (UWORD8)(ps_cur_mb_info->u1_cbp >> 4); in ih264d_form_mb_part_info_mp()
Dih264d_utils.c928 p_DefCtxt->u1_cbp = 0x0f; in ih264d_init_pic()
/external/libavc/encoder/
Dih264e_cabac_encode.c506 b = ((ps_top_ctxt->u1_cbp >> j) & 0x01) ? 0 : 1; in ih264e_cabac_enc_cbp()
521 a = ((ps_left_ctxt->u1_cbp >> j) & 0x01) ? 0 : 1; in ih264e_cabac_enc_cbp()
533 a = (ps_left_ctxt->u1_cbp > 15) ? 1 : 0; in ih264e_cabac_enc_cbp()
534 b = (ps_top_ctxt->u1_cbp > 15) ? 1 : 0; in ih264e_cabac_enc_cbp()
542 a = (ps_left_ctxt->u1_cbp > 31) ? 1 : 0; in ih264e_cabac_enc_cbp()
543 b = (ps_top_ctxt->u1_cbp > 31) ? 1 : 0; in ih264e_cabac_enc_cbp()
1643 cbp = ps_mb_hdr->u1_cbp; in ih264e_write_islice_mb_cabac()
1699 ps_curr_ctxt->u1_cbp = cbp; in ih264e_write_islice_mb_cabac()
1705 ps_curr_ctxt->u1_cbp = cbp; in ih264e_write_islice_mb_cabac()
1733 ps_cabac_ctxt->ps_curr_ctxt_mb_info->u1_cbp = cbp; in ih264e_write_islice_mb_cabac()
[all …]
Dih264e_cabac_structs.h66 UWORD8 u1_cbp; /* !< Coded Block Pattern */ member
Dih264e_cabac_init.c165 ps_def_ctxt->u1_cbp = 0x0f; in ih264e_init_cabac_table()
Dih264e_process.c724 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data()
791 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data()
810 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data()
849 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data()
887 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data()
Dih264e_cavlc.c991 cbp = ps_mb_hdr->u1_cbp; in ih264e_write_islice_mb_cavlc()
1263 cbp = ps_mb_hdr->u1_cbp; in ih264e_write_pslice_mb_cavlc()
1576 cbp = ps_mb_hdr->u1_cbp; in ih264e_write_bslice_mb_cavlc()
Dih264e_structs.h1178 UWORD8 u1_cbp; member