From patchwork Thu Jun 11 07:12:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 29486 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 n5B7E2Ob021365 for ; Thu, 11 Jun 2009 07:14:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758129AbZFKHMb (ORCPT ); Thu, 11 Jun 2009 03:12:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759785AbZFKHMa (ORCPT ); Thu, 11 Jun 2009 03:12:30 -0400 Received: from mail.gmx.net ([213.165.64.20]:57448 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752848AbZFKHMa (ORCPT ); Thu, 11 Jun 2009 03:12:30 -0400 Received: (qmail invoked by alias); 11 Jun 2009 07:12:31 -0000 Received: from p57BD2264.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.34.100] by mail.gmx.net (mp017) with SMTP; 11 Jun 2009 09:12:31 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1/gW1MFCjXgf71ygZgH1UCIA4AeNRMND2MbNmg2iD pks4lRO2FBFHBD Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1MEeSk-0001Lu-0m; Thu, 11 Jun 2009 09:12:38 +0200 Date: Thu, 11 Jun 2009 09:12:37 +0200 (CEST) From: Guennadi Liakhovetski To: Linux Media Mailing List cc: Magnus Damm , "Dongsoo, Nathaniel Kim" Subject: [PATCH 1/4] V4L2: add a new V4L2_CID_BAND_STOP_FILTER integer control In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add a new V4L2_CID_BAND_STOP_FILTER integer control, which either switches the band-stop filter off, or sets it to a certain strength. Signed-off-by: Guennadi Liakhovetski --- include/linux/videodev2.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index ebb2ea6..f50ec61 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -894,8 +894,10 @@ enum v4l2_colorfx { V4L2_COLORFX_SEPIA = 2, }; +#define V4L2_CID_BAND_STOP_FILTER (V4L2_CID_BASE+32) + /* last CID + 1 */ -#define V4L2_CID_LASTP1 (V4L2_CID_BASE+32) +#define V4L2_CID_LASTP1 (V4L2_CID_BASE+33) /* MPEG-class control IDs defined by V4L2 */ #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)