OSDN Git Service

media: meson: vdec: add VP9 input support
authorMaxime Jourdan <mjourdan@baylibre.com>
Wed, 4 Mar 2020 09:46:24 +0000 (10:46 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Mar 2020 22:01:58 +0000 (23:01 +0100)
commite9a3eb4819caf9d1408d61af059a21c535294824
tree667afc8d173c828c56b269143f93ae87c3eef6bf
parent823a7300340e36ee2c1941e672f33c9419928d1c
media: meson: vdec: add VP9 input support

Amlogic VP9 decoder requires an additional 16-byte payload before every
frame header.

The source buffer is updated in-place, then given to the Parser FIFO DMA.

The FIFO DMA copies the blocks into the 16MiB parser ring buffer, then parses
and copies the slice into the decoder "workspace".

Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/meson/vdec/esparser.c