Home
last modified time | relevance | path

Searched refs:Sample (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DNonLinComp_D16.c70 LVM_INT16 Sample; /* Input samples */ in NonLinComp_D16() local
84 Sample = *pDataIn; in NonLinComp_D16()
93 if ((LVM_INT32)Sample != -32768) in NonLinComp_D16()
95 Temp = (LVM_INT16)((Sample * Sample) >> 15); in NonLinComp_D16()
96 if(Sample >0) in NonLinComp_D16()
98 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15)); in NonLinComp_D16()
102 Sample = (LVM_INT16)(Sample + ((Gain * (Sample + Temp)) >> 15)); in NonLinComp_D16()
110 *pDataOut = Sample; in NonLinComp_D16()
124 LVM_FLOAT Sample; /* Input samples */ in NonLinComp_Float() local
137 Sample = *pDataIn; in NonLinComp_Float()
[all …]
/frameworks/opt/gamesdk/src/tuningfork/
Dhistogram.cpp45 void Histogram::Add(Sample dt_ms) { in Add()
64 Sample min_dt = std::numeric_limits<Sample>::max(); in CalcBucketsFromSamples()
65 Sample max_dt = std::numeric_limits<Sample>::min(); in CalcBucketsFromSamples()
66 Sample sum = 0; in CalcBucketsFromSamples()
67 Sample sum2 = 0; in CalcBucketsFromSamples()
68 for (Sample d: samples_) { in CalcBucketsFromSamples()
75 Sample mean = sum / n; in CalcBucketsFromSamples()
76 Sample var = sum2 / n - mean * mean; in CalcBucketsFromSamples()
78 Sample stddev = sqrt(var); in CalcBucketsFromSamples()
84 Sample w = bucket_dt_ms_ * (num_buckets_ - 2); in CalcBucketsFromSamples()
[all …]
Dhistogram.h28 typedef double Sample; typedef
31 Sample start_ms_, end_ms_, bucket_dt_ms_;
34 std::vector<Sample> samples_;
44 void Add(Sample dt_ms);
/frameworks/base/media/jni/soundpool/
DSoundPool.h52 class Sample : public RefBase {
55 Sample(int sampleID, int fd, int64_t offset, int64_t length);
56 ~Sample();
93 void set(const sp<Sample>& sample, int channelID, float leftVolume,
95 sp<Sample> sample() { return mSample; } in sample()
105 sp<Sample> mSample;
122 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
188 sp<Sample> findSample(int sampleID);
200 sp<Sample> findSample_l(int sampleID);
223 DefaultKeyedVector< int, sp<Sample> > mSamples;
DSoundPool.cpp188 sp<Sample> SoundPool::findSample(int sampleID) in findSample()
194 sp<Sample> SoundPool::findSample_l(int sampleID) in findSample_l()
227 sp<Sample> sample = new Sample(sampleID, fd, offset, length); in load()
261 sp<Sample> sample(findSample_l(sampleID)); in play()
262 if ((sample == 0) || (sample->state() != Sample::READY)) { in play()
483 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length) in Sample() function in android::Sample
494 void Sample::init() in init()
505 Sample::~Sample() in ~Sample()
668 status_t Sample::doLoad() in doLoad()
723 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, in play()
[all …]
DSoundPoolThread.cpp106 sp <Sample> sample = mSoundPool->findSample(sampleID); in doLoadSample()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto60 // Sample values: 20404794, 21670xx2xxx.
64 // Sample values: C Spire, LeclercMobile
68 // Sample values:
72 // Sample values: 6D, BAE0000000000000
76 // Sample values: 6D, BAE0000000000000
81 // Sample values: fast.t-mobile.com, internet
85 // Sample values: 894430, 894410
89 // Sample values: 61ed377e85d386a8dfee6b864bd85b0bfaa5af88
Dtelephony.proto1641 // Sample values: 61ed377e85d386a8dfee6b864bd85b0bfaa5af88
1646 // Sample values: fast.t-mobile.com, internet. Note only log if this apn is not user edited.
/frameworks/av/media/libstagefright/include/media/stagefright/
DNuMediaExtractor.h113 struct Sample { struct
114 Sample();
115 Sample(MediaBufferBase *buffer, int64_t timeUs);
126 std::list<Sample> mSamples;
/frameworks/base/docs/
D__DEPRECATED__DO_NOT_EDIT__.txt13 - Sample code documentation is not maintained in Piper, but is published from
/frameworks/base/docs/html/
D__DEPRECATED__DO_NOT_EDIT__.txt13 - Sample code documentation is not maintained in Piper, but is published from
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1758 long Sample; // current sample in getSamples() local
1780 Sample = ((lA1 * lS1) >> S_Q14) - lS2; in getSamples()
1783 lS1 = Sample; in getSamples()
1784 Sample = ((lAmplitude>>16) * Sample) >> S_Q15; in getSamples()
1785 *(outBuffer++) += (int16_t)Sample; // put result in buffer in getSamples()
1792 Sample = ((lA1 * lS1) >> S_Q14) - lS2; in getSamples()
1795 lS1 = Sample; in getSamples()
1796 Sample = (lAmplitude * Sample) >> S_Q15; in getSamples()
1797 *(outBuffer++) += (int16_t)Sample; // put result in buffer in getSamples()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp42 NuMediaExtractor::Sample::Sample() in Sample() function in android::NuMediaExtractor::Sample
47 NuMediaExtractor::Sample::Sample(MediaBufferBase *buffer, int64_t timeUs) in Sample() function in android::NuMediaExtractor::Sample
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
Dreadme.txt8 - Sample data files
/frameworks/ml/nn/
DREADME.txt27 ./sample_driver: Sample driver that uses the CPU to execute queries.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/testdata/
Dbooks.proto33 // Sample protos for testing.
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp187 struct Sample { struct in android::MPEG4Source
196 Vector<Sample> mCurrentSamples;
5162 Sample *smpl = &mCurrentSamples.editItemAt(i); in parseClearEncryptedSizes()
5456 Sample tmp; in parseTrackFragmentRun()
6082 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex]; in fragmentedRead()
6110 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex]; in fragmentedRead()
/frameworks/rs/script_api/include/
Drs_allocation_data.rsh2644 * rsSample: Sample a value from a texture allocation
/frameworks/base/cmds/statsd/src/
Datoms.proto1730 // Sample rate in Hz as defined by various SAMPLE_RATE_* constants in BluetoothCodecConfig