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: 61166 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 nAIJNg55020594 for ; Wed, 18 Nov 2009 19:23:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758056AbZKRTXd (ORCPT ); Wed, 18 Nov 2009 14:23:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755396AbZKRTXd (ORCPT ); Wed, 18 Nov 2009 14:23:33 -0500 Received: from smtp-vbr14.xs4all.nl ([194.109.24.34]:2479 "EHLO smtp-vbr14.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754582AbZKRTXc (ORCPT ); Wed, 18 Nov 2009 14:23:32 -0500 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 Cc: "linux-media@vger.kernel.org" , "davinci-linux-open-source@linux.davincidsp.com" 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 */