| .. | .. |
|---|
| 38 | 38 | type exp_resion_start_segment;\ |
|---|
| 39 | 39 | type field_region_linear_slope |
|---|
| 40 | 40 | |
|---|
| 41 | +#define TF_HELPER_REG_LIST \ |
|---|
| 42 | + uint32_t start_cntl_b; \ |
|---|
| 43 | + uint32_t start_cntl_g; \ |
|---|
| 44 | + uint32_t start_cntl_r; \ |
|---|
| 45 | + uint32_t start_slope_cntl_b; \ |
|---|
| 46 | + uint32_t start_slope_cntl_g; \ |
|---|
| 47 | + uint32_t start_slope_cntl_r; \ |
|---|
| 48 | + uint32_t start_end_cntl1_b; \ |
|---|
| 49 | + uint32_t start_end_cntl2_b; \ |
|---|
| 50 | + uint32_t start_end_cntl1_g; \ |
|---|
| 51 | + uint32_t start_end_cntl2_g; \ |
|---|
| 52 | + uint32_t start_end_cntl1_r; \ |
|---|
| 53 | + uint32_t start_end_cntl2_r; \ |
|---|
| 54 | + uint32_t region_start; \ |
|---|
| 55 | + uint32_t region_end |
|---|
| 56 | + |
|---|
| 41 | 57 | #define TF_CM_REG_FIELD_LIST(type) \ |
|---|
| 42 | 58 | type csc_c11; \ |
|---|
| 43 | 59 | type csc_c12 |
|---|
| .. | .. |
|---|
| 54 | 70 | struct xfer_func_shift shifts; |
|---|
| 55 | 71 | struct xfer_func_mask masks; |
|---|
| 56 | 72 | |
|---|
| 57 | | - uint32_t start_cntl_b; |
|---|
| 58 | | - uint32_t start_cntl_g; |
|---|
| 59 | | - uint32_t start_cntl_r; |
|---|
| 60 | | - uint32_t start_slope_cntl_b; |
|---|
| 61 | | - uint32_t start_slope_cntl_g; |
|---|
| 62 | | - uint32_t start_slope_cntl_r; |
|---|
| 63 | | - uint32_t start_end_cntl1_b; |
|---|
| 64 | | - uint32_t start_end_cntl2_b; |
|---|
| 65 | | - uint32_t start_end_cntl1_g; |
|---|
| 66 | | - uint32_t start_end_cntl2_g; |
|---|
| 67 | | - uint32_t start_end_cntl1_r; |
|---|
| 68 | | - uint32_t start_end_cntl2_r; |
|---|
| 69 | | - uint32_t region_start; |
|---|
| 70 | | - uint32_t region_end; |
|---|
| 73 | + TF_HELPER_REG_LIST; |
|---|
| 71 | 74 | }; |
|---|
| 72 | 75 | |
|---|
| 73 | 76 | struct cm_color_matrix_shift { |
|---|
| .. | .. |
|---|
| 98 | 101 | |
|---|
| 99 | 102 | bool cm_helper_convert_to_custom_float( |
|---|
| 100 | 103 | struct pwl_result_data *rgb_resulted, |
|---|
| 101 | | - struct curve_points *arr_points, |
|---|
| 104 | + struct curve_points3 *corner_points, |
|---|
| 102 | 105 | uint32_t hw_points_num, |
|---|
| 103 | 106 | bool fixpoint); |
|---|
| 104 | 107 | |
|---|