-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vaQuerySurfaceAttributes doesn't support ENC #9
Comments
yes, not implemented for encoder, I wonder whether it is "MUST SUPPORT" , thanks |
If user want to query ENC some information (e,g, input pixel format, max size ... ) , vaQuerySurfaceAttributes is the only interface for this type query, and if ENC change some thing (e,g, maybe support YUV422 in feature, change the max size from 4K to 16K...), no other way to query the ENC, so I think it is "MUST SUPPORT". |
input pixel format can be covered by VAConfigAttribRTFormat, max encode resolution can be supported by VAConfigAttribMaxPictureWidth VAConfigAttribMaxPictureHeight. vaQuerySurfaceAttributes can be used for surface attribute. for example: surface maxium width can be larger than encode ability resolution. they are different things. |
Yes, when encoding, we need to use vaQuerySurfaceAttributes to get the surface constraints, and I don't think VAConfigAttribRTFormat can cover precise pixel format, e,g VA_RT_FORMAT_YUV420 means YUV420P or NV12? |
please help to review #29 , thanks |
vaQuerySurfaceAttributes support DEC and VPP, but doesn't support ENC
The text was updated successfully, but these errors were encountered: