[FFmpeg-devel] Adding AMD OpenVideo Decode acceleration
Sun Jan 9 12:21:04 CET 2011
On 9 January 2011 23:47, Vitor Sessak <vitor1001 at gmail.com> wrote:
> On 01/09/2011 10:48 AM, Leith Bade wrote:
>> Thanks for that.
> You're welcome, but just a detail: please try to follow the ML conventions
> and avoid top-posting.
Sorry about that, but Gmail seems to default to top post...
> I copied the DXVA code and modified it to use OpenVideo Decode.
>> I now want to test it but I cannot figure out how you are supposed to use
>> get/reget/release_buffer with hwaccel contexts from the application side.
>> Is there some existing open source application that uses FFmpeg's DXVA
>> hwaccel so I can see how to do this?
> There is MPlayer VDPAU support at
> and VLC DXVA support at
VLC seems to explain it very well.
One thing I was wondering is why mpegvideo.c:233 alloc_frame_buffer()
expects get_buffer to put a value in pic->data, yet
dxva2.c:27 ff_dxva2_get_surface() expects a value in picture->data.
If you look in VLC's dxva2.c:508 Get() you see they are forced to set both
data and data to the same surface pointer to keep both ffmpeg
Would it not be better, more consistent, and less confusing for application
developers to change dxva.c to use data?
That way you only need to set data.
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel