Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 25 of 54) sorted by relevance

123

/AliOS-Things-master/components/py_engine/framework/
A Dspeech_utils.py84 factor = 0
100 factor = math.pow(10000,i)
101 if target < factor:
104 subTarget = int(target / factor)
105 target %= factor
123 factor = math.pow(10, depth)
126 …if (hundredMillionExist == True and tenThousandExist == True and depth > 0 and subTarget < factor):
128 elif (subTarget < factor):
132 slot = int(subNumber / factor)
133 subNumber %= factor
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestRotozoom.c462 int factor; in AccuracyTest2() local
467 for (factor = 2; factor < 64; factor += 1) in AccuracyTest2()
474 neww = picture->w * factor; in AccuracyTest2()
475 newh = picture->h * factor; in AccuracyTest2()
478 zoomed1 = zoomSurface(picture, (float)factor, (float)factor, 0); in AccuracyTest2()
479 zoomed2 = zoomSurface(picture, (float)factor, (float)factor, 1); in AccuracyTest2()
480 zoomed3 = zoomSurface(picture, (float)factor, -(float)factor, 1); in AccuracyTest2()
481 zoomed4 = zoomSurface(picture, -(float)factor, (float)factor, 1); in AccuracyTest2()
/AliOS-Things-master/components/uvoice/application/comb/
A Dcomb.c92 int factor = 0; in add_amount() local
127 factor = pow(10000, i); in add_amount()
128 if (target < factor) in add_amount()
131 sub_target = (int)(target / factor); in add_amount()
133 target %= factor; in add_amount()
151 factor = pow(10, depth); in add_amount()
155 … } else if (hundred_million_exist && ten_thousand_exist && (depth > 0) && sub_target < factor) { in add_amount()
157 } else if (sub_target < factor) { in add_amount()
161 slot = (int)(sub_number / factor); in add_amount()
162 sub_number %= factor; in add_amount()
/AliOS-Things-master/components/freetype/src/type1/
A Dt1load.c387 FT_Fixed factor; in T1_Set_MM_Blend() local
391 factor = coords[m]; in T1_Set_MM_Blend()
392 if ( factor < 0 ) in T1_Set_MM_Blend()
393 factor = 0; in T1_Set_MM_Blend()
394 if ( factor > 0x10000L ) in T1_Set_MM_Blend()
395 factor = 0x10000L; in T1_Set_MM_Blend()
398 factor = 0x10000L - factor; in T1_Set_MM_Blend()
400 result = FT_MulFix( result, factor ); in T1_Set_MM_Blend()
/AliOS-Things-master/components/py_engine/engine/py/
A Dgrammar.h263 DEF_RULE(term, c(term), list, rule(factor), rule(term_op))
265 DEF_RULE_NC(factor, or(2), rule(factor_2), rule(power))
266 DEF_RULE(factor_2, c(factor_2), and_ident(2), rule(factor_op), rule(factor))
277 DEF_RULE_NC(power_dbl_star, and_ident(2), tok(OP_DBL_STAR), rule(factor))
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/extras/
A Dget_disto.c61 const uint32_t factor = (max > 0) ? (255u << 16) / max : 0; in RescalePlane() local
66 const uint32_t diff = (ptr[x] * factor + (1 << 15)) >> 16; in RescalePlane()
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandvideo.c274 int32_t factor) in display_handle_scale() argument
277 ((SDL_WaylandOutputData*)display->driverdata)->scale_factor = factor; in display_handle_scale()
A DSDL_waylandwindow.c377 …float factor = ((SDL_WaylandOutputData*)(wl_output_get_user_data(window->outputs[i])))->scale_fact… in update_scale_factor() local
378 if (factor > new_factor) { in update_scale_factor()
379 new_factor = factor; in update_scale_factor()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_qjscalc.js101 a = Integer.factor((2^89-1)*2^3*11*13^2*1009);
/AliOS-Things-master/components/SDL2/src/video/uikit/
A DSDL_uikitmetalview.m84 /* Set the scale to the natural scale factor of the screen - then
A DSDL_uikitopengles.m170 /* Set the scale to the natural scale factor of the screen - the
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DREADME212 which will convert the input file to a WebP file using a quality factor of 80
232 -q <float> ............. quality factor (0:small..100:big), default=75
493 -q <float> ............. quality factor (0:small..100:big)
566 is the quality factor.
579 Of course in this case, no quality factor is needed since the compression
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dusage.txt97 -scale M/N Scale the output image by a factor M/N. Currently
194 components are quantized further by a factor of 2
251 factor of 10 to 50 gets rid of dithering patterns in the input file, resulting
253 factor will visibly blur the image, however.
304 -scale M/N Scale the output image by a factor M/N. Currently
591 -scale M/N Scale the output image by a factor M/N.
/AliOS-Things-master/components/SDL2/src/gfx/
A DChangeLog267 * New alpha blending code for factor 4 speedups if a<255 on all functions.
305 resulting in a much faster performance (factor 5 to 20) for non transparent pixels.
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/profiler/
A DREADME.md134 software engineers profiling often, and a key factor limiting that in practice
/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_glfuncs.h232 SDL_PROC_UNUSED(void, glLineStipple, (GLint factor, GLushort pattern))
301 SDL_PROC_UNUSED(void, glPolygonOffset, (GLfloat factor, GLfloat units))
A DSDL_render_gl.c325 static GLenum GetBlendFunc(SDL_BlendFactor factor) in GetBlendFunc() argument
327 switch (factor) { in GetBlendFunc()
/AliOS-Things-master/components/SDL2/src/render/opengles/
A DSDL_render_gles.c234 static GLenum GetBlendFunc(SDL_BlendFactor factor) in GetBlendFunc() argument
236 switch (factor) { in GetBlendFunc()
/AliOS-Things-master/components/SDL2/src/video/khronos/GLES2/
A Dgl2.h474 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units);
617 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dqjscalc.js295 factor(n) {
2392 var factor = Integer.factor; variable
/AliOS-Things-master/components/SDL2/include/
A DSDL_opengles2_gl2.h564 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
A DSDL_opengl_glext.h5115 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
10697 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
10699 GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
11016 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
11017 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
11018 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
11019 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
11020 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
11021 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
11022 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d/
A DSDL_render_d3d.c348 static D3DBLEND GetBlendFunc(SDL_BlendFactor factor) in GetBlendFunc() argument
350 switch (factor) { in GetBlendFunc()
/AliOS-Things-master/components/ble_host/script/Kconfiglib-10.21.0/
A Dkconfiglib.py2962 factor = self._parse_factor(transform_m)
2967 return factor \
2969 (AND, factor, self._parse_and_expr(transform_m))
/AliOS-Things-master/components/ble_mesh/script/Kconfiglib-10.21.0/
A Dkconfiglib.py2962 factor = self._parse_factor(transform_m)
2967 return factor \
2969 (AND, factor, self._parse_and_expr(transform_m))

Completed in 108 milliseconds

123