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

1234567891011>>

/external/chromium_org/third_party/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/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/chromium_org/ui/gfx/geometry/
H A Dinsets.h25 Insets Scale(float scale) const { function in class:gfx::Insets
26 return Scale(scale, scale);
29 Insets Scale(float x_scale, float y_scale) const { function in class:gfx::Insets
H A Dpoint_f.cc19 scaled_p.Scale(x_scale, y_scale);
H A Dsize_f.cc19 scaled_s.Scale(x_scale, y_scale);
H A Dsize_f.h24 void Scale(float scale) { function in class:gfx::SizeF
25 Scale(scale, scale);
28 void Scale(float x_scale, float y_scale) { function in class:gfx::SizeF
H A Dpoint3_unittest.cc48 TEST(Point3Test, Scale) {
59 zero.Scale(2.f);
60 zero.Scale(6.f, 3.f, 1.5f);
64 point.Scale(2.f);
65 point.Scale(6.f, 3.f, 1.5f);
H A Dpoint_f.h24 void Scale(float scale) { function in class:gfx::PointF
25 Scale(scale, scale);
28 void Scale(float x_scale, float y_scale) { function in class:gfx::PointF
H A Dvector2d_f.cc39 void Vector2dF::Scale(float x_scale, float y_scale) { function in class:gfx::Vector2dF
56 scaled_v.Scale(x_scale, y_scale);
H A Dquad_f.cc90 void QuadF::Scale(float x_scale, float y_scale) { function in class:gfx::QuadF
91 p1_.Scale(x_scale, y_scale);
92 p2_.Scale(x_scale, y_scale);
93 p3_.Scale(x_scale, y_scale);
94 p4_.Scale(x_scale, y_scale);
H A Dpoint3_f.h28 void Scale(float scale) { function in class:gfx::Point3F
29 Scale(scale, scale, scale);
32 void Scale(float x_scale, float y_scale, float z_scale) { function in class:gfx::Point3F
H A Dvector2d_f.h57 // Scale the x and y components of the vector by |scale|.
58 void Scale(float scale) { Scale(scale, scale); } function in class:gfx::Vector2dF
59 // Scale the x and y components of the vector by |x_scale| and |y_scale|
61 void Scale(float x_scale, float y_scale);
/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));
125 assert(AM.Scale == 1 || AM.Scale
[all...]
/external/chromium_org/cc/debug/
H A Ddebug_colors.cc13 static float Scale(float width, const LayerTreeImpl* tree_impl) { function in namespace:cc
24 return Scale(2, tree_impl);
32 return Scale(2, tree_impl);
40 return Scale(2, tree_impl);
48 return Scale(20, tree_impl);
56 return Scale(2, tree_impl);
64 return Scale(2, tree_impl);
72 return Scale(2, tree_impl);
80 return Scale(2, tree_impl);
90 return Scale(
[all...]
/external/llvm/include/llvm/Support/
H A DScaledNumber.h48 /// Given \c Digits and \c Scale, round up iff \c ShouldRound is \c true.
49 /// Always returns \c Scale unless there's an overflow, in which case it
50 /// returns \c 1+Scale.
52 /// \pre adding 1 to \c Scale will not overflow INT16_MAX.
54 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, argument
61 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1);
62 return std::make_pair(Digits, Scale);
66 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, argument
68 return getRounded(Digits, Scale, ShouldRound);
72 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, argument
190 getLgImpl(DigitsT Digits, int16_t Scale) argument
215 getLg(DigitsT Digits, int16_t Scale) argument
224 getLgFloor(DigitsT Digits, int16_t Scale) argument
234 getLgCeiling(DigitsT Digits, int16_t Scale) argument
509 int16_t Scale; member in class:llvm::ScaledNumber
514 ScaledNumber(DigitsType Digits, int16_t Scale) argument
[all...]
/external/llvm/lib/CodeGen/
H A DMachineBranchProbabilityInfo.cpp32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const {
38 Scale = 1;
52 Scale = (Sum / UINT32_MAX) + 1;
57 Sum += Weight / Scale;
109 uint32_t Scale = 1; local
110 uint32_t D = getSumForBlock(Src, Scale);
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale;
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dgoose.cc109 separation.Scale(1.0 / static_cast<double>(separation_count));
112 alignment.Scale(1.0 / static_cast<double>(align_count));
127 attractor_direction.Scale(1000); // Each attractor acts like 1000 geese.
136 cohesion.Scale(1.0 / static_cast<double>(cohesion_count));
140 separation.Scale(kSeparationWeight);
141 alignment.Scale(kAlignmentWeight);
142 cohesion.Scale(kCohesionWeight);
160 desired_direction.Scale(kMaxSpeed * distance / 100.0);
162 desired_direction.Scale(kMaxSpeed);
177 weighted_direction.Scale(1.
[all...]
H A Dvector2.h44 Scale(1.0 / mag);
47 // Scale the vector in-place by |scale|.
48 void Scale(double scale) { function in class:Vector2
58 Scale(max_mag / mag); // Does Normalize() followed by Scale(max_mag).
/external/chromium_org/ash/display/
H A Devent_transformation_handler.cc50 event->Scale(kBoostForNonIntegrated);
/external/chromium_org/net/quic/
H A Dquic_bandwidth_test.cc60 TEST_F(QuicBandwidthTest, Scale) {
62 QuicBandwidth::FromKBytesPerSecond(1000).Scale(0.5f));
64 QuicBandwidth::FromKBytesPerSecond(1000).Scale(0.75f));
66 QuicBandwidth::FromKBytesPerSecond(1000).Scale(1.25f));
/external/chromium_org/third_party/webrtc/common_video/libyuv/include/
H A Dscaler.h45 // Scale frame
51 int Scale(const I420VideoFrame& src_frame,
/external/chromium_org/third_party/webrtc/modules/utility/interface/
H A Daudio_frame_operations.h51 static int Scale(float left, float right, AudioFrame& frame);
/external/chromium_org/third_party/webrtc/modules/utility/source/
H A Dframe_scaler.cc37 int ret = scaler_->Scale(*video_frame, &scaled_frame_);
/external/chromium_org/cc/base/
H A Dfloat_quad_unittest.cc23 rectilinear_trans[6].Scale(0.00001f, 0.00001f);
25 rectilinear_trans[7].Scale(100000.f, 100000.f);
/external/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp184 int64_t Scale; member in struct:__anon25666::VariableGEPIndex
188 Scale == Other.Scale;
206 static Value *GetLinearExpression(Value *V, APInt &Scale, APInt &Offset, argument
213 Scale = 1;
229 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
234 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
237 Scale *= RHSC->getValue();
240 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
243 Scale <<
369 uint64_t Scale = DL->getTypeAllocSize(*GTI); local
1373 int64_t Scale = Src[i].Scale; local
[all...]

Completed in 718 milliseconds

1234567891011>>