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 v2 00/10] media: imx-jpeg: Add support for 12 bit extended jpeg
Date: Wed,  1 Feb 2023 14:02:22 +0800	[thread overview]
Message-ID: <cover.1675230665.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.

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 YUYV_12 video format
  media: Add YUV24_12 video format
  media: Add BGR24_12 video format
  media: Add ABGR32_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           |  70 ++++
 .../userspace-api/media/v4l/pixfmt-rgb.rst    |  44 +++
 .../media/v4l/pixfmt-yuv-luma.rst             |  11 +
 .../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          |   7 +
 include/uapi/linux/videodev2.h                |   9 +
 10 files changed, 565 insertions(+), 26 deletions(-)

-- 
2.38.1


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

WARNING: multiple messages have this Message-ID (diff)
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 v2 00/10] media: imx-jpeg: Add support for 12 bit extended jpeg
Date: Wed,  1 Feb 2023 14:02:22 +0800	[thread overview]
Message-ID: <cover.1675230665.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.

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 YUYV_12 video format
  media: Add YUV24_12 video format
  media: Add BGR24_12 video format
  media: Add ABGR32_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           |  70 ++++
 .../userspace-api/media/v4l/pixfmt-rgb.rst    |  44 +++
 .../media/v4l/pixfmt-yuv-luma.rst             |  11 +
 .../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          |   7 +
 include/uapi/linux/videodev2.h                |   9 +
 10 files changed, 565 insertions(+), 26 deletions(-)

-- 
2.38.1


             reply	other threads:[~2023-02-01  6:04 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01  6:02 Ming Qian [this message]
2023-02-01  6:02 ` [PATCH v2 00/10] media: imx-jpeg: Add support for 12 bit extended jpeg Ming Qian
2023-02-01  6:02 ` [PATCH v2 01/10] media: Add P012 and P012M video format Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-01  6:02 ` [PATCH v2 02/10] media: Add Y012 " Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-10 15:18   ` Nicolas Dufresne
2023-02-10 15:18     ` Nicolas Dufresne
2023-02-13  9:22     ` [EXT] " Ming Qian
2023-02-13  9:22       ` Ming Qian
2023-02-13 16:38       ` Nicolas Dufresne
2023-02-13 16:38         ` Nicolas Dufresne
2023-02-14  1:51         ` Ming Qian
2023-02-14  1:51           ` Ming Qian
2023-02-01  6:02 ` [PATCH v2 03/10] media: Add YUYV_12 " Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-10 16:28   ` Nicolas Dufresne
2023-02-10 16:28     ` Nicolas Dufresne
2023-02-01  6:02 ` [PATCH v2 04/10] media: Add YUV24_12 " Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-10 15:20   ` Nicolas Dufresne
2023-02-10 15:20     ` Nicolas Dufresne
2023-02-10 16:29   ` Nicolas Dufresne
2023-02-10 16:29     ` Nicolas Dufresne
2023-02-01  6:02 ` [PATCH v2 05/10] media: Add BGR24_12 " Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-10 16:30   ` Nicolas Dufresne
2023-02-10 16:30     ` Nicolas Dufresne
2023-02-01  6:02 ` [PATCH v2 06/10] media: Add ABGR32_12 " Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-10 16:30   ` Nicolas Dufresne
2023-02-10 16:30     ` Nicolas Dufresne
2023-02-01  6:02 ` [PATCH v2 07/10] media: imx-jpeg: Refine the function mxc_jpeg_find_format Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-01  6:02 ` [PATCH v2 08/10] media: imx-jpeg: Clear slot next desc ptr if config error Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-01  6:02 ` [PATCH v2 09/10] media: imx-jpeg: Decoder add support for 12bit jpeg Ming Qian
2023-02-01  6:02   ` Ming Qian
2023-02-01  6:02 ` [PATCH v2 10/10] media: imx-jpeg: Encoder " Ming Qian
2023-02-01  6:02   ` 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.1675230665.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.