Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp107 List<const sp<WebmFrame> >& frames, in initCluster()
110 CHECK(!frames.empty() && children.empty()); in initCluster()
112 const sp<WebmFrame> f = *(frames.begin()); in initCluster()
133 void WebmFrameSinkThread::flushFrames(List<const sp<WebmFrame> >& frames, bool last) { in flushFrames() argument
134 if (frames.empty()) { in flushFrames()
140 initCluster(frames, clusterTimecodeL, children); in flushFrames()
144 size_t n = frames.size(); in flushFrames()
157 const sp<WebmFrame> f = *(frames.begin()); in flushFrames()
164 initCluster(frames, clusterTimecodeL, children); in flushFrames()
167 frames.erase(frames.begin()); in flushFrames()
[all …]
DWebmFrameThread.h90 List<const sp<WebmFrame> >& frames,
94 void flushFrames(List<const sp<WebmFrame> >& frames, bool last);
/frameworks/av/services/audioflinger/
DAudioStreamOut.cpp48 status_t AudioStreamOut::getRenderPosition(uint64_t *frames) in getRenderPosition() argument
69 *frames = mRenderPosition / mRateMultiplier; in getRenderPosition()
75 status_t AudioStreamOut::getRenderPosition(uint32_t *frames) in getRenderPosition() argument
80 *frames = (uint32_t)position64; in getRenderPosition()
85 status_t AudioStreamOut::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) in getPresentationPosition() argument
103 *frames = adjustedPosition / mRateMultiplier; in getPresentationPosition()
106 *frames = halPosition; in getPresentationPosition()
DAudioStreamOut.h57 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);
DBufferProviders.h77 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0;
98 virtual void copyFrames(void *dst, const void *src, size_t frames);
125 virtual void copyFrames(void *dst, const void *src, size_t frames);
142 virtual void copyFrames(void *dst, const void *src, size_t frames);
DBufferProviders.cpp236 void DownmixerBufferProvider::copyFrames(void *dst, const void *src, size_t frames) in copyFrames() argument
238 mDownmixConfig.inputCfg.buffer.frameCount = frames; in copyFrames()
240 mDownmixConfig.outputCfg.buffer.frameCount = frames; in copyFrames()
299 void RemixBufferProvider::copyFrames(void *dst, const void *src, size_t frames) in copyFrames() argument
302 src, mInputChannels, mIdxAry, mSampleSize, frames); in copyFrames()
320 void ReformatBufferProvider::copyFrames(void *dst, const void *src, size_t frames) in copyFrames() argument
322 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
Dtest-resample.cpp218 input_size = info.frames * info.channels * sizeof(short); in main()
220 (void) sf_readf_short(sf, (short *) input_vaddr, info.frames); in main()
269 Provider(const void* addr, size_t frames, size_t frameSize, const Vector<int>& Pvalues) in main() argument
271 mNumFrames(frames), in main()
504 info.frames = 0; in main()
/frameworks/av/services/audioflinger/tests/
Dtest_utils.h95 TestProvider(void* addr, size_t frames, size_t frameSize,
98 mNumFrames(frames),
187 static void createSine(void *vbuffer, size_t frames,
192 for (size_t i = 0; i < frames; ++i) {
211 static void createChirp(void *vbuffer, size_t frames,
217 double k = (maxfreq - minfreq) / (2. * tscale * frames);
218 for (size_t i = 0; i < frames; ++i) {
274 createBufferByFrames<T>(info.channels, info.samplerate, info.frames);
284 void createBufferByFrames(size_t channels, uint32_t sampleRate, size_t frames)
286 mNumFrames = frames;
Dtest-mixer.cpp55 uint32_t sampleRate, uint32_t channels, size_t frames, bool isBufferFloat) { in writeFile() argument
61 info.frames = 0; in writeFile()
66 filename, info.channels, info.samplerate, frames); in writeFile()
73 (void) sf_writef_float(sf, (float*)buffer, frames); in writeFile()
75 (void) sf_writef_short(sf, (short*)buffer, frames); in writeFile()
/frameworks/av/media/libstagefright/rtsp/
DARTPAssembler.cpp76 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()
DARTPAssembler.h53 const List<sp<ABuffer> > &frames);
56 const List<sp<ABuffer> > &frames);
/frameworks/av/media/libstagefright/omx/tests/
DFrameDropper_test.cpp99 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/wilhelm/tools/permute/
Dpermute.c202 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/opengl/tests/hwc/
DhwcStress.cpp198 static vector <vector <sp<GraphicBuffer> > > frames; variable
412 list = hwcTestCreateLayerList(testRandMod(frames.size()) + 1); in main()
420 selectedFrames = vectorRandSelect(frames, list->numHwLayers); in main()
561 frames.clear(); in initFrames()
562 frames.resize(rows); in initFrames()
590 frames[row].resize(cols); in initFrames()
595 frames[row][col] = new GraphicBuffer(w, h, format, texUsage); in initFrames()
596 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) { in initFrames()
603 hwcTestFillColor(frames[row][col].get(), color, alpha); in initFrames()
606 frames[row][col].get(), frames[row][col]->handle, in initFrames()
/frameworks/av/media/libstagefright/
DXINGSeeker.cpp139 int32_t frames = U32_AT(buffer); in CreateFromSource() local
144 if (frames) { in CreateFromSource()
145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate; in CreateFromSource()
/frameworks/av/media/libnbaio/
DREADME.txt7 transferred frames is less than the requested number of frames.
DLibsndfileSource.cpp29 mEstimatedFramesUntilEOF(sfinfo.frames), in LibsndfileSource()
/frameworks/base/docs/html/preview/testing/
Dperformance.jd37 consistent 60 frames per second (<a href=
39 60fps?</a>), without any dropped or delayed frames, or as we like to call it, <em>jank</em>. This
57 performance information relating to frames of animation that are occurring during the recording
78 Total frames rendered: 82189
79 Janky frames: 35335 (42.99%)
92 as its stability across many frames.
100 extremely detailed frame timing information from recent frames, so that you can track down and
110 frames produced by the app. Below is example raw output from adb dumpsys gfxinfo
351 histogram showing the distribution of frames times (FRAME_COMPLETED - INTENDED_VSYNC) in
353 frames were very good - well below the 16ms deadline (depicted in red), but a few frames
[all …]
/frameworks/base/docs/html/guide/topics/graphics/
Ddrawable-animation.jd11 <p>While you can define the frames of an animation in your code, using the {@link
13 single XML file that lists the frames that compose the animation. The XML file for this kind
30 <p>This animation runs for just three frames. By setting the <code>android:oneshot</code>
/frameworks/wilhelm/tests/sandbox/
Dplaybq.c498 sf_count_t frames = framesPerBuffer; in main() local
502 count = sf_readf_float(sndfile, (float *) buffer, frames); in main()
505 count = sf_readf_int(sndfile, (int *) buffer, frames); in main()
508 count = sf_readf_int(sndfile, (int *) buffer, frames); in main()
512 count = sf_readf_short(sndfile, (short *) buffer, frames); in main()
Dplaybq.cpp498 sf_count_t frames = framesPerBuffer; in main() local
502 count = sf_readf_float(sndfile, (float *) buffer, frames); in main()
505 count = sf_readf_int(sndfile, (int *) buffer, frames); in main()
508 count = sf_readf_int(sndfile, (int *) buffer, frames); in main()
512 count = sf_readf_short(sndfile, (short *) buffer, frames); in main()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h73 SortedVector<Frame> frames; member
DBootAnimation.cpp547 part.frames.add(frame); in movie()
586 const size_t fcount = part.frames.size(); in movie()
606 const Animation::Frame& frame(part.frames[j]); in movie()
667 const Animation::Frame& frame(part.frames[j]); in movie()
/frameworks/base/docs/html/tools/debugging/
Dsystrace.jd15 <li><a href="#frames">Inspecting Frames</a></li>
29 running at a consistent 60 frames per second. If something goes wrong, and a frame gets dropped, the
166 <h3 id="frames">Inspecting Frames</h3>
168 <p>Each app that is rendering frames shows a row of frame circles, which are typically colored
170 required to maintain a stable 60 frames per second. Zoom in using the 'w' key to see the frames of
171 your application, and look for long-running frames getting in the way of smoothness.</p>
/frameworks/native/cmds/flatland/
DREADME.txt57 fast - This indicates that frames of the scenario completed too fast to be
62 slow - This indicates that frames of the scenario took too long to

1234