Searched refs:TotalCoeff (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp125 AVCEnc_Status ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff, int nC) argument
161 if (TotalCoeff)
163 code = ((TotalCoeff - 1) << 2) | (TrailingOnes);
186 len = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][0];
187 code = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][1];
194 AVCEnc_Status ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff) argument
207 len = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][0];
208 code = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][1];
215 AVCEnc_Status ce_TotalZeros(AVCEncBitstream *stream, int total_zeros, int TotalCoeff) argument
257 len = lenTotalZeros[TotalCoeff
266 ce_TotalZerosChromaDC(AVCEncBitstream *stream, int total_zeros, int TotalCoeff) argument
[all...]
H A Dresidual.cpp156 int TotalCoeff; local
167 TotalCoeff = currMB->nz_coeff[bindx];
173 TotalCoeff = cindx; /* special case */
181 TotalCoeff = currMB->nz_coeff[bindx];
190 TotalCoeff = cindx - 8; /* special case */
196 TotalCoeff = cindx; /* special case */
207 TotalCoeff = currMB->nz_coeff[bindx];
217 i = TotalCoeff - 1;
248 status = ce_TotalCoeffTrailingOnes(stream, TrailingOnes, TotalCoeff, nC);
253 status = ce_TotalCoeffTrailingOnesChromaDC(stream, TrailingOnes, TotalCoeff);
[all...]
H A Davcenc_lib.h972 \param "TotalCoeff" "The total coefficient variable output."
976 AVCEnc_Status ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff, int nC);
982 \param "TotalCoeff" "The total coefficient variable output."
985 AVCEnc_Status ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff);
991 \param "TotalCoeff" "The total coefficient variable output."
994 AVCEnc_Status ce_TotalZeros(AVCEncBitstream *stream, int total_zeros, int TotalCoeff);
1000 \param "TotalCoeff" "The total coefficient variable output."
1003 AVCEnc_Status ce_TotalZerosChromaDC(AVCEncBitstream *stream, int total_zeros, int TotalCoeff);
/frameworks/base/media/libstagefright/codecs/avc/dec/src/
H A Dvlc.cpp272 AVCDec_Status ce_TotalCoeffTrailingOnes(AVCDecBitstream *stream, int *TrailingOnes, int *TotalCoeff, int nC) argument
361 *TotalCoeff = pcode[1];
402 *TotalCoeff = pcode[1];
439 *TotalCoeff = pcode[1];
450 *TotalCoeff = (code >> 2) + 1;
452 if (*TotalCoeff > 16)
454 *TotalCoeff = 16; // _ERROR
460 (*TotalCoeff)--;
480 *TotalCoeff = ptr->total_coeff;
490 *TotalCoeff
508 ce_TotalCoeffTrailingOnesChromaDC(AVCDecBitstream *stream, int *TrailingOnes, int *TotalCoeff) argument
561 ce_TotalZeros(AVCDecBitstream *stream, int *code, int TotalCoeff) argument
745 ce_TotalZerosChromaDC(AVCDecBitstream *stream, int *code, int TotalCoeff) argument
[all...]
H A Dresidual.cpp356 int TrailingOnes, TotalCoeff; local
366 ce_TotalCoeffTrailingOnes(stream, &TrailingOnes, &TotalCoeff, nC);
370 ce_TotalCoeffTrailingOnesChromaDC(stream, &TrailingOnes, &TotalCoeff);
373 *numcoeff = TotalCoeff;
376 if (TotalCoeff == 0)
394 if (TotalCoeff > TrailingOnes)
397 if (TotalCoeff < 11 || TrailingOnes == 3)
452 for (j = TotalCoeff - i; j > 0 ; j--)
479 if (TotalCoeff < maxNumCoeff)
483 ce_TotalZeros(stream, &zerosLeft, TotalCoeff);
[all...]
H A Davcdec_lib.h363 \param "TotalCoeff" "Pointer to the total coefficient variable output."
367 AVCDec_Status ce_TotalCoeffTrailingOnes(AVCDecBitstream *stream, int *TrailingOnes, int *TotalCoeff, int nC);
374 \param "TotalCoeff" "Pointer to the total coefficient variable output."
377 AVCDec_Status ce_TotalCoeffTrailingOnesChromaDC(AVCDecBitstream *stream, int *TrailingOnes, int *TotalCoeff);
405 \param "TotalCoeff" "Context parameter."
408 AVCDec_Status ce_TotalZeros(AVCDecBitstream *stream, int *code, int TotalCoeff);
414 \param "TotalCoeff" "Context parameter."
417 AVCDec_Status ce_TotalZerosChromaDC(AVCDecBitstream *stream, int *code, int TotalCoeff);

Completed in 9 milliseconds