Commit 0202c920 authored by Stanimir Varbanov's avatar Stanimir Varbanov Committed by Bryan O'Donoghue
Browse files

media: venus: helpers: Calculate properly compressed buffer size



For resolutions below 720p the size of the compressed buffer must
be bigger. Correct this by checking the resolution when calculating
buffer size and multiply by eight.

Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 74f6f369
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment