From patchwork Tue Jun 1 22:57:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Lorin X-Patchwork-Id: 103665 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o51Mw17J003148 for ; Tue, 1 Jun 2010 22:58:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756735Ab0FAW6A (ORCPT ); Tue, 1 Jun 2010 18:58:00 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]:56931 "EHLO mail-ww0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754678Ab0FAW57 (ORCPT ); Tue, 1 Jun 2010 18:57:59 -0400 Received: by mail-ww0-f46.google.com with SMTP id 28so2464375wwb.19 for ; Tue, 01 Jun 2010 15:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=rqZghKVNe3hGe3M7TCwOjIJSR6PGj1J/djO+5jfaP4A=; b=jMYMO5/O/G6Yb84c/a0Ij6A50ehBptvX3/MohWbU3pODr+gKa9vKTMmv0aPeAgq522 5U8dDGUMpow7Ry3qrLzHIGfcXHC3geK9/3dUs3ms2bDEP6ruzNprRixVgAbzwtwaj6sJ xB75xggeknUHGSWkm9+JizkZ4PBnla4JcS9So= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=FQQAGz89ttpA5QR0RirJQPBer1n6cPSq1f4csjZ344K/ZZPppubIRpSf7StcnMpdLQ QD8ChBReQaqdL6DgJWNP1Mpi8fZAMbeRRTxJG8dYCGffxzk4ILtDD0jjuJ3MBTvOCgtQ G6c7uIRPXVZiCEdcm+hRogyc1uA0amlJA75Y8= Received: by 10.227.138.2 with SMTP id y2mr1139879wbt.44.1275433077345; Tue, 01 Jun 2010 15:57:57 -0700 (PDT) Received: from [192.168.1.3] (cha25-4-78-248-177-42.fbx.proxad.net [78.248.177.42]) by mx.google.com with ESMTPS id y31sm53461800wby.10.2010.06.01.15.57.56 (version=SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 15:57:56 -0700 (PDT) Subject: [PATCH 4/6] gspca - gl860: use of real resolutions for MI2020 sensor From: Olivier Lorin To: V4L Mailing List Cc: Jean-Francois Moine Date: Wed, 02 Jun 2010 00:57:54 +0200 Message-Id: <1275433074.20756.102.camel@miniol> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 01 Jun 2010 22:58:02 +0000 (UTC) diff -urpN i3/gl860.c gl860/gl860.c --- i3/gl860.c 2010-06-01 23:16:59.000000000 +0200 +++ gl860/gl860.c 2010-04-28 23:45:19.000000000 +0200 @@ -219,9 +219,9 @@ static struct v4l2_pix_format mi2020_mod .colorspace = V4L2_COLORSPACE_SRGB, .priv = 0 }, - { 800, 600, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, + { 800, 598, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, .bytesperline = 800, - .sizeimage = 800 * 600, + .sizeimage = 800 * 598, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 1 }, @@ -231,9 +231,9 @@ static struct v4l2_pix_format mi2020_mod .colorspace = V4L2_COLORSPACE_SRGB, .priv = 2 }, - {1600, 1200, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, + {1600, 1198, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, .bytesperline = 1600, - .sizeimage = 1600 * 1200, + .sizeimage = 1600 * 1198, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 3 },