Home
last modified time | relevance | path

Searched defs:sample (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DILearning_MulticlassPA.aidl27 void TrainOneSample(in List<IntFloat> sample, int target); in TrainOneSample()
28 int Classify(in List<IntFloat> sample); in Classify()
DBordeauxClassifier.java44 private ArrayList<IntFloat> getArrayList(final HashMap<Integer, Float> sample) { in getArrayList()
78 public boolean update(final HashMap<Integer, Float> sample, int target) { in update()
90 public int classify(final HashMap<Integer, Float> sample) { in classify()
DLearning_MulticlassPA.java35 private IntFloatArray splitIntFloatArray(List<IntFloat> sample) { in splitIntFloatArray()
72 public void TrainOneSample(List<IntFloat> sample, int target) { in TrainOneSample()
82 public int Classify(List<IntFloat> sample) { in Classify()
DBordeauxRanker.java45 private ArrayList<StringFloat> getArrayList(final HashMap<String, Float> sample) { in getArrayList()
107 public float scoreSample(final HashMap<String, Float> sample) { in scoreSample()
118 public boolean setPriorWeight(final HashMap<String, Float> sample) { in setPriorWeight()
DLearning_StochasticLinearRanker.java75 public float ScoreSample(List<StringFloat> sample) { in ScoreSample()
88 public boolean SetModelPriorWeight(List<StringFloat> sample) { in SetModelPriorWeight()
DILearning_StochasticLinearRanker.aidl30 float ScoreSample(in List<StringFloat> sample); in ScoreSample()
DBordeauxAggregatorManager.java141 private Map<String, String> getMap(final List<StringString> sample) { in getMap()
DAggregatorManager.java150 private ArrayList<StringString> getList(final Map<String, String> sample) { in getList() argument
/frameworks/opt/net/voip/src/jni/rtp/
DG711Codec.cpp51 int sample = samples[i]; in encode() local
77 int sample = (((mantissa << 3) + 132) << exponent) - 132; in decode() local
102 int sample = samples[i]; in encode() local
127 int sample = (exponent == 0 ? (mantissa << 4) + 8 : in decode() local
/frameworks/av/media/libeffects/testlibs/
DAudioCommon.h73 inline int16_t audio_sample_t_to_s15(audio_sample_t sample) { in audio_sample_t_to_s15()
78 inline int16_t audio_sample_t_to_s15_clip(audio_sample_t sample) { in audio_sample_t_to_s15_clip()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_polyphase_filter_window.h93 __inline int16 saturate16(int32 sample) in saturate16()
/frameworks/base/core/java/android/gesture/
DInstance.java44 private Instance(long id, float[] sample, String sampleName) { in Instance()
51 float[] sample = vector; in normalize() local
DInstanceLearner.java50 Instance sample = instances.get(i); in classify() local
DGestureUtils.java93 float[] sample = new float[bitmapSize * bitmapSize]; in spatialSampling() local
209 private static void plot(float x, float y, float[] sample, int sampleSize) { in plot()
/frameworks/native/libs/cpustats/
DCentralTendencyStatistics.cpp21 void CentralTendencyStatistics::sample(double x) in sample() function in CentralTendencyStatistics
DThreadCpuUsage.cpp97 bool ThreadCpuUsage::sample(double &ns) in sample() function in android::ThreadCpuUsage
/frameworks/av/services/audioflinger/
DAudioResamplerCubic.cpp76 int32_t sample; in resampleStereo16() local
142 int32_t sample; in resampleMono16() local
DAudioResampler.cpp433 int32_t sample = Interp(mX0L, in[0], phaseFraction); in resampleMono16() local
457 int32_t sample = Interp(in[inputIndex-1], in[inputIndex], in resampleMono16() local
/frameworks/av/media/libmedia/
DSoundPool.cpp210 sp<Sample> sample = new Sample(++mNextSampleID, path); in load() local
221 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length); in load() local
227 void SoundPool::doLoad(sp<Sample>& sample) in doLoad()
246 sp<Sample> sample; in play() local
547 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, in play()
656 sp<Sample> sample; in nextEvent() local
711 sp<Sample> sample = mSample; in process() local
896 void SoundEvent::set(const sp<Sample>& sample, int channelID, float leftVolume, in set()
DSoundPoolThread.cpp106 sp <Sample> sample = mSoundPool->findSample(sampleID); in doLoadSample() local
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
Djni_stochastic_linear_ranker.cpp31 const int length, SparseWeightVector<string> * sample) { in CreateSparseWeightVector()
52 const int length, SparseWeightVector<string> *sample) { in DecomposeSparseWeightVector()
455 SparseWeightVector<string> sample; in Java_android_bordeaux_learning_StochasticLinearRanker_nativeScoreSample() local
/frameworks/av/media/libstagefright/
DFLACExtractor.cpp109 MediaBuffer *readBuffer(FLAC__uint64 sample) { in readBuffer()
626 MediaBuffer *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) in readBuffer()
738 FLAC__uint64 sample; in read() local
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dstochastic_linear_ranker.h176 double ScoreSample(const SparseWeightVector<Key, Hash> &sample) { in ScoreSample()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp250 static inline int16_t clamp16(int32_t sample) in clamp16()
/frameworks/av/include/media/
DSoundPool.h98 sp<Sample> sample() { return mSample; } in sample() function

12