Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DarmVCM4P10_DecodeCoeffsToPair.c86 int CoeffToken, TotalCoeff, TrailingOnes; in armVCM4P10_DecodeCoeffsToPair() local
98 TotalCoeff = armVCM4P10_CAVLCTotalCoeff[CoeffToken]; in armVCM4P10_DecodeCoeffsToPair()
99 *pNumCoeff = (OMX_U8)TotalCoeff; in armVCM4P10_DecodeCoeffsToPair()
101 DEBUG_PRINTF_2("TotalCoeff = %d, TrailingOnes = %d\n", TotalCoeff, TrailingOnes); in armVCM4P10_DecodeCoeffsToPair()
103 if (TotalCoeff == 0) in armVCM4P10_DecodeCoeffsToPair()
110 for (i=TotalCoeff-1; i>=TotalCoeff-TrailingOnes; i--) in armVCM4P10_DecodeCoeffsToPair()
127 if (TotalCoeff>10 && TrailingOnes<3) in armVCM4P10_DecodeCoeffsToPair()
162 if (i==TotalCoeff-1-TrailingOnes && TrailingOnes<3) in armVCM4P10_DecodeCoeffsToPair()
193 if (TotalCoeff < sMaxNumCoeff) in armVCM4P10_DecodeCoeffsToPair()
198 …erosLeft = armUnPackVLC32(ppBitStream, pOffset, armVCM4P10_CAVLCTotalZeros2x2Tables[TotalCoeff-1]); in armVCM4P10_DecodeCoeffsToPair()
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dvlc_encode.cpp125 AVCEnc_Status ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff, … in ce_TotalCoeffTrailingOnes() argument
161 if (TotalCoeff) in ce_TotalCoeffTrailingOnes()
163 code = ((TotalCoeff - 1) << 2) | (TrailingOnes); in ce_TotalCoeffTrailingOnes()
186 len = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][0]; in ce_TotalCoeffTrailingOnes()
187 code = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][1]; in ce_TotalCoeffTrailingOnes()
194 …Status ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff) in ce_TotalCoeffTrailingOnesChromaDC() argument
207 len = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][0]; in ce_TotalCoeffTrailingOnesChromaDC()
208 code = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][1]; in ce_TotalCoeffTrailingOnesChromaDC()
215 AVCEnc_Status ce_TotalZeros(AVCEncBitstream *stream, int total_zeros, int TotalCoeff) in ce_TotalZeros() argument
257 len = lenTotalZeros[TotalCoeff-1][total_zeros]; in ce_TotalZeros()
[all …]
Dresidual.cpp156 int TotalCoeff; in enc_residual_block() local
167 TotalCoeff = currMB->nz_coeff[bindx]; in enc_residual_block()
173 TotalCoeff = cindx; /* special case */ in enc_residual_block()
181 TotalCoeff = currMB->nz_coeff[bindx]; in enc_residual_block()
190 TotalCoeff = cindx - 8; /* special case */ in enc_residual_block()
196 TotalCoeff = cindx; /* special case */ in enc_residual_block()
207 TotalCoeff = currMB->nz_coeff[bindx]; in enc_residual_block()
217 i = TotalCoeff - 1; in enc_residual_block()
248 status = ce_TotalCoeffTrailingOnes(stream, TrailingOnes, TotalCoeff, nC); in enc_residual_block()
253 status = ce_TotalCoeffTrailingOnesChromaDC(stream, TrailingOnes, TotalCoeff); in enc_residual_block()
[all …]
Davcenc_lib.h976 …tatus ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff, int nC);
985 …tatus ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff);
994 AVCEnc_Status ce_TotalZeros(AVCEncBitstream *stream, int total_zeros, int TotalCoeff);
1003 AVCEnc_Status ce_TotalZerosChromaDC(AVCEncBitstream *stream, int total_zeros, int TotalCoeff);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DarmVCM4P10_DecodeCoeffsToPair_s.s63 TotalCoeff RN 5 label
80 TotalCoeff RN 5 label
97 TotalCoeff RN 5 label
138 MOVS TotalCoeff, Symbol, LSR #2
139 STRB TotalCoeff, [pNumCoeff]
140 M_PRINTF "TotalCoeff=%d\n", TotalCoeff
168 SUBS Count, TotalCoeff, TrailingOnes ;// Number of levels to read
172 CMP TotalCoeff, #10
222 SUB Count, TotalCoeff, #1 ;// Number of runs excluding last
223 SUBS ZerosLeft, T1, TotalCoeff ;// Maximum number of zeros there could be
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DarmVCM4P10_DecodeCoeffsToPair_s.s63 TotalCoeff RN 5 label
80 TotalCoeff RN 5 label
97 TotalCoeff RN 5 label
138 MOVS TotalCoeff, Symbol, LSR #2
139 STRB TotalCoeff, [pNumCoeff]
140 M_PRINTF "TotalCoeff=%d\n", TotalCoeff
168 SUBS Count, TotalCoeff, TrailingOnes ;// Number of levels to read
172 CMP TotalCoeff, #10
222 SUB Count, TotalCoeff, #1 ;// Number of runs excluding last
223 SUBS ZerosLeft, T1, TotalCoeff ;// Maximum number of zeros there could be
[all …]