[PATCH RFC 0/4] V4L2: Vendor specific media bus formats/ frame size control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series introduces new image source class control - V4L2_CID_FRAMESIZE
and vendor or device specific media bus format section.

There was already a discussion WRT handling interleaved image data [1].
I'm not terribly happy with those vendor specific media bus formats but I
couldn't find better solution that would comply with the V4L2 API concepts
and would work reliably.

What could be improved is lookup of media bus code based on fourcc, it could
probably be moved to some common module. But with only one driver it might
not make currently much sense to add it. Especially that there had to be
a lookup entry added in the private format info array in the s5p-fimc.


Comments ?


--
Regards,
Sylwester

Sylwester Nawrocki (4):
  V4L: Add V4L2_CID_FRAMESIZE image source class control
  V4L: Add V4L2_MBUS_FMT_S5C_UYVY_JPEG_1X8 media bus format
  V4L: Add V4L2_PIX_FMT_S5C_UYVY_JPG fourcc definition
  s5p-fimc: Add support for V4L2_PIX_FMT_S5C_UYVY_JPG fourcc

 Documentation/DocBook/media/v4l/compat.xml         |  4 +
 Documentation/DocBook/media/v4l/controls.xml       | 12 +++
 Documentation/DocBook/media/v4l/pixfmt.xml         | 10 +++
 Documentation/DocBook/media/v4l/subdev-formats.xml | 45 +++++++++++
 drivers/media/platform/s5p-fimc/fimc-capture.c     | 86 +++++++++++++++++-----
 drivers/media/platform/s5p-fimc/fimc-core.c        | 16 +++-
 drivers/media/platform/s5p-fimc/fimc-core.h        | 26 +++++--
 drivers/media/platform/s5p-fimc/fimc-reg.c         |  3 +-
 drivers/media/platform/s5p-fimc/mipi-csis.c        |  6 +-
 drivers/media/v4l2-core/v4l2-ctrls.c               |  2 +
 include/linux/v4l2-mediabus.h                      |  5 ++
 include/linux/videodev2.h                          |  2 +
 12 files changed, 191 insertions(+), 26 deletions(-)

--
1.7.11.3

[1] http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg42707.html
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux