/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
armVCM4P10_PredictIntraDC4x4.c | 51 int x, y, Sum=0, Count = 0; 57 Sum += pSrcLeft[y*leftStep]; 65 Sum += pSrcAbove[x]; 71 Sum = 128; 75 Sum = (Sum + 2) >> 2; 79 Sum = (Sum + 4) >> 3; 85 pDst[y*dstStep+x] = (OMX_U8)Sum;
|
omxVCM4P10_PredictIntra_16x16.c | 89 int x,y,Sum,Count; 132 Sum = 0; 138 Sum += pSrcLeft[y*leftStep]; 146 Sum += pSrcAbove[x]; 152 Sum = 128; 156 Sum = (Sum + 8) >> 4; 160 Sum = (Sum + 16) >> 5; 166 pDst[y*dstStep+x] = (OMX_U8)Sum; [all...] |
omxVCM4P10_PredictIntraChroma_8x8.c | 51 int x, y, Sum=0, Count = 0; 57 Sum += pSrcAbove[x]; 65 Sum += pSrcLeft[y*leftStep]; 71 Sum = 128; 75 Sum = (Sum + 2) >> 2; 81 pDst[y*dstStep+x] = (OMX_U8)Sum; 113 int x, y, Sum=0, Count = 0; 119 Sum += pSrcLeft[y*leftStep]; 127 Sum += pSrcAbove[x] [all...] |
/external/llvm/lib/CodeGen/ |
MachineBranchProbabilityInfo.cpp | 31 uint32_t Sum = 0; 37 uint32_t PrevSum = Sum; 39 Sum += Weight; 40 assert(Sum > PrevSum); (void) PrevSum; 43 return Sum; 59 uint32_t Sum = getSumForBlock(Src); 63 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4; 68 uint32_t Sum = 0; 76 uint32_t PrevSum = Sum; 78 Sum += Weight [all...] |
SpillPlacement.cpp | 91 /// sum can be less than 2 when the variable is not live into / out of some 103 // Actually, we must spill if Bias < sum(weights). 104 // It may be worth it to compute the weight sum here? 147 // Compute the weighted sum of inputs. 148 float Sum = Bias; 150 Sum += I->first * nodes[I->second].Value; 152 // The weighted sum is going to be in the range [-2;2]. Ideally, we should 153 // simply set Value = sign(Sum), but we will add a dead zone around 0 for 157 // 2. It helps tame rounding errors when the links nominally sum to 0. 160 if (Sum < -Thres [all...] |
/external/llvm/lib/Support/ |
IntervalMap.cpp | 132 unsigned Sum = 0; 134 Sum += NewSize[n] = PerNode + (n < Extra); 135 if (PosPair.first == Nodes && Sum > Position) 136 PosPair = IdxPair(n, Position - (Sum - NewSize[n])); 138 assert(Sum == Elements + Grow && "Bad distribution sum"); 148 Sum = 0; 151 Sum += NewSize[n]; 153 assert(Sum == Elements && "Bad distribution sum"); [all...] |
/external/llvm/lib/Analysis/ |
BranchProbabilityInfo.cpp | 273 uint32_t Sum = 0; 278 uint32_t PrevSum = Sum; 280 Sum += Weight; 281 assert(Sum > PrevSum); (void) PrevSum; 284 return Sum; 290 uint32_t Sum = getSumForBlock(Src); 294 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4; 298 uint32_t Sum = 0; 305 uint32_t PrevSum = Sum; 307 Sum += Weight [all...] |
ScalarEvolutionExpander.cpp | 289 const SCEV *Sum = NoAddRecs.empty() ? 293 // the sum into a single value, so just use that. 295 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) 297 else if (!Sum->isZero()) 298 Ops.push_back(Sum); 711 Value *Sum = 0; 716 if (!Sum) { 718 Sum = expand(Op); 720 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) { 721 // The running sum expression is a pointer. Try to form a getelementpt [all...] |
AliasAnalysisCounter.cpp | 43 void printLine(const char *Desc, unsigned Val, unsigned Sum) { 45 << Val*100/Sum << "%)\n";
|
AliasAnalysisEvaluator.cpp | 258 static void PrintPercent(unsigned Num, unsigned Sum) { 259 errs() << "(" << Num*100ULL/Sum << "." 260 << ((Num*1000ULL/Sum) % 10) << "%)\n";
|
/external/libvpx/vp8/encoder/ |
variance_c.c | 21 unsigned int i = 0, sum = 0; local 25 sum += (src_ptr[i] * src_ptr[i]); 30 return sum; 42 int *sum) 47 *sum = 0; 55 *sum += diff; 72 int *Sum 76 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 8, SSE, Sum); 77 return (*SSE - (((*Sum) * (*Sum)) >> 6)) [all...] |
/external/libvpx/vp8/encoder/ppc/ |
csystemdependent.c | 52 unsigned int (*vp8_get8x8var)(unsigned char *src_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 53 unsigned int (*vp8_get16x16var)(unsigned char *src_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 61 extern unsigned int vp8_get8x8var_c(unsigned char *src_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 92 extern unsigned int vp8_get8x8var_c(unsigned char *src_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 93 extern unsigned int vp8_get16x16var_c(unsigned char *src_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 124 extern unsigned int vp8_get8x8var_ppc(unsigned char *src_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum); 125 extern unsigned int vp8_get16x16var_ppc(unsigned char *src_ptr, int source_stride, unsigned char *ref_ptr, int recon_stride, unsigned int *SSE, int *Sum);
|
variance_altivec.asm | 51 ;# Compute sum first. Unpack to so signed subract 96 stw r3, 0(r8) ;# sum 100 mullw r3, r3, r3 ;# sum*sum 101 srawi r3, r3, \DS ;# (sum*sum) >> DS 102 subf r3, r3, r4 ;# sse - ((sum*sum) >> DS) 140 stw r3, 0(r8) ;# sum 144 mullw r3, r3, r3 ;# sum*su [all...] |
/external/opencv/cv/src/ |
cvcondens.cpp | 162 float Sum = 0; 179 Sum += ConDens->flConfidence[i]; 180 ConDens->flCumulative[i] = Sum; 185 icvScaleVector_32f( ConDens->Temp, ConDens->Temp, ConDens->DP, 1.f / Sum ); 188 Sum = Sum / ConDens->SamplesNum; 194 while( (ConDens->flCumulative[j] <= (float) i * Sum)&&(j<ConDens->SamplesNum-1))
|
/external/opencv/cxcore/src/ |
cxsumpixels.cpp | 45 * Find sum of pixels in the ROI * 169 sum[0] = (sumtype)tmp##0 172 sum[0] = (sumtype)tmp##0; \ 173 sum[1] = (sumtype)tmp##1; 176 sum[0] = (sumtype)tmp##0; \ 177 sum[1] = (sumtype)tmp##1; \ 178 sum[2] = (sumtype)tmp##2; 181 sum[0] = (sumtype)tmp##0; \ 182 sum[1] = (sumtype)tmp##1; \ 183 sum[2] = (sumtype)tmp##2; 393 CvScalar sum = {{0,0,0,0}}; local [all...] |
/external/chromium/base/ |
bind_unittest.cc | 158 int Sum(int a, int b, int c, int d, int e, int f) { 226 Callback<int(void)> c0 = Bind(&Sum, 32, 16, 8, 4, 2, 1); 229 Callback<int(int)> c1 = Bind(&Sum, 32, 16, 8, 4, 2); 232 Callback<int(int,int)> c2 = Bind(&Sum, 32, 16, 8, 4); 235 Callback<int(int,int,int)> c3 = Bind(&Sum, 32, 16, 8); 238 Callback<int(int,int,int,int)> c4 = Bind(&Sum, 32, 16); 241 Callback<int(int,int,int,int,int)> c5 = Bind(&Sum, 32); 244 Callback<int(int,int,int,int,int,int)> c6 = Bind(&Sum);
|
/external/llvm/examples/Fibonacci/ |
fibonacci.cpp | 82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, 86 ReturnInst::Create(Context, Sum, RecurseBB);
|
/external/libvpx/vp8/encoder/x86/ |
variance_ssse3.c | 23 int *Sum 32 int *sum, 42 int *sum, 52 int *sum, 64 int *sum,
|
variance_sse2.c | 29 int *sum, 40 int *Sum 54 int *Sum 70 int *Sum 81 int *sum, 91 int *sum, 101 int *sum, 111 int *sum, 121 int *sum, 131 int *sum, [all...] |
variance_mmx.c | 45 int *Sum 54 int *Sum 64 int *sum, 76 int *sum, 94 unsigned *SUM 110 *SUM = avg;
|
variance_impl_sse2.asm | 81 ; int * Sum 198 mov rax, arg(5) ;[Sum] 309 movd DWORD PTR [rsp], xmm7 ;Sum 312 ; return (SSE-((Sum*Sum)>>8)); 337 ; int * Sum 495 mov rax, arg(5) ;[Sum] 522 ; int *sum, 776 mov rsi, arg(7) ; sum 800 ; int *sum, [all...] |
ssim_opt.asm | 27 ; Sum across the register %1 starting with q words 39 ; Sum across the register %1 starting with q words
|
/external/llvm/examples/ParallelJIT/ |
ParallelJIT.cpp | 106 Value *Sum = 110 ReturnInst::Create(M->getContext(), Sum, RecurseBB);
|
/external/v8/test/cctest/ |
test-compiler.cc | 196 static double Sum(int n) { 210 TEST(Sum) { 213 CHECK_EQ(5050.0, Sum(100)); 251 "function Cons2(x, y) { this.sum = x + y; }\n" 252 "if (new Cons2(3,4).sum == 7) r+=256;"; // 256
|
/external/llvm/lib/Target/Blackfin/ |
BlackfinISelLowering.cpp | 424 // Results: sum, carry-out (AC0 flag) 435 // Add operands, produce sum and carry flag 436 SDNode *Sum = DAG.getMachineNode(Opcode, dl, MVT::i32, MVT::Glue, 439 // Store intermediate carry from Sum 441 /* flag= */ SDValue(Sum, 1)); 444 Sum = DAG.getMachineNode(Opcode, dl, MVT::i32, MVT::Glue, 445 SDValue(Sum, 0), SDValue(CarryIn, 0)); 452 SDValue ops[2] = { SDValue(Sum, 0), SDValue(CarryOut, 0) };
|