linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/18] Renesas VSP1: alpha support
@ 2014-06-01  3:39 Laurent Pinchart
  2014-06-01  3:39 ` [PATCH 01/18] v4l: Add ARGB and XRGB pixel formats Laurent Pinchart
                   ` (18 more replies)
  0 siblings, 19 replies; 24+ messages in thread
From: Laurent Pinchart @ 2014-06-01  3:39 UTC (permalink / raw)
  To: linux-media; +Cc: linux-sh

Hello,

This patch set adds alpha support to the Renesas VSP1 driver. The feature is
split in two parts, support for the alpha component in capture and output
buffers, and support for premultiplied colors. Each part requires extensions
to the V4L API.

The first two patch add new pixel formats for alpha and non-alpha RGB, and
extend usage of the ALPHA_COMPONENT control to output devices. They have
already been posted separately, for the rationale please see
https://www.mail-archive.com/linux-media@vger.kernel.org/msg75449.html.

The next two patches add a premultiplied alpha flag to the V4L format API.
This requires extending the v4l2_pix_format structure first (patch 03/18).

Patches 05/18 to 12/18 perform general cleanups and fixes to the VSP1 driver.
Please see individual patches for details.

Patch 13/18 switches from the old RGB formats to the new XRGB formats. Patch
14/18 then adds support for ARGB formats, and patch 15/18 support for the
alpha component control. Patch 16/18 and 17/18 add support for premultiplied
colors, and patch 18/18 finally makes the blending unit background color
configurable.

While I'd of course like to see the VSP1 patches getting reviewed, I expect
most of the discussions to concentrate on the first four patches. Several
rounds will likely be needed, and I'd like to get the series in v3.17, so
let's get started :-)

