Lines Matching refs:csc_coef

1143 	const struct rk_pq_csc_coef *csc_coef;  in csc_calc_default_output_coef()  local
1149 csc_coef = csc_mode_cfg->pst_csc_coef; in csc_calc_default_output_coef()
1152 out_matrix->csc_coef00 = csc_coef->csc_coef00; in csc_calc_default_output_coef()
1153 out_matrix->csc_coef01 = csc_coef->csc_coef01; in csc_calc_default_output_coef()
1154 out_matrix->csc_coef02 = csc_coef->csc_coef02; in csc_calc_default_output_coef()
1155 out_matrix->csc_coef10 = csc_coef->csc_coef10; in csc_calc_default_output_coef()
1156 out_matrix->csc_coef11 = csc_coef->csc_coef11; in csc_calc_default_output_coef()
1157 out_matrix->csc_coef12 = csc_coef->csc_coef12; in csc_calc_default_output_coef()
1158 out_matrix->csc_coef20 = csc_coef->csc_coef20; in csc_calc_default_output_coef()
1159 out_matrix->csc_coef21 = csc_coef->csc_coef21; in csc_calc_default_output_coef()
1160 out_matrix->csc_coef22 = csc_coef->csc_coef22; in csc_calc_default_output_coef()
1169 csc_matrix_ventor_multiply(&v, csc_coef, &dc_in_ventor); in csc_calc_default_output_coef()
1484 struct post_csc_coef csc_coef = {}; in rk628_post_process_csc() local
1516 rockchip_calc_post_csc(&csc_coef, csc_mode, is_input_yuv, is_output_yuv); in rk628_post_process_csc()
1518 val = ((csc_coef.csc_coef01 & 0xffff) << 16) | (csc_coef.csc_coef00 & 0xffff); in rk628_post_process_csc()
1521 val = ((csc_coef.csc_coef10 & 0xffff) << 16) | (csc_coef.csc_coef02 & 0xffff); in rk628_post_process_csc()
1524 val = ((csc_coef.csc_coef12 & 0xffff) << 16) | (csc_coef.csc_coef11 & 0xffff); in rk628_post_process_csc()
1527 val = ((csc_coef.csc_coef21 & 0xffff) << 16) | (csc_coef.csc_coef20 & 0xffff); in rk628_post_process_csc()
1530 rk628_i2c_write(rk628, GRF_CSC_MATRIX_COE22, csc_coef.csc_coef22); in rk628_post_process_csc()
1532 rk628_i2c_write(rk628, GRF_CSC_MATRIX_OFFSET0, csc_coef.csc_dc0); in rk628_post_process_csc()
1533 rk628_i2c_write(rk628, GRF_CSC_MATRIX_OFFSET1, csc_coef.csc_dc1); in rk628_post_process_csc()
1534 rk628_i2c_write(rk628, GRF_CSC_MATRIX_OFFSET2, csc_coef.csc_dc2); in rk628_post_process_csc()
1536 range_type = csc_coef.range_type ? 0 : 1; in rk628_post_process_csc()