/frameworks/av/media/libaudioprocessing/ |
D | RecordBufferConverter.cpp | 78 AudioBufferProvider *provider, size_t frames) in convert() argument 90 for (size_t i = frames; i > 0; ) { in convert() 94 frames -= i; // cannot fill request. in convert() 109 if (mBufFrameSize != 0 && mBufFrames < frames) { in convert() 111 mBufFrames = frames; in convert() 115 memset(mBuf, 0, frames * mBufFrameSize); in convert() 116 frames = mResampler->resample((int32_t*)mBuf, frames, provider); in convert() 118 convertResampler(dst, mBuf, frames); in convert() 125 return frames; in convert() 225 void *dst, const void *src, size_t frames) in convertNoResampler() argument [all …]
|
D | BufferProviders.cpp | 284 void DownmixerBufferProvider::copyFrames(void *dst, const void *src, size_t frames) in copyFrames() argument 287 mInBuffer->setFrameCount(frames); in copyFrames() 288 mInBuffer->update(mInFrameSize * frames); in copyFrames() 289 mOutBuffer->setFrameCount(frames); in copyFrames() 294 mOutBuffer->update(mOutFrameSize * frames); in copyFrames() 299 mOutBuffer->commit(mOutFrameSize * frames); in copyFrames() 361 void RemixBufferProvider::copyFrames(void *dst, const void *src, size_t frames) in copyFrames() argument 364 src, mInputChannels, mIdxAry, mSampleSize, frames); in copyFrames() 382 void ReformatBufferProvider::copyFrames(void *dst, const void *src, size_t frames) in copyFrames() argument 384 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames() [all …]
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.h | 126 TEE_FLAG flags = TEE_FLAG_NONE, size_t frames = 0) const { 127 return mTee->set(format, flags, frames); 131 TEE_FLAG flags = TEE_FLAG_NONE, size_t frames = 0) const { 132 return mTee->set(Format_from_SR_C(sampleRate, channelCount, format), flags, frames); 181 status_t set(const NBAIO_Format &format, TEE_FLAG flags, size_t frames) { in set() argument 200 if (frames == 0) { in set() 202 frames = DEFAULT_TEE_FRAMES; in set() 208 if (Format_isEqual(format, mFormat) && frames == mFrames) { in set() 213 auto sinksource = makeSinkSource(format, frames, &enabled); in set() 222 mFrames = frames; in set() [all …]
|
D | AudioStreamOut.cpp | 54 status_t AudioStreamOut::getRenderPosition(uint64_t *frames) in getRenderPosition() argument 76 *frames = mRenderPosition / mRateMultiplier; in getRenderPosition() 82 status_t AudioStreamOut::getRenderPosition(uint32_t *frames) in getRenderPosition() argument 87 *frames = (uint32_t)position64; in getRenderPosition() 92 status_t AudioStreamOut::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) in getPresentationPosition() argument 110 *frames = adjustedPosition / mRateMultiplier; in getPresentationPosition() 113 *frames = halPosition; in getPresentationPosition()
|
D | AudioStreamOut.h | 57 status_t getRenderPosition(uint32_t *frames); 59 virtual status_t getRenderPosition(uint64_t *frames); 61 virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp);
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.cpp | 115 List<const sp<WebmFrame> >& frames, in initCluster() 118 CHECK(!frames.empty() && children.empty()); in initCluster() 120 const sp<WebmFrame> f = *(frames.begin()); in initCluster() 141 void WebmFrameSinkThread::flushFrames(List<const sp<WebmFrame> >& frames, bool last) { in flushFrames() argument 142 if (frames.empty()) { in flushFrames() 148 initCluster(frames, clusterTimecodeL, children); in flushFrames() 152 size_t n = frames.size(); in flushFrames() 165 const sp<WebmFrame> f = *(frames.begin()); in flushFrames() 172 initCluster(frames, clusterTimecodeL, children); in flushFrames() 175 frames.erase(frames.begin()); in flushFrames() [all …]
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | test_utils.h | 102 TestProvider(void* addr, size_t frames, size_t frameSize, 105 mNumFrames(frames), 194 static void createSine(void *vbuffer, size_t frames, 199 for (size_t i = 0; i < frames; ++i) { 218 static void createChirp(void *vbuffer, size_t frames, 224 double k = (maxfreq - minfreq) / (2. * tscale * frames); 225 for (size_t i = 0; i < frames; ++i) { 281 createBufferByFrames<T>(info.channels, info.samplerate, info.frames); 291 void createBufferByFrames(size_t channels, uint32_t sampleRate, size_t frames) 293 mNumFrames = frames;
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 76 const List<sp<ABuffer> > &frames) { in MakeADTSCompoundFromAACFrames() 78 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 79 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames() 86 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 87 it != frames.end(); ++it) { in MakeADTSCompoundFromAACFrames() 116 CopyTimes(accessUnit, *frames.begin()); in MakeADTSCompoundFromAACFrames()
|
D | ARTPAssembler.h | 53 const List<sp<ABuffer> > &frames); 56 const List<sp<ABuffer> > &frames);
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.h | 78 virtual int64_t incrementClientFrameCounter(int32_t frames) = 0; 123 int64_t incrementFramesWritten(int32_t frames) { in incrementFramesWritten() argument 124 return mFramesWritten.increment(frames); in incrementFramesWritten() 127 int64_t incrementFramesRead(int32_t frames) { in incrementFramesRead() argument 128 return mFramesRead.increment(frames); in incrementFramesRead()
|
D | AudioStreamRecord.h | 75 int64_t incrementClientFrameCounter(int32_t frames) override { in incrementClientFrameCounter() argument 76 return incrementFramesRead(frames); in incrementClientFrameCounter()
|
/frameworks/base/core/java/android/speech/tts/ |
D | SynthesisPlaybackQueueItem.java | 213 public final int frames; field in SynthesisPlaybackQueueItem.ProgressMarker 219 public ProgressMarker(int frames, int start, int end) { in ProgressMarker() argument 220 this.frames = frames; in ProgressMarker() 232 int markerInFrames = marker.frames == 0 ? 1 : marker.frames; in updateMarker() 251 getDispatcher().dispatchOnRangeStart(marker.start, marker.end, marker.frames); in onMarkerReached()
|
/frameworks/wilhelm/tools/permute/ |
D | permute.c | 202 switch (sfinfo_in.frames) { in permute() 205 fprintf(stderr, "%s: unsupported frames %d\n", path_in, (int) sfinfo_in.frames); in permute() 212 double durationSeconds = (double) sfinfo_in.frames / (double) sfinfo_in.samplerate; in permute() 224 used = split(&s, 0, sfinfo_in.frames, s.mSegmentMax); in permute() 241 void *ptr = malloc(sfinfo_in.frames * frameSizeRead); in permute() 244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames); in permute() 245 if (count != sfinfo_in.frames) { in permute() 247 (int) sfinfo_in.frames, (int) count); in permute() 279 assert(permutedStart == sfinfo_in.frames); in permute()
|
/frameworks/native/services/inputflinger/reader/ |
D | TouchVideoDevice.cpp | 162 std::vector<TouchVideoFrame> frames = readFrames(); in readAndQueueFrames() local 163 const size_t numFrames = frames.size(); in readAndQueueFrames() 169 mFrames.insert(mFrames.end(), std::make_move_iterator(frames.begin()), in readAndQueueFrames() 170 std::make_move_iterator(frames.end())); in readAndQueueFrames() 180 std::vector<TouchVideoFrame> frames = std::move(mFrames); in consumeFrames() local 182 return frames; in consumeFrames() 221 std::vector<TouchVideoFrame> frames; in readFrames() local 227 frames.push_back(std::move(*frame)); in readFrames() 229 return frames; in readFrames()
|
/frameworks/av/media/libstagefright/bqhelper/tests/ |
D | FrameDropper_test.cpp | 99 void RunTest(const TestFrame* frames, size_t size) { in RunTest() argument 102 int64_t testTimeUs = frames[i].timeUs + jitter; in RunTest() 104 (long long)frames[i].timeUs, (long long)testTimeUs, jitter); in RunTest() 105 EXPECT_EQ(frames[i].shouldDrop, mFrameDropper->shouldDrop(testTimeUs)); in RunTest()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcStress.cpp | 199 static vector <vector <sp<GraphicBuffer> > > frames; variable 413 list = hwcTestCreateLayerList(testRandMod(frames.size()) + 1); in main() 421 selectedFrames = vectorRandSelect(frames, list->numHwLayers); in main() 562 frames.clear(); in initFrames() 563 frames.resize(rows); in initFrames() 591 frames[row].resize(cols); in initFrames() 596 frames[row][col] = new GraphicBuffer(w, h, format, texUsage); in initFrames() 597 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) { in initFrames() 604 hwcTestFillColor(frames[row][col].get(), color, alpha); in initFrames() 607 frames[row][col].get(), frames[row][col]->handle, in initFrames()
|
/frameworks/av/media/libmedia/include/media/ |
D | BufferProviders.h | 87 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0; 108 virtual void copyFrames(void *dst, const void *src, size_t frames); 140 virtual void copyFrames(void *dst, const void *src, size_t frames); 157 virtual void copyFrames(void *dst, const void *src, size_t frames); 170 virtual void copyFrames(void *dst, const void *src, size_t frames); 239 void copyFrames(void *dst, const void *src, size_t frames) override;
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | RecordBufferConverter.h | 63 size_t convert(void *dst, AudioBufferProvider *provider, size_t frames); 83 void convertNoResampler(void *dst, const void *src, size_t frames); 86 void convertResampler(void *dst, /*not-a-const*/ void *src, size_t frames);
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | timestats.proto | 34 // Total number of frames presented during tracing period. 36 // Total missed frames of SurfaceFlinger. 38 // Total frames fallback to client composition. 60 // Total number of frames presented during tracing period. 62 // Total number of frames dropped by SurfaceFlinger. 82 // Number of frames in the bucket.
|
/frameworks/base/core/proto/android/service/ |
D | graphicsstats.proto | 62 // Number of frames with slow render time. Frames are considered janky if 69 // Number of frames in triple-buffering scenario (high input latency) 81 // Number of frames that missed their deadline (aka, visibly janked) 90 // Number of frames in the bucket.
|
/frameworks/base/libs/hwui/protos/ |
D | graphicsstats.proto | 55 // Number of frames with slow render time. Frames are considered janky if 62 // Number of frames in triple-buffering scenario (high input latency) 74 // Number of frames that missed their deadline (aka, visibly janked) 81 // Number of frames in the bucket.
|
/frameworks/av/media/extractors/mp3/ |
D | XINGSeeker.cpp | 142 int32_t frames = U32_AT(buffer); in CreateFromSource() local 147 if (frames) { in CreateFromSource() 148 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate; in CreateFromSource()
|
/frameworks/av/services/mediaanalytics/ |
D | statsd_nuplayer.cpp | 83 int64_t frames = -1; in statsd_nuplayer() local 84 if (item->getInt64("android.media.mediaplayer.frames", &frames)) { in statsd_nuplayer() 85 metrics_proto.set_frames(frames); in statsd_nuplayer()
|
/frameworks/av/media/libaaudio/src/flowgraph/ |
D | RampLinear.cpp | 34 void RampLinear::setLengthInFrames(int32_t frames) { in setLengthInFrames() argument 35 mLengthInFrames = frames; in setLengthInFrames()
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 17 part1 \ directories full of PNG frames 29 * **FPS:** frames per second, e.g. 60 40 * **PATH:** directory in which to find the frames for this part (e.g. `part0`) 74 ## loading and playing frames 78 one frame in that part (at the specified resolution). For this reason it is important that frames be 85 the trim output for each frame in its directory, so the frames may be properly positioned.
|