OpenCloudOS-Kernel/drivers/media/platform/vicodec
Neil Armstrong d4d137de5f media: vicodec: use v4l2-mem2mem draining, stopped and next-buf-is-last states handling
Use the previously introduced v4l2-mem2mem core APIs to handle the drainig,
stopped and next-buf-is-last states.

With these changes, the v4l2-compliance still passes with the following
commands :
>>>><><><><><><><><><><><><><><><><>< 15.53 fps
 15.53 fps
><><><><><><><><><><><><>< 13.99 fps
 13.99 fps
><><><><><><><><><><><>< 13.52 fps
 13.52 fps
><><><><><><><><><><><><>< 13.41 fps
 13.41 fps
><><><><><><><><><><><><>< 13.21 fps
 13.21 fps
><><><><><><><><><><><>< 13.09 fps
 13.09 fps
><><><><><><><
STOP ENCODER
<<<
EOS EVENT

v4l2-compliance SHA: 7ead0e1856b89f2e19369af452bb03fd0cd16793, 64 bits
[...]
Total for vicodec device /dev/video0: 50, Succeeded: 50, Failed: 0, Warnings: 0

The full output is available at [1]

v4l2-compliance SHA: 7ead0e1856b89f2e19369af452bb03fd0cd16793, 64 bits
[...]
Total for vicodec device /dev/video1: 50, Succeeded: 50, Failed: 0, Warnings: 0

The full output is available at [2]

No functional changes should be noticed.

[1] https://termbin.com/25nn
[2] https://termbin.com/dza4

Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Suggested-by: Maxime Jourdan <mjourdan@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-05 22:55:57 +01:00
..
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
Makefile media: vicodec: split off v4l2 specific parts for the codec 2018-08-31 08:29:13 -04:00
codec-fwht.c media: vicodec: Handle the case that the reference buffer is NULL 2019-03-25 13:50:44 -04:00
codec-fwht.h media: vicodec: keep the ref frame according to the format in decoder 2019-03-25 13:46:18 -04:00
codec-v4l2-fwht.c media: vicodec: process all 4 components for RGB32 formats 2020-02-24 15:08:18 +01:00
codec-v4l2-fwht.h media: vicodec: Add support for stateless decoder. 2019-03-25 14:12:59 -04:00
vicodec-core.c media: vicodec: use v4l2-mem2mem draining, stopped and next-buf-is-last states handling 2020-03-05 22:55:57 +01:00