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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 611C2C4321E for ; Mon, 5 Dec 2022 21:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hqs0LeQHYS/87/KgPRlMjm++d5HqkPdV2TBZksoZRSc=; b=4IRyB4tjcZ4QSL HkdWIgxxJ9k3d3xRkUaZ7MMAN0Hx23s+9tQyu9fGLZ8InJhOY9kwO6bSPGzoMtoRiQ/QjmAn72Vto P/UCmznpdusgLDOzDbJa5R132aaolwTwOJebJqJTUaG20Re+HK0zQ76d+DOet2o2MF4989660zm4R K02SkV6IjhLvgH8Bgex56bJeH0pavh4I+p2QHce5Jt+1zmVW63os4v8JR7am0kaNrqiVYxJn3DCzn +7woWXzojnOkvocI3ogJtzqCMfeaj1w82w2OxBmBEWFFJK1mRC9U9BbK4sjv2wcMaJJFGn1/QV3xg Yw6h+4ut3bIPk2MZOPdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2IaW-00AYUT-OQ; Mon, 05 Dec 2022 21:01:20 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2IaT-00AYS4-JL for linux-arm-kernel@lists.infradead.org; Mon, 05 Dec 2022 21:01:18 +0000 Received: by mail-ed1-x52c.google.com with SMTP id e13so17524489edj.7 for ; Mon, 05 Dec 2022 13:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oR2ojr4E4/FvABpHMdPE1tBl2qE5ugC0vWs+LUlEhI8=; b=VDtbOT60TvVrEjQjbx0WDlRo+AwmdYcjrF1PiLmi4ycg6zyoil32hMK07venuroC8k xQGAzoclaWb1++ZmwD5vfeqyHXv/LoWzHhkd/gI1zSdaxctkeybwYKbwr+JrETj4ZcCG aUc/RL1tAcqdF1eKX6cPpa/aNYuVecrawB6v7Gg9loPpZz0RyEQJbRX9ygvI6goe+Ew9 /3TTuHuJyW3iHms/mnGSkhT0U7+fnuctAOZzyBBMj00YYXptDm9dhOACiqJ2M10OMVrx C0mjJn+NENrgAuCkBvybgnWAtAt9eH3lbuo93emLGPkkAJby9m2PYxlA0WUuQTDlmOhD l6uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oR2ojr4E4/FvABpHMdPE1tBl2qE5ugC0vWs+LUlEhI8=; b=i8fanjqO7AWY4+w57aQjZTQucR0q/S8BVvEv/1n21SRdL1oWerpli0KS4tXimJdP8Z /Dy4I8sf5OqSJTT1bZkdGbXtY7JYThllPPD8d8fG7j7euwHhlq5qo1e2sZfIw8JH4+Mm Zqw7L6duecb77NWgm5D1k619SldZ0FrbFeAsh/gXLtu0rcvp7ZdVYEGmtPXFYh6SdpCK NUSVamkeC8eiF4JSrOegfa6r+Wx+BmK+VWlO2ca4QMuW+evnWHQJgrG0wo9LfsCsDjC7 5Eo+ULXbBiqBJy351j9qQJdUPZ6RkWKLbROjRjXJJqoyE8bAGwZ9Vtp90mj8DBCr+MUZ dIFA== X-Gm-Message-State: ANoB5pngZwPIpVB9AN7vw05x7Fxgx/xbNe7fDfxB3lF3HJaxBed8ih7G iOdJmRTp2npg56WzEdpbYso= X-Google-Smtp-Source: AA0mqf7TE6/gHtnfOWjM/gdQJDtF6FGAYEHlnA9LDGiGZ/bEoqQVQg36nIkcEZaiwGa6wt4FBfx7Jw== X-Received: by 2002:a05:6402:4507:b0:467:205b:723d with SMTP id ez7-20020a056402450700b00467205b723dmr17483455edb.69.1670274076195; Mon, 05 Dec 2022 13:01:16 -0800 (PST) Received: from kista.localnet (82-149-19-102.dynamic.telemach.net. [82.149.19.102]) by smtp.gmail.com with ESMTPSA id v18-20020a170906293200b007b9269a0423sm6634332ejd.172.2022.12.05.13.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 13:01:15 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Mauro Carvalho Chehab , Samuel Holland , Hans Verkuil , Chen-Yu Tsai Cc: Chen-Yu Tsai , linux-media@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nicolas Dufresne Subject: Re: [PATCH] media: cedrus: Convert to MPLANE uAPI Date: Mon, 05 Dec 2022 22:01:14 +0100 Message-ID: <45143854.fMDQidcC6G@kista> In-Reply-To: <20221129074530.640251-1-wenst@chromium.org> References: <20221129074530.640251-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_130117_673057_6A7563AB X-CRM114-Status: GOOD ( 17.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Chen-Yu! Dne torek, 29. november 2022 ob 08:45:30 CET je Chen-Yu Tsai napisal(a): > The majority of the V4L2 stateless video decoder drivers use the MPLANE > interface. > > On the userspace side, Gstreamer supports non-MPLANE and MPLANE > interfaces. Chromium only supports the MPLANE interface, and is not yet > usable with standard desktop Linux. FFmpeg support for either has not > landed. I don't like fixing userspace issues in kernel, if kernel side works fine. Implementing missing non-MPLANE support in Chromium will also allow it to work with older kernels. Hans, what's linux-media politics about such changes? Best regards, Jernej > > A fallback route using libv4l is also available. The library translates > MPLANE interface ioctl calls to non-MPLANE ones, provided that the pixel > format used is single plane. > > Convert the Cedrus driver to the MPLANE interface, while keeping the > supported formats single plane. Besides backward compatibility through > the plugin, the hardware requires that different planes not be located > too far apart in memory. Keeping the single plane pixel format makes > this easy to enforce. > > Signed-off-by: Chen-Yu Tsai > --- > > This has been tested with Fluster. The score remained the same with or > without the patch. This also helps with getting VP8 decoding working > with Chromium's in-tree test program "video_decode_accelerator_tests", > though Chromium requires other changes regarding buffer allocation and > management. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel