But the uncompressed size doesn't match and is smaller (in this case with NV12) than the value native uses.
OK, you are right. I found it's smaller.
This doesn't look right and we could return a hardcoded value just as well for now.
If just use a hardcoded value here, which value should it be? Maybe the value correspond to a 1920x1080 frame? Or just use 0x8000?