Lines Matching refs:out_matrix
1330 struct rk_pq_csc_coef *out_matrix, in csc_calc_adjust_output_coef() argument
1401 csc_matrix_multiply(out_matrix, &temp0, y2r_matrix); in csc_calc_adjust_output_coef()
1402 csc_matrix_element_right_shift_with_simple_round(out_matrix, in csc_calc_adjust_output_coef()
1424 csc_matrix_multiply(out_matrix, &gain_matrix, &temp0); in csc_calc_adjust_output_coef()
1425 csc_matrix_element_right_shift(out_matrix, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH + in csc_calc_adjust_output_coef()
1447 csc_matrix_multiply(out_matrix, &hue_matrix, &temp0); in csc_calc_adjust_output_coef()
1448 csc_matrix_element_right_shift(out_matrix, PQ_CSC_PARAM_FIX_BIT_WIDTH + in csc_calc_adjust_output_coef()
1475 csc_matrix_multiply(out_matrix, &temp1, r2y_matrix); in csc_calc_adjust_output_coef()
1476 csc_matrix_element_right_shift_with_simple_round(out_matrix, in csc_calc_adjust_output_coef()
1487 csc_matrix_ventor_multiply(&v, out_matrix, &dc_in_ventor); in csc_calc_adjust_output_coef()
1499 struct rk_pq_csc_coef *out_matrix, in csc_calc_default_output_coef() argument
1511 out_matrix->csc_coef00 = csc_coef->csc_coef00; in csc_calc_default_output_coef()
1512 out_matrix->csc_coef01 = csc_coef->csc_coef01; in csc_calc_default_output_coef()
1513 out_matrix->csc_coef02 = csc_coef->csc_coef02; in csc_calc_default_output_coef()
1514 out_matrix->csc_coef10 = csc_coef->csc_coef10; in csc_calc_default_output_coef()
1515 out_matrix->csc_coef11 = csc_coef->csc_coef11; in csc_calc_default_output_coef()
1516 out_matrix->csc_coef12 = csc_coef->csc_coef12; in csc_calc_default_output_coef()
1517 out_matrix->csc_coef20 = csc_coef->csc_coef20; in csc_calc_default_output_coef()
1518 out_matrix->csc_coef21 = csc_coef->csc_coef21; in csc_calc_default_output_coef()
1519 out_matrix->csc_coef22 = csc_coef->csc_coef22; in csc_calc_default_output_coef()
1541 struct rk_pq_csc_coef *out_matrix, in rockchip_swap_color_channel() argument
1548 memcpy(&tmp_matrix, out_matrix, sizeof(struct rk_pq_csc_coef)); in rockchip_swap_color_channel()
1549 csc_matrix_multiply(out_matrix, &tmp_matrix, &rgb_input_swap_matrix); in rockchip_swap_color_channel()
1553 memcpy(&tmp_matrix, out_matrix, sizeof(struct rk_pq_csc_coef)); in rockchip_swap_color_channel()
1555 csc_matrix_multiply(out_matrix, &yuv_output_swap_matrix, &tmp_matrix); in rockchip_swap_color_channel()
1559 csc_simple_coef->csc_coef00 = out_matrix->csc_coef00; in rockchip_swap_color_channel()
1560 csc_simple_coef->csc_coef01 = out_matrix->csc_coef01; in rockchip_swap_color_channel()
1561 csc_simple_coef->csc_coef02 = out_matrix->csc_coef02; in rockchip_swap_color_channel()
1562 csc_simple_coef->csc_coef10 = out_matrix->csc_coef10; in rockchip_swap_color_channel()
1563 csc_simple_coef->csc_coef11 = out_matrix->csc_coef11; in rockchip_swap_color_channel()
1564 csc_simple_coef->csc_coef12 = out_matrix->csc_coef12; in rockchip_swap_color_channel()
1565 csc_simple_coef->csc_coef20 = out_matrix->csc_coef20; in rockchip_swap_color_channel()
1566 csc_simple_coef->csc_coef21 = out_matrix->csc_coef21; in rockchip_swap_color_channel()
1567 csc_simple_coef->csc_coef22 = out_matrix->csc_coef22; in rockchip_swap_color_channel()
1577 struct rk_pq_csc_coef out_matrix; in rockchip_calc_post_csc() local
1592 csc_mode_cfg, &out_matrix, &out_dc); in rockchip_calc_post_csc()
1594 ret = csc_calc_default_output_coef(csc_mode_cfg, &out_matrix, &out_dc); in rockchip_calc_post_csc()
1596 rockchip_swap_color_channel(is_input_yuv, is_output_yuv, csc_simple_coef, &out_matrix, in rockchip_calc_post_csc()