[FFmpeg-devel] [PATCH] Added ability to enable workaround for dxva2 decoding using older ATI cards

elupus elupus at ecce.se
Tue Jul 5 00:34:47 CEST 2011


On Mon, 4 Jul 2011 00:51:51 +0200, Laurent Aimar wrote:

> I am not sure that with recent enough driver this is needed.
> But if it is, I am pretty sure (but I haven't checked) that in this case,
> you also need to change:
>  pp->Reserved16Bits                = 3; /* FIXME is there a way to detect the right mode ? */
> (from fill_picture_parameters)
> into
>  pp->Reserved16Bits = 0;
> when you enable the workaround (and only when you enable it).

Here is an updated patch with also setting reserved16bits to 0 and using
the workaround flags in dxva context. 

HOWEVER, it has been confirmed to fix UVD/UVD+ cards without the
reserved16bit change. I will try to get confirmation with the setting of
reserved16bits to 0 still work as well. It seem like a valid change.

/Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-ability-to-enable-workaround-for-dxva2-decodin.patch
Type: text/x-patch
Size: 3257 bytes
Desc: Attached file: 0001-Added-ability-to-enable-workaround-for-dxva2-decodin.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110705/47d50359/attachment.bin>


More information about the ffmpeg-devel mailing list