Lines Matching refs:ps_qp_params
977 quant_params_t *ps_qp_params;
1014 ps_qp_params = ps_proc->ps_qp_params[plane];
1017 ps_qp_params->u1_mb_qp = u4_qp[plane];
1020 ps_qp_params->u1_qp_div = u4_qp_div6;
1023 ps_qp_params->u1_qp_rem = u4_qp_mod6;
1026 ps_qp_params->u1_qbits = QP_BITS_h264_4x4 + u4_qp_div6;
1029 ps_qp_params->pu2_scale_mat = pu2_scale_mat + (u4_qp_mod6 * 16);
1035 ps_qp_params->pu2_thres_mat[i] = pu2_thres_mat[i]
1037 ps_qp_params->pu2_weigh_mat[i] = 16;
1041 ps_qp_params->u4_dead_zone =
1048 ps_qp_params->u4_dead_zone >>= 1;
1054 pu2_smat = ps_qp_params->pu2_scale_mat;
1056 u4_satdq_t = ((1 << (ps_qp_params->u1_qbits)) - ps_qp_params->u4_dead_zone);
1058 ps_qp_params->pu2_sad_thrsh[0] = u4_satdq_t / MAX(pu2_smat[3], pu2_smat[11]);
1059 ps_qp_params->pu2_sad_thrsh[1] = u4_satdq_t / MAX(pu2_smat[1], pu2_smat[9]);
1060 ps_qp_params->pu2_sad_thrsh[2] = u4_satdq_t / pu2_smat[15];
1061 ps_qp_params->pu2_sad_thrsh[3] = u4_satdq_t / pu2_smat[7];
1062 ps_qp_params->pu2_sad_thrsh[4] = u4_satdq_t / MAX(pu2_smat[12], pu2_smat[14]);
1063 ps_qp_params->pu2_sad_thrsh[5] = u4_satdq_t / MAX(pu2_smat[4], pu2_smat[6]);
1064 ps_qp_params->pu2_sad_thrsh[6] = u4_satdq_t / pu2_smat[13];
1065 ps_qp_params->pu2_sad_thrsh[7] = u4_satdq_t / pu2_smat[5];
1066 ps_qp_params->pu2_sad_thrsh[8] = u4_satdq_t / MAX(MAX3(pu2_smat[0], pu2_smat[2], pu2_smat[8]), pu2_smat[10]);
1070 ps_qp_params->pu2_iscale_mat = pu2_iscale_mat + (u4_qp_mod6 * 16);