Home
last modified time | relevance | path

Searched refs:scale (Results 176 - 200 of 2295) sorted by relevance

12345678910>>...92

/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/listItem/router/
H A Dindex.js199 var scale = event.scale
202 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
210 var scale = event.scale
213 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
221 var scale = event.scale
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/listItemGroup/router/
H A Dindex.js201 var scale = event.scale
204 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
212 var scale = event.scale
215 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
223 var scale = event.scale
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_cover_rect.c98 int scale = 65536 / (x + 1); in blur() local
99 s += data[-1 + y*stride] * scale; in blur()
100 c += scale; in blur()
103 int scale = 65536 / (y + 1); in blur() local
104 s += data[x - stride] * scale; in blur()
105 c += scale; in blur()
108 int scale = 65536 / (w - x); in blur() local
109 s += data[w + y*stride] * scale; in blur()
110 c += scale; in blur()
113 int scale in blur() local
[all...]
H A Dvf_colorkey.c40 double scale; member
49 float similarity, float iblend, int max, double scale) in do_colorkey_pixel()
53 dr = r * scale - colorkey_rgba[0]; in do_colorkey_pixel()
54 dg = g * scale - colorkey_rgba[1]; in do_colorkey_pixel()
55 db = b * scale - colorkey_rgba[2]; in do_colorkey_pixel()
79 const double scale = ctx->scale; \
92 similarity, iblend, max, scale); \
117 const double scale = ctx->scale; \
48 do_colorkey_pixel(const uint8_t *colorkey_rgba, int r, int g, int b, float similarity, float iblend, int max, double scale) do_colorkey_pixel() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DDecimalQuantity_DualStorageBCD.java138 scale -= numDigits; in shiftLeft()
155 scale += numDigits; in shiftRight()
180 scale = 0; in setBcdToZero()
199 scale = 0; in readIntToBcd()
213 scale = 0; in readLongToBcd()
224 scale = 0; in readLongToBcd()
240 scale = 0; in readBigIntegerToBcd()
259 // Test that the new scale fits inside the BigDecimal in bcdToBigDecimal()
260 long newScale = result.scale() + scale in bcdToBigDecimal()
[all...]
H A DMacroProps.java36 public Scale scale; field in MacroProps
75 if (scale == null) in fallback()
76 scale = fallback.scale; in fallback()
98 scale, in hashCode()
125 && Objects.equals(scale, other.scale) in equals()
/third_party/libsnd/src/
H A Ddouble64.c488 d2s_array (const double *src, int count, short *dest, double scale) in d2s_array() argument
490 { dest [i] = psf_lrint (scale * src [i]) ; in d2s_array()
495 d2s_clip_array (const double *src, int count, short *dest, double scale) in d2s_clip_array() argument
497 { double tmp = scale * src [i] ; in d2s_clip_array()
509 d2i_array (const double *src, int count, int *dest, double scale) in d2i_array() argument
511 { dest [i] = psf_lrint (scale * src [i]) ; in d2i_array()
516 d2i_clip_array (const double *src, int count, int *dest, double scale) in d2i_clip_array() argument
518 { float tmp = scale * src [i] ; in d2i_clip_array()
537 s2d_array (const short *src, double *dest, int count, double scale) in s2d_array() argument
539 { dest [i] = scale * sr in s2d_array()
544 i2d_array(const int *src, double *dest, int count, double scale) i2d_array() argument
566 double scale ; host_read_d2s() local
596 double scale ; host_read_d2i() local
681 double scale ; host_write_s2d() local
713 double scale ; host_write_i2d() local
806 double scale ; replace_read_d2s() local
836 double scale ; replace_read_d2i() local
925 double scale ; replace_write_s2d() local
958 double scale ; replace_write_i2d() local
[all...]
H A Dfloat32.c438 f2s_array (const float *src, int count, short *dest, float scale) in f2s_array() argument
441 { dest [i] = psf_lrintf (scale * src [i]) ; in f2s_array()
446 f2s_clip_array (const float *src, int count, short *dest, float scale) in f2s_clip_array() argument
448 { float tmp = scale * src [i] ; in f2s_clip_array()
460 f2i_array (const float *src, int count, int *dest, float scale) in f2i_array() argument
462 { dest [i] = psf_lrintf (scale * src [i]) ; in f2i_array()
467 f2i_clip_array (const float *src, int count, int *dest, float scale) in f2i_clip_array() argument
469 { float tmp = scale * src [i] ; in f2i_clip_array()
488 s2f_array (const short *src, float *dest, int count, float scale) in s2f_array() argument
490 { dest [i] = scale * sr in s2f_array()
495 i2f_array(const int *src, float *dest, int count, float scale) i2f_array() argument
517 float scale ; host_read_f2s() local
548 float scale ; host_read_f2i() local
631 float scale ; host_write_s2f() local
663 float scale ; host_write_i2f() local
757 float scale ; replace_read_f2s() local
787 float scale ; replace_read_f2i() local
876 float scale ; replace_write_s2f() local
909 float scale ; replace_write_i2f() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dsc27xx_adc.c93 * should use the small-scale graph, and if more than 1.2v, we should use the
94 * big-scale graph.
163 static int sc27xx_adc_get_ratio(int channel, int scale) in sc27xx_adc_get_ratio() argument
170 return scale ? SC27XX_VOLT_RATIO(400, 1025) : in sc27xx_adc_get_ratio()
178 return scale ? SC27XX_VOLT_RATIO(100, 125) : in sc27xx_adc_get_ratio()
189 int scale, int *val) in sc27xx_adc_read()
210 /* Configure the channel id and scale */ in sc27xx_adc_read()
211 tmp = (scale << SC27XX_ADC_SCALE_SHIFT) & SC27XX_ADC_SCALE_MASK; in sc27xx_adc_read()
262 int channel, int scale, in sc27xx_adc_volt_ratio()
265 u32 ratio = sc27xx_adc_get_ratio(channel, scale); in sc27xx_adc_volt_ratio()
188 sc27xx_adc_read(struct sc27xx_adc_data *data, int channel, int scale, int *val) sc27xx_adc_read() argument
261 sc27xx_adc_volt_ratio(struct sc27xx_adc_data *data, int channel, int scale, u32 *div_numerator, u32 *div_denominator) sc27xx_adc_volt_ratio() argument
283 sc27xx_adc_convert_volt(struct sc27xx_adc_data *data, int channel, int scale, int raw_adc) sc27xx_adc_convert_volt() argument
313 sc27xx_adc_read_processed(struct sc27xx_adc_data *data, int channel, int scale, int *val) sc27xx_adc_read_processed() argument
331 int scale = data->channel_scale[chan->channel]; sc27xx_adc_read_raw() local
[all...]
/third_party/glfw/examples/
H A Dsplitview.c64 double s, t, x, y, z, nx, ny, nz, scale, twopi; in drawTorus() local
93 scale = 1.0 / sqrt(nx*nx + ny*ny + nz*nz); in drawTorus()
94 nx *= scale; in drawTorus()
95 ny *= scale; in drawTorus()
96 nz *= scale; in drawTorus()
153 static void drawGrid(float scale, int steps) in drawGrid() argument
183 x = scale * 0.5f * (float) (steps - 1); in drawGrid()
184 y = -scale * 0.5f * (float) (steps - 1); in drawGrid()
189 y += scale; in drawGrid()
193 x = -scale * 0. in drawGrid()
412 double scale; cursorPosFun() local
[all...]
/third_party/musl/porting/uniproton/kernel/src/time/
H A D__tz.c58 int scale = 3 - (trans == zi+44); in scan_trans() local
62 size_t a = 0, n = (index_local-trans)>>scale, m; in scan_trans()
72 x = zi_read32(trans + (m<<scale)); in scan_trans()
73 if (scale == 3) x = x<<32 | zi_read32(trans + (m<<scale) + 4); in scan_trans()
86 n = (index_local-trans)>>scale; in scan_trans()
89 x = zi_read32(trans + (a<<scale)); in scan_trans()
90 if (scale == 3) x = x<<32 | zi_read32(trans + (a<<scale) + 4); in scan_trans()
/third_party/musl/porting/liteos_m/kernel/src/time/
H A D__tz.c58 int scale = 3 - (trans == zi+44); in scan_trans() local
62 size_t a = 0, n = (index_local-trans)>>scale, m; in scan_trans()
72 x = zi_read32(trans + (m<<scale)); in scan_trans()
73 if (scale == 3) x = x<<32 | zi_read32(trans + (m<<scale) + 4); in scan_trans()
86 n = (index_local-trans)>>scale; in scan_trans()
89 x = zi_read32(trans + (a<<scale)); in scan_trans()
90 if (scale == 3) x = x<<32 | zi_read32(trans + (a<<scale) + 4); in scan_trans()
/third_party/ffmpeg/tests/fate/
H A Dfilter-video.mak19 fate-filter-yadif10: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p10le -frames:v 30 -vf yadif=0,scale
20 fate-filter-yadif16: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p16le -frames:v 30 -vf yadif=0,scale
44 fate-filter-showpalette: CMD = framecrc -i $(TARGET_SAMPLES)/fli/fli-engines.fli -vf showpalette=3,scale -pix_fmt bgra
47 fate-filter-palettegen-1: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf scale,palettegen,scale -pix_fmt bgra
48 fate-filter-palettegen-2: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf scale,palettegen=max_colors=128:reserve_transparent=0:stats_mode=diff,scale -pix_fmt bgra
104 fate-filter-yuvtestsrc-yuv444p12: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1,format=yuv444p12,scale -pix_fmt yuv444p12le
115 fate-filter-framerate-12bit-up: CMD = framecrc -lavfi testsrc2=r=50:d=1,format=pix_fmts=yuv422p12le,scale,framerate=fps=60,scale
[all...]
H A Dgif.mak2 fate-gif-color: CMD = framecrc -i $(TARGET_SAMPLES)/gif/tc217.gif -pix_fmt bgra -vf scale
5 fate-gif-disposal-background: CMD = framecrc -trans_color 0 -i $(TARGET_SAMPLES)/gif/m4nb.gif -pix_fmt bgra -vf scale
8 fate-gif-disposal-restore: CMD = framecrc -i $(TARGET_SAMPLES)/gif/banner2.gif -pix_fmt bgra -vf scale
11 fate-gif-gray: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra -vf scale
20 fate-gifenc%: CMD = framecrc -i $(SRC) -c:v gif -pix_fmt $(PIXFMT) -sws_flags +accurate_rnd+bitexact -vf scale
H A Dqtrle.mak5 fate-qtrle-2bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/Animation-4Greys.mov -pix_fmt rgb24 -an -vf scale
8 fate-qtrle-4bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/Animation-16Greys.mov -pix_fmt rgb24 -an -vf scale
11 fate-qtrle-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/criticalpath-credits.mov -pix_fmt rgb24 -an -vf scale
14 fate-qtrle-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/mr-cork-rle.mov -pix_fmt rgb24 -vf scale
20 fate-qtrle-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/ultra_demo_720_480_32bpp_rle.mov -pix_fmt bgra -vf scale
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DUniversalTimeScale.java29 * <p>ICU implements a universal time scale that is similar to the
30 * .NET framework's System.DateTime. The universal time scale is a
36 * <p>The universal time scale always measures time according to the
44 * scales, allowing datetimes in any time scale to be converted to the
45 * universal time scale, safely manipulated, and converted back to any other
46 * datetime time scale.
139 * This is the first unused time scale value.
148 * for a time scale.
157 * for a time scale.
167 * for a time scale
554 getTimeScaleData(int scale) getTimeScaleData() argument
573 getTimeScaleValue(int scale, int value) getTimeScaleValue() argument
617 toRangeCheck(long universalTime, int scale) toRangeCheck() argument
628 fromRangeCheck(long otherTime, int scale) fromRangeCheck() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DUniversalTimeScale.java30 * <p>ICU implements a universal time scale that is similar to the
31 * .NET framework's System.DateTime. The universal time scale is a
37 * <p>The universal time scale always measures time according to the
45 * scales, allowing datetimes in any time scale to be converted to the
46 * universal time scale, safely manipulated, and converted back to any other
47 * datetime time scale.
118 * This is the first unused time scale value.
127 * for a time scale.
133 * for a time scale.
141 * for a time scale
504 getTimeScaleData(int scale) getTimeScaleData() argument
521 getTimeScaleValue(int scale, int value) getTimeScaleValue() argument
565 toRangeCheck(long universalTime, int scale) toRangeCheck() argument
576 fromRangeCheck(long otherTime, int scale) fromRangeCheck() argument
[all...]
/third_party/skia/gm/
H A Dtilemodes_scaled.cpp97 float scale = 32.f/kPOTSize; variable
112 SkScalar x = SkIntToScalar(10)/scale;
119 SkTextUtils::DrawString(canvas, str.c_str(), scale*(x + r.width()/2), y, font, SkPaint(),
126 y = SkIntToScalar(40) / scale;
130 x = SkIntToScalar(10)/scale;
144 canvas->scale(scale,scale);
153 scale * x, scale * (
[all...]
H A Dshowmiplevels.cpp73 for (float scale = 1; scale >= 0.1f; scale *= 0.7f) { in draw_downscaling()
74 SkMatrix matrix = SkMatrix::Scale(scale, scale); in draw_downscaling()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_viewport.c81 minx = -vp->scale[0] + vp->translate[0]; in r600_get_scissor_from_viewport()
82 miny = -vp->scale[1] + vp->translate[1]; in r600_get_scissor_from_viewport()
83 maxx = vp->scale[0] + vp->translate[0]; in r600_get_scissor_from_viewport()
84 maxy = vp->scale[1] + vp->translate[1]; in r600_get_scissor_from_viewport()
195 vp.scale[0] = vp_as_scissor->maxx - vp.translate[0]; in r600_emit_guardband()
196 vp.scale[1] = vp_as_scissor->maxy - vp.translate[1]; in r600_emit_guardband()
200 vp.scale[0] = 0.5; in r600_emit_guardband()
202 vp.scale[1] = 0.5; in r600_emit_guardband()
214 left = (-max_range - vp.translate[0]) / vp.scale[0]; in r600_emit_guardband()
215 right = ( max_range - vp.translate[0]) / vp.scale[ in r600_emit_guardband()
[all...]
/third_party/skia/bench/
H A DGradientBench.cpp51 /// Ignores scale
53 SkTileMode tm, float scale) { in MakeLinear()
58 SkTileMode tm, float scale) { in MakeRadial()
62 return SkGradientShader::MakeRadial(center, center.fX * scale, data.fColors, in MakeRadial()
66 /// Ignores scale
68 SkTileMode tm, float scale) { in MakeSweep()
75 /// Ignores scale
77 SkTileMode tm, float scale) { in MakeConical()
88 /// Ignores scale
90 SkTileMode tm, float scale) { in MakeConicalZeroRad()
52 MakeLinear(const SkPoint pts[2], const GradData& data, SkTileMode tm, float scale) MakeLinear() argument
57 MakeRadial(const SkPoint pts[2], const GradData& data, SkTileMode tm, float scale) MakeRadial() argument
67 MakeSweep(const SkPoint pts[2], const GradData& data, SkTileMode tm, float scale) MakeSweep() argument
76 MakeConical(const SkPoint pts[2], const GradData& data, SkTileMode tm, float scale) MakeConical() argument
89 MakeConicalZeroRad(const SkPoint pts[2], const GradData& data, SkTileMode tm, float scale) MakeConicalZeroRad() argument
102 MakeConicalOutside(const SkPoint pts[2], const GradData& data, SkTileMode tm, float scale) MakeConicalOutside() argument
116 MakeConicalOutsideZeroRad(const SkPoint pts[2], const GradData& data, SkTileMode tm, float scale) MakeConicalOutsideZeroRad() argument
242 MakeShader(GradType gradType, GradData data, SkTileMode tm, float scale) MakeShader() argument
[all...]
/third_party/skia/docs/examples/
H A Dbug6495.cpp15 canvas->scale(1.0, -1.0); in REG_FIDDLE()
21 canvas->scale(1.0, 0.4999); in REG_FIDDLE()
26 canvas->scale(1.0, 0.5000); in REG_FIDDLE()
31 canvas->scale(1.0, 0.5001); in REG_FIDDLE()
H A Dskcanvas_star.cpp6 const SkScalar scale = 256.0f; in REG_FIDDLE() local
7 const SkScalar R = 0.45f * scale; in REG_FIDDLE()
19 canvas->translate(0.5f * scale, 0.5f * scale); in REG_FIDDLE()
H A DCanvas_drawTextRSXform.cpp11 SkScalar scale = 1; in REG_FIDDLE() local
13 const SkScalar s = SkScalarSin(angle) * scale; in REG_FIDDLE()
14 const SkScalar c = SkScalarCos(angle) * scale; in REG_FIDDLE()
17 scale += .2f; in REG_FIDDLE()
/third_party/ffmpeg/libavcodec/
H A Dbmvaudio.c50 int scale[2]; in bmv_aud_decode_frame() local
68 scale[0] = bmv_aud_mults[code & 0xF]; in bmv_aud_decode_frame()
69 scale[1] = bmv_aud_mults[code >> 4]; in bmv_aud_decode_frame()
71 *output_samples++ = av_clip_int16((scale[0] * (int8_t)*buf++) >> 5); in bmv_aud_decode_frame()
72 *output_samples++ = av_clip_int16((scale[1] * (int8_t)*buf++) >> 5); in bmv_aud_decode_frame()

Completed in 13 milliseconds

12345678910>>...92