[Ffmpeg-devel] Re: Re: Re: Re: Odd AVFrame.linesize Values when Decoding

QuickTime ffmpeg
Fri Oct 7 06:12:40 CEST 2005


Dear:

> On Fri, Oct 07, 2005 at 08:36:00AM +0800, QuickTime wrote:
> > Dear:
> >
> > > Rich Felker wrote:
> > >
> > > > If you enable edge emulation (which also makes decoding faster) then
> > > > linesize will be equal to width as long as width is a multiple of 16,
> > > > but you should not rely on this to be the case.
> > >
> > > CODEC_FLAG_EMU_EDGE solved the problem. It's not something I would have
> > > found anywhere. Thanks for the tip.
> > >
> > > Paul
> > >
> > Well, Never rely on the CODEC_FLAG_EMU_EDGE Flag, It's will put an
> > overwhelming impact on the whole performance!!!
>
> Huh?? EMU_EDGE is significantly _faster_, not slower.
> However I agree you should never assume linesize==width.
>
> Rich
>

Oops!
My original meaning is we should never remove the flag
CODEC_FLAG_EMU_EDGE ,but my expression  just make a mistake!

Sorry





More information about the ffmpeg-devel mailing list