Decode Chroma CAVLC bitstream

*SSE2*

FwStatus |
fwiDecodeCAVLCChromaDcCoeffs_H264_1u16s |
( |
Fw32u ** ppBitStream, Fw32s * pBitOffset, Fw16s * pNumCoeff, Fw16s ** ppDstCoeffs, const Fw32s * pTblCoeffToken, const Fw32s ** ppTblTotalZerosCR, const Fw32s ** ppTblRunBefore ); |

pBitOffset |
Pointer to a bit position within the byte that ppBitStream points to. Valid within the range 0 to 7. The pointer is updated after motion vector decoding. | |

pNumCoeff |
Pointer to the output number of non-zero coefficients. | |

pTblCoeffToken |
Pointer to a table of coefficient tokens. | |

ppBitStream |
Double pointer to the current position in the bit stream. | |

ppDstCoeffs |
Double pointer to a 4x4 block of coefficients calculated by the function. The function shifts pointer *ppDstCoeffs on 16. | |

ppTblRunBefore |
Double pointer to a RunBefore table. | |

ppTblTotalZerosCR |
Double pointer to a chroma DC TotalZeros table. |

This function parses and decodes a source stream of MPEG-4/AVC Chroma DC video syntax elements in CAVLC format. Result coefficients are written to a series of 2X2 destination blocks.

ParameterParameter *pTblCoeffToken* points to a table that contains codes, the number of trailing one transform coefficients and the total number
of non-zero transform coefficients, in accordance with JVTG050 Table 9-5.

Each element of pointer array *ppTblRunBefore* except for *ppTblRunBefore[0]* points to
a table that contains codes and values (JVTG050 **run_before**) in accordance with JVTG050 Table 9-10. Element *ppTblRunBefore[0]* is not used.

*ppTblRunBefore[i]* contains codes and values that correspond to JVTG050 **zerosLeft** =i, 0 < i < 7.

*ppTblRunBefore[7]* contains codes and values that correspond to JVTG050 **zerosLeft** > 6.

Each element of pointer array *ppTblTotalZeros* except for *ppTblTotalZeros[0]* points to a table that contains codes and values (JVTG050 **total_zeros**) in
accordance with JVTG050 Table 9-9. Element *ppTblTotalZeros[0]* is not used.

Each element *ppTblTotalZeros[i]* contains codes and values that correspond to JVTG050 **TotalCoeff** = i, 0 < i < 4.