Laurent Pinchart (18):
  v4l: Add ARGB and XRGB pixel formats
  DocBook: media: Document ALPHA_COMPONENT control usage on output
    devices
  v4l: Support extending the v4l2_pix_format structure
  v4l: Add premultiplied alpha flag for pixel formats
  v4l: vsp1: Fix typos
  v4l: vsp1: Cleanup video nodes at removal time
  v4l: vsp1: Propagate vsp1_device_get errors to the callers
  v4l: vsp1: Setup control handler automatically at stream on time
  v4l: vsp1: sru: Fix the intensity control default value
  v4l: vsp1: sru: Make the intensity controllable during streaming
  v4l: vsp1: wpf: Simplify cast to pipeline structure
  v4l: vsp1: wpf: Clear RPF to WPF association at stream off time
  v4l: vsp1: Switch to XRGB formats
  v4l: vsp1: Add alpha channel support to the memory ports
  v4l: vsp1: Add V4L2_CID_ALPHA_COMPONENT control support
  v4l: vsp1: bru: Support premultiplied alpha at the BRU inputs
  v4l: vsp1: bru: Support non-premultiplied colors at the BRU output
  v4l: vsp1: bru: Make the background color configurable

 Documentation/DocBook/media/Makefile               |   2 +-
 Documentation/DocBook/media/v4l/controls.xml       |  17 +-
 .../DocBook/media/v4l/pixfmt-packed-rgb.xml        | 415 ++++++++++++++++++++-
 Documentation/DocBook/media/v4l/pixfmt.xml         |  53 ++-
 Documentation/DocBook/media/v4l/v4l2.xml           |   8 +
 .../DocBook/media/v4l/vidioc-querycap.xml          |   6 +
 drivers/media/parport/bw-qcam.c                    |   2 -
 drivers/media/pci/cx18/cx18-ioctl.c                |   1 -
 drivers/media/pci/cx25821/cx25821-video.c          |   3 -
 drivers/media/pci/ivtv/ivtv-ioctl.c                |   3 -
 drivers/media/pci/meye/meye.c                      |   2 -
 drivers/media/pci/saa7134/saa7134-empress.c        |   3 -
 drivers/media/pci/saa7134/saa7134-video.c          |   2 -
 drivers/media/pci/sta2x11/sta2x11_vip.c            |   1 -
 drivers/media/platform/coda.c                      |   2 -
 drivers/media/platform/davinci/vpif_display.c      |   1 -
 drivers/media/platform/mem2mem_testdev.c           |   1 -
 drivers/media/platform/omap/omap_vout.c            |   2 -
 drivers/media/platform/sh_veu.c                    |   2 -
 drivers/media/platform/vino.c                      |   5 -
 drivers/media/platform/vivi.c                      |   1 -
 drivers/media/platform/vsp1/vsp1.h                 |  14 +-
 drivers/media/platform/vsp1/vsp1_bru.c             |  85 ++++-
 drivers/media/platform/vsp1/vsp1_bru.h             |   9 +-
 drivers/media/platform/vsp1/vsp1_drv.c             |  22 +-
 drivers/media/platform/vsp1/vsp1_entity.c          |  42 +++
 drivers/media/platform/vsp1/vsp1_entity.h          |  10 +
 drivers/media/platform/vsp1/vsp1_regs.h            |   2 +
 drivers/media/platform/vsp1/vsp1_rpf.c             |  68 +++-
 drivers/media/platform/vsp1/vsp1_rwpf.h            |   2 +
 drivers/media/platform/vsp1/vsp1_sru.c             | 107 ++++--
 drivers/media/platform/vsp1/vsp1_sru.h             |   1 -
 drivers/media/platform/vsp1/vsp1_video.c           | 124 ++++--
 drivers/media/platform/vsp1/vsp1_video.h           |   4 +-
 drivers/media/platform/vsp1/vsp1_wpf.c             |  72 +++-
 drivers/media/usb/cx231xx/cx231xx-417.c            |   2 -
 drivers/media/usb/cx231xx/cx231xx-video.c          |   2 -
 drivers/media/usb/gspca/gspca.c                    |   8 +-
 drivers/media/usb/hdpvr/hdpvr-video.c              |   1 -
 drivers/media/usb/stkwebcam/stk-webcam.c           |   2 -
 drivers/media/usb/tlg2300/pd-video.c               |   1 -
 drivers/media/usb/tm6000/tm6000-video.c            |   2 -
 drivers/media/usb/zr364xx/zr364xx.c                |   3 -
 drivers/media/v4l2-core/v4l2-compat-ioctl32.c      |  19 +-
 drivers/media/v4l2-core/v4l2-ioctl.c               |  66 +++-
 include/uapi/linux/videodev2.h                     |  31 +-
 46 files changed, 1001 insertions(+), 230 deletions(-)

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-06-01 12:47 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-01  3:39 [PATCH 00/18] Renesas VSP1: alpha support Laurent Pinchart
2014-06-01  3:39 ` [PATCH 01/18] v4l: Add ARGB and XRGB pixel formats Laurent Pinchart
2014-06-01  3:39 ` [PATCH 02/18] DocBook: media: Document ALPHA_COMPONENT control usage on output devices Laurent Pinchart
2014-06-01  3:39 ` [PATCH 03/18] v4l: Support extending the v4l2_pix_format structure Laurent Pinchart
2014-06-01  3:39 ` [PATCH 04/18] v4l: Add premultiplied alpha flag for pixel formats Laurent Pinchart
2014-06-01  3:39 ` [PATCH 05/18] v4l: vsp1: Fix typos Laurent Pinchart
2014-06-01  3:39 ` [PATCH 06/18] v4l: vsp1: Cleanup video nodes at removal time Laurent Pinchart
2014-06-01  3:39 ` [PATCH 07/18] v4l: vsp1: Propagate vsp1_device_get errors to the callers Laurent Pinchart
2014-06-01  3:39 ` [PATCH 08/18] v4l: vsp1: Setup control handler automatically at stream on time Laurent Pinchart
2014-06-01  3:39 ` [PATCH 09/18] v4l: vsp1: sru: Fix the intensity control default value Laurent Pinchart
2014-06-01  3:39 ` [PATCH 10/18] v4l: vsp1: sru: Make the intensity controllable during streaming Laurent Pinchart
2014-06-01  3:39 ` [PATCH 11/18] v4l: vsp1: wpf: Simplify cast to pipeline structure Laurent Pinchart
2014-06-01  8:50   ` Geert Uytterhoeven
2014-06-01 12:47     ` Laurent Pinchart
2014-06-01  3:39 ` [PATCH 12/18] v4l: vsp1: wpf: Clear RPF to WPF association at stream off time Laurent Pinchart
2014-06-01  3:39 ` [PATCH 13/18] v4l: vsp1: Switch to XRGB formats Laurent Pinchart
2014-06-01  3:39 ` [PATCH 14/18] v4l: vsp1: Add alpha channel support to the memory ports Laurent Pinchart
2014-06-01  3:39 ` [PATCH 15/18] v4l: vsp1: Add V4L2_CID_ALPHA_COMPONENT control support Laurent Pinchart
2014-06-01  3:39 ` [PATCH 16/18] v4l: vsp1: bru: Support premultiplied alpha at the BRU inputs Laurent Pinchart
2014-06-01  3:39 ` [PATCH 17/18] v4l: vsp1: bru: Support non-premultiplied colors at the BRU output Laurent Pinchart
2014-06-01  3:39 ` [PATCH 18/18] v4l: vsp1: bru: Make the background color configurable Laurent Pinchart
2014-06-01  8:51 ` [PATCH 00/18] Renesas VSP1: alpha support Geert Uytterhoeven
2014-06-01  8:56   ` Geert Uytterhoeven
2014-06-01 10:31     ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).