[Mp4-tech][H.264]CAVLC table

Satendra spsatendra gmail.com
Tue Feb 22 18:58:37 ESTEDT 2005


Hi,
I am also not able to understand the same thing.. i mean the way tables
are derived and formed... Can anyone point to some way to decode these
tables in an efficient way..... i will appreciate if someone can
provide a rough outline or code. Reference code is not using decoding
CAVLC the way it is mentioned in standard doc....although results are
same.
As for Xu Ke 's  querry...its because of the probability of occurence.
The most probable event will be allocated least bits, for high
compression efficiency. considering your example...
For example,when 0<=nC<2:
1)TrailingOnes(coeff_token)=0,TotalCoeff(coeff_token)=0,then coeff_token = "1"
   Its highly probable to have TotalCoeff = '0' so only one bit
coeff_token = '1'
2)TrailingOnes(coeff_token)=0,TotalCoeff(coeff_token)=1,then
coeff_token = "000101"
  When TotalCoeff = '1'... then the most happening is that
coefficient is '1' itself.....that means TrainlingOnes = 0 is  a
distant probability....less probable more bits.
3)TrailingOnes(coeff_token)=1,TotalCoeff(coeff_token)=1,then coeff_token = "01"
  See point 2) above
4)........
   and so on.
I think my understaning is OK.. correct if its not right.
I think this will help........
regards
Satendra
On Sat, 19 Feb 2024 19:56:06 -0800, Xu Ke <kexu ee.cuhk.edu.hk> wrote:
> Dear Experts,
> Currently I am working on CAVLC decoding.Regarding to Table9-5:coeff_token mapping to TotalCoeff(coeff_token) and TrailingOnes(coeff_token),I can't find any relations between the adjacent coeff_token.Can anybody explain to me how these coeff_token derived when the standard is being formed?
> 
> For example,when 0<=nC<2:
> 1)TrailingOnes(coeff_token)=0,TotalCoeff(coeff_token)=0,then coeff_token = "1"
> 2)TrailingOnes(coeff_token)=0,TotalCoeff(coeff_token)=1,then coeff_token = "000101"
> 3)TrailingOnes(coeff_token)=1,TotalCoeff(coeff_token)=1,then coeff_token = "01"
> 4).............
> I can't see any correlations in the above "1","000101","01".Why the coeff_token does not equal to a regular bits order such as "00""01""10" which is easier for decoding?
> 
> Many thanks in advance!
> 
> Best regards,
> Xu Ke
> 
> _______________________________________________
> NOTE: Please use clear subject lines for your posts. Include [audio, [video], [systems], [general] or another apppropriate identifier to indicate the type of question you have.
> 
> Note: Conduct on the mailing list is subject to the Antitrust guidelines found at http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php
>


More information about the Mp4-tech mailing list