I added some debug statements recently and noticed the following behaviour:
Code: Select all
setup chroma=VAOP, size=1280x720
cleanup
setup chroma=VDV0, size=1280x720
cleanup
setup chroma=I420, size=1280x738
My callback implementation each time simply sets up the buffer format to be RV32 with same width and height specified.
The question then is while my code appears to work correctly, I'm wondering if this behaviour is normal or if I'm supposed to be doing something differently with these different buffer formats?