Skip to contentSkip to conversation

VSP1 rotation and histogram

GIT PULL Laurent Pinchart 2 participants 6 messages Mar 6, 2017 – Apr 18, 2017

lore
Share & tools
lore
#0 lore raw

Hi Geert,

The following changes since commit 130f8756b9b83c0137ee0d587152a7ef3e10f74b:

v4l: vsp1: Register pipe with output WPF (2017-03-05 01:53:46 +0200)

are available in the git repository at:

git://linuxtv.org/pinchartl/media.git vsp1/histogram

for you to fetch changes up to 8bcdadfb22f218a42dc07b502c2a7ffc56509874:

v4l: vsp1: Add HGT support (2017-03-06 02:39:38 +0200)

----------------------------------------------------------------
Laurent Pinchart (8):
v4l: Clearly document interactions between formats, controls and buffers
v4l: vsp1: wpf: Implement rotation support
v4l: Add metadata buffer type and format
v4l: vsp1: Add histogram support
v4l: vsp1: Support histogram generators in pipeline configuration
v4l: vsp1: Fix HGO and HGT routing register addresses
v4l: Define a pixel format for the R-Car VSP1 1-D histogram engine
v4l: vsp1: Add HGO support

Niklas Söderlund (2):
v4l: Define a pixel format for the R-Car VSP1 2-D histogram engine
v4l: vsp1: Add HGT support

 Documentation/media/uapi/v4l/buffer.rst               | 111 +++++
 Documentation/media/uapi/v4l/dev-meta.rst             |  62 +++
 Documentation/media/uapi/v4l/devices.rst              |   1 +
 Documentation/media/uapi/v4l/meta-formats.rst         |  16 +
 Documentation/media/uapi/v4l/pixfmt-meta-vsp1-hgo.rst | 168 +++++++
 Documentation/media/uapi/v4l/pixfmt-meta-vsp1-hgt.rst | 120 +++++
 Documentation/media/uapi/v4l/pixfmt.rst               |   1 +
 Documentation/media/uapi/v4l/vidioc-querycap.rst      |   3 +
 Documentation/media/videodev2.h.rst.exceptions        |   2 +
 drivers/media/platform/Kconfig                        |   1 +
 drivers/media/platform/vsp1/Makefile                  |   1 +
 drivers/media/platform/vsp1/vsp1.h                    |   6 +
 drivers/media/platform/vsp1/vsp1_drm.c                |   2 +-
 drivers/media/platform/vsp1/vsp1_drv.c                |  70 ++-
 drivers/media/platform/vsp1/vsp1_entity.c             | 154 +++++-
 drivers/media/platform/vsp1/vsp1_entity.h             |   8 +-
 drivers/media/platform/vsp1/vsp1_hgo.c                | 228 +++++++++
 drivers/media/platform/vsp1/vsp1_hgo.h                |  45 ++
 drivers/media/platform/vsp1/vsp1_hgt.c                | 222 +++++++++
 drivers/media/platform/vsp1/vsp1_hgt.h                |  42 ++
 drivers/media/platform/vsp1/vsp1_histo.c              | 646 +++++++++++++++++
 drivers/media/platform/vsp1/vsp1_histo.h              |  84 ++++
 drivers/media/platform/vsp1/vsp1_pipe.c               |  38 +-
 drivers/media/platform/vsp1/vsp1_pipe.h               |   4 +
 drivers/media/platform/vsp1/vsp1_regs.h               |  33 +-
 drivers/media/platform/vsp1/vsp1_rpf.c                |   2 +-
 drivers/media/platform/vsp1/vsp1_rwpf.c               |   5 +
 drivers/media/platform/vsp1/vsp1_rwpf.h               |   7 +-
 drivers/media/platform/vsp1/vsp1_video.c              |  42 +-
 drivers/media/platform/vsp1/vsp1_wpf.c                | 205 ++++++--
 drivers/media/v4l2-core/v4l2-compat-ioctl32.c         |  19 +
 drivers/media/v4l2-core/v4l2-dev.c                    |  16 +-
 drivers/media/v4l2-core/v4l2-ioctl.c                  |  36 ++
 drivers/media/v4l2-core/videobuf2-v4l2.c              |   3 +
 include/media/v4l2-ioctl.h                            |  17 +
 include/trace/events/v4l2.h                           |   1 +
 include/uapi/linux/videodev2.h                        |  17 +
 37 files changed, 2336 insertions(+), 102 deletions(-)
 create mode 100644 Documentation/media/uapi/v4l/dev-meta.rst
 create mode 100644 Documentation/media/uapi/v4l/meta-formats.rst
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vsp1-hgo.rst
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vsp1-hgt.rst
 create mode 100644 drivers/media/platform/vsp1/vsp1_hgo.c
 create mode 100644 drivers/media/platform/vsp1/vsp1_hgo.h
 create mode 100644 drivers/media/platform/vsp1/vsp1_hgt.c
 create mode 100644 drivers/media/platform/vsp1/vsp1_hgt.h
 create mode 100644 drivers/media/platform/vsp1/vsp1_histo.c
 create mode 100644 drivers/media/platform/vsp1/vsp1_histo.h
