[FFmpeg-devel] About xvmc_acceleration

Gwenole Beauchesne gbeauchesne
Fri Feb 13 11:53:55 CET 2009


On Fri, 13 Feb 2009, Gwenole Beauchesne wrote:

> On Fri, 13 Feb 2009, Reimar D?ffinger wrote:
>
>> On Fri, Feb 13, 2009 at 09:59:04AM +0100, Gwenole Beauchesne wrote:
>>> Is some xvmc_acceleration different than 2 used nowadays? I wonder because
>>> I'd like to replace xvmc_acceleration by an hwaccel_id = {HWACCEL_ID_NONE,
>>> HWACCEL_ID_XVMC, HWACCEL_ID_VAAPI, ...}.
>> 
>> What exactly would be the purpose of this?
>> I do not like having a global, user modifiable variable that exactly
>> duplicates the information in pix_fmt.
>
> On the other hand, the variable is already here, why not make it more useful 
> in some other way?

Ah, I forgot to actually mention/explain further: some accelerator might 
support more cases than others so identifying the accelerator could be a 
benefit too. e.g. I am thinking about the partitioned case, though neither 
VA API nor VDPAU implementations support DPA..DPC NAL units at this time 
anyway. But some other accelerator might support that (though I doubt in 
practise), e.g. a CUDA implementation?



More information about the ffmpeg-devel mailing list