Home
last modified time | relevance | path

Searched refs:strength (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/third_party/ffmpeg/libavcodec/
Dh263dsp.c34 const int strength = ff_h263_loop_filter_strength[qscale]; in h263_h_loop_filter_c() local
44 if (d < -2 * strength) in h263_h_loop_filter_c()
46 else if (d < -strength) in h263_h_loop_filter_c()
47 d1 = -2 * strength - d; in h263_h_loop_filter_c()
48 else if (d < strength) in h263_h_loop_filter_c()
50 else if (d < 2 * strength) in h263_h_loop_filter_c()
51 d1 = 2 * strength - d; in h263_h_loop_filter_c()
77 const int strength = ff_h263_loop_filter_strength[qscale]; in h263_v_loop_filter_c() local
87 if (d < -2 * strength) in h263_v_loop_filter_c()
89 else if (d < -strength) in h263_v_loop_filter_c()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java108 void addReset(int strength, CharSequence str) { in addReset() argument
123 if(strength == Collator.IDENTICAL) { return; } // simple reset-at-position in addReset()
126 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY); in addReset()
127 int index = findOrInsertNodeForCEs(strength); in addReset()
132 while(strengthFromNode(node) > strength) { in addReset()
138 if(strengthFromNode(node) == strength && isTailoredNode(node)) { in addReset()
141 } else if(strength == Collator.PRIMARY) { in addReset()
171 if(strength >= Collator.TERTIARY) { in addReset()
177 if(strengthFromNode(node) == strength) { in addReset()
182 (strength == Collator.SECONDARY) ? in addReset()
[all …]
DCollationRuleParser.java69 abstract void addReset(int strength, CharSequence str); in addReset() argument
73 abstract void addRelation(int strength, CharSequence prefix, in addRelation() argument
182 int strength = result & STRENGTH_MASK; in parseRuleChain() local
186 if(strength != resetStrength) { in parseRuleChain()
191 if(strength < resetStrength) { in parseRuleChain()
199 parseRelationStrings(strength, i); in parseRuleChain()
201 parseStarredCharacters(strength, i); in parseRuleChain()
246 int strength; in parseRelationOperator() local
257 strength = Collator.QUATERNARY; in parseRelationOperator()
259 strength = Collator.TERTIARY; in parseRelationOperator()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationBuilder.java112 void addReset(int strength, CharSequence str) { in addReset() argument
127 if(strength == Collator.IDENTICAL) { return; } // simple reset-at-position in addReset()
130 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY); in addReset()
131 int index = findOrInsertNodeForCEs(strength); in addReset()
136 while(strengthFromNode(node) > strength) { in addReset()
142 if(strengthFromNode(node) == strength && isTailoredNode(node)) { in addReset()
145 } else if(strength == Collator.PRIMARY) { in addReset()
175 if(strength >= Collator.TERTIARY) { in addReset()
181 if(strengthFromNode(node) == strength) { in addReset()
186 (strength == Collator.SECONDARY) ? in addReset()
[all …]
DCollationRuleParser.java73 abstract void addReset(int strength, CharSequence str); in addReset() argument
77 abstract void addRelation(int strength, CharSequence prefix, in addRelation() argument
186 int strength = result & STRENGTH_MASK; in parseRuleChain() local
190 if(strength != resetStrength) { in parseRuleChain()
195 if(strength < resetStrength) { in parseRuleChain()
203 parseRelationStrings(strength, i); in parseRuleChain()
205 parseStarredCharacters(strength, i); in parseRuleChain()
250 int strength; in parseRelationOperator() local
261 strength = Collator.QUATERNARY; in parseRelationOperator()
263 strength = Collator.TERTIARY; in parseRelationOperator()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcollationbuilder.cpp106 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
132 ECollationStrength strength, in RuleBasedCollator() argument
142 internalBuildTailoring(rules, strength, decompositionMode, NULL, NULL, errorCode); in RuleBasedCollator()
160 int32_t strength, in internalBuildTailoring() argument
184 if(strength != UCOL_DEFAULT) { in internalBuildTailoring()
185 setAttribute(UCOL_STRENGTH, (UColAttributeValue)strength, errorCode); in internalBuildTailoring()
294 CollationBuilder::addReset(int32_t strength, const UnicodeString &str, in addReset() argument
317 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
[all …]
Dcollationbuilder.h59 virtual void addReset(int32_t strength, const UnicodeString &str,
71 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
79 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
81 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
94 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
111 int32_t findCommonNode(int32_t index, int32_t strength) const;
164 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
182 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) { in tempCEFromIndexAndStrength() argument
193 (strength << 8); in tempCEFromIndexAndStrength()
255 static inline int64_t nodeFromStrength(int32_t strength) { in nodeFromStrength() argument
[all …]
/third_party/icu/icu4c/source/i18n/
Dcollationbuilder.cpp106 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
132 ECollationStrength strength, in RuleBasedCollator() argument
142 internalBuildTailoring(rules, strength, decompositionMode, NULL, NULL, errorCode); in RuleBasedCollator()
160 int32_t strength, in internalBuildTailoring() argument
184 if(strength != UCOL_DEFAULT) { in internalBuildTailoring()
185 setAttribute(UCOL_STRENGTH, (UColAttributeValue)strength, errorCode); in internalBuildTailoring()
294 CollationBuilder::addReset(int32_t strength, const UnicodeString &str, in addReset() argument
317 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
[all …]
Dcollationbuilder.h59 virtual void addReset(int32_t strength, const UnicodeString &str,
71 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
79 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
81 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
94 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
111 int32_t findCommonNode(int32_t index, int32_t strength) const;
164 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
182 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) { in tempCEFromIndexAndStrength() argument
193 (strength << 8); in tempCEFromIndexAndStrength()
255 static inline int64_t nodeFromStrength(int32_t strength) { in nodeFromStrength() argument
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationbuilder.cpp106 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
132 ECollationStrength strength, in RuleBasedCollator() argument
142 internalBuildTailoring(rules, strength, decompositionMode, NULL, NULL, errorCode); in RuleBasedCollator()
160 int32_t strength, in internalBuildTailoring() argument
184 if(strength != UCOL_DEFAULT) { in internalBuildTailoring()
185 setAttribute(UCOL_STRENGTH, (UColAttributeValue)strength, errorCode); in internalBuildTailoring()
294 CollationBuilder::addReset(int32_t strength, const UnicodeString &str, in addReset() argument
317 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
[all …]
Dcollationbuilder.h59 virtual void addReset(int32_t strength, const UnicodeString &str,
71 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
79 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
81 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
94 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
111 int32_t findCommonNode(int32_t index, int32_t strength) const;
164 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
182 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) { in tempCEFromIndexAndStrength() argument
193 (strength << 8); in tempCEFromIndexAndStrength()
255 static inline int64_t nodeFromStrength(int32_t strength) { in nodeFromStrength() argument
[all …]
Dcollationruleparser.cpp146 int32_t strength = result & STRENGTH_MASK; in parseRuleChain() local
150 if(strength != resetStrength) { in parseRuleChain()
155 if(strength < resetStrength) { in parseRuleChain()
163 parseRelationStrings(strength, i, errorCode); in parseRuleChain()
165 parseStarredCharacters(strength, i, errorCode); in parseRuleChain()
212 int32_t strength; in parseRelationOperator() local
223 strength = UCOL_QUATERNARY; in parseRelationOperator()
225 strength = UCOL_TERTIARY; in parseRelationOperator()
228 strength = UCOL_SECONDARY; in parseRelationOperator()
231 strength = UCOL_PRIMARY; in parseRelationOperator()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationbuilder.cpp106 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
132 ECollationStrength strength, in RuleBasedCollator() argument
142 internalBuildTailoring(rules, strength, decompositionMode, NULL, NULL, errorCode); in RuleBasedCollator()
160 int32_t strength, in internalBuildTailoring() argument
184 if(strength != UCOL_DEFAULT) { in internalBuildTailoring()
185 setAttribute(UCOL_STRENGTH, (UColAttributeValue)strength, errorCode); in internalBuildTailoring()
294 CollationBuilder::addReset(int32_t strength, const UnicodeString &str, in addReset() argument
317 if(strength == UCOL_IDENTICAL) { return; } // simple reset-at-position in addReset()
320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
[all …]
Dcollationbuilder.h59 virtual void addReset(int32_t strength, const UnicodeString &str,
71 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
79 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
81 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
94 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
111 int32_t findCommonNode(int32_t index, int32_t strength) const;
164 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
182 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) { in tempCEFromIndexAndStrength() argument
193 (strength << 8); in tempCEFromIndexAndStrength()
255 static inline int64_t nodeFromStrength(int32_t strength) { in nodeFromStrength() argument
[all …]
Dcollationruleparser.cpp146 int32_t strength = result & STRENGTH_MASK; in parseRuleChain() local
150 if(strength != resetStrength) { in parseRuleChain()
155 if(strength < resetStrength) { in parseRuleChain()
163 parseRelationStrings(strength, i, errorCode); in parseRuleChain()
165 parseStarredCharacters(strength, i, errorCode); in parseRuleChain()
212 int32_t strength; in parseRelationOperator() local
223 strength = UCOL_QUATERNARY; in parseRelationOperator()
225 strength = UCOL_TERTIARY; in parseRelationOperator()
228 strength = UCOL_SECONDARY; in parseRelationOperator()
231 strength = UCOL_PRIMARY; in parseRelationOperator()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_noise.c47 …{#name"_strength", "set component #"#x" strength", OFFSET(param.strength), AV_OPT_TYPE_INT, {.i64=…
48 …{#name"s", "set component #"#x" strength", OFFSET(param.strength), AV_OPT_TYPE_INT, {.i64=…
75 int strength = fp->strength; in init_noise() local
88 noise[i] = (RAND_N(strength) - strength / 2) / 6 in init_noise()
89 + patt[j % 4] * strength * 0.25 / 3; in init_noise()
91 noise[i] = (RAND_N(strength) - strength / 2) / 3; in init_noise()
95 noise[i] = (RAND_N(strength) - strength / 2) / 2 in init_noise()
96 + patt[j % 4] * strength * 0.25; in init_noise()
98 noise[i] = RAND_N(strength) - strength / 2; in init_noise()
111 y1 *= strength / sqrt(3.0); in init_noise()
[all …]
Dvf_hqdn3d.c200 if (!s->strength[LUMA_SPATIAL]) in init()
201 s->strength[LUMA_SPATIAL] = PARAM1_DEFAULT; in init()
202 if (!s->strength[CHROMA_SPATIAL]) in init()
203 s->strength[CHROMA_SPATIAL] = PARAM2_DEFAULT * s->strength[LUMA_SPATIAL] / PARAM1_DEFAULT; in init()
204 if (!s->strength[LUMA_TMP]) in init()
205 s->strength[LUMA_TMP] = PARAM3_DEFAULT * s->strength[LUMA_SPATIAL] / PARAM1_DEFAULT; in init()
206 if (!s->strength[CHROMA_TMP]) in init()
207 …s->strength[CHROMA_TMP] = s->strength[LUMA_TMP] * s->strength[CHROMA_SPATIAL] / s->strength[LUMA_S… in init()
210 s->strength[LUMA_SPATIAL], s->strength[CHROMA_SPATIAL], in init()
211 s->strength[LUMA_TMP], s->strength[CHROMA_TMP]); in init()
[all …]
Dvf_smartblur.c47 float strength; member
68 …{ "luma_strength", "set luma strength", OFFSET(luma.strength), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, S…
69 …{ "ls", "set luma strength", OFFSET(luma.strength), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, S…
75 …{ "chroma_strength", "set chroma strength", OFFSET(chroma.strength), AV_OPT_TYPE_FLOAT, {.dbl=S…
76 …{ "cs", "set chroma strength", OFFSET(chroma.strength), AV_OPT_TYPE_FLOAT, {.dbl=S…
92 if (s->chroma.strength < STRENGTH_MIN) in init()
93 s->chroma.strength = s->luma.strength; in init()
103 s->luma.radius, s->luma.strength, s->luma.threshold, in init()
104 s->chroma.radius, s->chroma.strength, s->chroma.threshold); in init()
143 sws_scaleVec(vec, f->strength); in alloc_sws_context()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DCacheValue.java54 private static volatile Strength strength = Strength.SOFT; field in CacheValue
62 public static void setStrength(Strength strength) { CacheValue.strength = strength; } in setStrength() argument
67 public static boolean futureInstancesWillBeStrong() { return strength == Strength.STRONG; } in futureInstancesWillBeStrong()
79 return strength == Strength.STRONG ? new StrongValue<V>(value) : new SoftValue<V>(value); in getInstance()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCacheValue.java51 private static volatile Strength strength = Strength.SOFT; field in CacheValue
59 public static void setStrength(Strength strength) { CacheValue.strength = strength; } in setStrength() argument
64 public static boolean futureInstancesWillBeStrong() { return strength == Strength.STRONG; } in futureInstancesWillBeStrong()
76 return strength == Strength.STRONG ? new StrongValue<V>(value) : new SoftValue<V>(value); in getInstance()
/third_party/icu/tools/colprobe/
Dsortedlines.cpp62 UColAttributeValue strength = UCOL_OFF; in getBounds() local
64 if(toSort[i]->strengthFromEmpty < strength) { in getBounds()
65 if(i && strength < UCOL_OFF) { in getBounds()
71 UB[strength] = toSort[i-j]; in getBounds()
73 strength = toSort[i]->strengthFromEmpty; in getBounds()
74 if(strength == UCOL_PRIMARY) { in getBounds()
122 UB[strength] = toSort[size-j]; in getBounds()
289 sortingArray[i]->strength = probe.getStrength(*sortingArray[i-1], *sortingArray[i]); in sort()
296 if(sortingArray[i]->strength == UCOL_IDENTICAL) { in sort()
298 equalStrength = sortingArray[equalStart]->strength; in sort()
[all …]
Dcolprobe.cpp478 (*currLine)->strength = probeStrength(prevLine, currLine, comparer); in analyzeStrength()
487 void printStrength(UColAttributeValue strength, UFILE *file) { in printStrength() argument
489 switch(strength) { in printStrength()
515 printStrength(line->strength, file); in printStrength()
655 toMove->strength = probeStrength(&prevL, &toMove, comparer); in positionExpansions()
674 toMove->next->strength = probeStrength(&(toMove->previous), &(toMove->next), comparer); in positionExpansions()
690 toMove->strength = probeStrength(&prevL, &toMove, comparer); in positionExpansions()
691 toMove->next->strength = probeStrength(&toMove, &l, comparer); in positionExpansions()
698 if(toMove->strength == UCOL_IDENTICAL) { in positionExpansions()
713 } else if(toMove->next->strength == UCOL_IDENTICAL) { in positionExpansions()
[all …]
Dline.cpp30 strength = UCOL_OFF; in init()
107 strength = other.strength; in operator =()
151 if(strength != other.strength) { in equals()
254 result.append(strengthToString(strength, FALSE, FALSE)); in toBundleString()
307 result.append(strengthToString(strength, FALSE, TRUE)); in toHTMLString()
380 Line::strengthIndent(UColAttributeValue strength, int indentSize, UnicodeString &result) in strengthIndent() argument
383 int numIndents = strength+1; in strengthIndent()
384 if(strength > UCOL_IDENTICAL) { in strengthIndent()
386 } else if(strength == UCOL_IDENTICAL) { in strengthIndent()
396 Line::strengthToString(UColAttributeValue strength, UBool pretty, UBool html) { in strengthToString() argument
[all …]
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCollatorICU.java101 int strength; in getStrength() local
105 strength = java.text.Collator.IDENTICAL; in getStrength()
108 strength = java.text.Collator.PRIMARY; in getStrength()
111 strength = java.text.Collator.SECONDARY; in getStrength()
114 strength = java.text.Collator.TERTIARY; in getStrength()
119 strength = java.text.Collator.TERTIARY; in getStrength()
124 return strength; in getStrength()
/third_party/ffmpeg/libavcodec/mips/
Dh263dsp_msa.c31 int32_t strength = h263_loop_filter_strength_msa[qscale]; in h263_h_loop_filter_msa() local
49 str_x2 = __msa_fill_h(-(strength << 1)); in h263_h_loop_filter_msa()
53 str = __msa_fill_h(-strength); in h263_h_loop_filter_msa()
57 str_x2 = __msa_fill_h(strength << 1); in h263_h_loop_filter_msa()
61 str = __msa_fill_h(strength); in h263_h_loop_filter_msa()
94 int32_t strength = h263_loop_filter_strength_msa[qscale]; in h263_v_loop_filter_msa() local
109 str_x2 = __msa_fill_h(-(strength << 1)); in h263_v_loop_filter_msa()
113 str = __msa_fill_h(-strength); in h263_v_loop_filter_msa()
117 str_x2 = __msa_fill_h(strength << 1); in h263_v_loop_filter_msa()
121 str = __msa_fill_h(strength); in h263_v_loop_filter_msa()

12345678910>>...13