From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD539C6FA82 for ; Thu, 29 Sep 2022 08:32:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235158AbiI2Ic2 (ORCPT ); Thu, 29 Sep 2022 04:32:28 -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 Precedence: bulk List-ID: X-Mailing-List: linux-media@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