All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Qian <ming.qian@nxp.com>
To: mchehab@kernel.org, mirela.rabulea@oss.nxp.com, hverkuil-cisco@xs4all.nl
Cc: shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com, xiahong.bao@nxp.com,
	linux-imx@nxp.com, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 00/10] media: imx-jpeg: Add support for 12 bit extended jpeg
Date: Tue, 14 Mar 2023 18:08:43 +0800	[thread overview]
Message-ID: <cover.1678788305.git.ming.qian@nxp.com> (raw)

the imx8 jpeg codec support ISO/IEC 10918-1 Standard Baseline and
Extended Sequential DCT modes.
it can support 8-bit and 12-bit per color samples.
Currently we only enable the 8-bit jpeg,
and we can enable the 12-bit extended jpeg
with the new defined 12 bit pixel format.

v4
- drop format yuyv64_12, use Y212 directly

v3
- correct the new 12-bit format naming according to Nicolas's comments

v2
- correct the new 12-bit format naming according to Hans's comments

Ming Qian (10):
  media: Add P012 and P012M video format
  media: Add Y012 video format
  media: Add Y212 v4l2 format info
  media: Add YUV48_12 video format
  media: Add BGR48_12 video format
  media: Add ABGR64_12 video format
  media: imx-jpeg: Refine the function mxc_jpeg_find_format
  media: imx-jpeg: Clear slot next desc ptr if config error
  media: imx-jpeg: Decoder add support for 12bit jpeg
  media: imx-jpeg: Encoder add support for 12bit jpeg

 .../media/v4l/pixfmt-packed-yuv.rst           |  28 ++
 .../userspace-api/media/v4l/pixfmt-rgb.rst    |  42 +++
 .../media/v4l/pixfmt-yuv-luma.rst             |  15 +
 .../media/v4l/pixfmt-yuv-planar.rst           |  94 +++++
 .../media/platform/nxp/imx-jpeg/mxc-jpeg-hw.c |  19 +-
 .../media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h |   5 +-
 .../media/platform/nxp/imx-jpeg/mxc-jpeg.c    | 326 ++++++++++++++++--
 drivers/media/v4l2-core/v4l2-common.c         |   6 +
 drivers/media/v4l2-core/v4l2-ioctl.c          |   6 +
 include/uapi/linux/videodev2.h                |   8 +
 10 files changed, 523 insertions(+), 26 deletions(-)

-- 
2.38.1


             reply	other threads:[~2023-03-14 10:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14 10:08 Ming Qian [this message]
2023-03-14 10:08 ` [PATCH v4 01/10] media: Add P012 and P012M video format Ming Qian
2023-03-21 10:26   ` Hans Verkuil
2023-03-21 10:26     ` Hans Verkuil
2023-03-14 10:08 ` [PATCH v4 02/10] media: Add Y012 " Ming Qian
2023-03-21 10:39   ` Hans Verkuil
2023-03-21 10:39     ` Hans Verkuil
2023-03-14 10:08 ` [PATCH v4 03/10] media: Add Y212 v4l2 format info Ming Qian
2023-03-14 10:08 ` [PATCH v4 04/10] media: Add YUV48_12 video format Ming Qian
2023-03-21 10:49   ` Hans Verkuil
2023-03-21 10:49     ` Hans Verkuil
2023-03-14 10:08 ` [PATCH v4 05/10] media: Add BGR48_12 " Ming Qian
2023-03-21 10:54   ` Hans Verkuil
2023-03-21 10:54     ` Hans Verkuil
2023-03-14 10:08 ` [PATCH v4 06/10] media: Add ABGR64_12 " Ming Qian
2023-03-14 10:08 ` [PATCH v4 07/10] media: imx-jpeg: Refine the function mxc_jpeg_find_format Ming Qian
2023-03-14 10:08 ` [PATCH v4 08/10] media: imx-jpeg: Clear slot next desc ptr if config error Ming Qian
2023-03-14 10:08   ` Ming Qian
2023-03-14 10:08 ` [PATCH v4 09/10] media: imx-jpeg: Decoder add support for 12bit jpeg Ming Qian
2023-03-14 10:08 ` [PATCH v4 10/10] media: imx-jpeg: Encoder " Ming Qian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1678788305.git.ming.qian@nxp.com \
    --to=ming.qian@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=mirela.rabulea@oss.nxp.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=xiahong.bao@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.