Searched defs:scale (Results 1 - 25 of 114) sorted by relevance

12345

/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_c_ImageConvVersion.c38 * mlib_s32 scale,
51 mlib_s32 scale,
57 mlib_d64 dscale = 1.0 / (1 << scale); /* 16 < scale <= 31 */
49 mlib_ImageConvVersion(mlib_s32 m, mlib_s32 n, mlib_s32 scale, mlib_type type) argument
H A Dmlib_ImageConvKernelConvert.c90 mlib_s32 i, scale, scale1, chk_flag; local
110 scale = mlib_ilogb(sum);
111 scale++;
113 scale = 31 - scale;
126 scale = mlib_ilogb(sum);
127 scale = (scale > scale1) ? scale : scale1;
128 scale
[all...]
H A Dmlib_ImageConvMxN.c39 * mlib_s32 scale,
50 * scale The scaling factor to convert the input integer
52 * floating-point coefficient = integer coefficient * 2^(-scale)
78 * For data type MLIB_BYTE: 16 <= scale <= 31 (to be compatible with VIS version)
79 * For data type MLIB_SHORT: 17 <= scale <= 32 (to be compatible with VIS version)
80 * For data type MLIB_USHORT: 17 <= scale <= 32 (to be compatible with VIS version)
81 * For data type MLIB_INT: scale >= 0
100 mlib_s32 scale,
109 if (scale < 16 || scale > 3
93 mlib_ImageConvMxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask, mlib_edge edge) argument
131 mlib_ImageConvMxN_f(mlib_image *dst, const mlib_image *src, const void *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask, mlib_edge edge) argument
[all...]
H A Dmlib_ImageAffine_BL_D64.c45 FTYPE scale = ONE / MLIB_PREC; variable
59 t = (X & MLIB_MASK) * scale;
60 u = (Y & MLIB_MASK) * scale;
77 t = (X & MLIB_MASK) * scale;
78 u = (Y & MLIB_MASK) * scale;
107 FTYPE scale = ONE / MLIB_PREC; variable
119 t = (X & MLIB_MASK) * scale;
120 u = (Y & MLIB_MASK) * scale;
143 t = (X & MLIB_MASK) * scale;
144 u = (Y & MLIB_MASK) * scale;
181 FTYPE scale = ONE / MLIB_PREC; variable
268 FTYPE scale = ONE / MLIB_PREC; variable
[all...]
H A Dmlib_ImageAffine_BL_F32.c45 FTYPE scale = ONE / MLIB_PREC; variable
59 t = (X & MLIB_MASK) * scale;
60 u = (Y & MLIB_MASK) * scale;
77 t = (X & MLIB_MASK) * scale;
78 u = (Y & MLIB_MASK) * scale;
107 FTYPE scale = ONE / MLIB_PREC; variable
119 t = (X & MLIB_MASK) * scale;
120 u = (Y & MLIB_MASK) * scale;
143 t = (X & MLIB_MASK) * scale;
144 u = (Y & MLIB_MASK) * scale;
181 FTYPE scale = ONE / MLIB_PREC; variable
268 FTYPE scale = ONE / MLIB_PREC; variable
[all...]
H A Dmlib_ImageAffine_BL_S32.c47 FTYPE scale = ONE / MLIB_PREC; variable
61 t = (X & MLIB_MASK) * scale;
62 u = (Y & MLIB_MASK) * scale;
79 t = (X & MLIB_MASK) * scale;
80 u = (Y & MLIB_MASK) * scale;
109 FTYPE scale = ONE / MLIB_PREC; variable
121 t = (X & MLIB_MASK) * scale;
122 u = (Y & MLIB_MASK) * scale;
145 t = (X & MLIB_MASK) * scale;
146 u = (Y & MLIB_MASK) * scale;
183 FTYPE scale = ONE / MLIB_PREC; variable
270 FTYPE scale = ONE / MLIB_PREC; variable
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DsimpleThresholdPolicy.inline.hpp29 bool SimpleThresholdPolicy::call_predicate_helper(int i, int b, double scale) { argument
33 return (i > Tier3InvocationThreshold * scale) ||
34 (i > Tier3MinInvocationThreshold * scale && i + b > Tier3CompileThreshold * scale);
36 return (i > Tier4InvocationThreshold * scale) ||
37 (i > Tier4MinInvocationThreshold * scale && i + b > Tier4CompileThreshold * scale);
43 bool SimpleThresholdPolicy::loop_predicate_helper(int i, int b, double scale) { argument
47 return b > Tier3BackEdgeThreshold * scale;
49 return b > Tier4BackEdgeThreshold * scale;
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageConvVersion.c39 * mlib_s32 scale,
53 mlib_s32 scale,
56 mlib_d64 dscale = 1.0 / (1 << scale); /* 16 < scale <= 31 */
51 mlib_ImageConvVersion(mlib_s32 m, mlib_s32 n, mlib_s32 scale, mlib_type type) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86RegisterIndirectAddress.java34 public X86RegisterIndirectAddress(X86SegmentRegister segReg, X86Register base, X86Register index, long disp, int scale) { argument
35 super(base, index, disp, scale);
/openjdk7/jdk/test/java/math/BigDecimal/
H A DRangeTests.java161 private static int testRoundingFromBigInteger(BigInteger bi, int scale, MathContext mc) { argument
163 BigDecimal bd1 = new BigDecimal(bi,scale, mc);
164 BigDecimal bd2 = (new BigDecimal(bi,scale)).round(mc);
168 bi + "; scale == " + scale + "; result == " +
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dutils.h39 inline size_t scale_size(size_t size, size_t scale) { argument
40 return (size > PSIZE_MAX / scale) ? OVERFLOW : size * scale;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/
H A DBaseIndexScaleDispAddress.java27 // address is calculated as (base + (index * scale) + displacement)
32 private final int scale; field in class:BaseIndexScaleDispAddress
37 public BaseIndexScaleDispAddress(Register base, Register index, long disp, int scale) { argument
41 this.scale = scale;
65 return scale;
/openjdk7/hotspot/src/share/vm/oops/
H A DtypeArrayKlass.hpp47 static klassOop create_klass(BasicType type, int scale, const char* name_str,
49 static inline klassOop create_klass(BasicType type, int scale, TRAPS) { argument
50 return create_klass(type, scale, external_name(type), CHECK_NULL);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelConnectionBlock.java40 // source1 * source2 * scale -> destination
44 private double scale = 1; field in class:ModelConnectionBlock
50 public ModelConnectionBlock(double scale, ModelDestination destination) { argument
51 this.scale = scale;
64 public ModelConnectionBlock(ModelSource source, double scale, argument
70 this.scale = scale;
90 double scale, ModelDestination destination) {
101 this.scale
89 ModelConnectionBlock(ModelSource source, ModelSource control, double scale, ModelDestination destination) argument
117 setScale(double scale) argument
[all...]
H A DSoftSincResampler.java46 float scale = (float) (1.0 / (1.0 + Math.pow(s, 1.1) / 10.0));
49 -i / ((float)sinc_table_fsize), scale);
71 public static float[] sincTable(int size, float offset, float scale) { argument
75 w[k] *= sinc((-center + k + offset) * scale) * scale;
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.h64 double scale; member in struct:NativeScalerContext
H A DX11FontScaler.c81 jint ptSize, jdouble scale) {
123 context->scale = scale;
267 return (jfloat)(advance/context->scale);
345 /* printf("X11 asc=%f dsc=%f adv=%f scale=%f\n", */
346 /* ay, dy, mx, (float)context->scale); */
79 Java_sun_font_NativeStrike_createScalerContext(JNIEnv *env, jobject strike, jbyteArray xlfdBytes, jint ptSize, jdouble scale) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DNimbusIcon.java101 gfx.scale(-1, 1);
105 gfx.scale(-1, 1);
122 gfx.scale(-1, 1);
168 return scale(context, width);
189 return scale(context, width);
192 return scale(context, height);
201 * @param size The size to scale
205 private int scale(SynthContext context, int size) { method in class:NimbusIcon
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DImageCache.java85 final int h, final int scale,
87 final int hash = hash(config, w, h, scale, state);
97 if (ref != null && ref.equals(config, w, h, scale, state)) {
110 * @param scale The image scale factor, used as part of cache key
115 final int scale, final JRSUIState state) {
120 final int hash = hash(config, w, h, scale, state);
158 map.put(hash, new PixelCountSoftReference(image, referenceQueue, newPixelCount, hash, config, w, h, scale, state));
166 final int h, final int scale,
171 hash = 31 * hash + scale;
84 getImage(final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
113 setImage(final Image image, final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
165 hash(final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
191 private final int scale; field in class:ImageCache.PixelCountSoftReference
194 PixelCountSoftReference(final Image referent, final ReferenceQueue<? super Image> q, final int pixelCount, final int hash, final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
208 equals(final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLLayer.java43 private static native void nativeSetScale(long layerPtr, double scale); argument
48 private int scale = 1; field in class:CGLLayer
125 if (scale != _scale) {
126 scale = _scale;
127 nativeSetScale(getPointer(), scale);
/openjdk7/jdk/src/share/classes/javax/sql/
H A DRowSetMetaData.java190 * @param scale the number of digits to right of decimal point
193 void setScale(int columnIndex, int scale) throws SQLException; argument
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/
H A DRTFAttributes.java332 float scale; field in class:RTFAttributes.NumericAttribute
339 scale = 1f;
354 scale = sc;
378 if (scale == 1f)
381 swingValue = new Float(parameter / scale);
392 (scale == 1f && old.intValue() == rtfDefault) ||
393 (Math.round(old.floatValue() * scale) == rtfDefault)
415 int int_value = Math.round(value.floatValue() * scale);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRescaleOp.java37 * source image by multiplying the sample values for each pixel by a scale
94 * Constructs a new RescaleOp with the desired scale factors
98 * @param scaleFactors the specified scale factors
118 * Constructs a new RescaleOp with the desired scale factor
123 * @param scaleFactor the specified scale factor
138 * Returns the scale factors in the given array. The array is also
141 * @param scaleFactors the array to contain the scale factors of
143 * @return the scale factors of this <code>RescaleOp</code>.
191 private ByteLookupTable createByteLut(float scale[], argument
196 byte[][] lutData = new byte[scale
226 createShortLut(float scale[], float off[], int nBands, int nElems) argument
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DStringCoding.java92 private static int scale(int len, float expansionFactor) { method in class:StringCoding
148 int en = scale(len, cd.maxCharsPerByte());
214 int en = scale(len, cd.maxCharsPerByte());
299 int en = scale(len, ce.maxBytesPerChar());
349 int en = scale(len, ce.maxBytesPerChar());
/openjdk7/hotspot/src/share/vm/services/
H A DmemReporter.hpp40 // start to report memory usage in specified scale.
44 virtual void start(size_t scale, bool report_diff = false) = 0;
113 // return current scale in "KB", "MB" or "GB"
114 static const char* memory_unit(size_t scale);
128 // in specified scale
129 BaselineReporter(BaselineOutputer& outputer, size_t scale = K):
131 _scale = scale;
137 void set_scale(size_t scale);
138 size_t scale() const { return _scale; } function in class:BaselineReporter
148 // calculate memory size in current memory scale
[all...]

Completed in 86 milliseconds

12345