Searched refs:start (Results 1 - 25 of 1433) sorted by path

1234567891011>>

/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp67 status_t err = mCbLooper->start(
72 ALOGE("%s: Unable to start camera device callback looper: %s (%d)",
880 ALOGE("%s: Cannot find capture start callback!", __FUNCTION__);
H A DACameraManager.cpp97 status_t err = mCbLooper->start(
102 ALOGE("%s: Unable to start camera service listener looper: %s (%d)",
/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");
H A DOverlay.h36 * Most functions run on a thread created by start().
58 status_t start(const sp<IGraphicBufferProducer>& outputSurface,
62 // if start() was never called.
H A DTextRenderer.cpp46 // Generate a table of X offsets. They start at zero and reset whenever
287 char* start = mangle;
288 while (start != NULL) {
289 float xposAdj = (start == mangle) ? xpos : xpos + indentWidth;
290 char* brk = breakString(start,
295 String8(start));
296 start = NULL;
302 String8(start));
304 start = brk;
307 start
[all...]
H A Dscreenrecord.cpp168 looper->start();
197 err = codec->start();
199 fprintf(stderr, "ERROR: unable to start codec (err=%d)\n", err);
289 * frames will start arriving from the buffer producer.
450 err = muxer->start();
452 fprintf(stderr, "Unable to start muxer (err=%d)\n", err);
526 * Main "do work" start point.
566 // Configure and start the encoder.
616 err = overlay->start(encoderInputSurface, &bufferProducer);
642 // before we can start i
[all...]
/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 DSimplePlayer.h37 status_t start();
H A DSineSource.cpp27 status_t SineSource::start(MetaData * /* params */) { function in class:android::SineSource
H A DSineSource.h15 virtual status_t start(MetaData *params);
H A Daudioloop.cpp113 looper->start();
126 writer->start();
136 player->start();
142 CHECK_EQ(decoder->start(), (status_t)OK);
H A Dcodec.cpp149 CHECK_EQ((status_t)OK, codec->start());
404 looper->start();
448 player->start();
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 Dmediafilter.cpp476 CHECK_EQ((status_t)OK, codec->start());
490 ALOGE("FAIL: Flush before start returned OK");
492 ALOGV("Flush before start returned status %d, usually ENOSYS (-38)",
497 CHECK_EQ((status_t)OK, filterState->mCodec->start());
506 ALOGE("FAIL: Flush after start returned %d, expect OK (0)",
509 ALOGV("Flush immediately after start OK");
741 looper->start();
H A Dmuxer.cpp40 fprintf(stderr, "usage: %s [-a] [-v] [-s <trim start time>]"
47 fprintf(stderr, " -s Time in milli-seconds when the trim should start\n");
131 // Since we got the duration now, correct the start time.
163 muxer->start();
310 fprintf(stderr, "ERROR: start time is bigger\n");
326 looper->start();
H A Drecord.cpp70 virtual status_t start(MetaData *params) {
231 CHECK_EQ((status_t)OK, writer->start());
238 CHECK_EQ((status_t)OK, encoder->start());
265 source->start();
306 player->start();
323 looper->start();
328 encoder->start();
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 Dsf2.cpp114 mDecodeLooper->start();
147 CHECK_EQ(mSource->start(), (status_t)OK);
668 CHECK_EQ(looper->start(true /* runOnCallingThread */), (status_t)OK);
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());
H A Dstream.cpp187 CHECK_EQ(mWriter->start(), (status_t)OK);
381 player->start();
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp211 pjs = jsonObject.string() + mJsmnTokens[j].start;
214 token.setTo(pjs, mJsmnTokens[j].end - mJsmnTokens[j].start);
260 pjs = jsonWebKeySet.string() + mJsmnTokens[i].start;
262 token.setTo(pjs, mJsmnTokens[i].end - mJsmnTokens[i].start);
/frameworks/av/include/media/
H A DAudioRecord.h246 /* After it's created the track is not active. Call start() to
247 * make it active. If set, the callback will start being called.
248 * If event is not AudioSystem::SYNC_EVENT_NONE, the capture start will be delayed until
251 status_t start(AudioSystem::sync_event_t event = AudioSystem::SYNC_EVENT_NONE,
477 * or any other error code returned by IAudioRecord::start() or restoreRecord_l().
588 // the start() following stop(). It is not
591 // restoring AudioRecord, or stop/start.
617 int mPreviousPriority; // before start()
H A DAudioTrack.h61 // loop start if loop count was not 0 for a static track.
248 * The memory should be initialized to the desired data before calling start().
379 /* After it's created the track is not active. Call start() to
380 * make it active. If set, the callback will start being called.
383 status_t start();
406 * and then the track is marked as paused. It can be resumed with ramp up by start().
457 /* Enables looping and sets the start and end points of looping.
462 * loopStart: loop start in frames relative to start of buffer.
463 * loopEnd: loop end in frames relative to start o
[all...]
H A DIAudioRecord.h38 /* After it's created the track is not active. Call start() to
41 virtual status_t start(int /*AudioSystem::sync_event_t*/ event,
H A DIAudioTrack.h42 /* After it's created the track is not active. Call start() to
45 virtual status_t start() = 0;

Completed in 278 milliseconds

1234567891011>>