aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap3isp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-04-17 12:05:12 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-08 13:09:31 -0400
commit6173850c95e3c2e51bd670011ae347862b098635 (patch)
tree62ed95ee07e476866144f5f1a27d614dc6952625 /drivers/media/video/omap3isp
parentb0b29e1e29ee5357f36f27411b5881e470484da5 (diff)
[media] omap3isp: preview: Rename last occurences of *_rgb_to_ycbcr to *_csc
For consistency reasons, rename the last remaining occurences of rgb_to_ycbcr to csc (color space conversion). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap3isp')
-rw-r--r--drivers/media/video/omap3isp/isppreview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/omap3isp/isppreview.c b/drivers/media/video/omap3isp/isppreview.c
index 5bdf9e742c8e..f839cf866fa9 100644
--- a/drivers/media/video/omap3isp/isppreview.c
+++ b/drivers/media/video/omap3isp/isppreview.c
@@ -608,12 +608,12 @@ preview_config_rgb_blending(struct isp_prev_device *prev, const void *rgb2rgb)
608} 608}
609 609
610/* 610/*
611 * Configures the RGB-YCbYCr conversion matrix 611 * Configures the color space conversion (RGB toYCbYCr) matrix
612 * @prev_csc: Structure containing the RGB to YCbYCr matrix and the 612 * @prev_csc: Structure containing the RGB to YCbYCr matrix and the
613 * YCbCr offset. 613 * YCbCr offset.
614 */ 614 */
615static void 615static void
616preview_config_rgb_to_ycbcr(struct isp_prev_device *prev, const void *prev_csc) 616preview_config_csc(struct isp_prev_device *prev, const void *prev_csc)
617{ 617{
618 struct isp_device *isp = to_isp_device(prev); 618 struct isp_device *isp = to_isp_device(prev);
619 const struct omap3isp_prev_csc *csc = prev_csc; 619 const struct omap3isp_prev_csc *csc = prev_csc;
@@ -860,7 +860,7 @@ static const struct preview_update update_attrs[] = {
860 FIELD_SIZEOF(struct prev_params, rgb2rgb), 860 FIELD_SIZEOF(struct prev_params, rgb2rgb),
861 offsetof(struct omap3isp_prev_update_config, rgb2rgb), 861 offsetof(struct omap3isp_prev_update_config, rgb2rgb),
862 }, /* OMAP3ISP_PREV_COLOR_CONV */ { 862 }, /* OMAP3ISP_PREV_COLOR_CONV */ {
863 preview_config_rgb_to_ycbcr, 863 preview_config_csc,
864 NULL, 864 NULL,
865 offsetof(struct prev_params, csc), 865 offsetof(struct prev_params, csc),
866 FIELD_SIZEOF(struct prev_params, csc), 866 FIELD_SIZEOF(struct prev_params, csc),