[FFmpeg-devel] CBP question

Michael Niedermayer michaelni at gmx.at
Wed Nov 2 14:31:46 CET 2011


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
-------------- 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/20111102/323bde77/attachment.asc>


More information about the ffmpeg-devel mailing list