diff options
author | Dafna Hirschfeld <dafna3@gmail.com> | 2019-03-07 00:13:32 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-25 20:46:18 +0300 |
commit | 86764b88c447f9690765db59189ecbeb72325e4c (patch) | |
tree | 065a9b16e5c5ef7e0c806b50e89b41c631bf9ce4 /drivers/media/platform/vicodec/codec-v4l2-fwht.h | |
parent | bdbfd992bb9f19817911205cb7173cc6328de2a3 (diff) | |
download | linux-86764b88c447f9690765db59189ecbeb72325e4c.tar.xz |
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>
Diffstat (limited to 'drivers/media/platform/vicodec/codec-v4l2-fwht.h')
-rw-r--r-- | drivers/media/platform/vicodec/codec-v4l2-fwht.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.h b/drivers/media/platform/vicodec/codec-v4l2-fwht.h index aa6fa90a48be..53eba97ebc83 100644 --- a/drivers/media/platform/vicodec/codec-v4l2-fwht.h +++ b/drivers/media/platform/vicodec/codec-v4l2-fwht.h @@ -30,6 +30,7 @@ struct v4l2_fwht_state { unsigned int coded_width; unsigned int coded_height; unsigned int stride; + unsigned int ref_stride; unsigned int gop_size; unsigned int gop_cnt; u16 i_frame_qp; |