Home
last modified time | relevance | path

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

123

/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleQueueTests.cpp59 std::shared_ptr<MediaSample> sample; in TEST_F() local
79 std::shared_ptr<MediaSample> sample; in TEST_F() local
101 std::shared_ptr<MediaSample> sample; in TEST_F() local
117 MediaSample::OnSampleReleasedCallback callback = [&bufferReleased](MediaSample* sample) { in TEST_F()
134 std::shared_ptr<MediaSample> sample; in TEST_F() local
154 MediaSample::OnSampleReleasedCallback callback = [&bufferReleased](MediaSample* sample) { in TEST_F()
187 std::shared_ptr<MediaSample> sample; in TEST_F() local
202 std::shared_ptr<MediaSample> sample; in TEST_F() local
224 std::shared_ptr<MediaSample> sample; in TEST_F() local
DVideoTrackTranscoderTests.cpp112 transcoder->setSampleConsumer([&sampleCount, &eos](const std::shared_ptr<MediaSample>& sample) { in TEST_F()
195 [&samples, &semaphore](const std::shared_ptr<MediaSample>& sample) { in TEST_F()
DMediaSampleWriterTests.cpp255 auto sample = std::make_shared<MediaSample>(); in newSample() local
411 auto sample = newSampleWithPts(pts); in TEST_F() local
450 auto sample = entry.first; in TEST_F() local
502 auto sample = MediaSample::createWithReleaseCallback( in readSampleAndAdvance() local
538 std::shared_ptr<MediaSample> sample; in TEST_F() local
/frameworks/libs/modules-utils/java/com/android/modules/expresslog/
DHistogram.java47 public void logSample(float sample) { in logSample()
60 public void logSampleWithUid(int uid, float sample) { in logSampleWithUid()
88 int getBinForSample(float sample); in getBinForSample()
134 public int getBinForSample(float sample) { in getBinForSample()
189 public int getBinForSample(float sample) { in getBinForSample()
202 private static int lower_bound(long[] array, long sample) { in lower_bound()
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaTrackTranscoder.cpp82 auto sample = std::make_shared<MediaSample>(); in start() local
120 void MediaTrackTranscoder::onOutputSampleAvailable(const std::shared_ptr<MediaSample>& sample) { in onOutputSampleAvailable()
134 std::shared_ptr<MediaSample> sample; in setSampleConsumer() local
DMediaSampleQueue.cpp25 bool MediaSampleQueue::enqueue(const std::shared_ptr<MediaSample>& sample) { in enqueue()
35 bool MediaSampleQueue::dequeue(std::shared_ptr<MediaSample>* sample) NO_THREAD_SAFETY_ANALYSIS { in dequeue()
DPassthroughTrackTranscoder.cpp101 std::shared_ptr<MediaSample> sample; in runTranscodeLoop() local
108 [bufferPool = mBufferPool](MediaSample* sample) { in runTranscodeLoop()
DMediaSampleWriter.cpp153 return [self = shared_from_this(), trackIndex](const std::shared_ptr<MediaSample>& sample) { in addTrack()
159 const std::shared_ptr<MediaSample>& sample) { in addSampleToTrack()
263 std::shared_ptr<MediaSample> sample; in runWriterLoop() local
/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/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DUtils.kt71 fun <A, B, C> Flow<A>.sample(b: Flow<B>, c: Flow<C>): Flow<Triple<A, B, C>> { in <lambda>() method
81 fun <A, B, C, D> Flow<A>.sample( in <lambda>() method
95 fun <A, B, C, D, E> Flow<A>.sample( in <lambda>() method
110 fun <A, B, C, D, E, F> Flow<A>.sample( in <lambda>() method
127 fun <A, B, C, D, E, F, G> Flow<A>.sample( in <lambda>() method
/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/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
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaSample.h82 MediaSample* sample = new MediaSample(buffer, dataOffset, bufferId, releaseCallback); in createWithReleaseCallback() local
121 delete sample; in releaseSample() local
/frameworks/native/opengl/include/EGL/
DPlatform.h200 int sample, in DefaultHistogramCustomCounts()
214 int sample, in DefaultHistogramEnumeration()
220 inline void DefaultHistogramSparse(PlatformMethods *platform, const char *name, int sample) in DefaultHistogramSparse()
225 inline void DefaultHistogramBoolean(PlatformMethods *platform, const char *name, bool sample) in DefaultHistogramBoolean()
/frameworks/av/media/module/codecs/mp3dec/src/
Dpvmp3_polyphase_filter_window.h93 __inline int16 saturate16(int32 sample) in saturate16()
/frameworks/av/media/libcpustats/
DCentralTendencyStatistics.cpp21 void CentralTendencyStatistics::sample(double x) in sample() function in CentralTendencyStatistics
/frameworks/av/media/libaaudio/src/flowgraph/
DMonoToMultiConverter.cpp34 float sample = *inputBuffer++; in onProcess() local
DManyToMultiConverter.cpp40 float sample = *inputBuffer++; in onProcess() local
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
DMemoryTest.java63 private void sample() throws TestException { in sample() method in MemoryTest
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DPolyphaseResamplerMono.cpp37 const float sample = frame[0]; in writeFrame() local
DSincResampler.cpp58 const float sample = *xFrame++; in readFrame() local
/frameworks/base/core/java/com/android/internal/os/
DBinderLatencyBuckets.java72 public int sampleToBucket(int sample) { in sampleToBucket()
/frameworks/base/services/core/java/com/android/server/powerstats/
DIntervalRandomNoiseGenerator.java65 double sample = mSamples[stickyKey % DISTRIBUTION_SAMPLE_SIZE]; in addNoise() local
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioTrackDecoder.java108 AudioSample sample = new AudioSample( in grabSample() local

123