[FFmpeg-devel] AVFrame.dct_coeff

Michael Niedermayer michaelni at gmx.at
Thu Sep 13 02:49:32 CEST 2012


On Wed, Sep 12, 2012 at 01:36:27PM +0100, Saddam Bekhet wrote:
> Hi,
> 
> Iam using ffmpeg to decode MPEG stream and I correctly get the
> dct_coeff of each I frame
> 
>  
> 
> BUT I do not know how to handle them ?
> 
> dct_coeff is a pointer to short , what is the size of this array  ?

look in libavcodec/mpegvideo.c, search for dct_coeff. This should
explain the size and layout

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120913/27e8854e/attachment.asc>


More information about the ffmpeg-devel mailing list