[FFmpeg-devel] CBP question

Germán Milano g.milano87 at gmail.com
Thu Nov 3 14:51:53 CET 2011

Thank you once more for the prompt reply! The reason why all these
questions is because i'm trying to print out the DCT coefficient Table for
every macroblock/sub-macroblock.

I've tried by printing out the block[j] elements in
decode_cabac_residual_internal (STORE_BLOCK), and by printing out h->mb in
decode_slice after decode_mb_cabac is called.
Is any of these options the right one in order to print out the dequant DCT
coefficients? Maybe I'm not hitting with the right place or the right line
of code.

Thank you once again, I appreciate your help.


On Wed, Nov 2, 2011 at 11:31 AM, Michael Niedermayer <michaelni at gmx.at>wrote:

> On Wed, Nov 02, 2011 at 11:12:05AM -0200, Germán Milano wrote:
> > Thanks for the quick reply!, is good to know there's a dedicated team
> > behind FFmpeg.
> >
> > I've got one more question, hope you don't mind:
> >
> >    - In the function decode_cabac_luma_residual, there's a parameter
> (int)
> >    called *p*, which is later used to pass *index = 16*p + i4x4* to the
> >    function decode_cabac_residual_nondc; it is also used to infer the
> qmul
> >    param. What do the params *p* and *index* refer to?
> p refers to the plane, that is luma, chroma Cb, Cr
> index is the index of the 4x4 or 8x8 block
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> No human being will ever know the Truth, for even if they happen to say it
> by chance, they would not even known they had done so. -- Xenophanes
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list