linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Enable JPEG encoding on rk3588
@ 2024-03-27 13:41 Emmanuel Gil Peyrot
  2024-03-27 13:41 ` [PATCH v2 1/2] media: dt-binding: media: Document rk3588’s VEPU121 Emmanuel Gil Peyrot
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Emmanuel Gil Peyrot @ 2024-03-27 13:41 UTC (permalink / raw)
  To: linux-kernel
  Cc: Emmanuel Gil Peyrot, Ezequiel Garcia, Philipp Zabel,
	Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Heiko Stuebner, Joerg Roedel, Will Deacon,
	Robin Murphy, Sebastian Reichel, Cristian Ciocaltea, Dragan Simic,
	Shreeya Patel, Chris Morgan, Andy Yan, Nicolas Frattaroli,
	linux-media, linux-rockchip, devicetree, linux-arm-kernel, iommu

Only the JPEG encoder is available for now, although there are patches
for the undocumented VP8 encoder floating around[0].

This has been tested on a rock-5b, resulting in four /dev/video*
encoders.  The userspace program I’ve been using to test them is
Onix[1], using the jpeg-encoder example, it will pick one of these four
at random (but displays the one it picked):
% ffmpeg -i <input image> -pix_fmt yuvj420p temp.yuv
% jpeg-encoder temp.yuv <width> <height> NV12 <quality> output.jpeg

[0] https://patchwork.kernel.org/project/linux-rockchip/list/?series=789885
[1] https://crates.io/crates/onix

Changes since v1:
- Dropped patches 1 and 4.
- Use the proper compatible form, since this device should be fully
  compatible with the VEPU of rk356x.
- Describe where the VEPU121 name comes from, and list other encoders
  and decoders present in this SoC.
- Properly test the device tree changes, I previously couldn’t since I
  was using a too recent version of python-jsonschema…

Emmanuel Gil Peyrot (2):
  media: dt-binding: media: Document rk3588’s VEPU121
  arm64: dts: rockchip: Add VEPU121 to rk3588

 .../bindings/media/rockchip,rk3568-vepu.yaml  |  8 +-
 arch/arm64/boot/dts/rockchip/rk3588s.dtsi     | 80 +++++++++++++++++++
 2 files changed, 86 insertions(+), 2 deletions(-)

-- 
2.44.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-12 15:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 13:41 [PATCH v2 0/2] Enable JPEG encoding on rk3588 Emmanuel Gil Peyrot
2024-03-27 13:41 ` [PATCH v2 1/2] media: dt-binding: media: Document rk3588’s VEPU121 Emmanuel Gil Peyrot
2024-03-27 17:23   ` Conor Dooley
2024-04-04 17:47     ` Nicolas Dufresne
2024-03-27 17:44   ` Sebastian Reichel
2024-03-27 13:41 ` [PATCH v2 2/2] arm64: dts: rockchip: Add VEPU121 to rk3588 Emmanuel Gil Peyrot
2024-03-27 17:45   ` Sebastian Reichel
2024-04-04 17:41 ` [PATCH v2 0/2] Enable JPEG encoding on rk3588 Nicolas Dufresne
2024-04-05 14:21   ` Link Mauve
2024-04-07  8:08     ` Nicolas Dufresne
2024-04-12 15:07       ` Link Mauve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).