/external/libavc/decoder/ |
D | ih264d_parse_islice.c | 217 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 …]
|
D | ih264d_parse_cabac.c | 1165 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 …]
|
D | ih264d_mb_utils.c | 929 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()
|
D | ih264d_parse_pslice.c | 348 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 …]
|
D | ih264d_parse_mb_header.c | 808 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()
|
D | ih264d_parse_bslice.c | 635 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()
|
D | ih264d_parse_cavlc.c | 2460 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()
|
D | ih264d_process_intra_mb.c | 551 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()
|
D | ih264d_cabac.h | 99 UWORD8 u1_cbp; /** Coded Block Pattern */ member
|
D | ih264d_process_pslice.c | 601 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()
|
D | ih264d_cabac.c | 144 p_DefCtxt->u1_cbp = 0x0f; in ih264d_init_cabac_contexts()
|
D | ih264d_structs.h | 447 UWORD8 u1_cbp; member
|
D | ih264d_inter_pred.c | 717 UWORD8 u1_chroma_cbp = (UWORD8)(ps_cur_mb_info->u1_cbp >> 4); in ih264d_form_mb_part_info_mp()
|
D | ih264d_utils.c | 928 p_DefCtxt->u1_cbp = 0x0f; in ih264d_init_pic()
|
/external/libavc/encoder/ |
D | ih264e_cabac_encode.c | 506 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 …]
|
D | ih264e_cabac_structs.h | 66 UWORD8 u1_cbp; /* !< Coded Block Pattern */ member
|
D | ih264e_cabac_init.c | 165 ps_def_ctxt->u1_cbp = 0x0f; in ih264e_init_cabac_table()
|
D | ih264e_process.c | 724 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()
|
D | ih264e_cavlc.c | 991 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()
|
D | ih264e_structs.h | 1178 UWORD8 u1_cbp; member
|