Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp546693rwe; Wed, 24 Aug 2022 05:33:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR44seRmODOlSq+oUKHNh/dXztE00LU8mYXZ0K7vpHlYVMs0MIIjAeMNDn2R48CjUw/oSvTG X-Received: by 2002:a17:902:ef96:b0:172:abb9:657e with SMTP id iz22-20020a170902ef9600b00172abb9657emr28442301plb.48.1661344405905; Wed, 24 Aug 2022 05:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661344405; cv=none; d=google.com; s=arc-20160816; b=j1c8dQsE2y4CkEN5AhCkz+jotP9DMRHBGEEVlGT57lJ230ee6YgG67GRlRZjPT9KnP d/lrh/vRj4vA3QdJ3r2wqW7wx8AtIo9cMq/rzerBwWN9Mn0+bQaUMB5sj73lBu9Q8gSf sXHVudS30SK0sPPIwQ4nZ3VWlY9bejKy5Zu3Aeno3CFuPD38GRJS7ykVV09WZTKi3DJ3 mC3kKQSfDq2Oy88BiBltE/wgSTIyOPONafv58QxVPuKHyly8StNFY+1du59sQnhEbma1 uaMBFcGWHEsrjdXkxrJoU+nuzpyRBmvv5vvidg9Rp3VXZz9/OokMXn08Azm5qCAMvtua y9YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=bBpH4dZE3b1wTK8dXRCo+xytLbB3IpPDVw9dsPxZjJQ=; b=JUNLkI/3geSHE/JG4SWgT7YU/F2+N1m0XuT4szUbxss9LpL1RnSFBwG2+Zob/Q0BJU X4EL77bs5Ik3OlGDmAHBDoBezhKdOdtOYUmH6GYsVj//pFzBtNbliRLFJluDslk/XvW3 QGzYRlCi/4hyBjWDCdZ6FSjWftoVCA70dMW0LJ0wLd8VTS6p9AAsjuaOGMw0Au22OfZ4 V5Z3PsISBbqLgCqjXkQdpRI+P27ZrYlERvJ/VsnRiuW6Qk9m2ErN9WMm/DLXtanXumub +2qgsOZJ9YFfksswEGJjOLGnOeGo77+pBi8RuXBDujUzIoBasMF1x/hPQCMf9kEhhwqi 2hZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt19-20020a056a00439300b0052ab931ec55si16456792pfb.184.2022.08.24.05.33.14; Wed, 24 Aug 2022 05:33:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237162AbiHXMH0 (ORCPT + 99 others); Wed, 24 Aug 2022 08:07:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236939AbiHXMG3 (ORCPT ); Wed, 24 Aug 2022 08:06:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65A9231ED7; Wed, 24 Aug 2022 05:06:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E8AA661973; Wed, 24 Aug 2022 12:06:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07F0EC433D6; Wed, 24 Aug 2022 12:06:24 +0000 (UTC) Message-ID: <7122b146-46c7-7e58-5b26-4b94d3a8c1d8@xs4all.nl> Date: Wed, 24 Aug 2022 14:06:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] media: v4l2-ctrl: Add main 10 still picture profile for hevc Content-Language: en-US To: Dikshita Agarwal , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, ezequiel@collabora.com Cc: stanimir.varbanov@linaro.org, linux-arm-msm@vger.kernel.org, quic_vgarodia@quicinc.com, quic_majja@quicinc.com, quic_jdas@quicinc.com References: <1661239563-14346-1-git-send-email-quic_dikshita@quicinc.com> From: Hans Verkuil In-Reply-To: <1661239563-14346-1-git-send-email-quic_dikshita@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dikshita, On 23/08/2022 09:26, Dikshita Agarwal wrote: > Add main 10 still picture profile for HEVC encoder. Hmm, is this the same as the "Main 4:4:4 Still Picture" profile mentioned here: https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding#Version_2_profiles If not, where it is defined? I would also prefer to have this patch merged together with a driver that uses it. Regards, Hans > > Signed-off-by: Dikshita Agarwal > --- > Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 2 ++ > include/uapi/linux/v4l2-controls.h | 1 + > 2 files changed, 3 insertions(+) > > diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst > index 2a165ae..5b2da84 100644 > --- a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst > +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst > @@ -2424,6 +2424,8 @@ enum v4l2_mpeg_video_hevc_profile - > - Main still picture profile. > * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10`` > - Main 10 profile. > + * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10_STILL_PICTURE`` > + - Main 10 still picture profile. > > .. raw:: latex > > diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h > index 5f46bf4..1159337 100644 > --- a/include/uapi/linux/v4l2-controls.h > +++ b/include/uapi/linux/v4l2-controls.h > @@ -743,6 +743,7 @@ enum v4l2_mpeg_video_hevc_profile { > V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN = 0, > V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE = 1, > V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10 = 2, > + V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10_STILL_PICTURE = 3, > }; > #define V4L2_CID_MPEG_VIDEO_HEVC_LEVEL (V4L2_CID_CODEC_BASE + 616) > enum v4l2_mpeg_video_hevc_level {