Skip to content

frontends/va: Create encoder at context creation

David Rosca requested to merge nowrep/mesa:va-createencoder into main

What does this MR do and why?

Create encoder at context creation instead of when handling first sequence parameters. This also moves setting default encoding parameters to context creation and removes rate control fields only used in VCE driver.

Fixes possible issue of overwriting some encoding parameters with default values (depending on buffer order in renderPicture) and removes workarounds that were added to deal with it.

Merge request reports

Loading