Home
last modified time | relevance | path

Searched refs:deltas (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
Dtruemotion2.c76 int deltas[TM2_NUM_STREAMS][TM2_DELTAS]; member
274 ctx->deltas[stream_id][i] = v - (1U << mb); in tm2_read_deltas()
276 ctx->deltas[stream_id][i] = v; in tm2_read_deltas()
279 ctx->deltas[stream_id][i] = 0; in tm2_read_deltas()
412 return ctx->deltas[type][ctx->tokens[type][ctx->tok_ptrs[type]++]]; in GET_TOK()
454 static inline void tm2_apply_deltas(TM2Context *ctx, int* Y, int stride, int *deltas, int *last) in tm2_apply_deltas() argument
462 d = deltas[i + j * 4]; in tm2_apply_deltas()
472 static inline void tm2_high_chroma(int *data, int stride, int *last, unsigned *CD, int *deltas) in tm2_high_chroma() argument
477 CD[j] += deltas[i + j * 2]; in tm2_high_chroma()
485 static inline void tm2_low_chroma(int *data, int stride, int *clast, unsigned *CD, int *deltas, int… in tm2_low_chroma() argument
[all …]
Dindeo3.c122 static const int8_t deltas [8] = { 0, 1, 0, 4, 4, 1, 0, 1 }; in build_requant_tab() local
129 requant_tab[i][j] = (j + offsets[i]) / step * step + deltas[i]; in build_requant_tab()
370 (AV_RN16(ref ) + delta_tab->deltas[dyad1]) & 0x7F7F);\
372 (AV_RN16(ref + 2) + delta_tab->deltas[dyad2]) & 0x7F7F);\
415 (AV_RN16(dst ) + delta_tab->deltas[dyad1]) & 0x7F7F);\
417 (AV_RN16(dst + 2 ) + delta_tab->deltas[dyad2]) & 0x7F7F);\
419 (AV_RN16(dst + row_offset ) + delta_tab->deltas[dyad1]) & 0x7F7F);\
421 (AV_RN16(dst + row_offset + 2) + delta_tab->deltas[dyad2]) & 0x7F7F);\
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-gvar-table.hh313 hb_vector_t<int> &deltas /* IN/OUT */, in unpack_deltas()
324 unsigned int count = deltas.length; in unpack_deltas()
333 deltas[i] = 0; in unpack_deltas()
339 deltas[i] = *(const HBINT16 *) p; in unpack_deltas()
347 deltas[i] = *(const HBINT8 *) p++; in unpack_deltas()
511 const hb_array_t<contour_point_t> deltas, in infer_delta()
517 float prev_delta = T::get (deltas[prev]); in infer_delta()
518 float next_delta = T::get (deltas[next]); in infer_delta()
558 contour_point_vector_t deltas; /* flag is used to indicate referenced point */ in apply_deltas_to_points() local
559 deltas.resize (points.length); in apply_deltas_to_points()
[all …]
Dhb-cff2-interp-cs.hh41 deltas.init (); in init()
47 deltas.fini_deep (); in fini()
59 deltas.resize (numBlends); in set_blends()
61 deltas[i] = blends_[i]; in set_blends()
64 bool blending () const { return deltas.length > 0; } in blending()
68 deltas.resize (0); in reset_blends()
73 hb_vector_t<number_t> deltas; member
171 if (likely (scalars.length == arg.deltas.length)) in blend_arg()
176 v += (double)scalars[i] * arg.deltas[i].to_real (); in blend_arg()
179 arg.deltas.resize (0); in blend_arg()
Dhb-aat-layout-bsln-table.hh51 HBINT16 deltas[32]; /* These are the FUnit distance deltas from member
68 HBINT16 deltas[32]; /* ditto */ member
Dhb-subset-cff2.cc133 (arg1.deltas.length == env.get_region_count ()))))) in flatten_blends()
144 for (unsigned int k = 0; k < arg1.deltas.length; k++) in flatten_blends()
145 encoder.encode_num (arg1.deltas[k]); in flatten_blends()
/third_party/libinput/tools/
Dlibinput-measure-touchpad-tap.py171 deltas = sorted(t.tdelta for t in self.touches)
173 dmax = max(deltas)
174 dmin = min(deltas)
176 ndeltas = len(deltas)
178 davg = sum(deltas) / ndeltas
179 dmedian = deltas[int(ndeltas / 2)]
180 d95pc = deltas[int(ndeltas * 0.95)]
181 d90pc = deltas[int(ndeltas * 0.90)]
214 deltas = [t for t in self.touches]
215 deltas_sorted = sorted(deltas, key=lambda t: t.tdelta)
[all …]
Dlibinput-debug-gui.c114 struct point deltas[64]; member
181 struct point deltas[64]; member
847 mask = ARRAY_LENGTH(w->tool.deltas); in draw_tablet()
854 x = w->tool.deltas[first % mask].x; in draw_tablet()
855 y = w->tool.deltas[first % mask].y; in draw_tablet()
859 x = w->tool.deltas[i % mask].x; in draw_tablet()
860 y = w->tool.deltas[i % mask].y; in draw_tablet()
894 mask = ARRAY_LENGTH(w->deltas); in draw_pointer()
900 x = w->deltas[first % mask].x; in draw_pointer()
901 y = w->deltas[first % mask].y; in draw_pointer()
[all …]
Dptraccel-debug.c115 double *deltas) in print_ptraccel_sequence() argument
131 dx = deltas; in print_ptraccel_sequence()
/third_party/python/Lib/test/libregrtest/
Drefleak.py114 def check_rc_deltas(deltas): argument
127 return all(delta >= 1 for delta in deltas)
129 def check_fd_deltas(deltas): argument
130 return any(deltas)
133 for deltas, item_name, checker in [
139 deltas = deltas[nwarmup:]
140 if checker(deltas):
142 test_name, deltas, item_name, sum(deltas))
/third_party/ltp/testcases/realtime/func/measurement/
Drdtsc-latency.c103 unsigned long long deltas[ITERATIONS]; in main() local
149 deltas[i] = (tsc_minus(tsc_a, tsc_b) * tsc_period) / 1000; /* tsc period is in ps */ in main()
150 if (i == 0 || deltas[i] < min) in main()
151 min = deltas[i]; in main()
152 if (deltas[i] > max) in main()
153 max = deltas[i]; in main()
154 avg += deltas[i]; in main()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/tools/cmd/benchdiff/
Dmain.go110 deltas := []delta{}
139 deltas = append(deltas, d)
142 sort.Slice(deltas, func(i, j int) bool { return deltas[j].relDiff < deltas[i].relDiff })
146 for _, delta := range deltas {
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_misc_opcodes.cpp864 uint32 deltas = SafeUint32DivideUp (fAreaSpec.Area ().H (), in dng_opcode_DeltaPerRow() local
867 if (deltas != stream.Get_uint32 ()) in dng_opcode_DeltaPerRow()
872 if (dataSize != dng_area_spec::kDataSize + 4 + deltas * 4) in dng_opcode_DeltaPerRow()
877 fTable.Reset (host.Allocate (SafeUint32Mult (deltas, in dng_opcode_DeltaPerRow()
882 for (uint32 j = 0; j < deltas; j++) in dng_opcode_DeltaPerRow()
892 printf ("Count: %u\n", (unsigned) deltas); in dng_opcode_DeltaPerRow()
894 for (uint32 k = 0; k < deltas && k < gDumpLineLimit; k++) in dng_opcode_DeltaPerRow()
899 if (deltas > gDumpLineLimit) in dng_opcode_DeltaPerRow()
901 printf (" ... %u deltas skipped\n", (unsigned) (deltas - gDumpLineLimit)); in dng_opcode_DeltaPerRow()
915 uint32 deltas = SafeUint32DivideUp (fAreaSpec.Area ().H (), in PutData() local
[all …]
Ddng_hue_sat_map.cpp157 const HSBModify *deltas = GetConstDeltas (); in GetDelta() local
159 modify.fHueShift = deltas [offset].fHueShift; in GetDelta()
160 modify.fSatScale = deltas [offset].fSatScale; in GetDelta()
161 modify.fValScale = deltas [offset].fValScale; in GetDelta()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dalpha_dec.c117 const uint8_t* deltas = dec->alpha_data_ + ALPHA_HEADER_LEN + row * width; in ALPHDecode() local
119 assert(deltas <= &dec->alpha_data_[dec->alpha_data_size_]); in ALPHDecode()
123 WebPUnfilters[alph_dec->filter_](prev_line, deltas, dst, width); in ALPHDecode()
126 deltas += width; in ALPHDecode()
130 memcpy(dst, deltas, width * sizeof(*dst)); in ALPHDecode()
133 deltas += width; in ALPHDecode()
/third_party/python/Lib/encodings/
Dpunycode.py106 def generate_integers(baselen, deltas): argument
111 for points, delta in enumerate(deltas):
119 deltas = insertion_unsort(text, extended)
120 extended = generate_integers(len(base), deltas)
/third_party/libinput/doc/user/
Darchitecture.rst282 deltas are available they are passed to ``filter_dispatch()``. This function
302 fallback [label="fallback deltas"];
303 touchpad [label="touchpad deltas"];
304 tablet [label="tablet deltas"];
323 Most filters convert the deltas (incl. timestamps) to a motion speed and
Dtrackpoint-configuration.rst24 uses a multiplier that is applied to input deltas. Trackpoints that send
25 comparatively high deltas can be "slowed down", trackpoints that send low
26 deltas can be "sped up" to match the expected range. The actual acceleration
27 profile is applied to these pre-multiplied deltas.
Dtrackpoints.rst43 The values provided by a trackpoint are motion deltas, usually corresponding
45 screen on a laptop provides negative y deltas. The reporting rate increases
Dconfiguration.rst60 Pointer acceleration is a function to convert input deltas to output deltas,
67 The pointer acceleration profile defines **how** the input deltas are
Dpointer-acceleration.rst25 is simply a constant factor applied to all device deltas, regardless of the
159 The deltas for trackpoints are converted units/ms but there is no common
164 higher sensitivity results in higher deltas, thus changing the definition of
Dgestures.rst197 be no pointer motion events, even if those deltas are miniscule. Changing
210 | | Finger 1 motion | | **hold cancel** | | 1 | | tiny deltas|
232 | | Finger 1 motion | | **hold cancel** | | | tiny deltas|
241 interaction based on a stream of pointer motion events with small deltas.
/third_party/python/Objects/
Dlnotab_notes.txt11 Second, we don't really need arbitrary access to the sequence, so we can store deltas.
15 Third, most deltas are small, so we can use a single byte for each value, as long we allow several …
39 Finally, in order to fit into a single byte we need to convert start deltas to the range 0 <= delta…
40 and line deltas to the range -127 <= delta <= 127.
/third_party/icu/icu4c/source/test/cintltst/
Dcdateintervalformattest.c170 static const double deltas[] = { variable
182 enum { kNumDeltas = UPRV_LENGTHOF(deltas) - 1 };
334 const double * deltasPtr = deltas; in TestFPos_SkelWithSeconds()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttgxvar.c264 FT_Fixed *deltas = NULL; in ft_var_readpackeddeltas() local
274 if ( FT_QNEW_ARRAY( deltas, delta_cnt ) ) in ft_var_readpackeddeltas()
291 deltas[i++] = 0; in ft_var_readpackeddeltas()
305 deltas[i++] = FT_intToFixed( FT_GET_SHORT() ); in ft_var_readpackeddeltas()
319 deltas[i++] = FT_intToFixed( FT_GET_CHAR() ); in ft_var_readpackeddeltas()
336 return deltas; in ft_var_readpackeddeltas()
339 FT_FREE( deltas ); in ft_var_readpackeddeltas()
3312 FT_Fixed* deltas = NULL; in tt_face_vary_cvt() local
3483 deltas = ft_var_readpackeddeltas( stream, in tt_face_vary_cvt()
3488 if ( !points || !deltas ) in tt_face_vary_cvt()
[all …]

1234