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: working/qualcomm/kernel.git - Qualcomm Landing Team kernel

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?

Thanks,
Kim

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

Hi Loic,

Makes sense.
thanks,
Kim