/frameworks/av/media/libstagefright/omx/tests/ |
H A D | FrameDropper_test.cpp | 99 void RunTest(const TestFrame* frames, size_t size) { argument 102 int64_t testTimeUs = frames[i].timeUs + jitter; 104 (long long)frames[i].timeUs, (long long)testTimeUs, jitter); 105 EXPECT_EQ(frames[i].shouldDrop, mFrameDropper->shouldDrop(testTimeUs));
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.h | 53 const List<sp<ABuffer> > &frames); 56 const List<sp<ABuffer> > &frames);
|
H A D | ARTPAssembler.cpp | 76 const List<sp<ABuffer> > &frames) { 78 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); 79 it != frames.end(); ++it) { 86 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); 87 it != frames.end(); ++it) { 116 CopyTimes(accessUnit, *frames.begin()); 72 MakeADTSCompoundFromAACFrames( unsigned profile, unsigned samplingFreqIndex, unsigned channelConfig, const List<sp<ABuffer> > &frames) argument
|
/frameworks/av/services/audioflinger/ |
H A 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);
|
H A D | AudioStreamOut.cpp | 48 status_t AudioStreamOut::getRenderPosition(uint64_t *frames) argument 69 *frames = mRenderPosition / mRateMultiplier; 75 status_t AudioStreamOut::getRenderPosition(uint32_t *frames) argument 80 *frames = (uint32_t)position64; 85 status_t AudioStreamOut::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) argument 97 // Adjust for standby using HAL rate frames. 98 // Only apply this correction if the HAL is getting PCM frames. 103 *frames = adjustedPosition / mRateMultiplier; 106 *frames = halPosition;
|
H A D | BufferProviders.h | 59 // Use a private buffer of bufferFrameCount frames (each frame is outputFrameSize bytes). 74 // #frames in the *src pointer to the *dst pointer. It is public because 77 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); 167 // processes frames 169 // dstFrames [in/out] is the desired frames (return with actual placed in buffer) 171 // srcFrames [in/out] is the available source frames (return with consumed)
|
H A D | test-resample.cpp | 60 fprintf(stderr," -O # frames output per call to resample() in CSV format\n"); 61 fprintf(stderr," -P # frames provided per call to resample() in CSV format\n"); 218 input_size = info.frames * info.channels * sizeof(short); 220 (void) sf_readf_short(sf, (short *) input_vaddr, info.frames); 262 const size_t mNumFrames; // total frames 265 size_t mUnrel; // number of frames not yet released 266 const Vector<int> mPvalues; // number of frames provided per call 269 Provider(const void* addr, size_t frames, size_t frameSize, const Vector<int>& Pvalues) argument 271 mNumFrames(frames), 293 printf("getNextBuffer() requested %zu frames ou [all...] |
H A D | BufferProviders.cpp | 236 void DownmixerBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument 238 mDownmixConfig.inputCfg.buffer.frameCount = frames; 240 mDownmixConfig.outputCfg.buffer.frameCount = frames; 299 void RemixBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument 302 src, mInputChannels, mIdxAry, mSampleSize, frames); 320 void ReformatBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument 322 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); 447 LOG_ALWAYS_FATAL("Releasing more frames(%zu) than available(%zu)", 476 // Note dstFrames is the required number of frames. 480 //rate, actual frames processe [all...] |
H A D | Threads.cpp | 127 // minimum normal sink buffer size, expressed in milliseconds rather than frames 2118 ALOGW("HAL output buffer size is %u frames but AudioMixer requires multiples of 16 frames", 2169 // round up minimum and round down maximum to nearest 16 frames to satisfy AudioMixer 2200 // round up to nearest 16 frames to satisfy AudioMixer 2204 ALOGI("HAL output buffer size %u frames, normal sink buffer size %u frames", mFrameCount, 2213 // mSinkBuffer is the sink buffer. Size is always multiple-of-16 frames. 2267 // return an estimation of rendered frames when the output is suspended 2273 uint32_t frames; local 6532 convert(void *dst, AudioBufferProvider *provider, size_t frames) argument 6674 convertNoResampler( void *dst, const void *src, size_t frames) argument 6714 convertResampler( void *dst, void *src, size_t frames) argument [all...] |
H A D | PlaybackTracks.h | 138 size_t mPresentationCompleteFrames; // number of frames written to the 270 bool write(void* data, uint32_t frames);
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 94 // frames: 95 // sequence of input audio/video frames received from the source. 99 // frame since frames are ordered by timestamp. 107 List<const sp<WebmFrame> >& frames, 110 CHECK(!frames.empty() && children.empty()); 112 const sp<WebmFrame> f = *(frames.begin()); 129 // Write out (possibly multiple) webm cluster(s) from frames split on video key frames. 133 void WebmFrameSinkThread::flushFrames(List<const sp<WebmFrame> >& frames, bool last) { argument 134 if (frames 106 initCluster( List<const sp<WebmFrame> >& frames, uint64_t& clusterTimecodeL, List<sp<WebmElement> >& children) argument [all...] |
H A D | WebmFrameThread.h | 90 List<const sp<WebmFrame> >& frames, 94 void flushFrames(List<const sp<WebmFrame> >& frames, bool last);
|
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 95 TestProvider(void* addr, size_t frames, size_t frameSize, argument 98 mNumFrames(frames), 132 ALOGV("getNextBuffer() requested %zu frames out of %zu frames available" 133 " and returned %zu frames", 148 ALOGE("releaseBuffer() released %zu frames but only %zu available " 154 ALOGV("releaseBuffer() released %zu frames out of %zu frames available " 176 size_t mNumFrames; // total frames 179 size_t mUnrel; // number of frames no 187 createSine(void *vbuffer, size_t frames, size_t channels, double sampleRate, double freq) argument 211 createChirp(void *vbuffer, size_t frames, size_t channels, double sampleRate, double minfreq, double maxfreq) argument 284 createBufferByFrames(size_t channels, uint32_t sampleRate, size_t frames) argument [all...] |
H A D | test-mixer.cpp | 48 fprintf(stderr, " -P # frames provided per call to resample() in CSV format\n"); 55 uint32_t sampleRate, uint32_t channels, size_t frames, bool isBufferFloat) { 61 info.frames = 0; 65 printf("saving file:%s channels:%u samplerate:%u frames:%zu\n", 66 filename, info.channels, info.samplerate, frames); 73 (void) sf_writef_float(sf, (float*)buffer, frames); 75 (void) sf_writef_short(sf, (short*)buffer, frames); 210 // calculate the number of output frames 312 outputFrames = i; // reset output frames to the data actually produced. 54 writeFile(const char *filename, const void *buffer, uint32_t sampleRate, uint32_t channels, size_t frames, bool isBufferFloat) argument
|
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 75 /** Split the specified range of frames, using the allowed budget of segments. 202 switch (sfinfo_in.frames) { 205 fprintf(stderr, "%s: unsupported frames %d\n", path_in, (int) sfinfo_in.frames); 212 double durationSeconds = (double) sfinfo_in.frames / (double) sfinfo_in.samplerate; 224 used = split(&s, 0, sfinfo_in.frames, s.mSegmentMax); 241 void *ptr = malloc(sfinfo_in.frames * frameSizeRead); 244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames); 245 if (count != sfinfo_in.frames) { 246 fprintf(stderr, "%s: expected to read %d frames bu [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 198 static vector <vector <sp<GraphicBuffer> > > frames; variable 395 // Regenerate a new set of test frames when this pass is 412 list = hwcTestCreateLayerList(testRandMod(frames.size()) + 1); 418 // Prandomly select a subset of frames to be used by this pass. 420 selectedFrames = vectorRandSelect(frames, list->numHwLayers); 544 * named frames. The graphic buffers are contained within a vector of 561 frames.clear(); 562 frames.resize(rows); 565 // All frames within a row have to have the same format and 590 frames[ro [all...] |
/frameworks/av/media/libstagefright/ |
H A D | XINGSeeker.cpp | 139 int32_t frames = U32_AT(buffer); local 144 if (frames) { 145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate;
|
/frameworks/av/media/libnbaio/ |
H A D | LibsndfileSource.cpp | 29 mEstimatedFramesUntilEOF(sfinfo.frames), 55 // Detect EOF by zero frames read, not by mFramesUntilEOF as it could be inaccurate 62 // We didn't read any frames during the current loop cycle, so disable
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 73 SortedVector<Frame> frames; member in struct:android::BootAnimation::Animation::Part
|
H A D | BootAnimation.cpp | 547 part.frames.add(frame); 586 const size_t fcount = part.frames.size(); 606 const Animation::Frame& frame(part.frames[j]); 667 const Animation::Frame& frame(part.frames[j]);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 249 fprintf(stderr, " -f# frames per buffer (default 512)\n"); 498 sf_count_t frames = framesPerBuffer; local 502 count = sf_readf_float(sndfile, (float *) buffer, frames); 505 count = sf_readf_int(sndfile, (int *) buffer, frames); 508 count = sf_readf_int(sndfile, (int *) buffer, frames); 512 count = sf_readf_short(sndfile, (short *) buffer, frames);
|
H A D | playbq.cpp | 249 fprintf(stderr, " -f# frames per buffer (default 512)\n"); 498 sf_count_t frames = framesPerBuffer; local 502 count = sf_readf_float(sndfile, (float *) buffer, frames); 505 count = sf_readf_int(sndfile, (int *) buffer, frames); 508 count = sf_readf_int(sndfile, (int *) buffer, frames); 512 count = sf_readf_short(sndfile, (short *) buffer, frames);
|
/frameworks/base/media/java/android/media/ |
H A D | TtmlRenderer.java | 139 String frames = matcher.group(5); 140 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; 341 * <li>time-clock-with-frames 343 * <li>time-offset-with-frames
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 87 final StackTraceElement[] frames = e.getStackTrace(); 89 for (int j = 1; j < frames.length; ++j) { 90 sb.append(frames[j].toString() + "\n"); 101 final StackTraceElement[] frames = e.getStackTrace(); 102 for (int j = 1; j < frames.length; ++j) { 103 final String tempCallStack = frames[j].toString();
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 261 thiz->mPlay.mDuration = (SLmillisecond) (((long long) thiz->mSndFile.mSfInfo.frames *
|