From patchwork Wed Sep 11 13:50:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugues FRUCHET X-Patchwork-Id: 13800593 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53C841547CC; Wed, 11 Sep 2024 13:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726062765; cv=none; b=SBQ4Jz0xhCpvu9CuaNpu6dzSlgSvamZxCVCVy69QTNHkPwP56lX8ow3vg3NJlTWdGeofxu+Sa+CmVFQ3idMHuOJ8NznfqzSKubKmW3rgGxzn74hdkgAf/PaCXS5E6lgQd7mAiL0p8ETqeotuRVmE8flnaE//s/JBhPOtRKY3Y7A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726062765; c=relaxed/simple; bh=UPnb5CwXN2BdNLF7oqXNvJIjcEvtnsHHPPV/LttT9vg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=N/d1B40fAhK5c1ggwPwxpDQh5mDQZi7TIUP/cv4r5gp19YVVLQ4QlOHqM99ni9SdWH3QZPQgqGqsy3/4LjSIwPmWT00QFvIWoPEDeVNPilT1JRuJkK2Pn3cXG69Qaul2UYBqWflN2ozQxkkxHbvuDvhzeNz2zeiBmNBD2YCUgI8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=HtiJI3A0; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="HtiJI3A0" Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48BAdpJo026944; Wed, 11 Sep 2024 15:52:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=8x5WYgjMDMpnQ929UybthC m8FyP9r1CPBj4apvbGduM=; b=HtiJI3A0PLnjUTScM80t5XNe1q/yQqxkeUZyKf wQxfL7N8waMKM582PebO9qvQ8ywOZOn/MCFe9Lv0w/8974k/0CCybWe887DqLt0M rR+wT/uzqVIbYSR0AwyuVXf95hxKcENQ+cGKXPLFfQp5HoKCJaAvsz8DkOlN+NPb /jAfeuzvKXgBgdx41JY1vUQKut8IhJCWtTD6eIgyg27TDaLB/Vj2vze1qDRDXx9R 2Owxm6euHjjZoprZ2yJWb0QvopsZqe4wSgkcZppI8d0MFazIYF/kWkXwY2G2v0Ia 4Bm+nRvCjD4WzvJFKoQLMCNIMEfCBERczgLP1hDRbkANVnaQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 41h0cyq91r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Sep 2024 15:52:29 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id A72DC4005C; Wed, 11 Sep 2024 15:51:10 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C02A622FA44; Wed, 11 Sep 2024 15:50:13 +0200 (CEST) Received: from localhost (10.48.86.208) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Wed, 11 Sep 2024 15:50:13 +0200 From: Hugues Fruchet To: Mauro Carvalho Chehab , Ezequiel Garcia , Philipp Zabel , Hans Verkuil , Fritz Koenig , Sebastian Fricke , Daniel Almeida , Andrzej Pietrasiewicz , Nicolas Dufresne , Benjamin Gaignard , , , , CC: Hugues Fruchet Subject: [PATCH 0/2] Add WebP support to hantro decoder Date: Wed, 11 Sep 2024 15:50:09 +0200 Message-ID: <20240911135011.161217-1-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 Add WebP image decoding support to stateless V4L2 VP8 decoder. Tested on STM32MP257F-EV1 evaluation board with GStreamer using an updated version of V4L2 VP8 stateless decoder element: wget https://www.gstatic.com/webp/gallery/1.webp gst-launch-1.0 filesrc location= 1.webp ! typefind ! v4l2slvp8dec ! imagefreeze num-buffers=20 ! waylandsink fullscreen=true Hugues Fruchet (2): media: uapi: add WebP VP8 frame flag media: verisilicon: add WebP decoding support .../userspace-api/media/v4l/ext-ctrls-codec-stateless.rst | 3 +++ drivers/media/platform/verisilicon/hantro_g1_regs.h | 1 + drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c | 7 +++++++ include/uapi/linux/v4l2-controls.h | 1 + 4 files changed, 12 insertions(+)