From patchwork Sun Jul 10 18:14:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Gmeiner X-Patchwork-Id: 961652 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6AIEcOI021006 for ; Sun, 10 Jul 2011 18:14:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756232Ab1GJSOh (ORCPT ); Sun, 10 Jul 2011 14:14:37 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:57942 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756218Ab1GJSOg (ORCPT ); Sun, 10 Jul 2011 14:14:36 -0400 Received: by iyb12 with SMTP id 12so3072407iyb.19 for ; Sun, 10 Jul 2011 11:14:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=I/GTgWJZLRKB2tnlsHCmRgxaXG97ZQNP2nuOBe1OoVI=; b=obWzEAz9Zi38Gd94iA8YB1E35rJZcMrH3KmqkVrFe+qyEGgZUHKQLGmmjNjEkvti4z ynxNoe9cHWbyofnLQJ7hyP7YJeIyWxR8Xx9d+SYtra0goBLa7elJrpaqCgUXrq5hKGo1 2I9P2zcIspxt0HFzX0nHIYttEvrdFjR8k11ZE= Received: by 10.231.21.15 with SMTP id h15mr3797563ibb.76.1310321676090; Sun, 10 Jul 2011 11:14:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.17.70 with HTTP; Sun, 10 Jul 2011 11:14:16 -0700 (PDT) From: Christian Gmeiner Date: Sun, 10 Jul 2011 18:14:16 +0000 Message-ID: Subject: [PATCH 1/3] Add 8-bit and 16-bit YCrCb media bus pixel codes To: linux-media@vger.kernel.org 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.6 (demeter2.kernel.org [140.211.167.43]); Sun, 10 Jul 2011 18:14:39 +0000 (UTC) Signed-off-by: Christian Gmeiner --- -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h index 5ea7f75..11b916d 100644 --- a/include/linux/v4l2-mediabus.h +++ b/include/linux/v4l2-mediabus.h @@ -92,6 +92,10 @@ enum v4l2_mbus_pixelcode { /* JPEG compressed formats - next is 0x4002 */ V4L2_MBUS_FMT_JPEG_1X8 = 0x4001, + + /* YCrCb formats - next is 0x5003 */ + V4L2_MBUS_FMT_YCRCB_1X8 = 0x5001, + V4L2_MBUS_FMT_YCRCB_1X16 = 0x5002, }; /**