Home
last modified time | relevance | path

Searched refs:vlcnum (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dresidual.cpp158 … int escape, numPrefix, sufmask, suffix, shift, sign, value, absvalue, vlcnum, level_two_or_higher; in enc_residual_block() local
285 vlcnum = 1; in enc_residual_block()
289 vlcnum = 0; in enc_residual_block()
315 if (vlcnum == 0) // VLC1 in enc_residual_block()
332 shift = vlcnum - 1; in enc_residual_block()
339 …status = BitstreamWriteBits(stream, numPrefix + vlcnum + 1, (1 << (shift + 1)) | (suffix << 1) | s… in enc_residual_block()
348 if (absvalue > incVlc[vlcnum]) in enc_residual_block()
349 vlcnum++; in enc_residual_block()
352 vlcnum = 2; in enc_residual_block()
Dvlc_encode.cpp152 int vlcnum; in ce_TotalCoeffTrailingOnes() local
175 vlcnum = 0; in ce_TotalCoeffTrailingOnes()
179 vlcnum = 1; in ce_TotalCoeffTrailingOnes()
183 vlcnum = 2; in ce_TotalCoeffTrailingOnes()
186 len = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][0]; in ce_TotalCoeffTrailingOnes()
187 code = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][1]; in ce_TotalCoeffTrailingOnes()