Home
last modified time | relevance | path

Searched refs:fac (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DColorStateTests.cpp265 RGBA8 mix(const RGBA8& col1, const RGBA8& col2, std::array<float, 4> fac) { in mix() argument
266 float r = static_cast<float>(col1.r) * (1.f - fac[0]) + static_cast<float>(col2.r) * fac[0]; in mix()
267 float g = static_cast<float>(col1.g) * (1.f - fac[1]) + static_cast<float>(col2.g) * fac[1]; in mix()
268 float b = static_cast<float>(col1.b) * (1.f - fac[2]) + static_cast<float>(col2.b) * fac[2]; in mix()
269 float a = static_cast<float>(col1.a) * (1.f - fac[3]) + static_cast<float>(col2.a) * fac[3]; in mix()
276 RGBA8 mix(const RGBA8& col1, const RGBA8& col2, const RGBA8& fac) { in mix() argument
[all...]
/third_party/toybox/toys/pending/
H A Dsyslogd.c103 char *fac = tk, *lvl; in resolve_config() local
108 tk = strchr(fac, '.'); in resolve_config()
114 char *nfac = strchr(fac, ','); in resolve_config()
117 if (*fac == '*') { in resolve_config()
119 if (fac[1]) return -1; in resolve_config()
121 if ((i = logger_lookup(0, fac)) == -1) return -1; in resolve_config()
124 if (nfac) fac = nfac + 1; in resolve_config()
323 int olen = len, fac, lvl; in logmsg() local
342 fac = LOG_FAC(pri); in logmsg()
361 if (!((tf->facility[lvl] & (1 << fac)) || (t in logmsg()
[all...]
/third_party/ffmpeg/libavcodec/
H A Daacsbr.c82 float temp1, temp2, fac; in sbr_dequant() local
97 fac = temp1 / (1.0f + temp2); in sbr_dequant()
98 sbr->data[0].env_facs[e][k] = fac; in sbr_dequant()
99 sbr->data[1].env_facs[e][k] = fac * temp2; in sbr_dequant()
106 float fac; in sbr_dequant() local
108 fac = temp1 / (1.0f + temp2); in sbr_dequant()
109 sbr->data[0].noise_facs[e][k] = fac; in sbr_dequant()
110 sbr->data[1].noise_facs[e][k] = fac * temp2; in sbr_dequant()
H A Dcelp_filters.c52 const float *lagged, int lag, float fac, int n) in ff_celp_circ_addf()
56 out[k] = in[k] + fac * lagged[n + k - lag]; in ff_celp_circ_addf()
58 out[k] = in[k] + fac * lagged[ k - lag]; in ff_celp_circ_addf()
51 ff_celp_circ_addf(float *out, const float *in, const float *lagged, int lag, float fac, int n) ff_celp_circ_addf() argument
H A Daacsbr_fixed.c163 SoftFloat temp1, temp2, fac; in sbr_dequant() local
182 fac = av_div_sf(temp1, av_add_sf(FLOAT_1, temp2)); in sbr_dequant()
183 sbr->data[0].env_facs[e][k] = fac; in sbr_dequant()
184 sbr->data[1].env_facs[e][k] = av_mul_sf(fac, temp2); in sbr_dequant()
189 SoftFloat temp1, temp2, fac; in sbr_dequant() local
197 fac = av_div_sf(temp1, av_add_sf(FLOAT_1, temp2)); in sbr_dequant()
198 sbr->data[0].noise_facs[e][k] = fac; in sbr_dequant()
199 sbr->data[1].noise_facs[e][k] = av_mul_sf(fac, temp2); in sbr_dequant()
H A Dcelp_filters.h94 * out[k] = in[k] + fac * lagged[k-lag] with wrap-around
100 * @param fac scalefactor for lagged samples
104 const float *lagged, int lag, float fac, int n);
H A Damrnbdec.c688 float fac = in->pitch_fac; in apply_ir_filter() local
692 ff_celp_circ_addf(filter1, filter, filter, lag, fac, in apply_ir_filter()
696 ff_celp_circ_addf(filter2, filter, filter1, lag, fac, in apply_ir_filter()
H A Dwmavoice.c1451 float fac; in synth_block() local
1461 fac = (block_idx + 0.5) / frame_desc->n_blocks; in synth_block()
1463 i_lsps[n] = cos(prev_lsps[n] + fac * (lsps[n] - prev_lsps[n])); in synth_block()
1523 int fac = n * 2 + 1; in synth_frame() local
1525 pitch[n] = (MUL16(fac, cur_pitch_val) + in synth_frame()
1526 MUL16((n_blocks_x2 - fac), s->last_pitch_val) + in synth_frame()
H A Damrwbdec.c1007 float fac = gamma; in lpc_weighting() local
1010 out[i] = lpc[i] * fac; in lpc_weighting()
1011 fac *= gamma; in lpc_weighting()
H A Devrcdec.c524 double fac = gamma; in bandwidth_expansion() local
528 coeff[i] = inbuf[i] * fac; in bandwidth_expansion()
529 fac *= gamma; in bandwidth_expansion()
/third_party/ffmpeg/libavfilter/
H A Dvf_colorspace.c256 double mai[3][3], fac[3][3], tmp[3][3]; in fill_whitepoint_conv_table() local
266 fac[0][0] = rd / rs; in fill_whitepoint_conv_table()
267 fac[1][1] = gd / gs; in fill_whitepoint_conv_table()
268 fac[2][2] = bd / bs; in fill_whitepoint_conv_table()
269 fac[0][1] = fac[0][2] = fac[1][0] = fac[1][2] = fac[2][0] = fac[ in fill_whitepoint_conv_table()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLDirectCompositionTest.cpp69 void *fac = nullptr; variable
70 hr = mRoHelper.GetActivationFactory(act, __uuidof(IActivationFactory), &fac);
75 compositorFactory.Attach((IActivationFactory *)fac);
/third_party/lame/libmp3lame/
H A Dquantize_pvt.c497 FLOAT fac; in reduce_side() local
502 /* ms_ener_ratio = 0: allocate 66/33 mid/side fac=.33 in reduce_side()
503 * ms_ener_ratio =.5: allocate 50/50 mid/side fac= 0 */ in reduce_side()
504 /* 75/25 split is fac=.5 */ in reduce_side()
505 /* float fac = .50*(.5-ms_ener_ratio[gr])/.5; */ in reduce_side()
506 fac = .33 * (.5 - ms_ener_ratio) / .5; in reduce_side()
507 if (fac < 0) in reduce_side()
508 fac = 0; in reduce_side()
509 if (fac > .5) in reduce_side()
510 fac in reduce_side()
[all...]
/third_party/python/Lib/test/
H A Dtest_ast.py1303 def _check_arguments(self, fac, check):
1319 return fac(args)
1347 def fac(args): function
1349 self._check_arguments(fac, self.stmt)
1527 def fac(args): function
1529 self._check_arguments(fac, self.expr)
1548 def _check_comprehension(self, fac):
1549 self.expr(fac([]), "comprehension with no generators")
1552 self.expr(fac([g]), "must have Store context")
1555 self.expr(fac([
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/converged/
H A DCompositorNativeWindow11.cpp402 HRESULT RoHelper::GetActivationFactory(const HSTRING act, const IID &interfaceId, void **fac) in GetActivationFactory() argument
408 auto hr = mFpGetActivationFactory(act, interfaceId, fac); in GetActivationFactory()
H A DCompositorNativeWindow11.h33 HRESULT GetActivationFactory(const HSTRING act, const IID &interfaceId, void **fac);
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
H A Dexception_safety_testing_test.cc546 auto fac = []() { return absl::make_unique<T>(); }; in TEST() local
560 .WithFactory(fac); in TEST()
567 testing::MakeExceptionSafetyTester().WithOperation(op).WithFactory(fac); in TEST()
/third_party/backends/backend/
H A Dplustek-usbhw.c348 double maxf, fac, speed; in usb_WaitPos() local
409 fac = maxf/step; in usb_WaitPos()
411 if((u_short)fac < ffs ) { in usb_WaitPos()
412 ffs -= fac; in usb_WaitPos()
424 if((int)fac > 25 ) in usb_WaitPos()
/third_party/lame/frontend/
H A Dgtkanal.c586 int fac, nsfb, *scalefac; in plot_frame() local
590 fac = 3; in plot_frame()
596 fac = 1; in plot_frame()
602 xcord[0] = fac * scalefac[i]; in plot_frame()
/third_party/mesa3d/include/D3D9/
H A Dd3d9types.h42 #define MAKE_HRESULT(sev,fac,code) \
45 ((HRESULT)(fac) << 16) | \
/third_party/astc-encoder/Source/
H A Dstb_image.h2208 static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64], stbi__huffman *hdc, stbi__huffman *hac, stbi__int16 *fac, int b, stbi__uint16 *dequant) in stbi__jpeg_decode_block() argument
2234 r = fac[c]; in stbi__jpeg_decode_block()
2293 static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64], stbi__huffman *hac, stbi__int16 *fac) in stbi__jpeg_decode_block_prog_ac() argument
2312 r = fac[c]; in stbi__jpeg_decode_block_prog_ac()
/third_party/libfuse/lib/
H A Dfuse.c4693 fuse_module_factory_t *fac) in print_module_help()
4700 (*fac)(&a, NULL); in print_module_help()
4692 print_module_help(const char *name, fuse_module_factory_t *fac) print_module_help() argument

Completed in 48 milliseconds