Home
last modified time | relevance | path

Searched refs:rgbrgb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Disppreview.c362 const struct omap3isp_prev_rgbtorgb *rgbrgb = &params->rgb2rgb; in preview_config_rgb_blending() local
365 val = (rgbrgb->matrix[0][0] & 0xfff) << ISPPRV_RGB_MAT1_MTX_RR_SHIFT; in preview_config_rgb_blending()
366 val |= (rgbrgb->matrix[0][1] & 0xfff) << ISPPRV_RGB_MAT1_MTX_GR_SHIFT; in preview_config_rgb_blending()
369 val = (rgbrgb->matrix[0][2] & 0xfff) << ISPPRV_RGB_MAT2_MTX_BR_SHIFT; in preview_config_rgb_blending()
370 val |= (rgbrgb->matrix[1][0] & 0xfff) << ISPPRV_RGB_MAT2_MTX_RG_SHIFT; in preview_config_rgb_blending()
373 val = (rgbrgb->matrix[1][1] & 0xfff) << ISPPRV_RGB_MAT3_MTX_GG_SHIFT; in preview_config_rgb_blending()
377 val = (rgbrgb->matrix[2][0] & 0xfff) << ISPPRV_RGB_MAT4_MTX_RB_SHIFT; in preview_config_rgb_blending()
381 val = (rgbrgb->matrix[2][2] & 0xfff) << ISPPRV_RGB_MAT5_MTX_BB_SHIFT; in preview_config_rgb_blending()
384 val = (rgbrgb->offset[0] & 0x3ff) << ISPPRV_RGB_OFF1_MTX_OFFR_SHIFT; in preview_config_rgb_blending()
385 val |= (rgbrgb->offset[1] & 0x3ff) << ISPPRV_RGB_OFF1_MTX_OFFG_SHIFT; in preview_config_rgb_blending()
[all …]