vaapi_encode: Refactor initialisation
This allows better checking of capabilities and will make it easier to add more functionality later. It also commonises some duplicated code around rate control setup and adds more comments explaining the internals.
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment