Lines Matching refs:tr_depth
404 WORD32 tr_depth, in ihevce_encode_transform_tree() argument
451 ASSERT(tr_depth <= 4); in ihevce_encode_transform_tree()
459 (tr_depth < max_tr_depth) && (!(intra_nxn_pu && (tr_depth == 0)))) in ihevce_encode_transform_tree()
490 inter_split = (!is_intra) && (max_tr_depth == 0) && (tr_depth == 0) && in ihevce_encode_transform_tree()
493 if((log2_tr_size > log2_max_trafo_size) || (intra_nxn_pu && (tr_depth == 0)) || in ihevce_encode_transform_tree()
510 ctxt_inc = IHEVC_CAB_CBCR_IDX + tr_depth; in ihevce_encode_transform_tree()
513 if((tr_depth == 0) || (ps_entropy_ctxt->apu1_cbf_cb[0][tr_depth - 1]) || in ihevce_encode_transform_tree()
514 (ps_entropy_ctxt->apu1_cbf_cb[1][tr_depth - 1])) in ihevce_encode_transform_tree()
609 ai4_cbf_cb[0] = ps_entropy_ctxt->apu1_cbf_cb[0][tr_depth - 1]; in ihevce_encode_transform_tree()
610 ai4_cbf_cb[1] = ps_entropy_ctxt->apu1_cbf_cb[1][tr_depth - 1]; in ihevce_encode_transform_tree()
613 if((tr_depth == 0) || (ps_entropy_ctxt->apu1_cbf_cr[0][tr_depth - 1]) || in ihevce_encode_transform_tree()
614 (ps_entropy_ctxt->apu1_cbf_cr[1][tr_depth - 1])) in ihevce_encode_transform_tree()
709 ai4_cbf_cr[0] = ps_entropy_ctxt->apu1_cbf_cr[0][tr_depth - 1]; in ihevce_encode_transform_tree()
710 ai4_cbf_cr[1] = ps_entropy_ctxt->apu1_cbf_cr[1][tr_depth - 1]; in ihevce_encode_transform_tree()
713 ps_entropy_ctxt->apu1_cbf_cb[0][tr_depth] = ai4_cbf_cb[0]; in ihevce_encode_transform_tree()
714 ps_entropy_ctxt->apu1_cbf_cr[0][tr_depth] = ai4_cbf_cr[0]; in ihevce_encode_transform_tree()
715 ps_entropy_ctxt->apu1_cbf_cb[1][tr_depth] = ai4_cbf_cb[1]; in ihevce_encode_transform_tree()
716 ps_entropy_ctxt->apu1_cbf_cr[1][tr_depth] = ai4_cbf_cr[1]; in ihevce_encode_transform_tree()
720 ai4_cbf_cb[0] = ps_entropy_ctxt->apu1_cbf_cb[0][tr_depth - 1]; in ihevce_encode_transform_tree()
721 ai4_cbf_cr[0] = ps_entropy_ctxt->apu1_cbf_cr[0][tr_depth - 1]; in ihevce_encode_transform_tree()
722 ai4_cbf_cb[1] = ps_entropy_ctxt->apu1_cbf_cb[1][tr_depth - 1]; in ihevce_encode_transform_tree()
723 ai4_cbf_cr[1] = ps_entropy_ctxt->apu1_cbf_cr[1][tr_depth - 1]; in ihevce_encode_transform_tree()
738 tr_depth + 1, in ihevce_encode_transform_tree()
748 tr_depth + 1, in ihevce_encode_transform_tree()
758 tr_depth + 1, in ihevce_encode_transform_tree()
768 tr_depth + 1, in ihevce_encode_transform_tree()
811 if(is_intra || (tr_depth != 0) || ai4_cbf_cb[0] || ai4_cbf_cr[0] || in ihevce_encode_transform_tree()
818 ctxt_inc += (tr_depth == 0) ? 1 : 0; in ihevce_encode_transform_tree()