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

/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.h53 const List<sp<ABuffer> > &frames);
56 const List<sp<ABuffer> > &frames);
H A DARTPAssembler.cpp76 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/media/libstagefright/webm/
H A DWebmFrameThread.cpp94 // 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 DWebmFrameThread.h90 List<const sp<WebmFrame> >& frames,
94 void flushFrames(List<const sp<WebmFrame> >& frames, bool last);
/frameworks/av/services/audioflinger/tests/
H A Dtest_utils.h95 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 Dtest-mixer.cpp48 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);
186 // calculate the number of output frames
290 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 Dpermute.c75 /** 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 DhwcStress.cpp198 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 DXINGSeeker.cpp139 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 DLibsndfileSource.cpp29 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 DBootAnimation.h73 SortedVector<Frame> frames; member in struct:android::BootAnimation::Animation::Part
H A DBootAnimation.cpp546 part.frames.add(frame);
586 const size_t fcount = part.frames.size();
606 const Animation::Frame& frame(part.frames[j]);
664 const Animation::Frame& frame(part.frames[j]);
/frameworks/av/services/audioflinger/
H A Dtest-resample.cpp60 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 DAudioMixer.h265 // Use a private buffer of bufferFrameCount frames (each frame is outputFrameSize bytes).
283 // #frames in the *src pointer to the *dst pointer. It is public because
286 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0;
312 virtual void copyFrames(void *dst, const void *src, size_t frames);
338 virtual void copyFrames(void *dst, const void *src, size_t frames);
355 virtual void copyFrames(void *dst, const void *src, size_t frames);
H A DTracks.cpp614 // framesReady() may return an approximation of the number of frames if called
620 // Static tracks return zero frames immediately upon stopping (for FastTracks).
903 // track, and thus for us to get the frames released of the wrong track.
1006 // a track is considered presented when the total number of frames written to audio HAL
1007 // corresponds to the number of frames written when presentationComplete() is called for the
1010 // to detect when all frames have been played. In this case framesWritten isn't
1321 "Bad bookkeeping while updating frames pending. Timed buffer is"
1328 "Bad bookkeeping while updating frames pending. Should have at"
1329 " least %u queued frames, but we think we have only %u. (update"
1616 " least %u queued frames, bu
1712 write(int16_t* data, uint32_t frames) argument
[all...]
H A DPlaybackTracks.h138 size_t mPresentationCompleteFrames; // number of frames written to the
274 bool write(int16_t* data, uint32_t frames);
H A DAudioMixer.cpp81 // Set to default copy buffer size in frames for input processing.
285 void AudioMixer::DownmixerBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument
287 mDownmixConfig.inputCfg.buffer.frameCount = frames;
289 mDownmixConfig.outputCfg.buffer.frameCount = frames;
351 void AudioMixer::RemixBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument
354 src, mInputChannels, mIdxAry, mSampleSize, frames);
371 void AudioMixer::ReformatBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument
373 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannels);
738 * @param ramp number of frames to increment over. if ramp is 0, the volume
739 * should be set immediately. Currently ramp should not exceed 65535 (frames)
[all...]
H A DThreads.cpp114 // minimum normal sink buffer size, expressed in milliseconds rather than frames
1838 ALOGW("HAL output buffer size is %u frames but AudioMixer requires multiples of 16 frames",
1870 // round up minimum and round down maximum to nearest 16 frames to satisfy AudioMixer
1901 // round up to nearest 16 frames to satisfy AudioMixer
1905 ALOGI("HAL output buffer size %u frames, normal sink buffer size %u frames", mFrameCount,
1908 // mSinkBuffer is the sink buffer. Size is always multiple-of-16 frames.
1962 // return an estimation of rendered frames when the output is suspended
1968 uint32_t frames; local
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c264 fprintf(stderr, " -f# frames per buffer (default 512)\n");
504 sf_count_t frames = framesPerBuffer; local
508 count = sf_readf_float(sndfile, (float *) buffer, frames);
511 count = sf_readf_int(sndfile, (int *) buffer, frames);
514 count = sf_readf_int(sndfile, (int *) buffer, frames);
518 count = sf_readf_short(sndfile, (short *) buffer, frames);
H A Dplaybq.cpp264 fprintf(stderr, " -f# frames per buffer (default 512)\n");
504 sf_count_t frames = framesPerBuffer; local
508 count = sf_readf_float(sndfile, (float *) buffer, frames);
511 count = sf_readf_int(sndfile, (int *) buffer, frames);
514 count = sf_readf_int(sndfile, (int *) buffer, frames);
518 count = sf_readf_short(sndfile, (short *) buffer, frames);
/frameworks/av/include/media/
H A DMediaProfiles.h65 * Set default maximum prefetch YUV frames to 6, which means video editor can
66 * queue up to 6 YUV frames in the video encoder source.
68 * engine when the encoder consumes YUV frames at a lower speed
145 * enc.vid.fps.min - min frame rate in frames per second
146 * enc.vid.fps.max - max frame rate in frames per second
158 * maxPrefetchYUVFrames - max prefetch YUV frames in video editor engine. This value is used
379 int outFrameWidth, int outFrameHeight, int frames)
384 mMaxPrefetchYUVFrames(frames) {}
378 VideoEditorCap(int inFrameWidth, int inFrameHeight, int outFrameWidth, int outFrameHeight, int frames) argument
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodUtils.java84 final StackTraceElement[] frames = e.getStackTrace();
86 for (int j = 1; j < frames.length; ++j) {
87 sb.append(frames[j].toString() + "\n");
98 final StackTraceElement[] frames = e.getStackTrace();
99 for (int j = 1; j < frames.length; ++j) {
100 final String tempCallStack = frames[j].toString();
/frameworks/wilhelm/src/desktop/
H A DSndFile.c261 thiz->mPlay.mDuration = (SLmillisecond) (((long long) thiz->mSndFile.mSfInfo.frames *
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java151 String frames = matcher.group(5);
152 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0;
353 * <li>time-clock-with-frames
355 * <li>time-offset-with-frames
/frameworks/base/services/core/java/com/android/server/
H A DTextServicesManagerService.java1064 final StackTraceElement[] frames = e.getStackTrace();
1066 for (int j = 1; j < frames.length; ++j) {
1067 sb.append(frames[j].toString() + "\n");

Completed in 5231 milliseconds