Hi Hiro,
There is an existing API called vaQueryProcessingRate(), which returns the number of
macroblocks per second for a given configuration (which can then be used to map to
levels). You can take a look to see if it works for you.
Jonathan
-----Original Message-----
From: intel-vaapi-media <intel-vaapi-media-bounces(a)lists.01.org> On Behalf Of
Hirokazu Honda
Sent: Sunday, December 16, 2018 5:28 PM
To: intel-vaapi-media(a)lists.01.org
Subject: [intel-vaapi-media] The way of Querying level for video encoding
Hi,
I am wondering how to query which level a libva based driver supports on video encoding.
For example, when I want to know a driver supports H264 level 4.2, how do I know whether
or not the driver does.
Ideally, there should be the vaQuery... API for it. However, as far as look VA-API
document and gstreamer-vaapi, seems like there is no API like that.
Is there any API for it? If no, I think we should add an API for the purpose.
Thanks,
-Hiro
_______________________________________________
intel-vaapi-media mailing list
intel-vaapi-media(a)lists.01.org
https://lists.01.org/mailman/listinfo/intel-vaapi-media