/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 58 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 D | SimplePlayer.cpp | 88 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 D | SineSource.cpp | 27 status_t SineSource::start(MetaData * /* params */) { function in class:android::SineSource
|
H A D | jpeg.cpp | 25 static inline uint8_t from565to8(uint16_t p, int start, int bits) { argument 26 uint8_t c = (p >> start) & ((1 << bits) - 1);
|
H A D | recordvideo.cpp | 80 virtual status_t start(MetaData *params __unused) { function in class:DummySource 315 int64_t start = systemTime(); local 316 CHECK_EQ((status_t)OK, writer->start()); 330 fprintf(stderr, "encoding %d frames in %" PRId64 " us\n", nFrames, (end-start)/1000); 331 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
|
H A D | stagefright.cpp | 136 CHECK_EQ((status_t)OK, source->start()); 199 status_t err = rawSource->start(); 211 player->start(true /* sourceAlreadyStarted */); 402 virtual status_t start(MetaData *params = NULL); 442 status_t DetectSyncSource::start(MetaData *params) { function in class:DetectSyncSource 445 return mSource->start(params); 533 CHECK_EQ(writer->start(params.get()), (status_t)OK); 542 CHECK_EQ((status_t)OK, source->start());
|
/frameworks/av/media/libeffects/loudness/dsp/core/ |
H A D | basic-inl.h | 31 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 D | AudioRecord.cpp | 259 // thread begins in paused state, and will not reference us until start() 293 status_t AudioRecord::start(AudioSystem::sync_event_t event, int triggerSession) function in class:android::AudioRecord 295 ALOGV("start, sync event %d trigger session %d", event, triggerSession); 315 status = mAudioRecord->start(event, triggerSession); 321 status = restoreRecord_l("start"); 326 ALOGE("start() status %d", status); 452 // stop capture so that audio policy manager does not reject the new instance start request 725 // start of lock scope 1092 result = mAudioRecord->start(AudioSystem::SYNC_EVENT_SAME, 0);
|
H A D | AudioTrack.cpp | 460 // thread begins in paused state, and will not reference us until start() 502 status_t AudioTrack::start() function in class:android::AudioTrack 529 // the counters are realistic (i.e. start from zero after this time). 554 status = mAudioTrack->start(); 560 status = restoreTrack_l("start"); 564 ALOGE("start() status %d", status); 1048 // of loop count. Historically we have not restored loop count, start, end, 1492 { // start of lock scope 1572 mAudioTrack->start(); 1684 mAudioTrack->start(); [all...] |
H A D | CharacterEncodingDetector.cpp | 242 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 D | IAudioRecord.cpp | 45 virtual status_t start(int /*AudioSystem::sync_event_t*/ event, int triggerSession) function in class:android::BpAudioRecord 55 ALOGW("start() error: %s", strerror(-status)); 81 reply->writeInt32(start(event, triggerSession));
|
H A D | IAudioTrack.cpp | 70 virtual status_t start() function in class:android::BpAudioTrack 78 ALOGW("start() error: %s", strerror(-status)); 215 reply->writeInt32(start());
|
H A D | IMediaPlayer.cpp | 159 status_t start() function in class:android::BpMediaPlayer 494 reply->writeInt32(start());
|
H A D | IMediaRecorder.cpp | 252 status_t start() function in class:android::BpMediaRecorder 254 ALOGV("start"); 340 reply->writeInt32(start());
|
H A D | mediaplayer.cpp | 311 status_t MediaPlayer::start() function in class:android::MediaPlayer 313 ALOGV("start"); 328 ret = mPlayer->start(); 333 ALOGV("playback completed immediately following start()"); 337 ALOGE("start called in state %d", mCurrentState); 813 // seekTo and start within the same process.
|
H A D | mediarecorder.cpp | 478 status_t MediaRecorder::start() function in class:android::MediaRecorder 480 ALOGV("start"); 486 ALOGE("start called in an invalid state: %d", mCurrentState); 490 status_t ret = mMediaRecorder->start(); 492 ALOGE("start failed: %d", ret);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 117 // @param p Parcel that should start with a filter. 290 // in bad state, reset the state upon service start. 937 ALOGD("start Antagonizer"); 938 if (ret == NO_ERROR) mAntagonizer->start(); 943 status_t MediaPlayerService::Client::start() function in class:android::MediaPlayerService::Client 945 ALOGV("[%d] start", mConnId); 949 return p->start(); 1252 client->mNextClient->start(); 1760 status_t MediaPlayerService::AudioOutput::start() function in class:android::MediaPlayerService::AudioOutput 1762 ALOGV("start"); [all...] |
H A D | MediaPlayerService.h | 53 void start() { mActive = true; } function in class:android::Antagonizer 104 virtual status_t start(); 235 // when we start a audio codec, we minus the system time from audioLastTime 237 // so after the pause, audioLastTime = pause time - start time 282 virtual status_t start();
|
H A D | MediaRecorderClient.cpp | 233 status_t MediaRecorderClient::start() function in class:android::MediaRecorderClient 235 ALOGV("start"); 241 return mRecorder->start();
|
H A D | StagefrightPlayer.cpp | 89 status_t StagefrightPlayer::start() { function in class:android::StagefrightPlayer 90 ALOGV("start");
|
H A D | StagefrightRecorder.cpp | 98 mLooper->start(); 262 // start with a clean, empty file 832 status_t StagefrightRecorder::start() { function in class:android::StagefrightRecorder 833 ALOGV("start"); 865 status = mWriter->start(meta.get()); 876 status = mWriter->start();
|
H A D | TestPlayerStub.h | 86 virtual status_t start() {return mPlayer->start();} function in class:android::TestPlayerStub
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 280 // Start the selected A/V tracks now before we start buffering. 282 // this to start(), all data buffered during prepare would be wasted. 283 // (We don't actually start reading until start().) 284 if (mAudioTrack.mSource != NULL && mAudioTrack.mSource->start() != OK) { 285 ALOGE("failed to start audio track!"); 289 if (mVideoTrack.mSource != NULL && mVideoTrack.mSource->start() != OK) { 290 ALOGE("failed to start video track!"); 343 mLooper->start(); 398 // Note that even when URL doesn't start wit 480 void NuPlayer::GenericSource::start() { function in class:android::NuPlayer::GenericSource [all...] |
H A D | HTTPLiveSource.cpp | 82 mLiveLooper->start(); 100 void NuPlayer::HTTPLiveSource::start() { function in class:android::NuPlayer::HTTPLiveSource
|
H A D | NuPlayer.cpp | 335 void NuPlayer::start() { function in class:android::NuPlayer 675 // start pulling stale data too soon. 723 // so we can restore them on start 981 // decoder start or after a format change. 1166 // need to start the player and pause it. This branch is called 1190 // start pulling stale data too soon. 1256 // TRICKY: We rely on mRenderer being null, so that decoder does not start requesting 1277 mSource->start(); 1317 mRendererLooper->start(false, false, ANDROID_PRIORITY_AUDIO); 1862 // asynchronously seeks to the start o [all...] |