D | chain.c | 146 int z_n = ceil(linear_b * (transform->grid_size-1)); in qcms_transform_module_clut_only() local 154 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only() 155 float r_x4 = lerp(CLU(r_table,x,y_n,z_n), CLU(r_table,x_n,y_n,z_n), x_d); in qcms_transform_module_clut_only() 162 float g_x3 = lerp(CLU(g_table,x,y,z_n), CLU(g_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only() 163 float g_x4 = lerp(CLU(g_table,x,y_n,z_n), CLU(g_table,x_n,y_n,z_n), x_d); in qcms_transform_module_clut_only() 170 float b_x3 = lerp(CLU(b_table,x,y,z_n), CLU(b_table,x_n,y,z_n), x_d); in qcms_transform_module_clut_only() 171 float b_x4 = lerp(CLU(b_table,x,y_n,z_n), CLU(b_table,x_n,y_n,z_n), x_d); in qcms_transform_module_clut_only() 206 int z_n = ceil(linear_b * (transform->grid_size-1)); in qcms_transform_module_clut() local 214 float r_x3 = lerp(CLU(r_table,x,y,z_n), CLU(r_table,x_n,y,z_n), x_d); in qcms_transform_module_clut() 215 float r_x4 = lerp(CLU(r_table,x,y_n,z_n), CLU(r_table,x_n,y_n,z_n), x_d); in qcms_transform_module_clut() [all …]
|