/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 | 89 status_t SimplePlayer::start() { function in class:android::SimplePlayer 289 mCodecLooper->start(); 345 status_t err = state->mCodec->start(); 607 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 | 76 virtual status_t start(MetaData *params __unused) { function in class:DummySource 305 int64_t start = systemTime(); local 306 CHECK_EQ((status_t)OK, writer->start()); 320 fprintf(stderr, "encoding %d frames in %" PRId64 " us\n", nFrames, (end-start)/1000); 321 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
|
H A D | stagefright.cpp | 134 CHECK_EQ((status_t)OK, source->start()); 197 status_t err = rawSource->start(); 209 player->start(true /* sourceAlreadyStarted */); 400 virtual status_t start(MetaData *params = NULL); 440 status_t DetectSyncSource::start(MetaData *params) { function in class:DetectSyncSource 443 return mSource->start(params); 526 CHECK_EQ(writer->start(params.get()), (status_t)OK); 535 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 | 269 status_t AudioRecord::start(AudioSystem::sync_event_t event, int triggerSession) function in class:android::AudioRecord 271 ALOGV("start, sync event %d trigger session %d", event, triggerSession); 289 ALOGV("mAudioRecord->start()"); 290 status = mAudioRecord->start(event, triggerSession); 296 status = restoreRecord_l("start"); 300 ALOGE("start() status %d", status); 641 // start of lock scope 1005 result = mAudioRecord->start(AudioSystem::SYNC_EVENT_SAME, 0);
|
H A D | AudioTrack.cpp | 442 status_t AudioTrack::start() function in class:android::AudioTrack 465 // the counters are realistic (i.e. start from zero after this time). 490 status = mAudioTrack->start(); 496 status = restoreTrack_l("start"); 500 ALOGE("start() status %d", status); 1310 { // start of lock scope 1389 mAudioTrack->start(); 1508 mAudioTrack->start(); 1883 if (!strcmp(from, "start")) { 1893 result = mAudioTrack->start(); [all...] |
H A D | CharacterEncodingDetector.cpp | 244 char *start = buffer; local 245 while (*start == ' ') { 246 start++; 248 mValues.setEntry(i, start); 453 int start = 0; local 455 int mid = (start+end)/2; 457 while(start <= end) { 461 start = mid + 1; 466 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 | 142 status_t start() function in class:android::BpMediaPlayer 413 reply->writeInt32(start());
|
H A D | IMediaRecorder.cpp | 252 status_t start() function in class:android::BpMediaRecorder 254 ALOGV("start"); 339 reply->writeInt32(start());
|
H A D | mediaplayer.cpp | 291 status_t MediaPlayer::start() function in class:android::MediaPlayer 293 ALOGV("start"); 308 ret = mPlayer->start(); 313 ALOGV("playback completed immediately following start()"); 317 ALOGE("start called in state %d", mCurrentState); 736 // seekTo and start within the same process.
|
H A D | mediarecorder.cpp | 485 status_t MediaRecorder::start() function in class:android::MediaRecorder 487 ALOGV("start"); 493 ALOGE("start called in an invalid state: %d", mCurrentState); 497 status_t ret = mMediaRecorder->start(); 499 ALOGE("start failed: %d", ret);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 304 int start = lenURL - len; local 305 if (start > 0) { 306 if (!strncasecmp(url + start, FILE_EXTS[i], len)) {
|
H A D | MediaPlayerService.cpp | 116 // @param p Parcel that should start with a filter. 286 // 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(); 1201 client->mNextClient->start(); 1327 ALOGV("start"); 1328 player->start(); 1767 status_t MediaPlayerService::AudioOutput::start() function in class:android::MediaPlayerService::AudioOutput 2089 status_t MediaPlayerService::AudioCache::start() { function in class:android::MediaPlayerService::AudioCache [all...] |
H A D | MediaPlayerService.h | 50 void start() { mActive = true; } function in class:android::Antagonizer 100 virtual status_t start(); 214 virtual status_t start(); 296 // when we start a audio codec, we minus the system time from audioLastTime 298 // so after the pause, audioLastTime = pause time - start time 343 virtual status_t start();
|
H A D | MediaRecorderClient.cpp | 234 status_t MediaRecorderClient::start() function in class:android::MediaRecorderClient 236 ALOGV("start"); 242 return mRecorder->start();
|
H A D | MidiFile.cpp | 207 status_t MidiFile::start() function in class:android::MidiFile 209 ALOGV("MidiFile::start"); 511 // start audio output if necessary 514 mAudioSink->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(); 803 status_t StagefrightRecorder::start() { function in class:android::StagefrightRecorder 804 ALOGV("start"); 836 status = mWriter->start(meta.get()); 847 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 | 271 // Start the selected A/V tracks now before we start buffering. 273 // this to start(), all data buffered during prepare would be wasted. 274 // (We don't actually start reading until start().) 275 if (mAudioTrack.mSource != NULL && mAudioTrack.mSource->start() != OK) { 276 ALOGE("failed to start audio track!"); 280 if (mVideoTrack.mSource != NULL && mVideoTrack.mSource->start() != OK) { 281 ALOGE("failed to start video track!"); 330 mLooper->start(); 383 // Note that even when URL doesn't start wit 551 void NuPlayer::GenericSource::start() { function in class:android::NuPlayer::GenericSource [all...] |