media: hantro: Add support for RK356x encoder
The RK3566 and RK3568 SoCs come with a small Hantro instance which is
solely dedicated to encoding. This patch adds the necessary structs to
the Hantro driver to allow the JPEG encoder of it to function.
Through some sleuthing through the vendor's MPP source code and after
closer inspection of the TRM, it was determined that the hardware likely
supports VP8 and H.264 as well.
Tested with the following GStreamer command:
gst-launch-1.0 videotestsrc ! v4l2jpegenc ! matroskamux ! \
filesink location=foo.mkv
Signed-off-by:
Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Reviewed-by:
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org>
Loading
Please sign in to comment