Hi,

On 2012-11-21 09:58:17 +0800, Yuan Yeow Leow wrote:
> I'm looking to add MPEG4 Part2 DXVA acceleration to the libav library. I
> understand that the current libav only supports MPEG2, H264 and VC-1 for
> DXVA acceleration.

libav-devel would be better suited for this although I'm not sure
whether you would get much more answers.

> Can anyone point me in the direction about how to go
> about doing it? For example, relevant documents or any similarities
between
> the implementation of MPEG4 part2 acceleration and the existing
> implementations for MPEG2, H264 and VC-1.
> Any help is deeply appreciated.

You probably need only to add some mapping from libavcodec to DXVA mpeg4
part2 specific headers. Those headers should be documented in the DXVA
documentation. It will probably look like a combination of one of the
dxva2_* files and vaapi_mpeg4.c.

Checcking in the archives or with Laurent if there was a reason not to
add mpeg4 might give useful insights.

Janner

Moved this question to devel. Is there any reason why MPEG4 Part 2 DXVA was
not already implemented? Like diffculties or perhaps it isn't supported
yet. There is a draft document called DirectX Video Acceleration
Specification of Off-Host VLD Mode for MPEG-4 Part 2 Video Decoding, which
specifies new GUID and new buffers (particularly PicParam) for sending the
pictures; however, I'm not sure if DXVA actually recognize these new buffer
structures.

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

Reply via email to