[FFmpeg-devel] [PATCH]Add refdist_flag to VC1Context

Reimar Döffinger Reimar.Doeffinger
Wed Jan 7 18:46:04 CET 2009


On Wed, Jan 07, 2009 at 04:00:26PM +0000, Carl Eugen Hoyos wrote:
> Reimar D?ffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes:
> > On Tue, Jan 06, 2009 at 02:02:12PM +0100, Carl Eugen Hoyos wrote:
> > > To add VDPAU support for VC1, refdist has to be exported to VC1Context.
> > 
> > What is the meaning of that flag?
> 
> /usr/include/vdpau/vdpau.h says:
> Copy of the VC-1 bitstream field. See VC-1 6.2.4.
> 
> It turned out that it makes no difference for the samples I tried.
> I still think it is good to export the flag if possible.

I doubt the flag is relevant, but going by some early draft it should
be the same as
pict_type == FF_I_TYPE || pict_type == FF_B_TYPE
in which case there would be no point in exporting it.
To test, you should at least use one of the interlaced VC-1 samples,
otherwise I think that code won't even be reached...

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list