[Mesa-dev] [PATCH] st/va: enable vbr rate control for vaapi encode

Andy Furniss adf.lists at gmail.com
Mon Sep 26 09:56:02 UTC 2016


Andy Furniss wrote:
> Andy Furniss wrote:
>> Andy Furniss wrote:
>>
>>> https://patchwork.freedesktop.org/patch/112040/
>>
>> Hmm that got mungled I'll try again later going to be AFK for a while.
>
> This one worked.
>
> https://patchwork.freedesktop.org/patch/112069/

Or maybe a version that uses float - I don't know what is best.

https://patchwork.freedesktop.org/patch/112161/

Something else I noticed all the logic that chooses vbv buffer size just
below the patched line is just overwritten by 20000000 in getEncParamPreset
is this deliberate?
Testing I see that too big (between 85M and 90M) is bad so setting from
bitrate can be bad, though it could be capped I guess.

Are the units in bits, like the spec/libx264?



More information about the mesa-dev mailing list