/third_party/ffmpeg/libavcodec/ |
H A D | mss34dsp.c | 64 #define DCT_TEMPLATE(blk, step, SOP, shift) \ 65 const unsigned t0 =-39409U * blk[7 * step] - 58980U * blk[1 * step]; \ 66 const unsigned t1 = 39410U * blk[1 * step] - 58980U * blk[7 * step]; \ 67 const unsigned t2 =-33410U * blk[5 * step] -167963U * blk[3 * step]; \ 68 const unsigned t3 = 33410U * blk[3 * step] -167963U * blk[5 * step]; \ 69 const unsigned t4 = blk[3 * step] [all...] |
H A D | rv40dsp.c | 318 const ptrdiff_t step = C ? stride : 1;\ 320 OP(dst[0], (A*src[0] + E*src[step+0] + bias));\ 321 OP(dst[1], (A*src[1] + E*src[step+1] + bias));\ 322 OP(dst[2], (A*src[2] + E*src[step+2] + bias));\ 323 OP(dst[3], (A*src[3] + E*src[step+3] + bias));\ 358 const ptrdiff_t step = C ? stride : 1;\ 360 OP(dst[0], (A*src[0] + E*src[step+0] + bias));\ 361 OP(dst[1], (A*src[1] + E*src[step+1] + bias));\ 362 OP(dst[2], (A*src[2] + E*src[step+2] + bias));\ 363 OP(dst[3], (A*src[3] + E*src[step 429 rv40_weak_loop_filter(uint8_t *src, const int step, const ptrdiff_t stride, const int filter_p1, const int filter_q1, const int alpha, const int beta, const int lim_p0q0, const int lim_q1, const int lim_p1) rv40_weak_loop_filter() argument 497 rv40_strong_loop_filter(uint8_t *src, const int step, const ptrdiff_t stride, const int alpha, const int lims, const int dmode, const int chroma) rv40_strong_loop_filter() argument 569 rv40_loop_filter_strength(uint8_t *src, int step, ptrdiff_t stride, int beta, int beta2, int edge, int *p1, int *q1) rv40_loop_filter_strength() argument [all...] |
H A D | twinvq.c | 87 float step = (v1 - v2) / (size + 1); in interpolate() local 90 v2 += step; in interpolate() 109 * @param step the size of a block "siiiibiiii" 118 int size, int step, int part) in eval_lpcenv_or_interp() 125 for (i = 0; i < size; i += step) in eval_lpcenv_or_interp() 132 for (i = step; i <= size - 2 * step; i += step) { in eval_lpcenv_or_interp() 133 if (out[i + step] + out[i - step] > 1.9 in eval_lpcenv_or_interp() 115 eval_lpcenv_or_interp(TwinVQContext *tctx, enum TwinVQFrameType ftype, float *out, const float *in, int size, int step, int part) eval_lpcenv_or_interp() argument 152 eval_lpcenv_2parts(TwinVQContext *tctx, enum TwinVQFrameType ftype, const float *buf, float *lpc, int size, int step) eval_lpcenv_2parts() argument 222 float step = TWINVQ_AMP_MAX / ((1 << TWINVQ_GAIN_BITS) - 1); dec_gain() local [all...] |
H A D | fic.c | 89 static av_always_inline void fic_idct(int16_t *blk, int step, int shift, int rnd) in fic_idct() argument 91 const unsigned t0 = 27246 * blk[3 * step] + 18405 * blk[5 * step]; in fic_idct() 92 const unsigned t1 = 27246 * blk[5 * step] - 18405 * blk[3 * step]; in fic_idct() 93 const unsigned t2 = 6393 * blk[7 * step] + 32139 * blk[1 * step]; in fic_idct() 94 const unsigned t3 = 6393 * blk[1 * step] - 32139 * blk[7 * step]; in fic_idct() 99 const unsigned t8 = 17734 * blk[2 * step] in fic_idct() [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | pack.c | 36 const int step) /* I - Step value between pixels */ in cupsPackHorizontal() 51 ipixels += step; in cupsPackHorizontal() 54 ipixels += step; in cupsPackHorizontal() 57 ipixels += step; in cupsPackHorizontal() 60 ipixels += step; in cupsPackHorizontal() 63 ipixels += step; in cupsPackHorizontal() 66 ipixels += step; in cupsPackHorizontal() 69 ipixels += step; in cupsPackHorizontal() 72 ipixels += step; in cupsPackHorizontal() 88 if (ipixels[6 * step]) in cupsPackHorizontal() 32 cupsPackHorizontal(const unsigned char *ipixels, unsigned char *obytes, int width, const unsigned char clearto, const int step) cupsPackHorizontal() argument 119 cupsPackHorizontal2(const unsigned char *ipixels, unsigned char *obytes, int width, const int step) cupsPackHorizontal2() argument 251 cupsPackVertical(const unsigned char *ipixels, unsigned char *obytes, int width, const unsigned char bit, const int step) cupsPackVertical() argument [all...] |
/third_party/python/Objects/ |
H A D | sliceobject.c | 109 /* start, stop, and step are python objects with None indicating no 114 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument 116 if (step == NULL) { in PySlice_New() 117 step = Py_None; in PySlice_New() 140 Py_INCREF(step); in PySlice_New() 141 obj->step = step; in PySlice_New() 172 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() 176 if (r->step == Py_None) { in PySlice_GetIndices() 177 *step in PySlice_GetIndices() 171 PySlice_GetIndices(PyObject *_r, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) PySlice_GetIndices() argument 203 PySlice_Unpack(PyObject *_r, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) PySlice_Unpack() argument 249 PySlice_AdjustIndices(Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t step) PySlice_AdjustIndices() argument 293 PySlice_GetIndicesEx(PyObject *_r, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength) PySlice_GetIndicesEx() argument 306 PyObject *start, *stop, *step; slice_new() local 386 PyObject *start=NULL, *stop=NULL, *step=NULL; _PySlice_GetLongIndices() local 527 PyObject *start, *stop, *step; slice_indices() local [all...] |
H A D | rangeobject.c | 20 PyObject *step; member 24 /* Helper function for validating step. Always returns a new reference or 28 validate_step(PyObject *step) in validate_step() argument 30 /* No step specified, use a step of 1. */ in validate_step() 31 if (!step) in validate_step() 34 step = PyNumber_Index(step); in validate_step() 35 if (step && _PyLong_Sign(step) in validate_step() 48 make_range_object(PyTypeObject *type, PyObject *start, PyObject *stop, PyObject *step) make_range_object() argument 78 PyObject *start = NULL, *stop = NULL, *step = NULL; range_from_array() local 180 compute_range_length(PyObject *start, PyObject *stop, PyObject *step) compute_range_length() argument 345 PyObject *start = NULL, *stop = NULL, *step = NULL; compute_slice() local 769 long step; global() member 796 PyObject *start=NULL, *stop=NULL, *step=NULL; rangeiter_reduce() local 888 get_len_of_range(long lo, long hi, long step) get_len_of_range() argument 916 fast_range_iter(long start, long stop, long step, long len) fast_range_iter() argument 932 PyObject *step; global() member [all...] |
/base/startup/bootstrap_lite/services/source/ |
H A D | bootstrap_service.h | 23 #define APP_NAME(name, step) ".zinitcall.app." #name #step ".init"
24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init"
26 #define APP_CALL(name, step) \
28 InitCall *initcall = (InitCall *)(APP_BEGIN(name, step)); \
29 InitCall *initend = (InitCall *)(APP_END(name, step)); \
35 #define MODULE_CALL(name, step) \
37 InitCall *initcall = (InitCall *)(MODULE_BEGIN(name, step)); \
38 InitCall *initend = (InitCall *)(MODULE_END(name, step)); \
[all...] |
H A D | core_main.h | 23 #define SYS_NAME(name, step) ".zinitcall.sys." #name #step ".init"
24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init"
26 #define SYS_CALL(name, step) \
28 InitCall *initcall = (InitCall *)(SYS_BEGIN(name, step)); \
29 InitCall *initend = (InitCall *)(SYS_END(name, step)); \
35 #define MODULE_CALL(name, step) \
37 InitCall *initcall = (InitCall *)(MODULE_BEGIN(name, step)); \
38 InitCall *initend = (InitCall *)(MODULE_END(name, step)); \
[all...] |
/third_party/ffmpeg/libpostproc/ |
H A D | postprocess.c | 384 static av_always_inline void do_a_deblock_C(uint8_t *src, int step, in do_a_deblock_C() argument 392 src+= step*4; // src points to begin of the 8x8 Block in do_a_deblock_C() 396 numEq += ((unsigned)(src[-1*step] - src[0*step] + dcOffset)) < dcThreshold; in do_a_deblock_C() 397 numEq += ((unsigned)(src[ 0*step] - src[1*step] + dcOffset)) < dcThreshold; in do_a_deblock_C() 398 numEq += ((unsigned)(src[ 1*step] - src[2*step] + dcOffset)) < dcThreshold; in do_a_deblock_C() 399 numEq += ((unsigned)(src[ 2*step] - src[3*step] in do_a_deblock_C() [all...] |
/third_party/backends/backend/ |
H A D | plustek-pp_scale.c | 68 int step; in ScaleX() local 82 case COLOR_BW : step = 0; break; in ScaleX() 83 case COLOR_HALFTONE: step = 0; break; in ScaleX() 84 case COLOR_256GRAY : step = 1; break; in ScaleX() 85 case COLOR_TRUE24 : step = 3; break; /*NOTE: COLOR_TRUE32 is the same !*/ in ScaleX() 86 case COLOR_TRUE48 : step = 6; break; in ScaleX() 87 default : step = 99; break; in ScaleX() 92 if( 99 == step ) { in ScaleX() 101 if( 0 == step ) { in ScaleX() 128 for( i = 0; i < ps->DataInf.dwPhysBytesPerLine*step; in ScaleX() [all...] |
/third_party/rust/crates/minimal-lexical/etc/ |
H A D | bellerophon_table.py | 32 step: BASE{0}_STEP, 45 def next_fp(fp, base, step = 1): 48 return (fp[0] * (base**step), fp[1]) 51 def prev_fp(fp, base, step = 1): 54 return (fp[0] // (base**step), fp[1]) 81 def generate_large(base, step): 87 bitshift = calculate_bitshift(base, abs(min_exp - step)) 94 for exp in range(-step, min_exp-step, -step) [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec_mips32.c | 30 static WEBP_INLINE void do_filter2(uint8_t* p, int step) { in do_filter2() argument 31 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter2() 35 p[-step] = VP8kclip1[p0 + a2]; in do_filter2() 40 static WEBP_INLINE void do_filter4(uint8_t* p, int step) { in do_filter4() argument 41 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter4() 46 p[-2 * step] in do_filter4() 53 do_filter6(uint8_t* p, int step) do_filter6() argument 69 hev(const uint8_t* p, int step, int thresh) hev() argument 74 needs_filter(const uint8_t* p, int step, int t) needs_filter() argument 79 needs_filter2(const uint8_t* p, int step, int t, int it) needs_filter2() argument [all...] |
/third_party/gn/infra/recipes/ |
H A D | gn.py | 19 'recipe_engine/step', 35 lines = api.step( 69 sysroot = '--sysroot=%s' % api.step( 103 with api.step.nest('git'), api.context(infra_steps=True): 104 api.step('init', ['git', 'init', src_dir]) 112 api.step('fetch', ['git', 'fetch', '--tags', repository, ref]) 113 api.step('checkout', ['git', 'checkout', 'FETCH_HEAD']) 114 revision = api.step( 118 api.step('fetch %s/%s' % (change.change, change.patchset), [ 123 api.step('checkou [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_split_draw.c | 28 uint32_t *count, uint32_t *step) in u_split_draw() 31 *step = *count; in u_split_draw() 37 *count = *step = max_verts; in u_split_draw() 40 *count = *step = max_verts - (max_verts % 2); in u_split_draw() 44 *step = max_verts - 1; in u_split_draw() 48 *step = max_verts - 1; in u_split_draw() 54 *count = *step = max_verts - (max_verts % 3); in u_split_draw() 58 *step = max_verts - 2; in u_split_draw() 63 *count = *step = max_verts; in u_split_draw() 27 u_split_draw(const struct pipe_draw_info *info, uint32_t max_verts, uint32_t *count, uint32_t *step) u_split_draw() argument
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
H A D | Huffman.java | 22 int step = 1 << (len - 1); in getNextKey() 23 while ((key & step) != 0) { in getNextKey() 24 step >>= 1; in getNextKey() 26 return (key & (step - 1)) + step; in getNextKey() 30 * Stores {@code item} in {@code table[0], table[step], table[2 * step] .., table[end]}. 32 * <p> Assumes that end is an integer multiple of step. 34 private static void replicateValue(int[] table, int offset, int step, int end, int item) { in replicateValue() argument 36 end -= step; in replicateValue() [all...] |
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
H A D | Huffman.cs | 26 int step = 1 << (len - 1);
in GetNextKey() 27 while ((key & step) != 0)
in GetNextKey() 29 step >>= 1;
in GetNextKey() 31 return (key & (step - 1)) + step;
in GetNextKey() 38 /// <c>table[0], table[step], table[2 * step] .., table[end]</c>
40 /// <p> Assumes that end is an integer multiple of step.
42 private static void ReplicateValue(int[] table, int offset, int step, int end, int item)
in ReplicateValue() argument 46 end -= step;
in ReplicateValue() [all...] |
/third_party/skia/infra/bots/recipe_modules/run/examples/ |
H A D | full.py | 12 'recipe_engine/step', 19 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)]) 25 api.run(api.step, 'fail', cmd=['false']) 26 except api.step.StepFailure: 28 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False) 29 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing']) 44 api.run(api.step, 'env', cmd=['env']) 47 api.run(api.step, 'between_attempts #%d' % attempt, 52 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'], 54 except api.step [all...] |
/third_party/skia/src/effects/ |
H A D | SkCornerPathEffect.cpp | 17 SkPoint* step) { in ComputeStep() 20 *step = b - a; in ComputeStep() 22 *step *= SK_ScalarHalf; in ComputeStep() 25 *step *= radius / dist; in ComputeStep() 48 SkVector firstStep, step; variable 52 step.set(0, 0); 74 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); 77 dst->moveTo(moveTo + step); 80 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 81 pts[0].fY + step 16 ComputeStep(const SkPoint& a, const SkPoint& b, SkScalar radius, SkPoint* step) ComputeStep() argument [all...] |
/third_party/skia/bench/ |
H A D | InterpBench.cpp | 64 SkFixed step = SkFloatToFixed(dx); variable 66 dst[i + 0] = TILE(curr, count); curr += step; 67 dst[i + 1] = TILE(curr, count); curr += step; 68 dst[i + 2] = TILE(curr, count); curr += step; 69 dst[i + 3] = TILE(curr, count); curr += step; 83 int64_t step = (int64_t)(dx * 65536 * 655536); variable 88 curr += step; 92 curr += step; 96 curr += step; 100 curr += step; 114 int64_t step = (int64_t)(dx * 65536 * 655536 * 65536); global() variable [all...] |
/third_party/python/Include/ |
H A D | sliceobject.h | 17 A slice object containing start, stop, and step data members (the 24 PyObject *start, *stop, *step; /* not NULL */ member 34 PyObject* step); 42 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step); 46 Py_ssize_t *step, 50 #define PySlice_GetIndicesEx(slice, length, start, stop, step, slicelen) ( \ 51 PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \ 53 ((*(slicelen) = PySlice_AdjustIndices((length), (start), (stop), *(step))), \ 56 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step); 59 Py_ssize_t step); [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto_pake.c | 284 psa_crypto_driver_pake_step_t step, in mbedtls_psa_pake_output_internal() 291 (void) step; // Unused parameter in mbedtls_psa_pake_output_internal() 304 * data is stored in an intermediate buffer at first step output call, in mbedtls_psa_pake_output_internal() 306 * to return the right parts on each step. in mbedtls_psa_pake_output_internal() 310 if (step == PSA_JPAKE_X1_STEP_KEY_SHARE) { in mbedtls_psa_pake_output_internal() 322 } else if (step == PSA_JPAKE_X2S_STEP_KEY_SHARE) { in mbedtls_psa_pake_output_internal() 339 * that the data for each step is prepended with a length byte, and in mbedtls_psa_pake_output_internal() 343 * In PSA, we output each step separately, and don't prepend the in mbedtls_psa_pake_output_internal() 347 if (step == PSA_JPAKE_X2S_STEP_KEY_SHARE && in mbedtls_psa_pake_output_internal() 373 if ((step in mbedtls_psa_pake_output_internal() 282 mbedtls_psa_pake_output_internal( mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_pake_output_internal() argument 391 mbedtls_psa_pake_output(mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) mbedtls_psa_pake_output() argument 403 mbedtls_psa_pake_input_internal( mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, const uint8_t *input, size_t input_length) mbedtls_psa_pake_input_internal() argument 510 mbedtls_psa_pake_input(mbedtls_psa_pake_operation_t *operation, psa_crypto_driver_pake_step_t step, const uint8_t *input, size_t input_length) mbedtls_psa_pake_input() argument [all...] |
/third_party/libunwind/libunwind/tests/ |
H A D | Gperf-simple.c | 58 measure_unwind (int maxlevel, double *step) in measure_unwind() argument 86 *step = (stop - start) / (double) level; in measure_unwind() 93 g1 (int level, int maxlevel, double *step) in g1() argument 96 return measure_unwind (maxlevel, step); in g1() 99 return f1 (level + 1, maxlevel, step) + level; in g1() 103 f1 (int level, int maxlevel, double *step) in f1() argument 106 return measure_unwind (maxlevel, step); in f1() 109 return g1 (level + 1, maxlevel, step) + level; in f1() 115 double step, min_step, first_step, sum_step; in doit() local 122 f1 (0, maxlevel, &step); in doit() [all...] |
H A D | Gperf-trace.c | 58 measure_unwind (int maxlevel, double *step) in measure_unwind() argument 72 *step = (stop - start) / (double) level; in measure_unwind() 79 g1 (int level, int maxlevel, double *step) in g1() argument 82 return measure_unwind (maxlevel, step); in g1() 85 return f1 (level + 1, maxlevel, step) + level; in g1() 89 f1 (int level, int maxlevel, double *step) in f1() argument 92 return measure_unwind (maxlevel, step); in f1() 95 return g1 (level + 1, maxlevel, step) + level; in f1() 101 double step, min_step, first_step, sum_step; in doit() local 108 f1 (0, maxlevel, &step); in doit() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | qsort.h | 104 unsigned i, j, step;\ 105 for(step=1; step<(num); step+=step){\ 106 for(i=0; i<(num); i+=2*step){\ 107 unsigned a[2] = {i, i+step};\ 108 unsigned end = FFMIN(i+2*step, (num));\ 109 for(j=i; a[0]<i+step && a[1]<end; j++){\ 113 if(a[0]>=i+step) [all...] |