Searched defs:frames (Results 1 - 25 of 35) sorted by last modified time

12

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp251 fprintf(stderr, " -f# frames per buffer (default 512)\n");
500 sf_count_t frames = framesPerBuffer; local
504 count = sf_readf_float(sndfile, (float *) buffer, frames);
507 count = sf_readf_int(sndfile, (int *) buffer, frames);
510 count = sf_readf_int(sndfile, (int *) buffer, frames);
514 count = sf_readf_short(sndfile, (short *) buffer, frames);
/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_surface.cpp381 int frames = 0; local
384 // missing, this code will skip frames to catch up by checking if
390 if (frames > 0 && skipped_buffer)
392 ++frames;
395 if (frames == 2)
/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);
545 * named frames. The graphic buffers are contained within a vector of
562 frames.clear();
563 frames.resize(rows);
566 // All frames within a row have to have the same format and
591 frames[ro
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java307 " Playback position : " + currentPosition + ", Length in frames : "
357 public void setNotificationMarkerPosition(int frames) { argument
360 mAudioTrack.setNotificationMarkerPosition(frames);
H A DSynthesisPlaybackQueueItem.java188 // The index in frames of this marker.
189 public final int frames; field in class:SynthesisPlaybackQueueItem.ProgressMarker
195 public ProgressMarker(int frames, int start, int end) { argument
196 this.frames = frames;
208 int markerInFrames = marker.frames == 0 ? 1 : marker.frames;
227 getDispatcher().dispatchOnRangeStart(marker.start, marker.end, marker.frames);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h108 int pause; // The number of frames to pause for at the end of this part
117 SortedVector<Frame> frames; member in struct:android::BootAnimation::Animation::Part
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp826 Vector<ADTSPosition> frames; local
828 // The idea here is consume all AAC frames starting at offsets before
920 frames.push(frame);
929 for (size_t frameId = 0; frameId < frames.size(); frameId++) {
930 const ADTSPosition &frame = frames.itemAt(frameId);
/frameworks/av/media/libstagefright/omx/tests/
H A DFrameDropper_test.cpp99 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 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.cpp100 // frames:
101 // sequence of input audio/video frames received from the source.
105 // frame since frames are ordered by timestamp.
113 List<const sp<WebmFrame> >& frames,
116 CHECK(!frames.empty() && children.empty());
118 const sp<WebmFrame> f = *(frames.begin());
135 // Write out (possibly multiple) webm cluster(s) from frames split on video key frames.
139 void WebmFrameSinkThread::flushFrames(List<const sp<WebmFrame> >& frames, bool last) { argument
140 if (frames
112 initCluster( List<const sp<WebmFrame> >& frames, uint64_t& clusterTimecodeL, List<sp<WebmElement> >& children) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1313 size_t frames; local
1318 status_t result = dev->getInputBufferSize(&config, &frames);
1319 if (result == OK && frames != 0) {
1332 break; // retries failed, break out of loop with frames == 0.
1336 if (frames > 0 && config.sample_rate != sampleRate) {
1337 frames = destinationFramesPossible(frames, sampleRate, config.sample_rate);
1339 return frames; // may be converted to bytes at the Java level.
3351 #define TEE_SINK_READ 1024 // frames per I/O operation
H A DAudioStreamOut.cpp54 status_t AudioStreamOut::getRenderPosition(uint64_t *frames) argument
75 *frames = mRenderPosition / mRateMultiplier;
81 status_t AudioStreamOut::getRenderPosition(uint32_t *frames) argument
86 *frames = (uint32_t)position64;
91 status_t AudioStreamOut::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) argument
103 // Adjust for standby using HAL rate frames.
104 // Only apply this correction if the HAL is getting PCM frames.
109 *frames = adjustedPosition / mRateMultiplier;
112 *frames = halPosition;
H A DThreads.cpp134 // minimum normal sink buffer size, expressed in milliseconds rather than frames
1803 dprintf(fd, " Suspended frames: %lld\n", (long long)mSuspendedFrames);
1805 dprintf(fd, " PipeSink frames written: %lld\n", (long long)mPipeSink->framesWritten());
2342 ALOGW("HAL output buffer size is %zu frames but AudioMixer requires multiples of 16 frames",
2393 // round up minimum and round down maximum to nearest 16 frames to satisfy AudioMixer
2413 // round up to nearest 16 frames to satisfy AudioMixer
2417 ALOGI("HAL output buffer size %zu frames, normal sink buffer size %zu frames", mFrameCount,
2426 // mSinkBuffer is the sink buffer. Size is always multiple-of-16 frames
2487 uint32_t frames; local
[all...]
H A DTracks.cpp630 // framesReady() may return an approximation of the number of frames if called
636 // Static tracks return zero frames immediately upon stopping (for FastTracks).
651 // The server side frames are already translated to client frames.
1048 // a track is considered presented when the total number of frames written to audio HAL
1049 // corresponds to the number of frames written when presentationComplete() is called for the
1052 // to detect when all frames have been played. In this case framesWritten isn't
1221 // Set correction for flushed frames that are not accounted for in released.
1289 bool AudioFlinger::PlaybackThread::OutputTrack::write(void* data, uint32_t frames) argument
1294 inBuffer.frameCount = frames;
[all...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp344 // set the preview callback flag to affect how the received frames from
539 std::vector<sp<IMemory>> frames; local
540 frames.reserve(n);
553 ALOGE("%s: %d: No callback buffer available. Dropping frames.", __FUNCTION__,
567 frames.push_back(dataPtr);
576 mHardware->releaseRecordingFrameBatch(frames);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp633 void CameraHardwareInterface::releaseRecordingFrameBatch(const std::vector<sp<IMemory>>& frames) argument
636 size_t n = frames.size();
639 for (auto& mem : frames) {
/frameworks/av/services/mediaanalytics/
H A DMetricsSummarizerPlayer.cpp42 "android.media.mediaplayer.frames",
59 // we sum time & frames.
73 int64_t frames = 0; local
74 if (item.getInt64("android.media.mediaplayer.frames", &frames))
75 ALOGV("found framess of %" PRId64, frames);
76 if (frames >= 0) {
77 summation.addInt64("android.media.mediaplayer.frames",frames);
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioStreamConfiguration.h81 void setBufferCapacity(int32_t frames) { argument
82 mBufferCapacity = frames;
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalCapture.cpp70 //ALOGD("AudioStreamInternalCapture::processDataNow() - tried to read %d frames, read %d",
166 int64_t frames = local
170 if (frames < mLastFramesWritten) {
171 frames = mLastFramesWritten;
173 mLastFramesWritten = frames;
175 //ALOGD("AudioStreamInternalCapture::getFramesWritten() returns %lld", (long long)frames);
176 return frames;
181 int64_t frames = mAudioEndpoint.getDataWriteCounter() local
183 //ALOGD("AudioStreamInternalCapture::getFramesRead() returns %lld", (long long)frames);
184 return frames;
[all...]
/frameworks/av/media/libaaudio/src/core/
H A DAAudioAudio.cpp182 int32_t frames)
185 streamBuilder->setBufferCapacity(frames);
207 int32_t frames)
210 streamBuilder->setFramesPerDataCallback(frames);
181 AAudioStreamBuilder_setBufferCapacityInFrames(AAudioStreamBuilder* builder, int32_t frames) argument
206 AAudioStreamBuilder_setFramesPerDataCallback(AAudioStreamBuilder* builder, int32_t frames) argument
H A DAudioStream.h235 virtual int64_t incrementFramesWritten(int32_t frames) { argument
236 return mFramesWritten.increment(frames);
239 virtual int64_t incrementFramesRead(int32_t frames) { argument
240 return mFramesRead.increment(frames);
311 int32_t mFramesPerDataCallback = AAUDIO_UNSPECIFIED; // frames
H A DAudioStreamBuilder.h98 AudioStreamBuilder* setBufferCapacity(int32_t frames) { argument
99 mBufferCapacity = frames;
181 int32_t mFramesPerDataCallback = AAUDIO_UNSPECIFIED; // frames
/frameworks/av/media/libaaudio/src/fifo/
H A DFifoBuffer.cpp78 int32_t FifoBuffer::convertFramesToBytes(fifo_frames_t frames) { argument
79 return frames * mBytesPerFrame;
/frameworks/av/media/libaaudio/src/utility/
H A DLinearRamp.cpp31 bool LinearRamp::nextSegment(int32_t frames, float *levelFrom, float *levelTo) { argument
36 if (frames >= mRemaining) {
41 level = mLevelFrom + (frames * (mLevelTo - mLevelFrom) / mRemaining);
42 mRemaining -= frames;

Completed in 461 milliseconds

12