1. 19 2月, 2019 1 次提交
  2. 18 2月, 2019 3 次提交
  3. 08 2月, 2019 12 次提交
  4. 01 2月, 2019 3 次提交
    • M
      media: vim2m: allow setting the default transaction time via parameter · f0ef022c
      Mauro Carvalho Chehab 提交于
      While there's a control to allow setting it at runtime, as the
      control handler is per file handler, only the application setting
      the m2m device can change it. As this is a custom control, it is
      unlikely that existing apps would be able to set it.
      
      Due to that, and due to the fact that v4l2-mem2mem serializes all
      accesses to a m2m device, trying to setup two GStreamer
      v4l2videoconvert instance at the same time will cause frame drops.
      
      So, add an alternate way of setting its default via a modprobe parameter.
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      f0ef022c
    • M
      media: vim2m: use per-file handler work queue · b3e64e5b
      Mauro Carvalho Chehab 提交于
      It doesn't make sense to have a per-device work queue, as the
      scheduler should be called per file handler. Having a single
      one causes failures if multiple streams are filtered by vim2m.
      
      So, move it to be inside the context structure.
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      b3e64e5b
    • M
      media: vim2m: fix driver for it to handle different fourcc formats · 8aa153f1
      Mauro Carvalho Chehab 提交于
      Despite vim2m is reporting that it supports RGB565BE and YUYV,
      that's not true.
      
      Right now, it just says that it supports both format, but it
      doesn't actually support them.
      
      Also, horizontal flip is not properly implemented. It sounds
      that it was designed to do a pseudo-horizontal flip using 8
      tiles. Yet, as it doesn't do format conversion, the result
      is a mess.
      
      I suspect that it was done this way in order to save CPU time,
      at the time of OMAP2 days.
      
      That's messy and doesn't really help if someone wants to
      use vim2m to test a pipeline.
      
      Worse than that, the unique RGB format it says it supports is
      RGB565BE, with is not supported by Gstreamer. That prevents
      practical usage of it, even for tests.
      
      So, instead, properly implement fourcc format conversions,
      adding a few more RGB formats:
      
      	- RGB and BGR with 24 bits
      	- RGB565LE (known as RGB16 at gstreamer)
      
      Also allows using any of the 5 supported formats as either
      capture or output.
      
      Note: The YUYV conversion routines are based on the conversion code
      written by Hans de Goede inside libv4lconvert (part of v4l-utils),
      released under LGPGL 2.1 (GPL 2.0 compatible).
      
      Tested all possible format combinations except for RGB565BE,
      as Gstreamer currently doesn't support it.
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      8aa153f1
  5. 31 1月, 2019 4 次提交
  6. 26 1月, 2019 12 次提交
  7. 22 1月, 2019 5 次提交