/external/libavc/encoder/svc/ |
D | isvce_cabac_encode.c | 462 b = ((ps_top_ctxt->u1_cbp >> j) & 0x01) ? 0 : 1; in isvce_cabac_enc_cbp() 477 a = ((ps_left_ctxt->u1_cbp >> j) & 0x01) ? 0 : 1; in isvce_cabac_enc_cbp() 489 a = (ps_left_ctxt->u1_cbp > 15) ? 1 : 0; in isvce_cabac_enc_cbp() 490 b = (ps_top_ctxt->u1_cbp > 15) ? 1 : 0; in isvce_cabac_enc_cbp() 498 a = (ps_left_ctxt->u1_cbp > 31) ? 1 : 0; in isvce_cabac_enc_cbp() 499 b = (ps_top_ctxt->u1_cbp > 31) ? 1 : 0; in isvce_cabac_enc_cbp() 1453 WORD8 i1_mb_qp_delta, UWORD8 u1_cbp, in isvce_mb_ctxt_update() argument 1460 ps_curr_ctxt->u1_cbp = u1_cbp; in isvce_mb_ctxt_update() 1469 if((0 == u1_cbp) && (e_mb_type != I16x16)) in isvce_mb_ctxt_update() 1483 else if((I16x16 != e_mb_type) && (0 == u1_cbp)) in isvce_mb_ctxt_update() [all …]
|
D | isvce_cabac_structs.h | 56 UWORD8 u1_cbp; /* !< Coded Block Pattern */ member
|
D | isvce_cabac_init.c | 163 ps_def_ctxt->u1_cbp = 0x0f; in isvce_init_cabac_table()
|
D | isvce_process.c | 1168 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in isvce_pack_header_data() 1239 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in isvce_pack_header_data() 1263 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in isvce_pack_header_data() 1326 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in isvce_pack_header_data() 1381 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in isvce_pack_header_data() 1426 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in isvce_pack_header_data()
|
D | isvce_cavlc.c | 1041 cbp = ps_mb_hdr->u1_cbp; in isvce_write_islice_mb_cavlc() 1337 cbp = ps_mb_hdr->u1_cbp; in isvce_write_pslice_mb_cavlc() 1699 cbp = ps_mb_hdr->u1_cbp; in isvce_write_bslice_mb_cavlc()
|
/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 | 930 u1_cr_cpb = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff() 946 u1_cbp_t = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff() 947 u1_cbp_b = (ps_leftMB + 1)->u1_cbp; in ih264d_get_cabac_context_mbaff() 948 ps_tempLeft->u1_cbp = (u1_cbp_t & 0x02) in ih264d_get_cabac_context_mbaff() 999 u1_cbp_t = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff() 1001 ps_tempLeft->u1_cbp = (u1_cbp_t | (u1_cbp_t << 2)); in ih264d_get_cabac_context_mbaff() 1055 u1_cbp_t = ps_leftMB->u1_cbp; in ih264d_get_cabac_context_mbaff() 1057 ps_tempLeft->u1_cbp = (u1_cbp_t | (u1_cbp_t >> 2)); in ih264d_get_cabac_context_mbaff() 1071 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()
|
/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 | 727 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data() 794 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data() 813 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data() 852 ps_mb_hdr->common.u1_cbp = ps_proc->u4_cbp; in ih264e_pack_header_data() 890 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()
|
/external/libavc/decoder/svc/ |
D | isvcd_parse_eislice.c | 640 ps_cur_mb_info->u1_cbp = u4_cbp; in isvcd_parse_imb_cavlc() 645 if(ps_cur_mb_info->u1_cbp) in isvcd_parse_imb_cavlc() 730 ps_cur_mb_info->u1_cbp = u4_cbp; in isvcd_parse_imb_cavlc() 880 ps_cur_mb_info->u1_cbp = u4_cbp; in isvcd_parse_imb_cavlc() 887 if((ps_dec->ps_cur_pps->i4_transform_8x8_mode_flag) && (ps_cur_mb_info->u1_cbp & 0xf)) in isvcd_parse_imb_cavlc() 896 if(ps_cur_mb_info->u1_cbp) in isvcd_parse_imb_cavlc() 1685 UWORD8 u1_cbp; in isvcd_parse_imb_cabac() local 1774 u1_cbp = ih264d_parse_ctx_cbp_cabac(ps_dec); in isvcd_parse_imb_cabac() 1775 COPYTHECONTEXT("coded_block_pattern", u1_cbp); in isvcd_parse_imb_cabac() 1776 ps_cur_mb_info->u1_cbp = u1_cbp; in isvcd_parse_imb_cabac() [all …]
|
D | isvcd_parse_ebslice.c | 103 UWORD8 u1_cbp = 0; in isvcd_parse_bmb_cabac() local 172 u1_cbp = (WORD8) ih264d_parse_ctx_cbp_cabac(ps_dec); in isvcd_parse_bmb_cabac() 173 p_curr_ctxt->u1_cbp = u1_cbp; in isvcd_parse_bmb_cabac() 174 ps_cur_mb_info->u1_cbp = u1_cbp; in isvcd_parse_bmb_cabac() 176 if(u1_cbp > 47) return ERROR_CBP; in isvcd_parse_bmb_cabac() 177 COPYTHECONTEXT("coded_block_pattern", u1_cbp); in isvcd_parse_bmb_cabac() 182 if((ps_dec->s_high_profile.u1_transform8x8_present) && (u1_cbp & (0xf)) && in isvcd_parse_bmb_cabac() 203 if(u1_cbp) in isvcd_parse_bmb_cabac() 723 ps_cur_mb_info->u1_cbp = u4_cbp; in isvcd_parse_bmb_cavlc()
|
D | isvcd_parse_epslice.c | 632 ps_cur_mb_info->u1_cbp = 0; in isvcd_parse_inter_slice_data_cabac() 954 ps_cur_mb_info->u1_cbp = 0; in isvcd_parse_inter_slice_data_cavlc() 1288 ps_cur_mb_info->u1_cbp = 0; in isvcd_parse_inter_slice_data_cabac_enh_lyr() 1714 ps_cur_mb_info->u1_cbp = 0; in isvcd_parse_inter_slice_data_cavlc_enh_lyr() 2233 UWORD8 u1_cbp; in isvcd_parse_pmb_cabac() local 2235 u1_cbp = (WORD8) ih264d_parse_ctx_cbp_cabac(ps_dec); in isvcd_parse_pmb_cabac() 2236 COPYTHECONTEXT("coded_block_pattern", u1_cbp); in isvcd_parse_pmb_cabac() 2237 ps_cur_mb_info->u1_cbp = u1_cbp; in isvcd_parse_pmb_cabac() 2238 p_curr_ctxt->u1_cbp = u1_cbp; in isvcd_parse_pmb_cabac() 2243 if(u1_cbp > 47) return ERROR_CBP; in isvcd_parse_pmb_cabac() [all …]
|
D | isvcd_cabac.c | 95 p_DefCtxt->u1_cbp = 0x0f; in isvcd_init_cabac_contexts()
|
D | isvcd_process_epslice.c | 633 if(ps_cur_mb_info->u1_cbp & 0x0f) in isvcd_process_inter_mb_no_rsd_pred_non_target() 683 if(CHECKBIT(ps_cur_mb_info->u1_cbp, i)) in isvcd_process_inter_mb_no_rsd_pred_non_target() 715 UWORD8 u1_chroma_cbp = (UWORD8) (ps_cur_mb_info->u1_cbp >> 4); in isvcd_process_inter_mb_no_rsd_pred_non_target() 880 if(ps_cur_mb_info->u1_cbp & 0x0f) in isvcd_process_inter_mb_rsd_pred_non_target() 940 if(CHECKBIT(ps_cur_mb_info->u1_cbp, i)) in isvcd_process_inter_mb_rsd_pred_non_target() 989 UWORD8 u1_chroma_cbp = (UWORD8) (ps_cur_mb_info->u1_cbp >> 4); in isvcd_process_inter_mb_rsd_pred_non_target() 2027 if(ps_cur_mb_info->u1_cbp & 0x0f) in isvcd_process_inter_mb_rsd_pred_target_lyr() 2097 if(CHECKBIT(ps_cur_mb_info->u1_cbp, i)) in isvcd_process_inter_mb_rsd_pred_target_lyr() 2153 UWORD8 u1_chroma_cbp = (UWORD8) (ps_cur_mb_info->u1_cbp >> 4); in isvcd_process_inter_mb_rsd_pred_target_lyr()
|