Home
last modified time | relevance | path

Searched refs:scale (Results 576 - 600 of 1990) sorted by relevance

1...<<21222324252627282930>>...80

/third_party/ffmpeg/libavfilter/
H A Dvf_v360.c1067 * @param scalew scale for uf
1068 * @param scaleh scale for vf
1389 static av_always_inline float scale(float x, float s) in scale() function
1911 const float uf = scale(x, width); in xyz_to_stereographic()
1912 const float vf = scale(y, height); in xyz_to_stereographic()
2015 const float uf = scale(x, width); in xyz_to_equisolid()
2016 const float vf = scale(y, height); in xyz_to_equisolid()
2126 const float uf = scale(x, width); in xyz_to_orthographic()
2127 const float vf = scale(y, height); in xyz_to_orthographic()
2183 const float uf = scale(ph in xyz_to_equirect()
3505 const float scale = 0.99f; barrel_to_xyz() local
3577 const float scale = 0.99f; xyz_to_barrel() local
[all...]
H A Dvf_convolution_opencl.c53 cl_float scale; member
256 CL_SET_KERNEL_ARG(ctx->kernel, 2, cl_float, &ctx->scale); in convolution_opencl_filter_frame()
384 { "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, 65535, FLAGS},
410 { "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, 65535, FLAGS},
436 { "scale", "set scale", OFFSE
[all...]
H A Dvf_fftfilt.c207 const float scale = 1.f / (s->rdft_hlen[plane] * s->rdft_vlen[plane]); in irdft_horizontal8() local
212 dst[j] = av_clip_uint8(lrintf(src[j] * scale)); in irdft_horizontal8()
238 const float scale = 1.f / (s->rdft_hlen[plane] * s->rdft_vlen[plane]); in irdft_horizontal16() local
243 dst[j] = av_clip(lrintf(src[j] * scale), 0, max); in irdft_horizontal16()
336 float scale = 1.f, iscale = 1.f; in config_props() local
338 av_tx_init(&s->hrdft[j][i], &s->htx_fn, AV_TX_FLOAT_RDFT, 0, 1 << s->rdft_hbits[i], &scale, 0); in config_props()
357 float scale = 1.f, iscale = 1.f; in config_props() local
359 av_tx_init(&s->vrdft[j][i], &s->vtx_fn, AV_TX_FLOAT_RDFT, 0, 1 << s->rdft_vbits[i], &scale, 0); in config_props()
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Dcistpl.c662 u_char scale; in parse_device() local
707 scale = *p & 7; in parse_device()
708 if (scale == 7) in parse_device()
710 device->dev[i].size = ((*p >> 3) + 1) * (512 << (scale*2)); in parse_device()
909 u_int scale; in parse_power() local
921 scale = POWER_SCALE(*p); in parse_power()
927 (*p & 0x7f) * scale / 100; in parse_power()
945 u_char scale; in parse_timing() local
949 scale = *p; in parse_timing()
950 if ((scale in parse_timing()
[all...]
/kernel/linux/linux-6.6/drivers/pcmcia/
H A Dcistpl.c662 u_char scale; in parse_device() local
707 scale = *p & 7; in parse_device()
708 if (scale == 7) in parse_device()
710 device->dev[i].size = ((*p >> 3) + 1) * (512 << (scale*2)); in parse_device()
909 u_int scale; in parse_power() local
921 scale = POWER_SCALE(*p); in parse_power()
927 (*p & 0x7f) * scale / 100; in parse_power()
945 u_char scale; in parse_timing() local
949 scale = *p; in parse_timing()
950 if ((scale in parse_timing()
[all...]
/third_party/node/deps/openssl/openssl/crypto/whrlpool/asm/
H A Dwp-mmx.pl74 sub scale() subroutine
135 &scale ("esi","ecx");
137 &scale ("edi","edx");
142 &scale ("esi","ecx");
144 &scale ("edi","edx");
149 &scale ("esi","ecx");
151 &scale ("edi","edx");
156 &scale ("esi","ecx");
158 &scale ("edi","edx");
169 &scale ("es
[all...]
/third_party/openssl/crypto/whrlpool/asm/
H A Dwp-mmx.pl74 sub scale() subroutine
135 &scale ("esi","ecx");
137 &scale ("edi","edx");
142 &scale ("esi","ecx");
144 &scale ("edi","edx");
149 &scale ("esi","ecx");
151 &scale ("edi","edx");
156 &scale ("esi","ecx");
158 &scale ("edi","edx");
169 &scale ("es
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboTestUtil.cpp251 // Output scale & bias in genTexFragmentShader()
319 m_inputs[ndx].scale = Vec4(1.0f); in Texture2DShader()
329 void Texture2DShader::setTexScaleBias (int inputNdx, const Vec4& scale, const Vec4& bias) in setTexScaleBias() argument
331 m_inputs[inputNdx].scale = scale; in setTexScaleBias()
335 void Texture2DShader::setOutScaleBias (const Vec4& scale, const Vec4& bias) in setOutScaleBias() argument
337 m_outScale = scale; in setOutScaleBias()
352 gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr()); in setUniforms()
396 const tcu::Vec4 scale (m_uniforms[2 + ndx*3 + 1].value.f4); in shadeFragments()
403 colors[fragNdx] += tmpColors[fragNdx] * scale in shadeFragments()
494 setTexScaleBias(const Vec4& scale, const Vec4& bias) setTexScaleBias() argument
605 setTexScaleBias(const Vec4& scale, const Vec4& bias) setTexScaleBias() argument
713 setTexScaleBias(const Vec4& scale, const Vec4& bias) setTexScaleBias() argument
891 readPixels(sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) readPixels() argument
[all...]
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
H A Drm3100-core.c80 int scale; member
318 * The scale of this sensor depends on the cycle count value, these in rm3100_set_cycle_count()
320 * 200. scale = output / gain * 10^4. in rm3100_set_cycle_count()
324 data->scale = 500; in rm3100_set_cycle_count()
327 data->scale = 263; in rm3100_set_cycle_count()
335 data->scale = 133; in rm3100_set_cycle_count()
420 *val2 = data->scale; in rm3100_read_raw()
/kernel/linux/linux-6.6/drivers/iio/magnetometer/
H A Drm3100-core.c80 int scale; member
310 * The scale of this sensor depends on the cycle count value, these in rm3100_set_cycle_count()
312 * 200. scale = output / gain * 10^4. in rm3100_set_cycle_count()
316 data->scale = 500; in rm3100_set_cycle_count()
319 data->scale = 263; in rm3100_set_cycle_count()
327 data->scale = 133; in rm3100_set_cycle_count()
412 *val2 = data->scale; in rm3100_read_raw()
/third_party/ffmpeg/libavcodec/
H A Ddcadec.c121 const float scale = 1.0f / (1 << 15); in ff_dca_downmix_to_stereo_float() local
128 coeff_l[pos ] * scale, nsamples); in ff_dca_downmix_to_stereo_float()
130 coeff_r[pos + 1] * scale, nsamples); in ff_dca_downmix_to_stereo_float()
139 *coeff_l * scale, nsamples); in ff_dca_downmix_to_stereo_float()
143 *coeff_r * scale, nsamples); in ff_dca_downmix_to_stereo_float()
H A Daacdec_fixed.c167 static void subband_scale(int *dst, int *src, int scale, int offset, int len, void *log_context) in subband_scale() argument
169 int ssign = scale < 0 ? -1 : 1; in subband_scale()
170 int s = FFABS(scale); in subband_scale()
198 static void noise_scale(int *coefs, int scale, int band_energy, int len) in noise_scale() argument
200 int s = -scale; in noise_scale()
H A Dituh263enc.c596 int scale; in ff_h263_encode_mb() local
598 if(i<4) scale= s->y_dc_scale; in ff_h263_encode_mb()
599 else scale= s->c_dc_scale; in ff_h263_encode_mb()
605 level = (level + (scale>>1))/scale; in ff_h263_encode_mb()
607 level = (level - (scale>>1))/scale; in ff_h263_encode_mb()
618 rec_intradc[i] = scale*level + pred_dc; in ff_h263_encode_mb()
846 // Note for MPEG-4 & H.263 the dc-scale table will be set per frame as needed later in ff_h263_encode_init()
/third_party/skia/src/core/
H A DSkGlyphRun.cpp55 [scale = strikeToSourceScale](const SkRect& in, const SkPoint& pos) { in sourceBounds()
56 return SkRect::MakeLTRB(in.left() * scale + pos.x(), in sourceBounds()
57 in.top() * scale + pos.y(), in sourceBounds()
58 in.right() * scale + pos.x(), in sourceBounds()
59 in.bottom() * scale + pos.y()); in sourceBounds()
70 // RSXForm - glyphs can be any scale or rotation. in sourceBounds()
95 // RSXForm case glyphs can be any scale or rotation. in sourceBounds()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-color-sbix-table.hh309 float scale = font->face->get_upem () / (float) strike_ppem; in get_png_extents() local
310 extents->x_bearing = font->em_scalef_x (extents->x_bearing * scale); in get_png_extents()
311 extents->y_bearing = font->em_scalef_y (extents->y_bearing * scale); in get_png_extents()
312 extents->width = font->em_scalef_x (extents->width * scale); in get_png_extents()
313 extents->height = font->em_scalef_y (extents->height * scale); in get_png_extents()
/third_party/skia/gm/
H A Dfilterfastbounds.cpp105 SkMatrix scale; in create_paints() local
106 scale.setScale(2.0f, 2.0f); in create_paints()
109 SkImageFilters::MatrixTransform(scale, SkSamplingOptions(SkFilterMode::kLinear), in create_paints()
187 canvas->scale(1.5f, 1.5f); in draw_geom_with_paint()
218 canvas->scale(1.5f, 1.5f); in draw_savelayer_with_paint()
/third_party/mesa3d/src/imgui/
H A Dimstb_truetype.h179 // an explicit scale factor to scale a given font's glyphs to points,
180 // but the author has observed that this scale factor is often wrong
189 // a scale factor SF that will be used by all other functions.
380 float scale, xpos=2; // leave a little padding in case the character extends left
386 scale = stbtt_ScaleForPixelHeight(&font, 15);
388 baseline = (int) (ascent*scale);
394 stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1);
395 stbtt_MakeCodepointBitmapSubpixel(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scal
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimstb_truetype.h179 // an explicit scale factor to scale a given font's glyphs to points,
180 // but the author has observed that this scale factor is often wrong
189 // a scale factor SF that will be used by all other functions.
380 float scale, xpos=2; // leave a little padding in case the character extends left
386 scale = stbtt_ScaleForPixelHeight(&font, 15);
388 baseline = (int) (ascent*scale);
394 stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1);
395 stbtt_MakeCodepointBitmapSubpixel(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scal
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dar933x_uart.c234 * baudrate = (clk / (scale + 1)) * (step * (1 / 2^17))
237 unsigned int scale, in ar933x_uart_get_baud()
243 div = (2 << 16) * (scale + 1); in ar933x_uart_get_baud()
254 unsigned int *scale, in ar933x_uart_get_scale_step()
260 *scale = 0; in ar933x_uart_get_scale_step()
278 *scale = tscale; in ar933x_uart_get_scale_step()
292 unsigned int baud, scale, step; in ar933x_uart_set_termios() local
315 ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); in ar933x_uart_set_termios()
337 scale << AR933X_UART_CLOCK_SCALE_S | step); in ar933x_uart_set_termios()
236 ar933x_uart_get_baud(unsigned int clk, unsigned int scale, unsigned int step) ar933x_uart_get_baud() argument
252 ar933x_uart_get_scale_step(unsigned int clk, unsigned int baud, unsigned int *scale, unsigned int *step) ar933x_uart_get_scale_step() argument
/kernel/linux/linux-5.10/kernel/time/
H A Dclocksource.c1032 * @scale: Scale factor multiplied against freq to get clocksource hz
1033 * @freq: clocksource frequency (cycles per second) divided by scale
1041 void __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_update_freq_scale() argument
1061 do_div(sec, scale); in __clocksource_update_freq_scale()
1068 NSEC_PER_SEC / scale, sec * scale); in __clocksource_update_freq_scale()
1073 * If both scale and freq are non-zero, calculate the clock in __clocksource_update_freq_scale()
1075 * if either of scale or freq is zero, be very conservative and in __clocksource_update_freq_scale()
1081 if (scale && freq && !cs->uncertainty_margin) { in __clocksource_update_freq_scale()
1082 cs->uncertainty_margin = NSEC_PER_SEC / (scale * fre in __clocksource_update_freq_scale()
1128 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) __clocksource_register_scale() argument
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dar933x_uart.c234 * baudrate = (clk / (scale + 1)) * (step * (1 / 2^17))
237 unsigned int scale, in ar933x_uart_get_baud()
243 div = (2 << 16) * (scale + 1); in ar933x_uart_get_baud()
254 unsigned int *scale, in ar933x_uart_get_scale_step()
260 *scale = 0; in ar933x_uart_get_scale_step()
278 *scale = tscale; in ar933x_uart_get_scale_step()
292 unsigned int baud, scale, step; in ar933x_uart_set_termios() local
315 ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); in ar933x_uart_set_termios()
337 scale << AR933X_UART_CLOCK_SCALE_S | step); in ar933x_uart_set_termios()
236 ar933x_uart_get_baud(unsigned int clk, unsigned int scale, unsigned int step) ar933x_uart_get_baud() argument
252 ar933x_uart_get_scale_step(unsigned int clk, unsigned int baud, unsigned int *scale, unsigned int *step) ar933x_uart_get_scale_step() argument
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dmax11410.c438 int scale; in max11410_get_scale() local
442 scale = regulator_get_voltage(vrefp) / 1000; in max11410_get_scale()
445 scale -= regulator_get_voltage(vrefn) / 1000; in max11410_get_scale()
448 scale *= 2; in max11410_get_scale()
450 return scale >> cfg.gain; in max11410_get_scale()
524 /* Accept values in range 0.000001 <= scale < 1.000000 */ in max11410_write_raw()
702 u32 inputs[2], scale; in max11410_parse_channels() local
801 scale = max11410_get_scale(st, *cfg); in max11410_parse_channels()
803 cfg->scale_avail[2 * i] = scale >> i; in max11410_parse_channels()
/kernel/linux/linux-6.6/kernel/time/
H A Dclocksource.c1113 * @scale: Scale factor multiplied against freq to get clocksource hz
1114 * @freq: clocksource frequency (cycles per second) divided by scale
1122 void __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_update_freq_scale() argument
1142 do_div(sec, scale); in __clocksource_update_freq_scale()
1149 NSEC_PER_SEC / scale, sec * scale); in __clocksource_update_freq_scale()
1154 * If both scale and freq are non-zero, calculate the clock in __clocksource_update_freq_scale()
1156 * if either of scale or freq is zero, be very conservative and in __clocksource_update_freq_scale()
1162 if (scale && freq && !cs->uncertainty_margin) { in __clocksource_update_freq_scale()
1163 cs->uncertainty_margin = NSEC_PER_SEC / (scale * fre in __clocksource_update_freq_scale()
1209 __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) __clocksource_register_scale() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dnumber_fluent.cpp264 Derived NumberFormatterSettings<Derived>::scale(const Scale& scale) const& { in scale() function in NumberFormatterSettings
266 copy.fMacros.scale = scale; in scale()
271 Derived NumberFormatterSettings<Derived>::scale(const Scale& scale)&& { in scale() argument
273 move.fMacros.scale = scale; in scale()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_fluent.cpp264 Derived NumberFormatterSettings<Derived>::scale(const Scale& scale) const& { in scale() function in NumberFormatterSettings
266 copy.fMacros.scale = scale; in scale()
271 Derived NumberFormatterSettings<Derived>::scale(const Scale& scale)&& { in scale() argument
273 move.fMacros.scale = scale; in scale()

Completed in 37 milliseconds

1...<<21222324252627282930>>...80