Home
last modified time | relevance | path

Searched refs:scale (Results 1876 - 1900 of 2295) sorted by relevance

1...<<71727374757677787980>>...92

/third_party/skia/gm/
H A Dhsl.cpp53 // Both map the minimum channel to 0, maximum to s, and scale the middle proportionately.
216 canvas->scale(0.5f, 0.5f); in DEF_SIMPLE_GM()
H A Dgm.cpp215 canvas->scale(2,2); in mark()
/third_party/skia/include/effects/
H A DSkImageFilters.h149 * mapped into a vector as scale * (color[xChannel], color[yChannel]), where the channel
153 * @param scale Scale applied to displacement extracted from image.
160 SkScalar scale, sk_sp<SkImageFilter> displacement,
246 * @param gain A scale factor applied to each pixel after convolution. This can be
/kernel/linux/linux-5.10/drivers/misc/
H A Dxilinx_sdfec.c421 if (turbo.scale > XSDFEC_TURBO_SCALE_MAX) in xsdfec_set_turbo()
428 turbo_write = ((turbo.scale & XSDFEC_TURBO_SCALE_MASK) in xsdfec_set_turbo()
447 turbo_params.scale = (reg_value & XSDFEC_TURBO_SCALE_MASK) >> in xsdfec_get_turbo()
/kernel/linux/linux-5.10/drivers/iio/accel/
H A Dbmc150-accel-core.c146 int scale; member
508 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale()
622 *val2 = si->scale; in bmc150_accel_read_raw()
H A Dkxcjk-1013.c276 u16 scale; member
764 if (KXCJK1013_scale_table[i].scale == val) { in kxcjk1013_set_scale()
826 *val2 = KXCJK1013_scale_table[data->range].scale; in kxcjk1013_read_raw()
H A Dbma180.c164 int scale; member
320 "failed to set scale\n"); in bma180_set_scale()
323 data->scale = val; in bma180_set_scale()
590 *val2 = data->scale; in bma180_read_raw()
/kernel/linux/linux-5.10/drivers/iio/gyro/
H A Dbmg160_core.c132 int scale; member
476 if (bmg160_scale_table[i].scale == val) { in bmg160_set_scale()
594 *val2 = bmg160_scale_table[i].scale; in bmg160_read_raw()
/kernel/linux/linux-6.6/drivers/misc/
H A Dxilinx_sdfec.c422 if (turbo.scale > XSDFEC_TURBO_SCALE_MAX) in xsdfec_set_turbo()
429 turbo_write = ((turbo.scale & XSDFEC_TURBO_SCALE_MASK) in xsdfec_set_turbo()
448 turbo_params.scale = (reg_value & XSDFEC_TURBO_SCALE_MASK) >> in xsdfec_get_turbo()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dnct6683.c489 int scale = 16; in in_from_reg() local
493 scale <<= 1; in in_from_reg()
494 return reg * scale; in in_from_reg()
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dkxcjk-1013.c394 u16 scale; member
879 if (KXCJK1013_scale_table[i].scale == val) { in kxcjk1013_set_scale()
942 *val2 = KXCJK1013_scale_table[data->range].scale; in kxcjk1013_read_raw()
/kernel/linux/linux-6.6/drivers/iio/gyro/
H A Dbmg160_core.c133 int scale; member
477 if (bmg160_scale_table[i].scale == val) { in bmg160_set_scale()
595 *val2 = bmg160_scale_table[i].scale; in bmg160_read_raw()
/third_party/ffmpeg/libavcodec/arm/
H A Dsbcdsp_neon.S270 * output: q0, q1 - scale factors without joint stereo
271 * q2, q3 - scale factors with joint stereo
413 @ update and save scale factors to memory
444 @ update and save scale factors to memory
471 @ update and save scale factors to memory
/third_party/ffmpeg/libavcodec/
H A Damrwbdec.c943 float est, scale; in extrapolate_isf() local
970 /* Calculate an estimate for ISF(18) and scale ISF based on the error */ in extrapolate_isf()
972 scale = 0.5 * (FFMIN(est, 7600) - isf[LP_ORDER - 2]) / in extrapolate_isf()
976 diff_isf[j] = scale * (isf[i] - isf[i - 1]); in extrapolate_isf()
H A Ddolby_e.c861 float scale = mantissa_tab1[size1][idx] * exp; in parse_mantissas() local
874 mnt[k] = values[k] * scale; in parse_mantissas()
888 mnt[k] = get_sbits(&s->gb, size1) * scale; in parse_mantissas()
H A Dsnow.c363 const int scale= plane_index ? (2*s->mv_scale)>>s->chroma_h_shift : 2*s->mv_scale; in ff_snow_pred_block() local
364 int mx= block->mx*scale; in ff_snow_pred_block()
365 int my= block->my*scale; in ff_snow_pred_block()
H A Dvp9recon.c414 const uint16_t *scale, const uint8_t *step) in mc_luma_scaled()
422 #define scale_mv(n, dim) (((int64_t)(n) * scale[dim]) >> 14) in mc_luma_scaled()
430 // BUG libvpx seems to scale the two components separately. This introduces in mc_luma_scaled()
474 const uint16_t *scale, const uint8_t *step) in mc_chroma_scaled()
406 mc_luma_scaled(VP9TileData *td, vp9_scaled_mc_func smc, vp9_mc_func (*mc)[2], uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *ref, ptrdiff_t ref_stride, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *in_mv, int px, int py, int pw, int ph, int bw, int bh, int w, int h, int bytesperpixel, const uint16_t *scale, const uint8_t *step) mc_luma_scaled() argument
464 mc_chroma_scaled(VP9TileData *td, vp9_scaled_mc_func smc, vp9_mc_func (*mc)[2], uint8_t *dst_u, uint8_t *dst_v, ptrdiff_t dst_stride, const uint8_t *ref_u, ptrdiff_t src_stride_u, const uint8_t *ref_v, ptrdiff_t src_stride_v, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *in_mv, int px, int py, int pw, int ph, int bw, int bh, int w, int h, int bytesperpixel, const uint16_t *scale, const uint8_t *step) mc_chroma_scaled() argument
/third_party/glfw/src/
H A Dwindow.c131 // Notifies shared code that a window content scale has changed
132 // The scale is specified as the ratio between the current and default DPI
142 if (window->callbacks.scale) in _glfwInputWindowContentScale()
143 window->callbacks.scale((GLFWwindow*) window, xscale, yscale); in _glfwInputWindowContentScale()
1163 _GLFW_SWAP(GLFWwindowcontentscalefun, window->callbacks.scale, cbfun); in glfwSetWindowContentScaleCallback()
/third_party/alsa-utils/amixer/
H A Damixer.c339 double scale = 1.0; in set_volume_simple() local
363 scale = 100; in set_volume_simple()
371 val = (long)(strtod(s, NULL) * scale); in set_volume_simple()
/third_party/libuv/src/win/
H A Dutil.c470 uint64_t uv__hrtime(unsigned int scale) { in uv__hrtime() argument
476 assert(scale != 0); in uv__hrtime()
486 scaled_freq = (double) hrtime_frequency_ / scale; in uv__hrtime()
/third_party/node/deps/v8/src/codegen/arm64/
H A Dassembler-arm64-inl.h1059 Instr Assembler::FPScale(unsigned scale) { in FPScale() argument
1060 DCHECK(is_uint6(scale)); in FPScale()
1061 return scale << FPScale_offset; in FPScale()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_emit.c646 OUT_RING(ring, A5XX_GRAS_CL_VPORT_XSCALE_0(ctx->viewport.scale[0])); in fd5_emit_state()
648 OUT_RING(ring, A5XX_GRAS_CL_VPORT_YSCALE_0(ctx->viewport.scale[1])); in fd5_emit_state()
650 OUT_RING(ring, A5XX_GRAS_CL_VPORT_ZSCALE_0(ctx->viewport.scale[2])); in fd5_emit_state()
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c448 s->layers[i].viewport.scale[2] = 1; in vl_compositor_clear_layers()
537 s->layers[layer].viewport.scale[0] = dst_area->x1 - dst_area->x0; in vl_compositor_set_layer_dst_area()
538 s->layers[layer].viewport.scale[1] = dst_area->y1 - dst_area->y0; in vl_compositor_set_layer_dst_area()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_emit.c806 OUT_RING(ring, A4XX_GRAS_CL_VPORT_XSCALE_0(ctx->viewport.scale[0])); in fd4_emit_state()
808 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YSCALE_0(ctx->viewport.scale[1])); in fd4_emit_state()
810 OUT_RING(ring, A4XX_GRAS_CL_VPORT_ZSCALE_0(ctx->viewport.scale[2])); in fd4_emit_state()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_pipe_common.c151 viewport.scale[0] = 1.0f; in r600_draw_rectangle()
152 viewport.scale[1] = 1.0f; in r600_draw_rectangle()
153 viewport.scale[2] = 1.0f; in r600_draw_rectangle()

Completed in 40 milliseconds

1...<<71727374757677787980>>...92