Home
last modified time | relevance | path

Searched refs:scale (Results 2151 - 2175 of 2302) sorted by relevance

1...<<81828384858687888990>>...93

/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dpngvalid.c6418 sample_scale(double sample_value, unsigned int scale) in sample_scale() argument
6420 sample_value = floor(sample_value * scale + .5); in sample_scale()
6425 else if (sample_value > scale) in sample_scale()
6426 sample_value = scale; in sample_scale()
6435 unsigned int scale = (1U<<that->sample_depth)-1; in image_transform_mod_end() local
6449 that->red = sample_scale(that->redf, scale); in image_transform_mod_end()
6472 that->green = sample_scale(that->greenf, scale); in image_transform_mod_end()
6476 that->blue = sample_scale(that->bluef, scale); in image_transform_mod_end()
6493 that->alpha = sample_scale(that->alphaf, scale); in image_transform_mod_end()
6498 that->alpha = scale; /* opaqu in image_transform_mod_end()
[all...]
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
H A Disp.S1358 andi.l &0x3,%d2 # extract scale value
1360 lsl.l %d2,%d1 # shift index by scale
1473 rol.w &0x7,%d2 # rotate scale value into place
1474 andi.l &0x3,%d2 # extract scale value
1476 lsl.l %d2,%d1 # shift index by scale
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/src/
H A Disp.S1358 andi.l &0x3,%d2 # extract scale value
1360 lsl.l %d2,%d1 # shift index by scale
1473 rol.w &0x7,%d2 # rotate scale value into place
1474 andi.l &0x3,%d2 # extract scale value
1476 lsl.l %d2,%d1 # shift index by scale
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dpsmouse-base.c485 static void psmouse_set_scale(struct psmouse *psmouse, enum psmouse_scale scale) in psmouse_set_scale() argument
488 scale == PSMOUSE_SCALE21 ? PSMOUSE_CMD_SETSCALE21 : in psmouse_set_scale()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c336 static const u32 scale = BIT(HW_ATL_TPS_DESC_RATE_Y_WIDTH); in hw_atl_b0_hw_init_tx_tc_rate_limit() local
422 const u32 rate = 10000U * scale / in hw_atl_b0_hw_init_tx_tc_rate_limit()
/kernel/linux/linux-5.10/drivers/video/fbdev/nvidia/
H A Dnvidia.c413 state->scale = NV_RD32(par->PRAMDAC, 0x00000848) & 0xfff000ff; in nvidia_calc_regs()
419 state->scale |= (1 << 8); in nvidia_calc_regs()
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dcros_ec_commands.h2327 * scale.
2593 * By default scale is 1, it is encoded on 16bits:
2598 uint16_t scale[3]; member
2740 uint16_t scale[3]; member
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-stat.c194 .scale = true,
1092 OPT_BOOLEAN(0, "scale", &stat_config.scale,
1093 "Use --no-scale to disable counter scaling for multiplexing"),
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c336 static const u32 scale = BIT(HW_ATL_TPS_DESC_RATE_Y_WIDTH); in hw_atl_b0_hw_init_tx_tc_rate_limit() local
422 const u32 rate = 10000U * scale / in hw_atl_b0_hw_init_tx_tc_rate_limit()
/kernel/linux/linux-6.6/drivers/video/fbdev/nvidia/
H A Dnvidia.c414 state->scale = NV_RD32(par->PRAMDAC, 0x00000848) & 0xfff000ff; in nvidia_calc_regs()
420 state->scale |= (1 << 8); in nvidia_calc_regs()
/kernel/linux/linux-6.6/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c28 * this is the gyro scale translated from dynamic range plus/minus
34 * this is the accel scale translated from dynamic range plus/minus
729 *val = st->hw->temp.scale / 1000000; in inv_mpu6050_read_raw()
730 *val2 = st->hw->temp.scale % 1000000; in inv_mpu6050_read_raw()
841 * we should only update scale when the chip is disabled, i.e. in inv_mpu6050_write_raw()
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dpsmouse-base.c482 static void psmouse_set_scale(struct psmouse *psmouse, enum psmouse_scale scale) in psmouse_set_scale() argument
485 scale == PSMOUSE_SCALE21 ? PSMOUSE_CMD_SETSCALE21 : in psmouse_set_scale()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-stat.c155 .scale = true,
1187 OPT_BOOLEAN(0, "scale", &stat_config.scale,
1188 "Use --no-scale to disable counter scaling for multiplexing"),
/kernel/linux/linux-6.6/tools/perf/util/
H A Dparse-events.c1480 evsel->scale = info.scale; in parse_events_add_pmu()
/third_party/ffmpeg/libavcodec/
H A Dffv1dec.c380 static int read_quant_table(RangeCoder *c, int16_t *quant_table, int scale) in read_quant_table() argument
395 quant_table[i] = scale * v; in read_quant_table()
H A Dlibx264.c747 int scale = X264_BUILD < 129 ? 384 : 1; in X264_init() local
751 x4->params.i_frame_reference = av_clip(x264_levels[i].dpb / mbn / scale, 1, x4->params.i_frame_reference); in X264_init()
H A Daacenc.c318 float scale = cpe->ch[0].is_ener[w*16+g]; in apply_intensity_stereo() local
326 float sum = (cpe->ch[0].coeffs[start+i] + p*cpe->ch[1].coeffs[start+i])*scale; in apply_intensity_stereo()
821 /* When using a constant Q-scale, don't mess with lambda */ in aac_encode_frame()
840 if ( its == 0 /* for steady-state Q-scale tracking */ in aac_encode_frame()
848 * This path is for steady-state Q-scale tracking in aac_encode_frame()
/third_party/lame/libmp3lame/
H A Dpsymodel.c55 barks: a non-linear frequency scale. Mapping from frequency to
441 FLOAT const scale = 1. / 64.f; in convert_partition2scalefac_l_to_s() local
443 FLOAT const tmp_thm = thm[sb] * scale; in convert_partition2scalefac_l_to_s()
1831 /* The s3 array is not linear in the bark scale. in init_s3_values()
1968 level = ATHformula(cfg, freq * 1000) - 20; /* scale to FFT units; returned value is in dB */ in psymodel_init()
2021 level = ATHformula(cfg, freq * 1000) - 20; /* scale to FFT units; returned value is in dB */ in psymodel_init()
2106 for (i = BLKSIZE / 2; --i >= 0;) { /* scale weights */ in psymodel_init()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnvfx_fragprog.c207 hw[2] |= (insn.scale << NVFX_FP_OP_DST_SCALE_SHIFT); in nvfx_fp_emit()
687 insn.scale = NVFX_FP_OP_DST_SCALE_INV_2X; in nvfx_fragprog_parse_instruction()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_draw.cpp387 ptr[0] = fui(2.0f * ctx->viewport_states[0].scale[2]); in fill_graphics_state_vars()
388 ptr[1] = fui(ctx->viewport_states[0].translate[2] - ctx->viewport_states[0].scale[2]); in fill_graphics_state_vars()
/third_party/mesa3d/src/imgui/
H A Dimgui_internal.h1187 float FontWindowScale; // User scale multiplier per-window
1448 IMGUI_API void RenderArrow(ImVec2 pos, ImGuiDir dir, float scale = 1.0f);
1456 IMGUI_API void RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor = ImGuiMouseCursor_Arrow);
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-color-colr-table.hh717 F2DOT14 scale; member
743 F2DOT14 scale; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.cpp1034 template <unsigned scale>
1045 int32_t OffImm = (int32_t)MO.getImm() << scale;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1878 Weights.push_back(static_cast<uint32_t>(CHRBranchBias.scale(1000))); in fixupBranchesAndSelects()
1879 Weights.push_back(static_cast<uint32_t>(CHRBranchBias.getCompl().scale(1000))); in fixupBranchesAndSelects()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp1042 // To scale your entire UI (e.g. if you want your app to use High DPI or generally be DPI aware) you may use this helper function. Scaling the fonts is done separately and is up to you.
1043 // Important: This operation is lossy because we round all sizes to integer. If you need to change your scale multiples, call this over a freshly initialized ImGuiStyle structure rather than scaling multiple times.
3775 const float scale = new_font_scale / window->FontWindowScale; in UpdateMouseWheel() local
3779 const ImVec2 offset = window->Size * (1.0f - scale) * (g.IO.MousePos - window->Pos) / window->Size; in UpdateMouseWheel()
3781 window->Size = ImFloor(window->Size * scale); in UpdateMouseWheel()
3782 window->SizeFull = ImFloor(window->SizeFull * scale); in UpdateMouseWheel()
4107 // Mouse wheel scrolling, scale in NewFrame()
7054 void ImGui::SetWindowFontScale(float scale) in SetWindowFontScale() argument
7056 IM_ASSERT(scale > 0.0f); in SetWindowFontScale()
7059 window->FontWindowScale = scale; in SetWindowFontScale()
11195 ImVec2 scale = bb.GetSize() / viewport->Size; DebugRenderViewportThumbnail() local
[all...]

Completed in 95 milliseconds

1...<<81828384858687888990>>...93