/external/skia/include/core/ |
SkUnPreMultiply.h | 20 typedef uint32_t Scale; 23 static const Scale* GetScaleTable() { 27 static Scale GetScale(U8CPU alpha) { 34 const Scale* table = SkUnPreMultiply::GetScaleTable(); 38 SkUnPreMultiply::Scale scale = table[a]; 40 red = SkUnPreMultiply::ApplyScale(scale, red); 45 static U8CPU ApplyScale(Scale scale, U8CPU component) { 47 return (scale * component + (1 << 23)) >> 24 [all...] |
/external/skia/legacy/include/core/ |
SkUnPreMultiply.h | 20 typedef uint32_t Scale; 23 static const Scale* GetScaleTable() { 27 static Scale GetScale(U8CPU alpha) { 34 const Scale* table = SkUnPreMultiply::GetScaleTable(); 38 SkUnPreMultiply::Scale scale = table[a]; 40 red = SkUnPreMultiply::ApplyScale(scale, red); 45 static U8CPU ApplyScale(Scale scale, U8CPU component) { 47 return (scale * component + (1 << 23)) >> 24 [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
Filters.h | 44 LVM_UINT16 Scale; 57 LVM_UINT16 Scale;
|
/external/ceres-solver/internal/ceres/ |
suitesparse.h | 84 // vector scale. mode describes how scaling is applied. Possible 85 // values are CHOLMOD_ROW for row scaling - diag(scale) * A, 86 // CHOLMOD_COL for column scaling - A * diag(scale) and CHOLMOD_SYM 88 // - diag(scale) * A * diag(scale). 89 void Scale(cholmod_dense* scale, int mode, cholmod_sparse* A) { 90 cholmod_scale(scale, mode, A, &cc_);
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 211 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 213 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 215 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/external/llvm/lib/CodeGen/ |
MachineBranchProbabilityInfo.cpp | 32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const { 38 Scale = 1; 49 // Otherwise, compute the scale necessary to cause the weights to fit, and 50 // re-sum with that scale applied. 52 Scale = (Sum / UINT32_MAX) + 1; 57 Sum += Weight / Scale; 109 uint32_t Scale = 1; 110 uint32_t D = getSumForBlock(Src, Scale); 111 uint32_t N = getEdgeWeight(Src, Dst) / Scale;
|
SpillPlacement.cpp | 70 /// Scale - Inverse block frequency feeding into[0] or out of[1] the bundle. 74 float Scale[2]; 110 Scale[0] = Scale[1] = 0; 124 w *= Scale[out]; 140 w *= Scale[out]; 185 nodes[bundles->getBundle(Num, 1)].Scale[0] += Freq; 186 nodes[bundles->getBundle(Num, 0)].Scale[1] += Freq; 192 if (nodes[i].Scale[d] > 0) 193 nodes[i].Scale[d] = 1 / nodes[i].Scale[d] [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_TransformDequantChromaDCFromPair.c | 35 int Scale = armVCM4P10_VMatrix[QP%6][0]; 42 Value = (pDst[i] * Scale) << Shift; 50 Value = (pDst[i] * Scale) >> 1;
|
omxVCM4P10_TransformDequantLumaDCFromPair.c | 35 int Scale = armVCM4P10_VMatrix[QP%6][0]; 42 Value = (pDst[i] * Scale) << Shift; 53 Value = (pDst[i] * Scale + Round) >> Shift;
|
/external/llvm/lib/Target/X86/ |
X86InstrBuilder.h | 20 // (Operand), Base, Scale, Index, Displacement. 48 unsigned Scale; 55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(0), GVOpFlags(0) { 61 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); 71 MO.push_back(MachineOperand::CreateImm(Scale)); 87 /// with no scale, index or displacement. An example is: DWORD PTR [EAX]. 103 /// [Reg + Offset], i.e., one with no scale or index, but with [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
omxVCM4P10_TransformDequantChromaDCFromPair_s.s | 55 Scale RN 2 104 LDRSB Scale, [pQPModTable, QP] ;// Scale = pQPModTable[QP] 109 LSL Scale, Scale, Shift ;// Scale = Scale << Shift 111 SMULTB Temp2, c0w0, Scale ;// Temp2 = T(c0w0) * Scale 112 SMULTB Temp4, c1w0, Scale ;// Temp4 = T(c1w0) * Scal [all...] |
omxVCM4P10_TransformDequantLumaDCFromPair_s.s | 120 Scale RN 14 331 LDRSB Scale, [pQPModTable, QP] ;// Scale = pQPModTable[QP] 338 ;// Scale << Shift once in the beginning and do a right shift by a 347 LSL Scale, Scale, Shift ;// Scale = Scale << Shift 351 SMLABB temp1, colOp00, Scale, Round ;// Temp1 = B(c0w0) * Scale + Roun [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
omxVCM4P10_TransformDequantChromaDCFromPair_s.s | 58 Scale RN 2 114 LDRSB Scale, [pQPModTable, QP] ;// Scale = pQPModTable[QP] 123 LSL Scale, Scale, Shift ;// Scale = Scale << Shift 126 VDUP dScale,Scale
|
omxVCM4P10_TransformDequantLumaDCFromPair_s.s | 60 Scale RN 5 135 ;// Scale factor calculation is done using ARM instructions 143 LDRSB Scale, [pQPModTable, QP] ;// ARM CODE: Scale = pQPModTable[QP] 147 LSL Scale, Scale, Shift ;// ARM CODE: Scale = Scale << Shift 176 ;// Scale << Shift once in the beginning and do a right shift by a 185 VDUP dScale, Scale ;// ARM -> NEON copy 'scale' to vecto [all...] |
/external/llvm/lib/Target/ARM/ |
Thumb1RegisterInfo.cpp | 144 unsigned NumBits, unsigned Scale) { 146 unsigned Chunk = ((1 << NumBits) - 1) * Scale; 153 Scale = 1; // Followed by a number of tADDi8. 154 Chunk = ((1 << NumBits) - 1) * Scale; 181 unsigned Scale = 1; 189 Scale = 4; 202 Scale = 4; 215 Scale = 4; 224 unsigned NumMIs = calcNumMI(Opc, ExtraOpc, Bytes, NumBits, Scale); 254 unsigned Chunk = ((1 << NumBits) - 1) * Scale; [all...] |
ARMBaseRegisterInfo.cpp | 409 int Scale = 1; 416 Scale = 1; 424 Scale = 4; 444 Scale = 4; 451 return InstrOffs * Scale; 609 unsigned Scale = 1; 616 Scale = 1; 627 Scale = 4; 638 Scale = 4; 646 // Make sure the offset is encodable for instructions that scale th [all...] |
Thumb2SizeReduction.cpp | 343 unsigned Scale = 1; 363 Scale = 4; 374 Scale = 2; 458 unsigned MaxOffset = ((1 << ImmLimit) - 1) * Scale; 460 if ((OffsetImm & (Scale - 1)) || OffsetImm > MaxOffset) 473 MIB.addImm(OffsetImm / Scale); 532 .addImm(Imm / 4); // The tADDrSPi has an implied scale by four. [all...] |
/external/webkit/Source/WebCore/platform/graphics/ca/ |
PlatformCAAnimation.h | 62 enum ValueFunctionType { NoValueFunction, RotateX, RotateY, RotateZ, ScaleX, ScaleY, ScaleZ, Scale, TranslateX, TranslateY, TranslateZ, Translate };
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
AnimationFactory.java | 41 * you can add some keyFrames for a given time or a given keyFrameIndex, for translation rotation and scale. 67 Translation, Rotation, Scale; 310 * Adds a key frame for the given scale at the given time 312 * @param scale the scale to use for this keyFrame 314 public void addTimeScale(float time, Vector3f scale) { 315 addKeyFrameScale((int) (time / tpf), scale); 319 * Adds a key frame for the given scale at the given keyFrame index 321 * @param scale the scale to use for this keyFram [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MCCodeEmitter.cpp | 305 const MCOperand &Scale = MI.getOperand(Op+X86::AddrScaleAmt); 389 // MOD=0, BASE=5, to JUST get the index, scale, and displacement. 413 unsigned SS = SSTable[Scale.getImm()]; [all...] |
/external/webkit/Source/JavaScriptCore/assembler/ |
AbstractMacroAssembler.h | 62 enum Scale { 129 BaseIndex(RegisterID base, RegisterID index, Scale scale, int32_t offset = 0) 132 , scale(scale) 139 Scale scale; member in struct:JSC::AbstractMacroAssembler::BaseIndex
|
/external/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 123 // Scale, the high bits hold an offset into DiffLists. See MCRegUnitIterator. 485 unsigned Scale = RU & 15; 488 // Initialize the iterator to Reg * Scale, and the List pointer to 490 init(Reg * Scale, MCRI->DiffLists + Offset);
|
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 130 int64_t Scale; 134 Scale == Other.Scale; 145 /// "A*V + B", where A and B are constant integers. Return the scale and offset 152 static Value *GetLinearExpression(Value *V, APInt &Scale, APInt &Offset, 159 Scale = 1; 175 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, 180 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, 183 Scale *= RHSC->getValue(); 186 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension [all...] |
/external/llvm/utils/TableGen/ |
RegisterInfoEmitter.cpp | 760 // First compute a scale factor that allows more diff-lists to be reused: 765 // A scale factor of 2 allows D0 and D1 to share a diff-list. The initial 767 // the scale. 777 unsigned Scale = std::min(ScaleB, ScaleA); 778 // Default the scale to 0 if it can't be encoded in 4 bits. 779 if (Scale >= 16) 780 Scale = 0; 781 RegUnitInitScale[i] = Scale; 782 DiffSeqs.add(diffEncode(RegUnitLists[i], Scale * Reg->EnumValue, RUs)); [all...] |
/external/skia/src/sfnt/ |
SkOTTable_glyf.h | 161 struct Scale { 163 } scale; member in union:SkOTTableGlyphData::Composite::Component::Transform::Matrix
|