From patchwork Tue May 24 15:05:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wu-Cheng Li X-Patchwork-Id: 9133827 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9DCE36075E for ; Tue, 24 May 2016 15:06:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90B90281FE for ; Tue, 24 May 2016 15:06:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 855612827C; Tue, 24 May 2016 15:06:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BC28281F9 for ; Tue, 24 May 2016 15:06:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756235AbcEXPG2 (ORCPT ); Tue, 24 May 2016 11:06:28 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:34177 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755712AbcEXPG0 (ORCPT ); Tue, 24 May 2016 11:06:26 -0400 Received: by mail-pf0-f182.google.com with SMTP id y69so7843787pfb.1 for ; Tue, 24 May 2016 08:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JSE5646N8KxHiBSn8YYGyxg3kWrh7P1xxu/h28zvVt4=; b=FoO8iAqnariiJAbyvwjQMnk1FedgHf/uMmejRKvXyOZF0uUvq3FSnZ2jIGVTjsFwP5 H7+u5BoCQ2Z/Yw7IytegJ6oWMq5+RWveAIld3SeZQp/hM61RvYg5cwmpW+pmHp9/q8VZ gIVMGJUST0tBKj++aBjPLY8wvoqfCTQaTrnbI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JSE5646N8KxHiBSn8YYGyxg3kWrh7P1xxu/h28zvVt4=; b=XO9ZQuaYi9v/b6mZYu0hLzZXVMqZ5WBOq0l5Js6i8ji85zMUxJuXwmOYBlJGJRkaUx T0oUke0IcTQYOlZhF7892r3VXfR0v54Q5hZSA/MPYr5eqhm0KoWYzEdDWUDfQ5KvzVv0 vWSmRBTp6Y1W7yM8DC8KWtpEzyKcjXS4Sz/vSNAHJC0fXjP8PC7FiXlpjvusWmSolqdw oI9qAOZnkvuE4M1Mt3l/cT+NTT6oZtxH7Sa2Wp2mCXRwhCW7xkuWgVSyDkz8AkkoQspq yU+lF9SFGVGcsbnQzKnEFtbhDn+XY/aasQuQMHUePQ/V82x8+W/cZHH0cpJLrKOdlyV7 harQ== X-Gm-Message-State: ALyK8tL2ECjXF2+GlPcfgQe/if/Ec0vmS42R2MTGTRUfN8ePpwMdr/ZR9Dv+IxNOQv4w7IcZ X-Received: by 10.98.1.6 with SMTP id 6mr7699217pfb.155.1464102385402; Tue, 24 May 2016 08:06:25 -0700 (PDT) Received: from wuchengli-z840.tpe.corp.google.com ([172.30.210.26]) by smtp.gmail.com with ESMTPSA id t65sm38744544pfb.37.2016.05.24.08.06.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 May 2016 08:06:24 -0700 (PDT) From: Wu-Cheng Li To: mchehab@osg.samsung.com, hverkuil@xs4all.nl, crope@iki.fi, ricardo.ribalda@gmail.com, p.zabel@pengutronix.de, wuchengli@chromium.org, shuahkh@osg.samsung.com, hans.verkuil@cisco.com, renesas@ideasonboard.com, guennadi.liakhovetski@intel.com, sakari.ailus@linux.intel.com, posciak@chromium.org, djkurtz@chromium.org, tiffany.lin@mediatek.com, pc.chen@mediatek.com Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/3] v4l2-ioctl: add VP9 format description. Date: Tue, 24 May 2016 23:05:22 +0800 Message-Id: <1464102324-53965-3-git-send-email-wuchengli@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1464102324-53965-1-git-send-email-wuchengli@chromium.org> References: <1464102324-53965-1-git-send-email-wuchengli@chromium.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP VP9 is a video coding format and a successor to VP8. Signed-off-by: Wu-Cheng Li --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 28e5be2..8f3e631 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c @@ -1264,6 +1264,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_PIX_FMT_VC1_ANNEX_G: descr = "VC-1 (SMPTE 412M Annex G)"; break; case V4L2_PIX_FMT_VC1_ANNEX_L: descr = "VC-1 (SMPTE 412M Annex L)"; break; case V4L2_PIX_FMT_VP8: descr = "VP8"; break; + case V4L2_PIX_FMT_VP9: descr = "VP9"; break; case V4L2_PIX_FMT_CPIA1: descr = "GSPCA CPiA YUV"; break; case V4L2_PIX_FMT_WNVA: descr = "WNVA"; break; case V4L2_PIX_FMT_SN9C10X: descr = "GSPCA SN9C10X"; break;