[Ffmpeg-devel] Re: Re: DCT coeff

paolo mosna paolo.mosna
Wed Feb 7 15:12:36 CET 2007


On Wed, Feb 07, 2007 at 09:16:00AM +0100, paolo mosna wrote:
> > Hi all,
> >
> > I'm interested to know where/how DCT coefficients are stored in ffmpeg
> data
> > structure (I can imaging it is MpegEncContext).
> > How can I easily extract DCT coefficients from MPEG 2 video streams?
>
> set FF_DEBUG_DCT_COEFF, see AVFrame.dct_coeff


Done.
It works. Tanks.

How are data  stored inside dtc_coeff array?
I can guess that array has the dimension of 3 x <image-width> x
<image-height>
where 3 is the number of chromatic components.
Is this correct?

-- 
Ing. Paolo Mosna
Senior Software Analyst

Phone: +39 329 7776617
Skype: paolo.mosna
Email: paolo.mosna at tiscali.it
Address:
  Strada Granda 41,
  Torbole sul Garda,
  TRENTO (ITALY)




More information about the ffmpeg-devel mailing list