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

/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DRunData.java23 public TileData[][] frames; field in class:RunData
26 public RunData(int frames) { argument
27 this.frames = new TileData[frames][];
H A DPlaybackView.java150 if (mProfData == null || mProfData.frames.length == 0) {
159 for (TileData t : mProfData.frames[frame]) {
160 if (t == mProfData.frames[frame][0]){
185 for (TileData t : mProfData.frames[frame]) {
186 if (t.level == INVAL_FLAG && t != mProfData.frames[frame][0]) {
212 TileDrawable viewShape = new TileDrawable(mProfData.frames[frame][0],
H A DProfiledWebView.java211 for (int frame = 0; frame < data.frames.length; frame++) {
212 data.frames[frame] = new TileData[
214 for (int tile = 0; tile < data.frames[frame].length; tile++) {
226 data.frames[frame][tile] = data.new TileData(left, top, right, bottom,
H A DPlaybackGraphs.java216 for (int frameIndex = 0; frameIndex < data.frames.length; frameIndex++) {
217 TileData frame[] = data.frames[frameIndex];
240 double metricValues[] = new double[data.frames.length];
244 if (data.frames.length == 0) {
249 // calculate metric based on list of frames
H A DPlaybackActivity.java113 mFrameMax = data.frames.length - 1;
H A DProfileActivity.java255 Log.d("ProfileActivity", "stored " + data.frames.length + " frames in file");
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.h53 const List<sp<ABuffer> > &frames);
56 const List<sp<ABuffer> > &frames);
H A DARTPAssembler.cpp82 const List<sp<ABuffer> > &frames) {
84 for (List<sp<ABuffer> >::const_iterator it = frames.begin();
85 it != frames.end(); ++it) {
92 for (List<sp<ABuffer> >::const_iterator it = frames.begin();
93 it != frames.end(); ++it) {
122 CopyTimes(accessUnit, *frames.begin());
78 MakeADTSCompoundFromAACFrames( unsigned profile, unsigned samplingFreqIndex, unsigned channelConfig, const List<sp<ABuffer> > &frames) 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/av/services/audioflinger/
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
H A DAudioFlinger.cpp143 // minimum normal mix buffer size, expressed in milliseconds rather than frames
2002 ALOGW("HAL output buffer size is %u frames but AudioMixer requires multiples of 16 frames",
2011 // round up minimum and round down maximum to nearest 16 frames to satisfy AudioMixer
2041 // round up to nearest 16 frames to satisfy AudioMixer
2043 ALOGI("HAL output buffer size %u frames, normal mix buffer size %u frames", mFrameCount, mNormalFrameCount);
2957 // track has provided at least some frames recently: reset retry count
2966 // were any of the recent underruns "empty" (no frames available)?
3063 // make sure that we have enough frames t
5498 write(int16_t* data, uint32_t frames) argument
[all...]
H A DAudioFlinger.h419 void* getBuffer(uint32_t offset, uint32_t frames) const;
789 size_t mPresentationCompleteFrames; // number of frames written to the audio HAL
915 bool write(int16_t* data, uint32_t frames);
1436 // number of captured frames to drop after the start sync event has been received.
1437 // when < 0, maximum frames to drop before starting capture even if sync event is
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp199 static vector <vector <sp<GraphicBuffer> > > frames; variable
396 // Regenerate a new set of test frames when this pass is
413 list = hwcTestCreateLayerList(testRandMod(frames.size()) + 1);
419 // Prandomly select a subset of frames to be used by this pass.
421 selectedFrames = vectorRandSelect(frames, list->numHwLayers);
543 * named frames. The graphic buffers are contained within a vector of
560 frames.clear();
561 frames.resize(rows);
564 // All frames within a row have to have the same format and
589 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/base/cmds/bootanimation/
H A DBootAnimation.h72 SortedVector<Frame> frames; member in struct:android::BootAnimation::Animation::Part
H A DBootAnimation.cpp458 part.frames.add(frame);
496 const size_t fcount = part.frames.size();
505 const Animation::Frame& frame(part.frames[j]);
565 const Animation::Frame& frame(part.frames[j]);
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp1191 uint32_t frames; local
1242 frames = 0;
1244 frames = mRemainingFrames;
1257 audioBuffer.frameCount = frames;
1304 frames -= audioBuffer.frameCount;
1308 while (frames);
1310 if (frames == 0) {
1313 mRemainingFrames = frames;
1364 // the actual amount of audio frames played (e.g SoundPool) receives them.
1366 uint32_t frames local
1651 uint32_t frames = UINT_MAX; local
[all...]
H A DAudioRecord.cpp684 uint32_t frames = mRemainingFrames; local
712 audioBuffer.frameCount = frames;
743 frames -= audioBuffer.frameCount;
747 } while (frames);
758 if (frames == 0) {
761 mRemainingFrames = frames;
/frameworks/av/include/media/
H A DMediaProfiles.h54 * Set default maximum prefetch YUV frames to 6, which means video editor can
55 * queue up to 6 YUV frames in the video encoder source.
57 * engine when the encoder consumes YUV frames at a lower speed
134 * enc.vid.fps.min - min frame rate in frames per second
135 * enc.vid.fps.max - max frame rate in frames per second
147 * maxPrefetchYUVFrames - max prefetch YUV frames in video editor engine. This value is used
368 int outFrameWidth, int outFrameHeight, int frames)
373 mMaxPrefetchYUVFrames(frames) {}
367 VideoEditorCap(int inFrameWidth, int inFrameHeight, int outFrameWidth, int outFrameHeight, int frames) argument
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c167 fprintf(stderr, " -f# frames per buffer (default 512)\n");
368 sf_count_t frames = framesPerBuffer; local
370 count = sf_readf_short(sndfile, buffer, frames);
/frameworks/wilhelm/src/desktop/
H A DSndFile.c261 thiz->mPlay.mDuration = (SLmillisecond) (((long long) thiz->mSndFile.mSfInfo.frames *

Completed in 859 milliseconds