All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Longerbeam <slongerbeam@gmail.com>
To: linux-media@vger.kernel.org
Cc: Tim Harvey <tharvey@gateworks.com>,
	Steve Longerbeam <slongerbeam@gmail.com>
Subject: [PATCH v4 0/4] media: imx: Add support for BT.709 encoding
Date: Fri,  8 Feb 2019 17:47:44 -0800	[thread overview]
Message-ID: <20190209014748.10427-1-slongerbeam@gmail.com> (raw)

This patchset adds support for the BT.709 encoding and inverse encoding
matrices to the ipu_ic task init functions. The imx-media driver can
now support both BT.601 and BT.709 encoding.

History:
v4:
- fix a compile error in init_csc(), reported by Tim Harvey.
v3:
- fix some inconsistent From: and Signed-off-by:'s.
  No functional changes.
v2:
- rename ic_csc_rgb2rgb matrix to ic_csc_identity.
- only return "Unsupported YCbCr encoding" error if inf != outf,
  since if inf == outf, the identity matrix can be used. Reported
  by Tim Harvey.
- move ic_route check above default colorimetry checks, and fill default
  colorspace for ic_route, otherwise it's not possible to set BT.709
  encoding for ic routes.

Steve Longerbeam (4):
  gpu: ipu-v3: ipu-ic: Rename yuv2rgb encoding matrices
  gpu: ipu-v3: ipu-ic: Simplify selection of encoding matrix
  gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding
  media: imx: Allow BT.709 encoding for IC routes

 drivers/gpu/ipu-v3/ipu-ic.c                 | 96 +++++++++++++++++----
 drivers/gpu/ipu-v3/ipu-image-convert.c      |  1 +
 drivers/staging/media/imx/imx-ic-prpencvf.c |  4 +-
 drivers/staging/media/imx/imx-media-utils.c | 20 +++--
 include/video/imx-ipu-v3.h                  |  5 +-
 5 files changed, 98 insertions(+), 28 deletions(-)

-- 
2.17.1


             reply	other threads:[~2019-02-09  1:47 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-09  1:47 Steve Longerbeam [this message]
2019-02-09  1:47 ` [PATCH v4 1/4] gpu: ipu-v3: ipu-ic: Rename yuv2rgb encoding matrices Steve Longerbeam
2019-02-09  1:47   ` Steve Longerbeam
2019-02-11  9:58   ` Philipp Zabel
2019-02-11  9:58     ` Philipp Zabel
2019-02-11 18:24     ` Steve Longerbeam
2019-02-11 18:24       ` Steve Longerbeam
2019-02-12 10:17       ` Philipp Zabel
2019-02-12 10:17         ` Philipp Zabel
2019-02-12 17:42         ` Steve Longerbeam
2019-02-12 17:42           ` Steve Longerbeam
2019-02-13 10:35           ` Philipp Zabel
2019-02-13 10:35             ` Philipp Zabel
2019-02-14 18:54             ` Steve Longerbeam
2019-02-14 18:54               ` Steve Longerbeam
2019-02-11 23:33     ` Steve Longerbeam
2019-02-11 23:33       ` Steve Longerbeam
2019-02-09  1:47 ` [PATCH v4 2/4] gpu: ipu-v3: ipu-ic: Simplify selection of encoding matrix Steve Longerbeam
2019-02-09  1:47   ` Steve Longerbeam
2019-02-11 10:00   ` Philipp Zabel
2019-02-11 10:00     ` Philipp Zabel
2019-02-09  1:47 ` [PATCH v4 3/4] gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding Steve Longerbeam
2019-02-09  1:47   ` Steve Longerbeam
2019-02-09  1:47   ` Steve Longerbeam
2019-02-11 10:12   ` Philipp Zabel
2019-02-11 10:12     ` Philipp Zabel
2019-02-11 10:12     ` Philipp Zabel
2019-02-12  1:20     ` Steve Longerbeam
2019-02-12  1:20       ` Steve Longerbeam
2019-02-12  1:20       ` Steve Longerbeam
2019-02-12 11:34       ` Philipp Zabel
2019-02-12 11:34         ` Philipp Zabel
2019-02-12 11:34         ` Philipp Zabel
2019-02-12 17:50         ` Steve Longerbeam
2019-02-12 17:50           ` Steve Longerbeam
2019-02-12 17:50           ` Steve Longerbeam
2019-02-09  1:47 ` [PATCH v4 4/4] media: imx: Allow BT.709 encoding for IC routes Steve Longerbeam

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=20190209014748.10427-1-slongerbeam@gmail.com \
    --to=slongerbeam@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=tharvey@gateworks.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.