Searched refs:TrailingOnes (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | residual.cpp | 151 int TrailingOnes; in enc_residual_block() local 215 TrailingOnes = 0; in enc_residual_block() 224 TrailingOnes++; in enc_residual_block() 232 if (TrailingOnes > 3) in enc_residual_block() 234 TrailingOnes = 3; /* clip it */ 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() 262 if (TrailingOnes) /* keep reading the sign of those trailing ones */ in enc_residual_block() 264 nC = TrailingOnes; in enc_residual_block() 274 status = BitstreamWriteBits(stream, TrailingOnes, trailing_ones_sign_flag); in enc_residual_block() [all …]
|
D | vlc_encode.cpp | 125 AVCEnc_Status ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff, … in ce_TotalCoeffTrailingOnes() argument 154 if (TrailingOnes > 3) 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 AVCEnc_Status ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int Tota… in ce_TotalCoeffTrailingOnesChromaDC() argument 207 len = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][0]; in ce_TotalCoeffTrailingOnesChromaDC() 208 code = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][1]; in ce_TotalCoeffTrailingOnesChromaDC()
|
D | avcenc_lib.h | 976 …AVCEnc_Status ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff,… 985 …AVCEnc_Status ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int Tot…
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_DecodeCoeffsToPair.c | 86 int CoeffToken, TotalCoeff, TrailingOnes; in armVCM4P10_DecodeCoeffsToPair() local 97 TrailingOnes = armVCM4P10_CAVLCTrailingOnes[CoeffToken]; in armVCM4P10_DecodeCoeffsToPair() 101 DEBUG_PRINTF_2("TotalCoeff = %d, TrailingOnes = %d\n", TotalCoeff, TrailingOnes); 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()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
D | armVCM4P10_DecodeCoeffsToPair_s.s | 59 TrailingOnes RN 1 label 152 ANDS TrailingOnes, Symbol, #3 154 M_PRINTF "TrailingOnes=%d\n", TrailingOnes 156 MOV Count, TrailingOnes 168 SUBS Count, TotalCoeff, TrailingOnes ;// Number of levels to read 174 CMP TrailingOnes, #3 ;// if (TrailingOnes<3) 175 MOVLT TrailingOnes, #4 ;// then TrailingOnes = +4 176 MOVGE TrailingOnes, #2 ;// else TrailingOnes = +2 203 ADD Symbol, Symbol, TrailingOnes ;// +4 if level cannot be +/-1, +2 o/w 204 MOV TrailingOnes, #2
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
D | armVCM4P10_DecodeCoeffsToPair_s.s | 59 TrailingOnes RN 1 label 152 ANDS TrailingOnes, Symbol, #3 154 M_PRINTF "TrailingOnes=%d\n", TrailingOnes 156 MOV Count, TrailingOnes 168 SUBS Count, TotalCoeff, TrailingOnes ;// Number of levels to read 174 CMP TrailingOnes, #3 ;// if (TrailingOnes<3) 175 MOVLT TrailingOnes, #4 ;// then TrailingOnes = +4 176 MOVGE TrailingOnes, #2 ;// else TrailingOnes = +2 203 ADD Symbol, Symbol, TrailingOnes ;// +4 if level cannot be +/-1, +2 o/w 204 MOV TrailingOnes, #2
|