Message ID | 20221109182309.2475221-1-jernej.skrabec@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp493932wru; Wed, 9 Nov 2022 10:28:10 -0800 (PST) X-Google-Smtp-Source: AMsMyM7PlGe8WGypD5mzy35Y9i35pLzheBrKwL5O4II29O+ty6fylmV0XJZNGJs7gPnygcr0B+N4 X-Received: by 2002:a17:906:456:b0:78d:a01b:b474 with SMTP id e22-20020a170906045600b0078da01bb474mr1551491eja.8.1668018490441; Wed, 09 Nov 2022 10:28:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668018490; cv=none; d=google.com; s=arc-20160816; b=onws/fz7qvxUHkFJ5JL6clr5KlcwJMUPh32iLoW5E7YfVxj36GEq7Vg2n9pKGKVcSx Tj2hfxna88RKhect7T0m9eBIOb8GkvPZjAST7iKnqVp3BmpBhdKYeGKXy0YISK3pHT1N VXuYc71WJtXasCd4eU6KmNagnTQvC7EtqgjMvxqhJwdx+z8678LRWNxs2LA44oKnctjX ri1v9bQ5o0oVcIdZGOEWHB1JRu/u20lXaubz8HPIdQhcAbnTcpxuAwFoL6pfJBlX794n m56iBNGsQubhnnHTw7nEhyJJzbD+iWE74SfhNJSqldwIPZ1me7+gsAZV6sUKcM6RxHb5 2asA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=q13vsaMlttFnHcmHzSd2rfmI43tzlpK2zme9JkAVuSg=; b=CosREywzxzOTvJie/M1Ph79UqtQzihn+9zKjvsrJx25Jnrn0RwwDJ4ZgisQhs30Cp6 B33ggVGcK6A6ntjQcdOidj18ZK22YrrnmWnwM1BBu7RNNZAXA4eonRuc1989aJF9Cu1l J/WTpW9jr2JmcJgjs8AYeDIufPnDHOpoDQPhtdJo1WNE+037O2jgx0iT7X+FsOtmAUnN X4P4gHcwi+amjrt5lWDDcNGAsFk+9ZkZddETJQLkxlROXoWDKazbtKjdxFa8yna0N1Gv PJa8zSO0aJjdse7pG0IKVx+OXgxH4L81R1mxM9GF6dspySNRMZDETsoWDrFDmAaD3TVr OL7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="nKKT1C/V"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm5-20020a170907948500b0078e19e971b2si17494950ejc.915.2022.11.09.10.27.45; Wed, 09 Nov 2022 10:28:10 -0800 (PST) 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=@gmail.com header.s=20210112 header.b="nKKT1C/V"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230336AbiKISX1 (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Wed, 9 Nov 2022 13:23:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230298AbiKISXW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Nov 2022 13:23:22 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D1F328725; Wed, 9 Nov 2022 10:23:20 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id r14so28378499edc.7; Wed, 09 Nov 2022 10:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=q13vsaMlttFnHcmHzSd2rfmI43tzlpK2zme9JkAVuSg=; b=nKKT1C/VpEpRbWpnN2+YCiAl/gZ1YKnvqcf67NVQB5Ut1XejflJICh9nVvt40dxaj5 KDLTACBCD6P7R1IFuVbWR3mXK40g7hjAlEp9XcoSQ1ITTz4no7tAxWuxmF3MM6q7Rdk4 yDRVUgiFdO1W9MDDSYtriuzmXfptPfhoD7/YA9gYy6gchfA1e976hiRDOdMtKclKTp3R kBD/+7jBGwYZA+NvR1pIYx93O83Av5K7+e+735a0VLQrRN/YMeTy4RiK6TUmkam2ECs+ sO3cC0DbQH6HAyuaHig7aPz0luA9XNVzt6V1jS25XJo0oM1Uhuf7Zkev7toOOdodpytA L8qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=q13vsaMlttFnHcmHzSd2rfmI43tzlpK2zme9JkAVuSg=; b=IpAZHOghTMYx6INBT9pqEsrUL880w19EscJDb6kwXWwJJhie5Gi//1Ss8lq7JteBtC dyLm1l0zBcjIoupDXYbfZHjMlk7JtFrdFVLd1oPqRO4mec63Su+152+WRxF9RMBtRzPm 9BoogvcSDCmwqoK0z+HMJiuHRpQLoo4fQiHYT5X2s/Ae8baEeR4UOz4VG7RPlAyCD0Ro zjHPCFoYXJt7WUkeg4ld6uJaTFG37tVhjXH+0GXFxK4UBbpmid/pLQUXqoQsnqeDTiF5 aclJOwpeBpVFpbu6ajnj7foVifl4xVzAKNbpP6yu/wT9YRzE+XmqeVax805U3rRl/hmP 7CSg== X-Gm-Message-State: ACrzQf1XiReGKQXZbM75JHOIhs/1wplUPBJcyamrISSw/XyXFmBrzFGX MOyY2azKFD9NvyIUkm29c1w= X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr61910508edd.368.1668018198782; Wed, 09 Nov 2022 10:23:18 -0800 (PST) Received: from kista.localdomain (82-149-19-102.dynamic.telemach.net. [82.149.19.102]) by smtp.gmail.com with ESMTPSA id gj26-20020a170906e11a00b007a0b28c324dsm6029400ejb.126.2022.11.09.10.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 10:23:18 -0800 (PST) From: Jernej Skrabec <jernej.skrabec@gmail.com> To: mripard@kernel.org, paul.kocialkowski@bootlin.com Cc: mchehab@kernel.org, gregkh@linuxfoundation.org, wens@csie.org, samuel@sholland.org, hverkuil-cisco@xs4all.nl, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec <jernej.skrabec@gmail.com> Subject: [PATCH v3 0/3] media: cedrus: 10-bit HEVC support Date: Wed, 9 Nov 2022 19:23:06 +0100 Message-Id: <20221109182309.2475221-1-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749044157042824806?= X-GMAIL-MSGID: =?utf-8?q?1749044157042824806?= |
Series |
media: cedrus: 10-bit HEVC support
|
|
Message
Jernej Škrabec
Nov. 9, 2022, 6:23 p.m. UTC
This is continuation of previous series which improved format handling and fixed 10-bit HEVC support. Format handling patches were all merged, so this series fixes/improves only 10-bit HEVC handling. Please take a look. Best regards, Jernej Changes from v2: - drop merged patches - rework HEVC SPS control handling and capture format reset - add new patch to relax HEVC SPS restrictions Changes from v1: - collected acks, except for patch 5, which was changed - use cedrus_is_capable() for cedrus_find_format() too (patch 4) - tightly pack control pointers in ctx->ctrls[] (patch 5) Jernej Skrabec (3): media: cedrus: Adjust buffer size based on codec media: cedrus: h265: Support decoding 10-bit frames media: cedrus: Relax HEVC SPS restrictions drivers/staging/media/sunxi/cedrus/cedrus.c | 31 +++++++++++----- drivers/staging/media/sunxi/cedrus/cedrus.h | 3 ++ .../staging/media/sunxi/cedrus/cedrus_h265.c | 35 +++++++++++++++++++ .../staging/media/sunxi/cedrus/cedrus_regs.h | 16 +++++++++ .../staging/media/sunxi/cedrus/cedrus_video.c | 4 +++ 5 files changed, 81 insertions(+), 8 deletions(-) -- 2.38.1