Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/external/opencore/codecs_v2/video/m4v_h263/dec/src/
Dchvr_filter.cpp42 int sum, delta; in CombinedHorzVertRingFilter() local
146delta = (sum + *ptr_c + 4) >> 3; /* Average pixel values with rounding */ in CombinedHorzVertRingFilter()
147 *(ptr_c) = (uint8) delta; in CombinedHorzVertRingFilter()
158 delta = (sum + *ptr_c + 4) >> 3; in CombinedHorzVertRingFilter()
159 *ptr_c = (uint8)(delta); in CombinedHorzVertRingFilter()
209 delta = (*(ptr - w1) - *(ptr)) >> 1; in CombinedHorzVertRingFilter()
210 if (delta >= 0) in CombinedHorzVertRingFilter()
212 if (delta >= A3_0) in CombinedHorzVertRingFilter()
214 delta = PV_MAX(A3_0, 0); in CombinedHorzVertRingFilter()
221 delta = 0; in CombinedHorzVertRingFilter()
[all …]
/external/icu4c/test/intltest/
Dpunyref.c109 punycode_uint delta, punycode_uint numpoints, int firsttime ) in adapt() argument
113 delta = firsttime ? delta / damp : delta >> 1; in adapt()
115 delta += delta / numpoints; in adapt()
117 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) { in adapt()
118 delta /= base - tmin; in adapt()
121 return k + (base - tmin + 1) * delta / (delta + skew); in adapt()
133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local
138 delta = out = 0; in punycode_encode()
177 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in punycode_encode()
178 delta += (m - n) * (h + 1); in punycode_encode()
[all …]
/external/freetype/src/pshinter/
Dpshglob.c155 FT_Int reference, delta; in psh_blues_set_zones_0() local
166 delta = read[0] - reference; in psh_blues_set_zones_0()
175 delta = read[1] - reference; in psh_blues_set_zones_0()
196 if ( delta < 0 ) in psh_blues_set_zones_0()
198 if ( delta < delta0 ) in psh_blues_set_zones_0()
199 zone->org_delta = delta; in psh_blues_set_zones_0()
203 if ( delta > delta0 ) in psh_blues_set_zones_0()
204 zone->org_delta = delta; in psh_blues_set_zones_0()
214 zone->org_delta = delta; in psh_blues_set_zones_0()
279 FT_Int delta; in psh_blues_set_zones() local
[all …]
/external/icu4c/layout/
DGlyphPosnLookupProc.cpp55 le_uint32 delta = 0; in applySubtable() local
66 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
74 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
82 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
90 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
98 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
106 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
114 delta = subtable->process(this, glyphIterator, fontInstance); in applySubtable()
122 delta = subtable->process(this, glyphIterator, fontInstance); in applySubtable()
130 delta = subtable->process(this, lookupType, glyphIterator, fontInstance); in applySubtable()
[all …]
DGlyphSubstLookupProc.cpp48 le_uint32 delta = 0; in applySubtable() local
59 delta = subtable->process(glyphIterator, fFilter); in applySubtable()
67 delta = subtable->process(glyphIterator, fFilter); in applySubtable()
75 delta = subtable->process(glyphIterator, fFilter); in applySubtable()
83 delta = subtable->process(glyphIterator, fFilter); in applySubtable()
91 delta = subtable->process(this, glyphIterator, fontInstance); in applySubtable()
99 delta = subtable->process(this, glyphIterator, fontInstance); in applySubtable()
107 delta = subtable->process(this, lookupType, glyphIterator, fontInstance); in applySubtable()
115 return delta; in applySubtable()
/external/opencore/fileformats/mp4/composer/src/
Dtimetosampleatom.cpp73 int32 delta = ts - _currentTimestamp; in nextSample() local
77 addDelta(delta); in nextSample()
96 int32 delta = ts - _currentTimestamp; in updateLastTSEntry() local
97 addDelta(delta); in updateLastTSEntry()
106 PVA_FF_TimeToSampleAtom::addDelta(int32 delta) in addDelta() argument
113 addEntry(1, delta); in addDelta()
118 if (delta == lastDelta) in addDelta()
128 addEntry(1, delta); in addDelta()
135 PVA_FF_TimeToSampleAtom::addEntry(uint32 count, int32 delta) in addEntry() argument
137 _psampleDeltaVec->push_back(delta); in addEntry()
/external/opencore/oscl/oscl/oscllib/src/
Doscl_shared_library.cpp104 DIFF_TICK(starttime, delta); in LoadLib()
105 iLibLoadTime += delta; in LoadLib()
107 … (0, "OsclSharedLibrary - Loading library %s took %d ticks ...", debugPath.get_cstr(), delta)); in LoadLib()
116 DIFF_TICK(starttime, delta); in LoadLib()
117 iLibLoadTime += delta; in LoadLib()
119 … (0, "OsclSharedLibrary - Loading library %s took %d ticks ...", aPath.get_cstr(), delta)); in LoadLib()
137 DIFF_TICK(starttime, delta); in LoadLib()
138 iLibLoadTime += delta; in LoadLib()
140 … (0, "OsclSharedLibrary - Loading library %s took %d ticks ...", debugPath.get_cstr(), delta)); in LoadLib()
151 DIFF_TICK(starttime, delta); in LoadLib()
[all …]
/external/freetype/src/autofit/
Dafcjk.c84 axis->delta = scaler->x_delta; in af_cjk_metrics_scale_dim()
89 axis->delta = scaler->y_delta; in af_cjk_metrics_scale_dim()
616 hints->x_delta = metrics->axis[AF_DIMENSION_HORZ].delta; in af_cjk_hints_init()
618 hints->y_delta = metrics->axis[AF_DIMENSION_VERT].delta; in af_cjk_hints_init()
768 FT_Pos delta; in af_cjk_compute_stem_width() local
771 delta = dist & 63; in af_cjk_compute_stem_width()
774 if ( delta < 10 ) in af_cjk_compute_stem_width()
775 dist += delta; in af_cjk_compute_stem_width()
776 else if ( delta < 22 ) in af_cjk_compute_stem_width()
778 else if ( delta < 42 ) in af_cjk_compute_stem_width()
[all …]
Daflatin2.c450 FT_Pos delta; in af_latin2_metrics_scale_dim() local
458 delta = scaler->x_delta; in af_latin2_metrics_scale_dim()
463 delta = scaler->y_delta; in af_latin2_metrics_scale_dim()
468 if ( axis->org_scale == scale && axis->org_delta == delta ) in af_latin2_metrics_scale_dim()
472 axis->org_delta = delta; in af_latin2_metrics_scale_dim()
508 axis->delta = delta; in af_latin2_metrics_scale_dim()
513 metrics->root.scaler.x_delta = delta; in af_latin2_metrics_scale_dim()
518 metrics->root.scaler.y_delta = delta; in af_latin2_metrics_scale_dim()
545 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin2_metrics_scale_dim()
547 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin2_metrics_scale_dim()
[all …]
Daflatin.c442 FT_Pos delta; in af_latin_metrics_scale_dim() local
450 delta = scaler->x_delta; in af_latin_metrics_scale_dim()
455 delta = scaler->y_delta; in af_latin_metrics_scale_dim()
460 if ( axis->org_scale == scale && axis->org_delta == delta ) in af_latin_metrics_scale_dim()
464 axis->org_delta = delta; in af_latin_metrics_scale_dim()
509 axis->delta = delta; in af_latin_metrics_scale_dim()
514 metrics->root.scaler.x_delta = delta; in af_latin_metrics_scale_dim()
519 metrics->root.scaler.y_delta = delta; in af_latin_metrics_scale_dim()
546 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin_metrics_scale_dim()
548 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin_metrics_scale_dim()
[all …]
/external/icu4c/samples/uciter8/
Duit_len8.c202 lenient8IteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) { in lenient8IteratorMove() argument
213 pos=delta; in lenient8IteratorMove()
219 pos=iter->index+delta; in lenient8IteratorMove()
230 pos=iter->length+delta; in lenient8IteratorMove()
237 if(delta>=0) { in lenient8IteratorMove()
277 delta=pos-iter->index; in lenient8IteratorMove()
278 if(delta==0) { in lenient8IteratorMove()
283 if(delta==0) { in lenient8IteratorMove()
285 } else if(-delta>=iter->start) { in lenient8IteratorMove()
289 } else if(delta>=(iter->limit-iter->start)) { in lenient8IteratorMove()
[all …]
/external/icu4c/common/
Dpunycode.c159 adaptBias(int32_t delta, int32_t length, UBool firstTime) { in adaptBias() argument
163 delta/=DAMP; in adaptBias()
165 delta/=2; in adaptBias()
168 delta+=delta/length; in adaptBias()
169 for(count=0; delta>((BASE-TMIN)*TMAX)/2; count+=BASE) { in adaptBias()
170 delta/=(BASE-TMIN); in adaptBias()
173 return count+(((BASE-TMIN+1)*delta)/(delta+SKEW)); in adaptBias()
185 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local
290 delta=0; in u_strToPunycode()
310 if(m-n>(0x7fffffff-MAX_CP_COUNT-delta)/(handledCPCount+1)) { in u_strToPunycode()
[all …]
Duiter.cpp107 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) { in stringIteratorMove() argument
112 pos=delta; in stringIteratorMove()
115 pos=iter->start+delta; in stringIteratorMove()
118 pos=iter->index+delta; in stringIteratorMove()
121 pos=iter->limit+delta; in stringIteratorMove()
124 pos=iter->length+delta; in stringIteratorMove()
377 characterIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) { in characterIteratorMove() argument
380 ((CharacterIterator *)(iter->context))->setIndex(delta); in characterIteratorMove()
385 … return ((CharacterIterator *)(iter->context))->move(delta, (CharacterIterator::EOrigin)origin); in characterIteratorMove()
387 …erIterator *)(iter->context))->setIndex(((CharacterIterator *)(iter->context))->getLength()+delta); in characterIteratorMove()
[all …]
Duchriter.cpp293 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) { in move() argument
296 pos = begin + delta; in move()
299 pos += delta; in move()
302 pos = end + delta; in move()
318 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) { in move32() argument
324 if(delta > 0) { in move32()
325 UTF_FWD_N(text, pos, end, delta); in move32()
329 if(delta > 0) { in move32()
330 UTF_FWD_N(text, pos, end, delta); in move32()
332 UTF_BACK_N(text, begin, pos, -delta); in move32()
[all …]
Dunorm_it.c110 int32_t delta; in reallocArrays() local
112 delta=capacity-uni->capacity; in reallocArrays()
113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4); in reallocArrays()
114 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); in reallocArrays()
116 api->start=start+delta; in reallocArrays()
117 api->index+=delta; in reallocArrays()
118 api->limit=limit+delta; in reallocArrays()
132 moveContentsTowardStart(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { in moveContentsTowardStart() argument
137 srcIndex=delta; in moveContentsTowardStart()
159 moveContentsTowardEnd(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { in moveContentsTowardEnd() argument
[all …]
/external/icu4c/test/perf/perldriver/
DFormat.pm59 my $delta = shift; # may be undef
62 if (defined($delta)) {
63 my $d = formatSigDig($sigdig, $delta*$mult);
93 my $delta = shift; # may be undef
103 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
119 my $delta = shift; # may be undef
121 formatNumber($sigdig, 100, $a, $delta) . '%';
/external/freetype/src/base/
Dftstroke.c838 FT_Vector delta, delta2; in ft_stroker_cap() local
845 FT_Vector_From_Polar( &delta, radius, angle ); in ft_stroker_cap()
847 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap()
848 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap()
850 error = ft_stroke_border_lineto( border, &delta, FALSE ); in ft_stroker_cap()
855 FT_Vector_From_Polar( &delta, radius, angle ); in ft_stroker_cap()
857 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap()
858 delta.y += delta2.y + stroker->center.y; in ft_stroker_cap()
860 error = ft_stroke_border_lineto( border, &delta, FALSE ); in ft_stroker_cap()
876 FT_Vector delta; in ft_stroker_inside() local
[all …]
/external/icu4c/i18n/
Dtitletrn.cpp118 int32_t textPos, delta, result, locCache=0; in handleTransliterate() local
147 delta=result-U16_LENGTH(c); in handleTransliterate()
151 delta=tmp.length()-U16_LENGTH(c); in handleTransliterate()
154 if(delta!=0) { in handleTransliterate()
155 textPos+=delta; in handleTransliterate()
156 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
157 offsets.limit+=delta; in handleTransliterate()
Dcasetrn.cpp153 int32_t textPos, delta, result, locCache=0; in handleTransliterate() local
175 delta=result-U16_LENGTH(c); in handleTransliterate()
179 delta=tmp.length()-U16_LENGTH(c); in handleTransliterate()
182 if(delta!=0) { in handleTransliterate()
183 textPos+=delta; in handleTransliterate()
184 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
185 offsets.limit+=delta; in handleTransliterate()
/external/opencore/baselibs/media_data_structures/src/
Dtime_comparison_utils.cpp23 OSCL_EXPORT_REF bool PVTimeComparisonUtils::IsEarlier(uint32 aTimeA, uint32 aTimeB, uint32& delta) in IsEarlier() argument
25 delta = aTimeB - aTimeA; in IsEarlier()
26 if (delta < WRAP_THRESHOLD) in IsEarlier()
28 delta = 0 - delta; in IsEarlier()
/external/webkit/WebCore/platform/gtk/
DWheelEventGtk.cpp41 static const float delta = 1; in PlatformWheelEvent() local
49 m_deltaY = delta; in PlatformWheelEvent()
52 m_deltaY = -delta; in PlatformWheelEvent()
55 m_deltaX = -delta; in PlatformWheelEvent()
58 m_deltaX = delta; in PlatformWheelEvent()
/external/qemu/android/skin/
Dsurface.c297 int delta; in skin_blit_init_fill() local
303 delta = (x + w) - dst->surface->w; in skin_blit_init_fill()
304 if (delta > 0) in skin_blit_init_fill()
305 w -= delta; in skin_blit_init_fill()
311 delta = (y + h) - dst->surface->h; in skin_blit_init_fill()
312 if (delta > 0) in skin_blit_init_fill()
313 h -= delta; in skin_blit_init_fill()
349 int delta; in skin_blit_init_blit() local
362 delta = (x + w) - dst->surface->w; in skin_blit_init_blit()
363 if (delta > 0) in skin_blit_init_blit()
[all …]
/external/elfcopy/
Dfixdwarf.c420 long delta = shdr->shdr.sh_addr - shdr->old_shdr.sh_addr; in value_hook() local
421 if(delta) { in value_hook()
425 val, (int)(val + delta), (int)delta, in value_hook()
427 byte_set(data, size, val + delta); in value_hook()
469 long delta = shdr->shdr.sh_addr - shdr->old_shdr.sh_addr; in base_value_pair_hook() local
470 if(delta) { in base_value_pair_hook()
474 begin, (int)(begin + delta), (int)delta, in base_value_pair_hook()
476 byte_set(data, size, begin + delta); in base_value_pair_hook()
477 byte_set(data + size, size, end + delta); in base_value_pair_hook()
503 long delta = shdr->shdr.sh_addr - shdr->old_shdr.sh_addr; in signed_value_hook() local
[all …]
/external/opencore/fileformats/mp4/parser/src/
Dinitialobjectdescriptor.cpp89 int32 delta = _sizeOfClass - readIn; in InitialObjectDescriptor() local
95 for (int32 i = 0; i < delta; i++) in InitialObjectDescriptor()
111 for (int32 i = 0; i < delta; i++) in InitialObjectDescriptor()
127 while (delta > 0) in InitialObjectDescriptor()
135 delta -= esIDInc->getSize(); in InitialObjectDescriptor()
151 if (totaltempDescSize > (uint32)delta) in InitialObjectDescriptor()
157 delta -= totaltempDescSize; in InitialObjectDescriptor()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dfloat-weight.h81 float delta = kDelta) {
82 return w1.Value() <= w2.Value() + delta && w2.Value() <= w1.Value() + delta;
140 TropicalWeight Quantize(float delta = kDelta) const {
141 return TropicalWeight(floor(Value()/delta + 0.5F) * delta);
206 LogWeight Quantize(float delta = kDelta) const {
207 return LogWeight(floor(Value()/delta + 0.5F) * delta);

12345678910>>...13