Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1550971

[PATCH v2 0/2] Add pixel formats for 10/16 bits YUV video

From Randy Li <ayaka@soulik.info>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] Add pixel formats for 10/16 bits YUV video
Date 2017-01-04 17:30 +0100
Message-ID <sVWBP-76c-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Those pixel formats mainly comes from Gstreamer and ffmpeg. Currently,
the VOP(video output mixer) found on RK3288 and future support
those 10 bits pixel formats are input. Also the decoder on RK3288
could use them as output.

The fourcc is not enough to store the endian information for those
pixel formats in v4l2, as it doesn't have a flag like drm does.

I have not met the usage of those 16 bits per-channel format,
it is a very large color range, even the DSLR only use 12 bits.

Randy Li (2):
  drm_fourcc: Add new P010, P016 video format
  [media] v4l: Add 10/16-bits per channel YUV pixel formats

 Documentation/media/uapi/v4l/pixfmt-p010.rst  |  86 ++++++++++++++++
 Documentation/media/uapi/v4l/pixfmt-p010m.rst |  94 ++++++++++++++++++
 Documentation/media/uapi/v4l/pixfmt-p016.rst  | 126 ++++++++++++++++++++++++
 Documentation/media/uapi/v4l/pixfmt-p016m.rst | 136 ++++++++++++++++++++++++++
 drivers/gpu/drm/drm_fourcc.c                  |   3 +
 include/uapi/drm/drm_fourcc.h                 |   2 +
 include/uapi/linux/videodev2.h                |   4 +
 7 files changed, 451 insertions(+)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-p010.rst
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-p010m.rst
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-p016.rst
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-p016m.rst

-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] Add pixel formats for 10/16 bits YUV video Randy Li <ayaka@soulik.info> - 2017-01-04 17:30 +0100
  [PATCH v2 1/2] drm_fourcc: Add new P010, P016 video format Randy Li <ayaka@soulik.info> - 2017-01-04 17:30 +0100
    Re: [PATCH v2 1/2] drm_fourcc: Add new P010, P016 video format Daniel Stone <daniel@fooishbar.org> - 2017-01-04 18:10 +0100
      Re: [PATCH v2 1/2] drm_fourcc: Add new P010, P016 video format Ayaka <ayaka@soulik.info> - 2017-01-05 03:10 +0100
  [PATCH v2 2/2] [media] v4l: Add 10/16-bits per channel YUV pixel formats Randy Li <ayaka@soulik.info> - 2017-01-04 17:40 +0100
    Re: [PATCH v2 2/2] [media] v4l: Add 10/16-bits per channel YUV pixel  formats Sakari Ailus <sakari.ailus@iki.fi> - 2017-01-05 11:40 +0100
      Re: [PATCH v2 2/2] [media] v4l: Add 10/16-bits per channel YUV pixel  formats ayaka <ayaka@soulik.info> - 2017-01-05 16:30 +0100
        Re: [PATCH v2 2/2] [media] v4l: Add 10/16-bits per channel YUV pixel  formats Sakari Ailus <sakari.ailus@iki.fi> - 2017-01-05 19:50 +0100

csiph-web