]> git.baikalelectronics.ru Git - kernel.git/commit
media: vicodec: keep the ref frame according to the format in decoder
authorDafna Hirschfeld <dafna3@gmail.com>
Wed, 6 Mar 2019 21:13:32 +0000 (16:13 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 25 Mar 2019 17:46:18 +0000 (13:46 -0400)
commit6d8e101ad80430637cfbb84732dea7b8f661ab8a
tree065a9b16e5c5ef7e0c806b50e89b41c631bf9ce4
parent0959453e44557e7ff566c012d07c33efbacd7760
media: vicodec: keep the ref frame according to the format in decoder

In the decoder, save the inner reference frame in the same
format as the capture buffer.
The decoder writes directly to the capture buffer and then
the capture buffer is copied to the reference buffer.
This will simplify the stateless decoder.

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vicodec/codec-fwht.c
drivers/media/platform/vicodec/codec-fwht.h
drivers/media/platform/vicodec/codec-v4l2-fwht.c
drivers/media/platform/vicodec/codec-v4l2-fwht.h
drivers/media/platform/vicodec/vicodec-core.c