Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1811610rwb; Thu, 29 Sep 2022 02:33:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Qppt5KtFPQ1QZXlsMnupVnCUsM46keZt7JzvUtEwVk+69lyGxVQeci1D/lfIV8b2lDGhz X-Received: by 2002:a05:6402:3784:b0:453:9d2a:771b with SMTP id et4-20020a056402378400b004539d2a771bmr2308998edb.353.1664444005168; Thu, 29 Sep 2022 02:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664444005; cv=none; d=google.com; s=arc-20160816; b=Zth5rmDRLGIqLuygiVfONz79hsUTkL3+IsPzZmiZdrJ4xNvDei9btATL6bMa+V15IX O30+6Dy7uGrG2w3VUKl8Qq6eNkP5E7yqozEgC3qc4N4yfwMNcZ64rKHCtfMcsIty+BM9 VQafr5a7n1lcQU3c8x1+HFrMk5PkAZ9F9WbOGP7sXLuvgZE0W7tCwxRtFV1eDzcKfhY8 iWLOFFOY8h1OUYhfyQgQiiARNOWZvkpujv6Z0E+3yECMpzUyTBa7Y4O25+/D8uOfSBIR 93QADAUTtE2kH8XAPdWGd/7uwNW/BGBLnrDm09e9t9r6pAPNRDTlq7PdaWri4iexIDgy w9oQ== 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:dkim-signature; bh=CkAuVLc8+00YmHyXgUrycJdbrblwoJlPKtNdcbETcXk=; b=MY6TMQs8nGMIWTIUJvBlhmoTDZoPozoD/fM2BN7ZNjOIsyqqzPFnqfy7wuLZJ9hnqW BjlW19GwjzLftBk7044arBcrC6Dnlp30UXPXt+zb6x9Bd9TXwZ2IPopfyTqTLI+u06AA Ufa4n1JP9C1l/tNKScrEjG2xd/1XBLm5OHjVVeRy++jiolNc1fyJL8ll73w+9R42VEo8 q4BME1YooL2Ra6F2R3Vrgo1deON9Q1G7G4UPCUYyIpNhJ9V7Dj3rjM8FdJk64rxLsNxL YTOswkP8DXMLgkbniSNAbhckSp2cbYazIq7DxJfARkM4zCcIe9/TalNT6/GezQiELfcS hFpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XWIep3oX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg16-20020a170907971000b0078037cd5c2dsi7024949ejc.715.2022.09.29.02.32.37; Thu, 29 Sep 2022 02: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; dkim=pass header.i=@collabora.com header.s=mail header.b=XWIep3oX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235448AbiI2Ic3 (ORCPT + 99 others); Thu, 29 Sep 2022 04:32:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235554AbiI2IcZ (ORCPT ); Thu, 29 Sep 2022 04:32:25 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0F03CD64D; Thu, 29 Sep 2022 01:32:24 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id B126F6601EE2; Thu, 29 Sep 2022 09:32:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1664440343; bh=BzCgkh7agrO1RG0lHCTr2sYO+CUf+iLH1yxL/52k1as=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XWIep3oXSRWI4RxMPsjJSd8aCJm4n+9S0XnuRWgQ4VL9Q/gPc9AjE9UJk78EdSgiH 7qw0xQdEARP2NFFD1JjVhM/slx4NciRWQD5ESsf8ujUHaVa2GhhFihYkUk+Gm7qYiS gt/baMDrdvdFZqN7YAZPYpBE9TJgk+DtuTcNDJwk3/pSCzEaLUA4wyHqnnZHFU9/vd i2ab0AIHSf6gExrGaD+loxMwF3DGXLoYOJi9iympXKTrASGRwBQpayhBeoiL9w9xC/ 0bTYN6sChD49W8fR0yExNCngW8HcVlq0lfSlh9UdlxpT5aowXBc9t3wNmz1swxn7D1 dr+/2mL/0d9XQ== Message-ID: Date: Thu, 29 Sep 2022 10:32:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH] media: mediatek: vcodec: Skip unsupported h264 encoder profile Content-Language: en-US To: Irui Wang , Hans Verkuil , Alexandre Courbot , Tiffany Lin , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Hsin-Yi Wang , nicolas.dufresne@collabora.com Cc: Maoguang Meng , Longfei Wang , Yunfei Dong , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20220926093501.26466-1-irui.wang@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220926093501.26466-1-irui.wang@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 Il 26/09/22 11:35, Irui Wang ha scritto: > The encoder driver support h264 baseline, main, high encoder > profile, set mask for V4L2_CID_MPEG_VIDEO_H264_PROFILE to skip > the unsupported profile. > > get supported h264_profile by command: v4l2-ctl -d /dev/videoX -L > h264_profile 0x00990a6b (menu) : min=0 max=4 default=4 value=4 > 0: Baseline > 2: Main > 4: High > > Signed-off-by: Irui Wang Reviewed-by: AngeloGioacchino Del Regno