mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 00:36:48 +07:00
[media] s5p-mfc: Update scratch buffer size for VP8 encoder
Scratch buffer size updated for vp8 encoding as per the latest v7 firmware. As the new macro increases the scratch buffer size, it is backward compatible with the older firmware too. Signed-off-by: Kiran AVND <avnd.kiran@samsung.com> Signed-off-by: Arun Kumar K <arun.kk@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
9d87e8375d
commit
7107911325
@ -56,6 +56,7 @@
|
||||
(SZ_1M + ((w) * 144) + (8192 * (h)) + 49216)
|
||||
|
||||
#define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_ENC_V7(w, h) \
|
||||
(((w) * 48) + (((w) + 1) / 2 * 128) + 144 + 8192)
|
||||
(((w) * 48) + 8192 + ((((w) + 1) / 2) * 128) + 144 + \
|
||||
((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4))
|
||||
|
||||
#endif /*_REGS_MFC_V7_H*/
|
||||
|
Loading…
Reference in New Issue
Block a user