Searched defs:start (Results 1 - 25 of 627) sorted by path

1234567891011>>

/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp58 status_t Overlay::start(const sp<IGraphicBufferProducer>& outputSurface, function in class:Overlay
60 ALOGV("Overlay::start");
82 ALOGE("Failed to start overlay thread: err=%d", mThreadResult);
87 ALOGV("Overlay::start successful");
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp88 status_t SimplePlayer::start() { function in class:android::SimplePlayer
286 mCodecLooper->start();
342 status_t err = state->mCodec->start();
604 state->mAudioTrack->start();
H A DSineSource.cpp27 status_t SineSource::start(MetaData * /* params */) { function in class:android::SineSource
H A Djpeg.cpp25 static inline uint8_t from565to8(uint16_t p, int start, int bits) { argument
26 uint8_t c = (p >> start) & ((1 << bits) - 1);
H A Drecordvideo.cpp83 virtual status_t start(MetaData *params __unused) { function in class:DummySource
304 looper->start();
319 int64_t start = systemTime(); local
320 CHECK_EQ((status_t)OK, writer->start());
333 fprintf(stderr, "encoding %d frames in %" PRId64 " us\n", nFrames, (end-start)/1000);
334 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
H A Dstagefright.cpp144 CHECK_EQ((status_t)OK, source->start());
201 status_t err = rawSource->start();
213 player->start(true /* sourceAlreadyStarted */);
406 virtual status_t start(MetaData *params = NULL);
446 status_t DetectSyncSource::start(MetaData *params) { function in class:DetectSyncSource
449 return mSource->start(params);
537 CHECK_EQ(writer->start(params.get()), (status_t)OK);
546 CHECK_EQ((status_t)OK, source->start());
/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dbasic-inl.h31 int start = start_index; local
33 while (end > start + 1) {
34 int i = (end + start) / 2;
38 start = i;
41 return start;
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp256 // thread begins in paused state, and will not reference us until start()
291 status_t AudioRecord::start(AudioSystem::sync_event_t event, audio_session_t triggerSession) function in class:android::AudioRecord
293 ALOGV("start, sync event %d trigger session %d", event, triggerSession);
323 status = mAudioRecord->start(event, triggerSession);
329 status = restoreRecord_l("start");
334 ALOGE("start() status %d", status);
361 // periodic update position; we update those on start().
482 // stop capture so that audio policy manager does not reject the new instance start request
795 // start of lock scope
1174 result = mAudioRecord->start(AudioSyste
[all...]
H A DAudioTrack.cpp503 // thread begins in paused state, and will not reference us until start()
548 status_t AudioTrack::start() function in class:android::AudioTrack
580 ALOGV("start: server read:%lld cumulative flushed:%lld client written:%lld",
594 // the counters are realistic (i.e. start from zero after this time).
606 status = mAudioTrack->start();
612 status = restoreTrack_l("start");
630 ALOGE("start() status %d", status);
1159 // of loop count. Historically we have not restored loop count, start, end,
1623 { // start of lock scope
1710 mAudioTrack->start();
[all...]
H A DCharacterEncodingDetector.cpp242 char *start = buffer; local
243 while (*start == ' ') {
244 start++;
246 mValues.setEntry(i, start);
451 int start = 0; local
453 int mid = (start+end)/2;
455 while(start <= end) {
459 start = mid + 1;
464 mid = (start + end) / 2;
H A DIAudioRecord.cpp45 virtual status_t start(int /*AudioSystem::sync_event_t*/ event, audio_session_t triggerSession) function in class:android::BpAudioRecord
55 ALOGW("start() error: %s", strerror(-status));
81 reply->writeInt32(start(event, triggerSession));
H A DIAudioTrack.cpp67 virtual status_t start() function in class:android::BpAudioTrack
75 ALOGW("start() error: %s", strerror(-status));
163 reply->writeInt32(start());
H A DIMediaPlayer.cpp159 status_t start() function in class:android::BpMediaPlayer
506 reply->writeInt32(start());
H A DIMediaRecorder.cpp255 status_t start() function in class:android::BpMediaRecorder
257 ALOGV("start");
361 reply->writeInt32(start());
H A DIMediaSource.cpp115 virtual status_t start(MetaData *params) { function in class:android::BpMediaSource
116 ALOGV("start");
124 ALOGW("ignoring potentially modified MetaData from start");
262 ALOGV("start");
268 status_t ret = start(meta.get());
H A Dmediaplayer.cpp295 status_t MediaPlayer::start() function in class:android::MediaPlayer
297 ALOGV("start");
312 ret = mPlayer->start();
317 ALOGV("playback completed immediately following start()");
321 ALOGE("start called in state %d, mPlayer(%p)", mCurrentState, mPlayer.get());
809 // seekTo and start within the same process.
H A Dmediarecorder.cpp479 status_t MediaRecorder::start() function in class:android::MediaRecorder
481 ALOGV("start");
487 ALOGE("start called in an invalid state: %d", mCurrentState);
491 status_t ret = mMediaRecorder->start();
493 ALOGE("start failed: %d", ret);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp117 // @param p Parcel that should start with a filter.
287 // in bad state, reset the state upon service start.
967 ALOGD("start Antagonizer");
968 if (ret == NO_ERROR) mAntagonizer->start();
973 status_t MediaPlayerService::Client::start() function in class:android::MediaPlayerService::Client
975 ALOGV("[%d] start", mConnId);
979 return p->start();
1282 client->mNextClient->start();
1526 } else if (res == WOULD_BLOCK) { // case 2: transitory state on start of a new track
1883 status_t MediaPlayerService::AudioOutput::start() function in class:android::MediaPlayerService::AudioOutput
[all...]
H A DMediaPlayerService.h53 void start() { mActive = true; } function in class:android::Antagonizer
106 virtual status_t start();
243 // when we start a audio codec, we minus the system time from audioLastTime
245 // so after the pause, audioLastTime = pause time - start time
290 virtual status_t start();
H A DMediaRecorderClient.cpp230 status_t MediaRecorderClient::start() function in class:android::MediaRecorderClient
232 ALOGV("start");
238 return mRecorder->start();
H A DStagefrightRecorder.cpp97 mLooper->start();
261 // start with a clean, empty file
833 status_t StagefrightRecorder::start() { function in class:android::StagefrightRecorder
834 ALOGV("start");
866 status = mWriter->start(meta.get());
877 status = mWriter->start();
1773 mAudioEncoderSource->start();
1777 mVideoEncoderSource->start();
H A DTestPlayerStub.h86 virtual status_t start() {return mPlayer->start();} function in class:android::TestPlayerStub
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp295 // Start the selected A/V tracks now before we start buffering.
297 // this to start(), all data buffered during prepare would be wasted.
298 // (We don't actually start reading until start().)
299 if (mAudioTrack.mSource != NULL && mAudioTrack.mSource->start() != OK) {
300 ALOGE("failed to start audio track!");
304 if (mVideoTrack.mSource != NULL && mVideoTrack.mSource->start() != OK) {
305 ALOGE("failed to start video track!");
362 mLooper->start();
417 // Note that even when URL doesn't start wit
517 void NuPlayer::GenericSource::start() { function in class:android::NuPlayer::GenericSource
[all...]
H A DHTTPLiveSource.cpp82 mLiveLooper->start();
100 void NuPlayer::HTTPLiveSource::start() { function in class:android::NuPlayer::HTTPLiveSource
H A DNuPlayer.cpp337 void NuPlayer::start() { function in class:android::NuPlayer
695 // start pulling stale data too soon.
767 // so we can restore them on start
1038 // decoder start or after a format change.
1210 // need to start the player and pause it. This branch is called
1234 // start pulling stale data too soon.
1301 // TRICKY: We rely on mRenderer being null, so that decoder does not start requesting
1322 mSource->start();
1365 mRendererLooper->start(false, false, ANDROID_PRIORITY_AUDIO);
1959 // asynchronously seeks to the start o
[all...]

Completed in 3973 milliseconds

1234567891011>>