lkml.org 
[lkml]   [2022]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] media: imx-jpeg, Add support for contiguous NV12
Date
mxc-jpeg supports non contiguous format nv12m,
and in order to compatible with the devices
who only supports contiguous format nv12,
jpeg can support nv12 and nv12m in the same time.

And client needs to calculate plane size for format NV12.
driver needs to report the aligned resolution,
otherwise they can't the correct uv address.
So driver needs to implement g_selection to report
the actual picture size.

Ming Qian (2):
media: imx-jpeg: Implement g_selection and s_selection
media: imx-jpeg: Support contiguous and non contiguous format

.../media/platform/nxp/imx-jpeg/mxc-jpeg.c | 545 ++++++++++++------
.../media/platform/nxp/imx-jpeg/mxc-jpeg.h | 8 +-
2 files changed, 389 insertions(+), 164 deletions(-)

--
2.37.1

\
 
 \ /
  Last update: 2022-08-01 12:31    [W:0.072 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site