From patchwork Tue Nov 17 14:15:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Y, Kishore" X-Patchwork-Id: 60637 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAHEDUE5013456 for ; Tue, 17 Nov 2009 14:13:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750991AbZKQONV (ORCPT ); Tue, 17 Nov 2009 09:13:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752468AbZKQONU (ORCPT ); Tue, 17 Nov 2009 09:13:20 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:57538 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbZKQONU convert rfc822-to-8bit (ORCPT ); Tue, 17 Nov 2009 09:13:20 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id nAHEDMU5019719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Nov 2009 08:13:25 -0600 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id nAHEDM8O008700; Tue, 17 Nov 2009 19:43:22 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Tue, 17 Nov 2009 19:43:21 +0530 From: "Y, Kishore" To: "linux-media@vger.kernel.org" CC: "linux-omap@vger.kernel.org" Date: Tue, 17 Nov 2009 19:45:52 +0530 Subject: [RFC] [PATCH] omap_vout: default colorspace for RGB565 set to SRGB Thread-Topic: [RFC] [PATCH] omap_vout: default colorspace for RGB565 set to SRGB Thread-Index: AcpnkHgxdWWV4Gl2T56KheMJT49/zQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index 6118665..7092ef2 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c @@ -2078,7 +2078,7 @@ static int __init omap_vout_setup_video_data(struct omap_vout_device *vout) pix->bytesperline = pix->width * 2; pix->sizeimage = pix->bytesperline * pix->height; pix->priv = 0; - pix->colorspace = V4L2_COLORSPACE_JPEG; + pix->colorspace = V4L2_COLORSPACE_SRGB; vout->bpp = RGB565_BPP; vout->fbuf.fmt.width = display->panel.timings.x_res;