mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
[media] s5p-mfc: Correct scratch buffer size of H.263 decoder
Driver complains about too small scratch buffer size. After adjusting it according to vendor code, decoding works. [mszyprow: moved the change to the header file] Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
92955ea0ba
commit
f662f1b7e5
@ -386,7 +386,8 @@
|
||||
((w) * 144 + 8192 * (h) + 49216 + 1048576)
|
||||
#define S5P_FIMV_SCRATCH_BUF_SIZE_VC1_DEC_V6(w, h) \
|
||||
(2096 * ((w) + (h) + 1))
|
||||
#define S5P_FIMV_SCRATCH_BUF_SIZE_H263_DEC_V6(w, h) ((w) * 400)
|
||||
#define S5P_FIMV_SCRATCH_BUF_SIZE_H263_DEC_V6(w, h) \
|
||||
S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_DEC_V6(w, h)
|
||||
#define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_DEC_V6(w, h) \
|
||||
((w) * 32 + (h) * 128 + (((w) + 1) / 2) * 64 + 2112)
|
||||
#define S5P_FIMV_SCRATCH_BUF_SIZE_H264_ENC_V6(w, h) \
|
||||
|
Loading…
Reference in New Issue
Block a user