Searched refs:Scale (Results 1 - 25 of 187) sorted by relevance

12345678

/external/skia/include/core/
H A DSkUnPreMultiply.h20 typedef uint32_t Scale; typedef in class:SkUnPreMultiply
23 static const Scale* GetScaleTable() {
27 static Scale GetScale(U8CPU alpha) {
34 const Scale* table = SkUnPreMultiply::GetScaleTable();
38 SkUnPreMultiply::Scale scale = table[a];
45 static U8CPU ApplyScale(Scale scale, U8CPU component) {
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86InstrBuilder.h20 // (Operand), Base, Scale, Index, Displacement.
49 unsigned Scale; member in struct:llvm::X86AddressMode
56 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(0), GVOpFlags(0) {
62 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8);
72 MO.push_back(MachineOperand::CreateImm(Scale));
125 assert(AM.Scale == 1 || AM.Scale
[all...]
/external/llvm/include/llvm/Support/
H A DScaledNumber.h47 /// Given \c Digits and \c Scale, round up iff \c ShouldRound is \c true.
48 /// Always returns \c Scale unless there's an overflow, in which case it
49 /// returns \c 1+Scale.
51 /// \pre adding 1 to \c Scale will not overflow INT16_MAX.
53 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, argument
60 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1);
61 return std::make_pair(Digits, Scale);
65 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, argument
67 return getRounded(Digits, Scale, ShouldRound);
71 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, argument
189 getLgImpl(DigitsT Digits, int16_t Scale) argument
214 getLg(DigitsT Digits, int16_t Scale) argument
223 getLgFloor(DigitsT Digits, int16_t Scale) argument
233 getLgCeiling(DigitsT Digits, int16_t Scale) argument
508 int16_t Scale; member in class:llvm::ScaledNumber
513 ScaledNumber(DigitsType Digits, int16_t Scale) argument
[all...]
/external/compiler-rt/lib/esan/
H A Desan_shadow.h118 uptr Scale; member in class:__esan::ShadowMapping
126 Scale = ShadowScale;
127 if (Scale <= 2)
128 Offset = OffsetArray[Scale];
130 Offset = OffsetArray[0] << Scale;
159 return (((App & ShadowMapping::Mask) + Mapping.Offset) >> Mapping.Scale);
H A Desan.cpp104 for (int Scale = 0; Scale < 8; ++Scale) {
105 Mapping.initialize(Scale);
107 VPrintf(3, "\nChecking scale %d\n", Scale);
151 VPrintf(1, "Shadow scale=%d offset=%p\n", Mapping.Scale, Mapping.Offset);
/external/llvm/lib/Target/X86/
H A DX86InstrBuilder.h20 // (Operand), Base, Scale, Index, Displacement.
48 unsigned Scale; member in struct:llvm::X86AddressMode
55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr),
62 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8);
72 MO.push_back(MachineOperand::CreateImm(Scale));
101 AM.Scale = Op.getImm();
153 assert(AM.Scale
[all...]
H A DX86ShuffleDecodeConstantPool.cpp57 int Scale = BitWidth / 8; local
58 int NumBytes = NumElts * Scale;
67 ShuffleMask.append(Scale, SM_SentinelUndef);
72 for (int j = 0; j != Scale; ++j) {
75 int Base = ((i * Scale) + j) & ~0xf;
252 int Scale = BitWidth / 8; local
253 int NumBytes = NumElts * Scale;
262 ShuffleMask.append(Scale, SM_SentinelUndef);
280 for (int j = 0; j != Scale; ++j) {
/external/skia/src/core/
H A DSkUnPreMultiplyPriv.h15 const SkUnPreMultiply::Scale* table = SkUnPreMultiply::GetScaleTable();
33 SkUnPreMultiply::Scale scale = table[a];
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_scaledrenderbuffer.cpp43 m_Matrix.Scale((FX_FLOAT)(max_dpi) / dpih, 1.0f);
45 m_Matrix.Scale(1.0f, (FX_FLOAT)(max_dpi) / (FX_FLOAT)dpiv);
68 m_Matrix.Scale(0.5f, 0.5f);
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
H A DAddrModeMatcher.h46 (HasBaseReg == O.HasBaseReg) && (Scale == O.Scale);
97 bool MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp48 if (Scale) {
50 << Scale << "*";
64 /// MatchScaledValue - Try adding ScaleReg*Scale to the current addressing mode.
67 bool AddressingModeMatcher::MatchScaledValue(Value *ScaleReg, int64_t Scale, argument
69 // If Scale is 1, then this is the same as adding ScaleReg to the addressing
71 if (Scale == 1)
75 if (Scale == 0)
80 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg)
87 TestAddrMode.Scale += Scale;
[all...]
/external/webrtc/webrtc/common_video/libyuv/include/
H A Dscaler.h46 // Scale frame
51 int Scale(const VideoFrame& src_frame, VideoFrame* dst_frame);
/external/webrtc/webrtc/modules/utility/include/
H A Daudio_frame_operations.h51 static int Scale(float left, float right, AudioFrame& frame);
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DBasicAliasAnalysis.cpp164 int64_t Scale; member in struct:__anon18457::VariableGEPIndex
177 static Value *GetLinearExpression(Value *V, APInt &Scale, APInt &Offset, argument
184 Scale = 1;
200 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
205 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
208 Scale *= RHSC->getValue();
211 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
214 Scale <<= RHSC->getValue().getLimitedValue();
226 unsigned OldWidth = Scale.getBitWidth();
228 Scale
337 uint64_t Scale = TD->getTypeAllocSize(*GTI); local
403 int64_t Scale = Src[i].Scale; local
[all...]
/external/ImageMagick/PerlMagick/demo/
H A Dsingle-pixels.pl43 $im->Scale('1000%');
/external/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp183 const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits,
190 Scale = 1;
202 assert(Scale == 0 && "Constant values don't have a scale");
209 // If we've been called recursively, then Offset and Scale will be wider
218 Scale = 1;
226 Scale = 1;
232 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
237 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
242 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
245 Scale *
182 GetLinearExpression( const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, unsigned &SExtBits, const DataLayout &DL, unsigned Depth, AssumptionCache *AC, DominatorTree *DT, bool &NSW, bool &NUW) argument
436 uint64_t Scale = DL.getTypeAllocSize(*GTI); local
1199 int64_t Scale = DecompGEP1.VarIndices[i].Scale; local
1585 int64_t Scale = Src[i].Scale; local
[all...]
/external/clang/test/CodeGenCXX/
H A Dpragma-loop.cpp134 const int Scale = 4; local
135 #pragma clang loop vectorize_width(Scale * V) interleave_count(Scale * I) unroll_count(Scale * U)
141 #pragma clang loop vectorize_width((Scale * V) + 2)
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DSpillPlacement.cpp70 /// Scale - Inverse block frequency feeding into[0] or out of[1] the bundle.
74 float Scale[2]; member in struct:SpillPlacement::Node
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[
[all...]
/external/llvm/lib/Support/
H A DBranchProbability.cpp53 // Scale down Denominator to fit in a 32-bit integer.
54 int Scale = 0; local
57 Scale++;
59 return BranchProbability(Numerator >> Scale, Denominator);
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DThumb1RegisterInfo.cpp143 unsigned NumBits, unsigned Scale) {
145 unsigned Chunk = ((1 << NumBits) - 1) * Scale;
152 Scale = 1; // Followed by a number of tADDi8.
153 Chunk = ((1 << NumBits) - 1) * Scale;
180 unsigned Scale = 1;
188 Scale = 4;
201 Scale = 4;
214 Scale = 4;
223 unsigned NumMIs = calcNumMI(Opc, ExtraOpc, Bytes, NumBits, Scale);
253 unsigned Chunk = ((1 << NumBits) - 1) * Scale;
142 calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, unsigned NumBits, unsigned Scale) argument
487 unsigned Scale = 4; variable
[all...]
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/
H A Ddxgitype.idl81 DXGI_RGB Scale;
/external/webrtc/webrtc/modules/utility/source/
H A Daudio_frame_operations_unittest.cc157 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, 1.0, frame_));
160 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, 1.0, frame_));
163 EXPECT_EQ(-1, AudioFrameOperations::Scale(-1.0, 1.0, frame_));
164 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, -1.0, frame_));
170 EXPECT_EQ(0, AudioFrameOperations::Scale(10.0, 10.0, frame_));
181 EXPECT_EQ(0, AudioFrameOperations::Scale(2.0, 3.0, frame_));
/external/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp130 unsigned Bits, Scale; local
134 Scale = 2;
138 Scale = 2;
142 Scale = 2;
146 Scale = 2;
150 Scale = 2;
154 Scale = 2;
158 Scale = 2;
162 Scale = 2;
166 Scale
670 unsigned Scale = 1; local
752 unsigned Scale = 1; local
[all...]
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h205 bool HasBaseReg, int64_t Scale,
209 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1);
221 bool HasBaseReg, int64_t Scale, unsigned AddrSpace) {
224 Scale, AddrSpace))
448 int64_t Scale = 0; local
467 if (Scale != 0)
470 Scale = ElementSize;
483 BaseOffset, HasBaseReg, Scale, AS)) {
204 isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale, unsigned AddrSpace) argument
220 getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale, unsigned AddrSpace) argument
/external/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.h97 void printUImm12Offset(const MCInst *MI, unsigned OpNum, unsigned Scale,
99 void printAMIndexedWB(const MCInst *MI, unsigned OpNum, unsigned Scale,
102 template <int Scale>
105 printUImm12Offset(MI, OpNum, Scale, O);
117 template <int Scale>

Completed in 1109 milliseconds

12345678