[FFmpeg-devel] [PATCH] vc1: signal interlaced and tff flag to the consumer

Hendrik Leppkes h.leppkes at gmail.com
Sun Aug 19 18:59:17 CEST 2012


On Sun, Aug 19, 2012 at 1:58 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Hendrik Leppkes <h.leppkes <at> gmail.com> writes:
>
> > > Please post the patch, did you test if it fixes decoding
> > > with VDPAU?
> > >
> > I do not have a VDPAU setup, but in general it should only
> > matter for software decoding, not hardware.
> >
> > I have some other patches that make VC-1 interlaced decode
> > properly with DXVA
>
> Were these patches part of "[WIP] vc1: implement interlaced
> b-frame decoding" or are there additional patches that you
> did not post yet?
> I tested VDPAU with the one patch that was not applied and
> decoding is slightly improved but still not in any way good.
>
>
The patches i posted are unrelated to HW decoding, because the HW decoder
does not actually need the parsing of the complete picture header or the
full decoding path.
I do have another patch set that fixes decoding of field-interlaced VC-1
when using DXVA2 HWAccel, however due to lack of access to any other of the
HW Accel implementations, i cannot test those, and thus refrained from
posting it yet (this only really affects VA-API).
VDPAU does not use avcodecs HWAccel interface and uses a seperate decoding
path in vc1dec.c, and my patch would not affect it at all. However, it may
be possible to port my changes from the hwaccel path to the vdpau path.

I can post the patches as a RFC if you're interested in trying.


More information about the ffmpeg-devel mailing list