Re: [libav-devel] [PATCH 1/3] vaapi_encode: Refactor initialisation

2016-09-20 Thread Anton Khirnov
Quoting Mark Thompson (2016-09-18 20:34:35) > 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. > --- > libavcodec/vaapi_en

[libav-devel] [PATCH 1/3] vaapi_encode: Refactor initialisation

2016-09-18 Thread Mark Thompson
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. --- libavcodec/vaapi_encode.c | 253 ++-