Lines Matching refs:category_count
449 WORD32 acc_error_category[5] = { 0, 0, 0, 0, 0 }, category_count[5] = { 0, 0, 0, 0, 0 }; in ihevce_sao_analyse() local
515 category_count[edgeidx] = 0; in ihevce_sao_analyse()
521 acc_error_category, category_count); in ihevce_sao_analyse()
525 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[1] = category_count[0] in ihevce_sao_analyse()
526 ? (CLIP3(acc_error_category[0] / category_count[0], 0, 7)) in ihevce_sao_analyse()
528 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[2] = category_count[1] in ihevce_sao_analyse()
529 ? (CLIP3(acc_error_category[1] / category_count[1], 0, 7)) in ihevce_sao_analyse()
531 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[3] = category_count[3] in ihevce_sao_analyse()
532 ? (CLIP3(acc_error_category[3] / category_count[3], -7, 0)) in ihevce_sao_analyse()
534 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[4] =category_count[4] in ihevce_sao_analyse()
535 ? (CLIP3(acc_error_category[4] / category_count[4], -7, 0)) in ihevce_sao_analyse()
563 category_count[edgeidx] = 0; in ihevce_sao_analyse()
569 acc_error_category, category_count); in ihevce_sao_analyse()
572 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[1] = category_count[0] in ihevce_sao_analyse()
573 ? (CLIP3(acc_error_category[0] / category_count[0], 0, 7)) in ihevce_sao_analyse()
575 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[2] = category_count[1] in ihevce_sao_analyse()
576 ? (CLIP3(acc_error_category[1] / category_count[1], 0, 7)) in ihevce_sao_analyse()
578 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[3] = category_count[3] in ihevce_sao_analyse()
579 ? (CLIP3(acc_error_category[3] / category_count[3], -7, 0)) in ihevce_sao_analyse()
581 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[4] = category_count[4] in ihevce_sao_analyse()
582 ? (CLIP3(acc_error_category[4] / category_count[4], -7, 0)) in ihevce_sao_analyse()
609 category_count[edgeidx] = 0; in ihevce_sao_analyse()
615 acc_error_category, category_count); in ihevce_sao_analyse()
618 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[1] = category_count[0] in ihevce_sao_analyse()
619 ? (CLIP3(acc_error_category[0] / category_count[0], 0, 7)) in ihevce_sao_analyse()
621 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[2] = category_count[1] in ihevce_sao_analyse()
622 ? (CLIP3(acc_error_category[1] / category_count[1], 0, 7)) in ihevce_sao_analyse()
624 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[3] = category_count[3] in ihevce_sao_analyse()
625 ? (CLIP3(acc_error_category[3] / category_count[3], -7, 0)) in ihevce_sao_analyse()
627 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[4] = category_count[4] in ihevce_sao_analyse()
628 ? (CLIP3(acc_error_category[4] / category_count[4], -7, 0)) in ihevce_sao_analyse()
655 category_count[edgeidx] = 0; in ihevce_sao_analyse()
661 acc_error_category, category_count); in ihevce_sao_analyse()
664 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[1] = category_count[0] in ihevce_sao_analyse()
665 ? (CLIP3(acc_error_category[0] / category_count[0], 0, 7)) in ihevce_sao_analyse()
667 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[2] = category_count[1] in ihevce_sao_analyse()
668 ? (CLIP3(acc_error_category[1] / category_count[1], 0, 7)) in ihevce_sao_analyse()
670 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[3] = category_count[3] in ihevce_sao_analyse()
671 ? (CLIP3(acc_error_category[3] / category_count[3], -7, 0)) in ihevce_sao_analyse()
673 ps_sao_ctxt->as_sao_rd_cand[num_luma_rdo_cand].u1_y_offset[4] = category_count[4] in ihevce_sao_analyse()
674 ? (CLIP3(acc_error_category[4] / category_count[4], -7, 0)) in ihevce_sao_analyse()
875 category_count[edgeidx] = 0; in ihevce_sao_analyse()
880 category_count); in ihevce_sao_analyse()
888 s_best_luma_chroma_cand.u1_cb_offset[1] = category_count[0] in ihevce_sao_analyse()
889 ? (CLIP3(acc_error_category[0] / category_count[0], 0, 7)) in ihevce_sao_analyse()
891 s_best_luma_chroma_cand.u1_cb_offset[2] = category_count[1] in ihevce_sao_analyse()
892 ? (CLIP3(acc_error_category[1] / category_count[1], 0, 7)) in ihevce_sao_analyse()
894 s_best_luma_chroma_cand.u1_cb_offset[3] = category_count[3] in ihevce_sao_analyse()
895 ? (CLIP3(acc_error_category[3] / category_count[3], -7, 0)) in ihevce_sao_analyse()
897 s_best_luma_chroma_cand.u1_cb_offset[4] = category_count[4] in ihevce_sao_analyse()
898 ? (CLIP3(acc_error_category[4] / category_count[4], -7, 0)) in ihevce_sao_analyse()
903 s_best_luma_chroma_cand.u1_cr_offset[1] = category_count[0] in ihevce_sao_analyse()
904 ? (CLIP3(acc_error_category[0] / category_count[0], 0, 7)) in ihevce_sao_analyse()
906 s_best_luma_chroma_cand.u1_cr_offset[2] = category_count[1] in ihevce_sao_analyse()
907 ? (CLIP3(acc_error_category[1] / category_count[1], 0, 7)) in ihevce_sao_analyse()
909 s_best_luma_chroma_cand.u1_cr_offset[3] = category_count[3] in ihevce_sao_analyse()
910 ? (CLIP3(acc_error_category[3] / category_count[3], -7, 0)) in ihevce_sao_analyse()
912 s_best_luma_chroma_cand.u1_cr_offset[4] = category_count[4] in ihevce_sao_analyse()
913 ? (CLIP3(acc_error_category[4] / category_count[4], -7, 0)) in ihevce_sao_analyse()