/external/tesseract/classify/ |
D | ocrfeatures.cpp | 35 BOOL8 AddFeature(FEATURE_SET FeatureSet, FEATURE Feature) { in AddFeature() argument 50 FreeFeature(Feature); in AddFeature() 54 FeatureSet->Features[FeatureSet->NumFeatures++] = Feature; in AddFeature() 59 void FreeFeature(FEATURE Feature) { in FreeFeature() argument 69 if (Feature) { in FreeFeature() 70 free_struct (Feature, sizeof (FEATURE_STRUCT) in FreeFeature() 71 + sizeof (FLOAT32) * (Feature->Type->NumParams - 1), in FreeFeature() 113 FEATURE Feature; in NewFeature() local 115 Feature = (FEATURE) alloc_struct (sizeof (FEATURE_STRUCT) + in NewFeature() 119 Feature->Type = FeatureDesc; in NewFeature() [all …]
|
D | mf.cpp | 50 FEATURE Feature; in ExtractMicros() local 62 Feature = NewFeature (&MicroFeatureDesc); in ExtractMicros() 63 Feature->Params[MFDirection] = OldFeature[ORIENTATION]; in ExtractMicros() 64 Feature->Params[MFXPosition] = OldFeature[XPOSITION]; in ExtractMicros() 65 Feature->Params[MFYPosition] = OldFeature[YPOSITION]; in ExtractMicros() 66 Feature->Params[MFLength] = OldFeature[MFLENGTH]; in ExtractMicros() 72 Feature->Params[MFBulge1] = 0.0f; in ExtractMicros() 73 Feature->Params[MFBulge2] = 0.0f; in ExtractMicros() 77 for (i = 0; i < Feature->Type->NumParams; i++) { in ExtractMicros() 78 assert(!isnan(Feature->Params[i])); in ExtractMicros() [all …]
|
D | outfeat.cpp | 93 FEATURE Feature; in AddOutlineFeatureToSet() local 95 Feature = NewFeature (&OutlineFeatDesc); in AddOutlineFeatureToSet() 96 Feature->Params[OutlineFeatDir] = NormalizedAngleFrom(Start, End, 1.0); in AddOutlineFeatureToSet() 97 Feature->Params[OutlineFeatX] = AverageOf(Start->x, End->x); in AddOutlineFeatureToSet() 98 Feature->Params[OutlineFeatY] = AverageOf(Start->y, End->y); in AddOutlineFeatureToSet() 99 Feature->Params[OutlineFeatLength] = DistanceBetween(*Start, *End); in AddOutlineFeatureToSet() 100 AddFeature(FeatureSet, Feature); in AddOutlineFeatureToSet() 164 FEATURE Feature; in NormalizeOutlineX() local 174 Feature = FeatureSet->Features[i]; in NormalizeOutlineX() 175 Length = Feature->Params[OutlineFeatLength]; in NormalizeOutlineX() [all …]
|
D | normfeat.cpp | 37 FLOAT32 ActualOutlineLength(FEATURE Feature) { in ActualOutlineLength() argument 49 return (Feature->Params[CharNormLength] * LENGTH_COMPRESSION); in ActualOutlineLength() 74 FEATURE Feature; in ExtractCharNormFeatures() local 85 Feature = NewFeature (&CharNormDesc); in ExtractCharNormFeatures() 86 AddFeature(FeatureSet, Feature); in ExtractCharNormFeatures() 109 Feature->Params[CharNormY] = (FXInfo.Ymean - Baseline) * Scale; in ExtractCharNormFeatures() 110 Feature->Params[CharNormLength] = in ExtractCharNormFeatures() 112 Feature->Params[CharNormRx] = FXInfo.Rx * Scale; in ExtractCharNormFeatures() 113 Feature->Params[CharNormRy] = FXInfo.Ry * Scale; in ExtractCharNormFeatures()
|
D | normmatch.cpp | 54 FEATURE Feature); 71 FLOAT32 Classify::ComputeNormMatch(CLASS_ID ClassId, FEATURE Feature, in ComputeNormMatch() argument 97 Match = (Feature->Params[CharNormLength] * in ComputeNormMatch() 98 Feature->Params[CharNormLength] * 500.0 + in ComputeNormMatch() 99 Feature->Params[CharNormRx] * in ComputeNormMatch() 100 Feature->Params[CharNormRx] * 8000.0 + in ComputeNormMatch() 101 Feature->Params[CharNormRy] * in ComputeNormMatch() 102 Feature->Params[CharNormRy] * 8000.0); in ComputeNormMatch() 111 WriteFeature(stdout, Feature); in ComputeNormMatch() 117 Delta = Feature->Params[CharNormY] - Proto->Mean[CharNormY]; in ComputeNormMatch() [all …]
|
D | picofeat.cpp | 142 FEATURE Feature; in ConvertSegmentToPicoFeat() local 166 Feature = NewFeature (&PicoFeatDesc); in ConvertSegmentToPicoFeat() 167 Feature->Params[PicoFeatDir] = Angle; in ConvertSegmentToPicoFeat() 168 Feature->Params[PicoFeatX] = Center.x; in ConvertSegmentToPicoFeat() 169 Feature->Params[PicoFeatY] = Center.y; in ConvertSegmentToPicoFeat() 170 AddFeature(FeatureSet, Feature); in ConvertSegmentToPicoFeat() 239 FEATURE Feature; in NormalizePicoX() local 243 Feature = FeatureSet->Features[i]; in NormalizePicoX() 244 Origin += Feature->Params[PicoFeatX]; in NormalizePicoX() 249 Feature = FeatureSet->Features[i]; in NormalizePicoX() [all …]
|
D | intmatcher.cpp | 437 int Feature; in IntegerMatcher() local 446 for (Feature = 0; Feature < NumFeatures; Feature++) { in IntegerMatcher() 448 Feature, &(Features[Feature]), in IntegerMatcher() 547 int Feature; in FindGoodProtos() local 562 for (Feature = 0; Feature < NumFeatures; Feature++) in FindGoodProtos() 563 IMUpdateTablesForFeature (ClassTemplate, ProtoMask, ConfigMask, Feature, in FindGoodProtos() 564 &(Features[Feature]), FeatureEvidence, in FindGoodProtos() 642 int Feature; in FindBadFeatures() local 658 for (Feature = 0; Feature < NumFeatures; Feature++) { in FindBadFeatures() 659 IMUpdateTablesForFeature (ClassTemplate, ProtoMask, ConfigMask, Feature, in FindBadFeatures() [all …]
|
D | float2int.cpp | 109 FEATURE Feature; in ComputeIntFeatures() local 118 Feature = Features->Features[Fid]; in ComputeIntFeatures() 120 IntFeatures[Fid].X = BucketFor (Feature->Params[PicoFeatX], in ComputeIntFeatures() 122 IntFeatures[Fid].Y = BucketFor (Feature->Params[PicoFeatY], in ComputeIntFeatures() 124 IntFeatures[Fid].Theta = CircBucketFor (Feature->Params[PicoFeatDir], in ComputeIntFeatures()
|
D | intfx.cpp | 344 INT_FEATURE Feature; in SaveFeature() local 349 Feature = &(FeatureArray[FeatureNum]); in SaveFeature() 355 Feature->X = 255; in SaveFeature() 357 Feature->X = 0; in SaveFeature() 359 Feature->X = X; in SaveFeature() 362 Feature->Y = 255; in SaveFeature() 364 Feature->Y = 0; in SaveFeature() 366 Feature->Y = Y; in SaveFeature() 368 Feature->Theta = Theta; in SaveFeature()
|
D | ocrfeatures.h | 124 BOOL8 AddFeature(FEATURE_SET FeatureSet, FEATURE Feature); 126 void FreeFeature(FEATURE Feature); 138 void WriteFeature(FILE *File, FEATURE Feature);
|
D | normfeat.h | 37 FLOAT32 ActualOutlineLength(FEATURE Feature);
|
D | intproto.cpp | 160 void RenderIntFeature(void *window, INT_FEATURE Feature, C_COL Color); 637 void DisplayIntFeature(INT_FEATURE Feature, FLOAT32 Evidence) { in DisplayIntFeature() argument 653 RenderIntFeature(IntMatchWindow, Feature, Color); in DisplayIntFeature() 655 RenderIntFeature(FeatureDisplayWindow, Feature, Color); in DisplayIntFeature() 1829 void RenderIntFeature(void *window, INT_FEATURE Feature, C_COL Color) { in RenderIntFeature() argument 1844 assert (Feature != NULL); in RenderIntFeature() 1847 X = Feature->X - DISPLAY_OFFSET; in RenderIntFeature() 1848 Y = Feature->Y - DISPLAY_OFFSET; in RenderIntFeature() 1850 Dx = (Length / 2.0) * cos ((Feature->Theta / 256.0) * 2.0 * PI); in RenderIntFeature() 1851 Dy = (Length / 2.0) * sin ((Feature->Theta / 256.0) * 2.0 * PI); in RenderIntFeature()
|
D | cluster.h | 136 SAMPLE *MakeSample (CLUSTERER * Clusterer, FLOAT32 Feature[], inT32 CharID);
|
D | intmatcher.h | 145 INT_FEATURE Feature,
|
D | adaptmatch.cpp | 834 FEATURE Feature; in InitAdaptedClass() local 862 Feature = Features->Features[Fid]; in InitAdaptedClass() 869 Proto->Angle = Feature->Params[OutlineFeatDir]; in InitAdaptedClass() 870 Proto->X = Feature->Params[OutlineFeatX]; in InitAdaptedClass() 871 Proto->Y = Feature->Params[OutlineFeatY] - Y_DIM_OFFSET; in InitAdaptedClass() 872 Proto->Length = Feature->Params[OutlineFeatLength]; in InitAdaptedClass()
|
D | intproto.h | 244 void DisplayIntFeature(INT_FEATURE Feature, FLOAT32 Evidence);
|
D | classify.h | 59 FLOAT32 ComputeNormMatch(CLASS_ID ClassId, FEATURE Feature, BOOL8 DebugMatch);
|
D | cluster.cpp | 465 MakeSample (CLUSTERER * Clusterer, FLOAT32 Feature[], inT32 CharID) { in MakeSample() argument 486 Sample->Mean[i] = Feature[i]; in MakeSample()
|
/external/tesseract/training/ |
D | mergenf.cpp | 81 FEATURE Feature; in CompareProtos() local 92 Feature = NewFeature (&PicoFeatDesc); in CompareProtos() 93 Feature->Params[PicoFeatDir] = p1->Angle; in CompareProtos() 103 Feature->Params[PicoFeatX] = p1->X + cos (Angle) * Length; in CompareProtos() 104 Feature->Params[PicoFeatY] = p1->Y + sin (Angle) * Length; in CompareProtos() 105 if (DummyFastMatch (Feature, p2)) { in CompareProtos() 106 Evidence = SubfeatureEvidence (Feature, p2); in CompareProtos() 110 FreeFeature (Feature); in CompareProtos() 115 Feature->Params[PicoFeatX] = p1->X - cos (Angle) * Length; in CompareProtos() 116 Feature->Params[PicoFeatY] = p1->Y - sin (Angle) * Length; in CompareProtos() [all …]
|
D | mergenf.h | 78 FEATURE Feature, 85 FEATURE Feature,
|
/external/webkit/V8Binding/v8/src/ia32/ |
D | assembler-ia32.h | 364 enum Feature { SSE3 = 32, SSE2 = 26, CMOV = 15, RDTSC = 4, CPUID = 10 }; enum 369 static bool IsSupported(Feature f) { in IsSupported() 373 static bool IsEnabled(Feature f) { in IsEnabled() 380 explicit Scope(Feature f) { in Scope() 390 explicit Scope(Feature f) {}
|
/external/webkit/V8Binding/v8/src/x64/ |
D | assembler-x64.h | 364 enum Feature { SSE3 = 32, enum 374 static bool IsSupported(Feature f) { in IsSupported() 378 static bool IsEnabled(Feature f) { in IsEnabled() 385 explicit Scope(Feature f) { in Scope() 395 explicit Scope(Feature f) {}
|
/external/gtest/ |
D | README.android | 30 Feature supported (see include/gtest/internals/gtest-port.h for
|
/external/neven/ |
D | Android.mk | 45 Embedded/common/src/b_BitFeatureEm/Feature.c \
|
/external/e2fsprogs/ |
D | RELEASE-NOTES | 100 (Addresses Sourceforge Feature Request: #1175808) 237 more significantly. (Addresses-Sourceforge-Feature-Request: #532439) 241 (Addresses-Sourceforge-Feature-Request: #606508) 261 will work with large files. (Addresses Sourceforge Feature Request: 267 deleted files. (Addresses-Sourceforge-Feature-Request: #967141)
|