/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_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...] |
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...] |
/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/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/llvm/examples/Fibonacci/ |
fibonacci.cpp | 82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, 86 ReturnInst::Create(Context, Sum, RecurseBB);
|
/external/llvm/lib/Analysis/ |
AliasAnalysisCounter.cpp | 43 void printLine(const char *Desc, unsigned Val, unsigned Sum) { 45 << Val*100/Sum << "%)\n";
|
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...] |
/external/llvm/examples/ParallelJIT/ |
ParallelJIT.cpp | 106 Value *Sum = 110 ReturnInst::Create(M->getContext(), Sum, RecurseBB);
|
/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) };
|
/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/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/libvpx/vp8/encoder/ |
bitstream.c | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstructionCombining.cpp | 818 Value *Sum; 822 Sum = GO1; 824 Sum = SO1; 832 Sum = Builder->CreateAdd(SO1, GO1, PtrOp->getName()+".sum"); 838 GEP.setOperand(1, Sum); 842 Indices.push_back(Sum); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeIntegerTypes.cpp | 409 // Modified the sum result - switch anything that used the old sum to use [all...] |
ScheduleDAGRRList.cpp | [all...] |
DAGCombiner.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopStrengthReduce.cpp | 300 const SCEV *Sum = SE.getAddExpr(Good); 301 if (!Sum->isZero()) 302 BaseRegs.push_back(Sum); 306 const SCEV *Sum = SE.getAddExpr(Bad); 307 if (!Sum->isZero()) 308 BaseRegs.push_back(Sum); [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.cpp | [all...] |