From patchwork Thu Mar 26 14:30:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Gl=C3=B6ckner?= X-Patchwork-Id: 14551 X-Patchwork-Delegate: dougsland@redhat.com 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 n2QETfjs026803 for ; Thu, 26 Mar 2009 14:29:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752401AbZCZO3l (ORCPT ); Thu, 26 Mar 2009 10:29:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753856AbZCZO3l (ORCPT ); Thu, 26 Mar 2009 10:29:41 -0400 Received: from mx1.emlix.com ([193.175.82.87]:51062 "EHLO mx1.emlix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752401AbZCZO3k (ORCPT ); Thu, 26 Mar 2009 10:29:40 -0400 Received: from gate.emlix.com ([193.175.27.217]:38465 helo=mailer.emlix.com) by mx1.emlix.com with esmtp (Exim 4.63) (envelope-from ) id 1LmqaP-0003GT-UK; Thu, 26 Mar 2009 15:29:37 +0100 Received: by mailer.emlix.com id 1LmqaQ-0003fO-FK; Thu, 26 Mar 2009 15:29:38 +0100 From: =?utf-8?q?Daniel=20Gl=C3=B6ckner?= To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, =?utf-8?q?Daniel=20Gl=C3=B6ckner?= Subject: [patch] add planar YUV 4:4:4 format Date: Thu, 26 Mar 2009 15:30:46 +0100 Message-Id: <1238077846-25751-1-git-send-email-dg@emlix.com> MIME-Version: 1.0 Organization: emlix gmbh, Goettingen, Germany" Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add YUV 4:4:4 planar format to list of fourcc codes supported. Signed-off-by: Daniel Glöckner --- include/linux/videodev2.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 5571dbe..6ecdc96 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -294,6 +294,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_YUYV v4l2_fourcc('Y', 'U', 'Y', 'V') /* 16 YUV 4:2:2 */ #define V4L2_PIX_FMT_UYVY v4l2_fourcc('U', 'Y', 'V', 'Y') /* 16 YUV 4:2:2 */ #define V4L2_PIX_FMT_VYUY v4l2_fourcc('V', 'Y', 'U', 'Y') /* 16 YUV 4:2:2 */ +#define V4L2_PIX_FMT_YUV444P v4l2_fourcc('4', '4', '4', 'P') /* 24 YUV444 planar */ #define V4L2_PIX_FMT_YUV422P v4l2_fourcc('4', '2', '2', 'P') /* 16 YVU422 planar */ #define V4L2_PIX_FMT_YUV411P v4l2_fourcc('4', '1', '1', 'P') /* 16 YVU411 planar */ #define V4L2_PIX_FMT_Y41P v4l2_fourcc('Y', '4', '1', 'P') /* 12 YUV 4:1:1 */