/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/skqp/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/webrtc/webrtc/modules/utility/source/ |
audio_frame_operations.cc | 77 int AudioFrameOperations::Scale(float left, float right, AudioFrame& frame) { 91 int AudioFrameOperations::ScaleWithSat(float scale, AudioFrame& frame) { 97 temp_data = static_cast<int32_t>(scale * frame.data_[i]);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
Filters.h | 45 LVM_UINT16 Scale; 55 LVM_UINT16 Scale; 68 LVM_UINT16 Scale; 76 LVM_UINT16 Scale;
|
/external/ImageMagick/Magick++/demo/ |
zoom.cpp | 23 << " hermite lanczos mitchell point quadratic sample scale sinc triangle" << endl; 45 Scale, 109 else if (algorithm.compare("scale") == 0) 110 resize_algorithm=Scale; 173 case Scale: 174 image.scale(geometry);
|
/external/libmojo/ui/gfx/geometry/ |
vector2d_f.cc | 39 void Vector2dF::Scale(float x_scale, float y_scale) { 56 scaled_v.Scale(x_scale, y_scale);
|
size_f.h | 53 void Scale(float scale) { 54 Scale(scale, scale); 57 void Scale(float x_scale, float y_scale) { 86 inline SizeF ScaleSize(const SizeF& p, float scale) { 87 return ScaleSize(p, scale, scale);
|
vector2d_f.h | 57 // Scale the x and y components of the vector by |scale|. 58 void Scale(float scale) { Scale(scale, scale); } 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); 100 // Return a vector that is |v| scaled by the given scale factors along eac [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 225 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 227 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 229 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/external/webrtc/webrtc/common_video/libyuv/ |
scaler.cc | 50 int Scaler::Scale(const VideoFrame& src_frame, VideoFrame* dst_frame) {
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/Utils/ |
Local.h | 238 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 240 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 242 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/Utils/ |
Local.h | 238 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 240 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 242 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Transforms/Utils/ |
Local.h | 238 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 240 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 242 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Transforms/Utils/ |
Local.h | 238 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 240 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 242 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/measurement/ |
measurement.go | 65 period, _ := Scale(p.Period, p.PeriodType.Unit, periodType.Unit) 74 ratios[i], _ = Scale(1, st.Unit, sampleType[i].Unit) 78 return fmt.Errorf("scale: %v", err) 95 if ratio, _ := Scale(1, t.Unit, minType.Unit); ratio < 1 { 117 // Scale a measurement from an unit to a different unit and returns 120 func Scale(value int64, fromUnit, toUnit string) (float64, string) { 123 v, u := Scale(-value, fromUnit, toUnit) 149 v, u := Scale(value, fromUnit, toUnit)
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/measurement/ |
measurement.go | 65 period, _ := Scale(p.Period, p.PeriodType.Unit, periodType.Unit) 74 ratios[i], _ = Scale(1, st.Unit, sampleType[i].Unit) 78 return fmt.Errorf("scale: %v", err) 95 if ratio, _ := Scale(1, t.Unit, minType.Unit); ratio < 1 { 117 // Scale a measurement from an unit to a different unit and returns 120 func Scale(value int64, fromUnit, toUnit string) (float64, string) { 123 v, u := Scale(-value, fromUnit, toUnit) 149 v, u := Scale(value, fromUnit, toUnit)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
Tcp4Option.c | 72 Compute the window scale value according to the given buffer size.
76 @return The scale value.
84 UINT8 Scale;
91 Scale = 0;
92 while ((Scale < TCP_OPTION_MAX_WS) &&
93 ((UINT32) (TCP_OPTION_MAX_WIN << Scale) < BufSize)) {
95 Scale++;
98 return Scale;
148 // Build window scale option, only when are configured
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
TcpOption.c | 72 Compute the window scale value according to the given buffer size.
76 @return The scale value.
84 UINT8 Scale;
91 Scale = 0;
92 while ((Scale < TCP_OPTION_MAX_WS) && ((UINT32) (TCP_OPTION_MAX_WIN << Scale) < BufSize)) {
94 Scale++;
97 return Scale;
147 // Build window scale option, only when configured
|
/external/llvm/lib/Support/ |
BranchProbability.cpp | 53 // Scale down Denominator to fit in a 32-bit integer. 54 int Scale = 0; 57 Scale++; 59 return BranchProbability(Numerator >> Scale, Denominator); 66 static uint64_t scale(uint64_t Num, uint32_t N, uint32_t D) { function 108 uint64_t BranchProbability::scale(uint64_t Num) const { function in class:BranchProbability 109 return ::scale<D>(Num, N, D); 113 return ::scale<0>(Num, D, N);
|
/frameworks/support/leanback/kitkat/androidx/leanback/transition/ |
Scale.java | 28 class Scale extends Transition { 29 private static final String PROPNAME_SCALE = "android:leanback:scale"; 31 public Scale() { 67 final float scale = (Float) animation.getAnimatedValue(); 68 view.setScaleX(scale); 69 view.setScaleY(scale);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 238 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 240 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 242 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 238 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 240 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 242 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/external/clang/test/CodeGenCXX/ |
pragma-loop.cpp | 134 const int Scale = 4; 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/compiler-rt/lib/esan/ |
esan_shadow.h | 48 // Our shadow memory is scaled from a 1:1 mapping and supports a scale 61 // shadow(app) = ((app & 0x00000fff'ffffffff) + offset) >> scale 64 // offset is shifted left by the scale, except for scales of 1 and 2 where 67 // scale == 0: 0x00001300'000000000 68 // scale == 1: 0x00002200'000000000 69 // scale == 2: 0x00004400'000000000 70 // scale >= 3: (0x00001300'000000000 << scale) 117 // The scale and offset vary by tool. 118 uptr Scale; [all...] |
/external/fonttools/Lib/fontTools/misc/ |
transform.py | 16 Scale -- Convenience function that returns a scaling transformation 23 >>> t = Scale(2, 3) 33 >>> t2 = t.scale(0.5) 42 >>> t = Identity.scale(0.5).translate(100, 200).skew(0.1, 0.2) 51 __all__ = ["Transform", "Identity", "Offset", "Scale"] 79 >>> t.scale(2) 81 >>> t.scale(2.5, 5.5) 84 >>> t.scale(2, 3).transformPoint((100, 100)) 106 >>> t = t.scale(2.5, 5.5) 118 >>> t = Scale(2, 3 137 def scale(self, x=1, y=None): member in class:Transform [all...] |