From patchwork Wed Nov 18 19:23:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 61167 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAIJQMeQ020950 for ; Wed, 18 Nov 2009 19:26:22 GMT Received: from dlep36.itg.ti.com ([157.170.170.91]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id nAIJO8wQ019693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 13:24:09 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id nAIJO8VN020197; Wed, 18 Nov 2009 13:24:08 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 1F76C80627; Wed, 18 Nov 2009 13:24:08 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id 2C68A80626 for ; Wed, 18 Nov 2009 13:24:06 -0600 (CST) Received: from neches.ext.ti.com (localhost [127.0.0.1]) by dflp52.itg.ti.com (8.13.7/8.13.7) with ESMTP id nAIJO5nQ003634 for ; Wed, 18 Nov 2009 13:24:06 -0600 (CST) Received: from mail145-tx2-R.bigfish.com (mail-tx2.bigfish.com [65.55.88.113]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id nAIJO50D022552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 18 Nov 2009 13:24:05 -0600 Received: from mail145-tx2 (localhost.localdomain [127.0.0.1]) by mail145-tx2-R.bigfish.com (Postfix) with ESMTP id 64616686D1 for ; Wed, 18 Nov 2009 19:23:58 +0000 (UTC) X-SpamScore: -33 X-BigFish: vps-33(zz1432R9370J552II98dN148cMzz1202hzzz2dh6bh259o34h61h) X-Spam-TCS-SCL: 0:0 X-MS-Exchange-Organization-Antispam-Report: OrigIP: 194.109.24.34; Service: EHS Received: from mail145-tx2 (localhost.localdomain [127.0.0.1]) by mail145-tx2 (MessageSwitch) id 125857222932702_28207; Wed, 18 Nov 2009 19:23:49 +0000 (UTC) Received: from TX2EHSMHS009.bigfish.com (unknown [10.9.14.243]) by mail145-tx2.bigfish.com (Postfix) with ESMTP id 24CB811200E0; Wed, 18 Nov 2009 19:23:38 +0000 (UTC) Received: from smtp-vbr14.xs4all.nl (194.109.24.34) by TX2EHSMHS009.bigfish.com (10.9.99.109) with Microsoft SMTP Server id 14.0.482.32; Wed, 18 Nov 2009 19:23:36 +0000 Received: from tschai.lan (cm-84.208.105.24.getinternet.no [84.208.105.24]) (authenticated bits=0) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAIJNYXJ097097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 20:23:35 +0100 (CET) (envelope-from hverkuil@xs4all.nl) From: Hans Verkuil To: "Karicheri, Muralidharan" Subject: Re: [PATCH v2] V4L - Adding Digital Video Timings APIs Date: Wed, 18 Nov 2009 20:23:33 +0100 User-Agent: KMail/1.9.9 References: <1258563824-1310-1-git-send-email-m-karicheri2@ti.com> <200911181908.51793.hverkuil@xs4all.nl> In-Reply-To: MIME-Version: 1.0 Message-ID: <200911182023.34005.hverkuil@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Reverse-DNS: smtp-vbr14.xs4all.nl Cc: "davinci-linux-open-source@linux.davincidsp.com" , "linux-media@vger.kernel.org" X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com diff -r 19ac1f4cde54 v4l2-apps/test/ioctl-test.c --- a/v4l2-apps/test/ioctl-test.c Tue Nov 17 20:30:42 2009 -0200 +++ b/v4l2-apps/test/ioctl-test.c Wed Nov 18 19:30:38 2009 +0100 @@ -91,6 +91,8 @@ struct v4l2_dbg_register p_v4l2_dbg_register; struct v4l2_dbg_chip_ident p_v4l2_dbg_chip_ident; struct v4l2_hw_freq_seek p_v4l2_hw_freq_seek; + struct v4l2_dv_preset p_v4l2_dv_preset; + struct v4l2_dv_timings p_v4l2_dv_timings; }; #define ioc(cmd) { cmd, #cmd } @@ -197,6 +199,12 @@ ioc(VIDIOC_DBG_G_REGISTER), /* struct v4l2_register */ ioc(VIDIOC_DBG_G_CHIP_IDENT), /* struct v4l2_dbg_chip_ident */ ioc(VIDIOC_S_HW_FREQ_SEEK), /* struct v4l2_hw_freq_seek */ + ioc(VIDIOC_ENUM_DV_PRESETS), /* struct v4l2_dv_enum_preset */ + ioc(VIDIOC_S_DV_PRESET), /* struct v4l2_dv_preset */ + ioc(VIDIOC_G_DV_PRESET), /* struct v4l2_dv_preset */ + ioc(VIDIOC_QUERY_DV_PRESET), /* struct v4l2_dv_preset */ + ioc(VIDIOC_S_DV_TIMINGS), /* struct v4l2_dv_timings */ + ioc(VIDIOC_G_DV_TIMINGS), /* struct v4l2_dv_timings */ #ifdef __OLD_VIDIOC_ ioc(VIDIOC_OVERLAY_OLD), /* int */ ioc(VIDIOC_S_PARM_OLD), /* struct v4l2_streamparm */