Quoting Mark Thompson (2016-02-17 23:49:13)
> 
> How opposed are you to a bit of VAAPI-specific API here?  Having got a
> bit further, the one specific which would be useful to avoid annoying
> duplication is the enumeration of formats available in a given
> configuration (which can then be passed as sw_format when making a
> hw_frames_ctx).  It's currently done in the device setup to get
> transfer formats, then identically in the vaapi_scale filter, then
> again in encoder setup.
> 

I general, I'm not completely opposed to vendor-specific API if it's
useful and necessary (the hwctx itself already counts as such).
But enumerating valid values for sw_format does not strike me as
especially VAAPI-specific.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to