[FFmpeg-devel] [PATCH] Add buffer allocators to VA API support code (take 2)

Gwenole Beauchesne gbeauchesne
Tue Mar 31 10:34:21 CEST 2009


Le 31 mars 09 ? 04:00, Michael Niedermayer a ?crit :

> On Mon, Mar 30, 2009 at 11:41:40PM +0200, Gwenole Beauchesne wrote:
>> Le 30 mars 09 ? 23:26, Reimar D?ffinger a ?crit :
>>
>>> On Mon, Mar 30, 2009 at 11:09:40PM +0200, Gwenole Beauchesne wrote:
>>>> This adds some VA API buffers allocation logic so that to get rid  
>>>> of
>>>> plain structs in vaapi.h (installable in the future) header. This  
>>>> also
>>>> saves a few KBs in struct vaapi_context along the way.
>>>
>>> Forgot to make alloc_buffer static?
>>
>> Yes, the initial patch did not have the alloc_buffer() function but  
>> rather
>> had it inlined in all allocators. Then cut&paste'd code but forgot to
>> static'fy. ;-)
>>
>> New patch attached (the same, manually edited).
>
> nice&ok if it works ...

applied, checked and valgrind'ed against additional codecs too, same  
results.



More information about the ffmpeg-devel mailing list