Lines Matching refs:m

1207 static void csc_matrix_element_right_shift(struct rk_pq_csc_coef *m, int n)  in csc_matrix_element_right_shift()  argument
1209 m->csc_coef00 = m->csc_coef00 >> n; in csc_matrix_element_right_shift()
1210 m->csc_coef01 = m->csc_coef01 >> n; in csc_matrix_element_right_shift()
1211 m->csc_coef02 = m->csc_coef02 >> n; in csc_matrix_element_right_shift()
1212 m->csc_coef10 = m->csc_coef10 >> n; in csc_matrix_element_right_shift()
1213 m->csc_coef11 = m->csc_coef11 >> n; in csc_matrix_element_right_shift()
1214 m->csc_coef12 = m->csc_coef12 >> n; in csc_matrix_element_right_shift()
1215 m->csc_coef20 = m->csc_coef20 >> n; in csc_matrix_element_right_shift()
1216 m->csc_coef21 = m->csc_coef21 >> n; in csc_matrix_element_right_shift()
1217 m->csc_coef22 = m->csc_coef22 >> n; in csc_matrix_element_right_shift()
1231 static void csc_matrix_element_right_shift_with_simple_round(struct rk_pq_csc_coef *m, int n) in csc_matrix_element_right_shift_with_simple_round() argument
1233 m->csc_coef00 = csc_simple_round(m->csc_coef00, n); in csc_matrix_element_right_shift_with_simple_round()
1234 m->csc_coef01 = csc_simple_round(m->csc_coef01, n); in csc_matrix_element_right_shift_with_simple_round()
1235 m->csc_coef02 = csc_simple_round(m->csc_coef02, n); in csc_matrix_element_right_shift_with_simple_round()
1236 m->csc_coef10 = csc_simple_round(m->csc_coef10, n); in csc_matrix_element_right_shift_with_simple_round()
1237 m->csc_coef11 = csc_simple_round(m->csc_coef11, n); in csc_matrix_element_right_shift_with_simple_round()
1238 m->csc_coef12 = csc_simple_round(m->csc_coef12, n); in csc_matrix_element_right_shift_with_simple_round()
1239 m->csc_coef20 = csc_simple_round(m->csc_coef20, n); in csc_matrix_element_right_shift_with_simple_round()
1240 m->csc_coef21 = csc_simple_round(m->csc_coef21, n); in csc_matrix_element_right_shift_with_simple_round()
1241 m->csc_coef22 = csc_simple_round(m->csc_coef22, n); in csc_matrix_element_right_shift_with_simple_round()
1246 struct rk_pq_csc_coef m; in create_rgb_gain_matrix() local
1248 m.csc_coef00 = r_gain; in create_rgb_gain_matrix()
1249 m.csc_coef01 = 0; in create_rgb_gain_matrix()
1250 m.csc_coef02 = 0; in create_rgb_gain_matrix()
1252 m.csc_coef10 = 0; in create_rgb_gain_matrix()
1253 m.csc_coef11 = g_gain; in create_rgb_gain_matrix()
1254 m.csc_coef12 = 0; in create_rgb_gain_matrix()
1256 m.csc_coef20 = 0; in create_rgb_gain_matrix()
1257 m.csc_coef21 = 0; in create_rgb_gain_matrix()
1258 m.csc_coef22 = b_gain; in create_rgb_gain_matrix()
1260 return m; in create_rgb_gain_matrix()
1265 struct rk_pq_csc_coef m; in create_contrast_matrix() local
1267 m.csc_coef00 = contrast; in create_contrast_matrix()
1268 m.csc_coef01 = 0; in create_contrast_matrix()
1269 m.csc_coef02 = 0; in create_contrast_matrix()
1271 m.csc_coef10 = 0; in create_contrast_matrix()
1272 m.csc_coef11 = contrast; in create_contrast_matrix()
1273 m.csc_coef12 = 0; in create_contrast_matrix()
1275 m.csc_coef20 = 0; in create_contrast_matrix()
1276 m.csc_coef21 = 0; in create_contrast_matrix()
1277 m.csc_coef22 = contrast; in create_contrast_matrix()
1279 return m; in create_contrast_matrix()
1284 struct rk_pq_csc_coef m; in create_hue_matrix() local
1293 m.csc_coef00 = 1024; in create_hue_matrix()
1294 m.csc_coef01 = 0; in create_hue_matrix()
1295 m.csc_coef02 = 0; in create_hue_matrix()
1297 m.csc_coef10 = 0; in create_hue_matrix()
1298 m.csc_coef11 = cos_hue; in create_hue_matrix()
1299 m.csc_coef12 = sin_hue; in create_hue_matrix()
1301 m.csc_coef20 = 0; in create_hue_matrix()
1302 m.csc_coef21 = -sin_hue; in create_hue_matrix()
1303 m.csc_coef22 = cos_hue; in create_hue_matrix()
1305 return m; in create_hue_matrix()
1310 struct rk_pq_csc_coef m; in create_saturation_matrix() local
1312 m.csc_coef00 = 512; in create_saturation_matrix()
1313 m.csc_coef01 = 0; in create_saturation_matrix()
1314 m.csc_coef02 = 0; in create_saturation_matrix()
1316 m.csc_coef10 = 0; in create_saturation_matrix()
1317 m.csc_coef11 = saturation; in create_saturation_matrix()
1318 m.csc_coef12 = 0; in create_saturation_matrix()
1320 m.csc_coef20 = 0; in create_saturation_matrix()
1321 m.csc_coef21 = 0; in create_saturation_matrix()
1322 m.csc_coef22 = saturation; in create_saturation_matrix()
1324 return m; in create_saturation_matrix()