H264 Encoder Allowed Size


Hi. I am doing some h264 encoding on the snapdragon 820 and it seems that if I set the width to 4112 and height to 3008, then I get an error in the dmesg log:
[ 1215.761527] qcom-venus c00000.video-codec: HW is overloaded, needed: 2887680 max: 2563200

I did not see this error in an earlier version of the qcomlt-4.14 code base and I believe it is this change set that caused the error: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/commit/drivers/media/platform/qcom/venus?h=release/qcomlt-4.14&id=8739a785430ce700f7f1e4ef250bcb885d578863

I reverted the changes from the change set for the encoder and now I do not get the error above. Can someone tell me what the error means? Is there a maximum width/height for the encoder?



At first glance, max supported resolution is 4K 3840 x 2160 pixels. So 4112 x 3008 is out of range.


Hi Loic,

Makes sense.