From: keiichiw@chromium.org (Keiichi Watanabe)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/3] media: v4l2-ctrl: Add control for VP9 profile
Date: Thu, 14 Jun 2018 18:12:00 +0900 [thread overview]
Message-ID: <CAD90VcZT7M+egaBYXMdyGHUNq4wXmog9qFw3RjiPJ6cNszfkvA@mail.gmail.com> (raw)
In-Reply-To: <9cb304df-c600-918a-1c73-8daa9644f9c3@linaro.org>
Hi Stanimir,
On Thu, Jun 14, 2018 at 5:06 PM, Stanimir Varbanov
<stanimir.varbanov@linaro.org> wrote:
> Hi Keiichi,
>
> On 06/14/2018 10:46 AM, Keiichi Watanabe wrote:
>> Add a new control V4L2_CID_MPEG_VIDEO_VP9_PROFILE for VP9
>> profiles. This control allows to select a desired profile for VP9
>> encoder and query for supported profiles by VP9 encoder/decoder.
>>
>> Though this control is similar to V4L2_CID_MPEG_VIDEO_VP8_PROFILE, we need to
>> separate this control from it because supported profiles usually differ between
>> VP8 and VP9.
>>
>> Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
>> ---
>> .../media/uapi/v4l/extended-controls.rst | 25 +++++++++++++++++++
>> drivers/media/v4l2-core/v4l2-ctrls.c | 11 ++++++++
>> include/uapi/linux/v4l2-controls.h | 7 ++++++
>> 3 files changed, 43 insertions(+)
>>
>> diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended-controls.rst
>> index de99eafb0872..095b42e9d6fe 100644
>> --- a/Documentation/media/uapi/v4l/extended-controls.rst
>> +++ b/Documentation/media/uapi/v4l/extended-controls.rst
>> @@ -1980,6 +1980,31 @@ enum v4l2_mpeg_video_vp8_profile -
>> * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_3``
>> - Profile 3
>>
>> +.. _v4l2-mpeg-video-vp9-profile:
>> +
>> +``V4L2_CID_MPEG_VIDEO_VP9_PROFILE``
>> + (enum)
>> +
>> +enum v4l2_mpeg_video_vp9_profile -
>
> what about vp9 levels, shouldn't we add them too? Or we will add it when
> there is a user.
>
It sounds good, but I don't think we should include them in this
series of patches now.
As you said, we can add them when someone wants to use them.
Best regards,
Keiichi
>
> --
> regards,
> Stan
next prev parent reply other threads:[~2018-06-14 9:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-14 7:46 [PATCH v3 0/3] Add controls for VP8/VP9 profile Keiichi Watanabe
2018-06-14 7:46 ` [PATCH v3 1/3] media: v4l2-ctrl: Change control for VP8 profile to menu control Keiichi Watanabe
2018-06-14 8:04 ` Stanimir Varbanov
2018-06-14 8:13 ` Keiichi Watanabe
2018-06-15 8:51 ` Hans Verkuil
2018-06-14 7:46 ` [PATCH v3 2/3] media: v4l2-ctrl: Add control for VP9 profile Keiichi Watanabe
2018-06-14 8:06 ` Stanimir Varbanov
2018-06-14 9:12 ` Keiichi Watanabe [this message]
2018-06-14 7:46 ` [PATCH v3 3/3] media: mtk-vcodec: Support VP9 profile in decoder Keiichi Watanabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD90VcZT7M+egaBYXMdyGHUNq4wXmog9qFw3RjiPJ6cNszfkvA@mail.gmail.com \
--to=keiichiw@chromium.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).