Signature · 3 lines
Regards,

Laurent Pinchart
#1 lore raw

Hi Laurent,

Quoted 11 lines · Laurent Pinchart

The following changes since commit 130f8756b9b83c0137ee0d587152a7ef3e10f74b:

v4l: vsp1: Register pipe with output WPF (2017-03-05 01:53:46 +0200)

are available in the git repository at:

git://linuxtv.org/pinchartl/media.git vsp1/histogram

for you to fetch changes up to 8bcdadfb22f218a42dc07b502c2a7ffc56509874:

v4l: vsp1: Add HGT support (2017-03-06 02:39:38 +0200)

Thank you, looks good.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw
In reply to Laurent Pinchart
Quoted 7 lines · Laurent Pinchart

The following changes since commit 130f8756b9b83c0137ee0d587152a7ef3e10f74b:

v4l: vsp1: Register pipe with output WPF (2017-03-05 01:53:46 +0200)

are available in the git repository at:

git://linuxtv.org/pinchartl/media.git vsp1/histogram

Dropped, too many conflicts.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#3 lore raw

Hi Geert,

Quoted 2 lines · On Tuesday 18 Apr 2017 11:01:59 Geert Uytterhoeven wrote:
Quoted 1 line · Laurent Pinchart

The following changes since commit

130f8756b9b83c0137ee0d587152a7ef3e10f74b:

Quoted 6 lines
Quoted 4 lines

v4l: vsp1: Register pipe with output WPF (2017-03-05 01:53:46 +0200)

are available in the git repository at:
git://linuxtv.org/pinchartl/media.git vsp1/histogram

Dropped, too many conflicts.

And the code is in the linuxtv master branch anyway, scheduled for merge in v4.12-rc1.

Signature · 3 lines
Regards,

Laurent Pinchart
#4 lore raw

Hi Laurent,

Quoted 6 lines · Laurent Pinchart
Quoted 2 lines · On Tuesday 18 Apr 2017 11:01:59 Geert Uytterhoeven wrote:
Quoted 1 line · Laurent Pinchart

The following changes since commit

130f8756b9b83c0137ee0d587152a7ef3e10f74b:

Quoted 2 lines
Quoted 2 lines

v4l: vsp1: Register pipe with output WPF (2017-03-05 01:53:46 +0200)

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

are available in the git repository at:
git://linuxtv.org/pinchartl/media.git vsp1/histogram

Dropped, too many conflicts.

And the code is in the linuxtv master branch anyway, scheduled for merge in v4.12-rc1.

Not the HGO and HGT support, cfr.

    git cherry -v next-20170418  8bcdadfb22f218a4

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#5 lore raw

Hi Geert,

Quoted 12 lines · On Tuesday 18 Apr 2017 11:40:53 Geert Uytterhoeven wrote:
Quoted 11 lines · Laurent Pinchart
Quoted 9 lines · On Tuesday 18 Apr 2017 11:01:59 Geert Uytterhoeven wrote:
Quoted 6 lines · Laurent Pinchart

The following changes since commit 130f8756b9b83c0137ee0d587152a7ef3e10f74b:
v4l: vsp1: Register pipe with output WPF (2017-03-05 01:53:46 +0200)

are available in the git repository at:
git://linuxtv.org/pinchartl/media.git vsp1/histogram

Dropped, too many conflicts.

Quoted 8 lines
Quoted 2 lines

And the code is in the linuxtv master branch anyway, scheduled for merge in v4.12-rc1.

Not the HGO and HGT support, cfr.

    git cherry -v next-20170418  8bcdadfb22f218a4

From next-20170418:

0ac702d5b903 [media] v4l: vsp1: Add HGT support
f2421521de18 [media] v4l: vsp1: Add HGO support
98eee2550f7b [media] v4l: vsp1: Fix HGO and HGT routing register addresses c8663c8e15c9 [media] v4l: vsp1: Support histogram generators in pipeline configuration
99362e32332b [media] v4l: vsp1: Add histogram support 3e9a0e0bfafd [media] v4l: vsp1: wpf: Implement rotation support

Signature · 3 lines
Regards,

Laurent Pinchart