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

1234567891011>>

/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp68 status_t err = mCbLooper->start(
73 ALOGE("%s: Unable to start camera device callback looper: %s (%d)",
1011 ALOGE("%s: Cannot find capture start callback!", __FUNCTION__);
H A DACameraManager.cpp103 status_t err = mCbLooper->start(
108 ALOGE("%s: Unable to start camera service listener looper: %s (%d)",
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp57 status_t Overlay::start(const sp<IGraphicBufferProducer>& outputSurface, function in class:Overlay
59 ALOGV("Overlay::start");
81 ALOGE("Failed to start overlay thread: err=%d", mThreadResult);
86 ALOGV("Overlay::start successful");
H A DOverlay.h36 * Most functions run on a thread created by start().
59 status_t start(const sp<IGraphicBufferProducer>& outputSurface,
63 // 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.cpp175 looper->start();
222 err = codec->start();
224 fprintf(stderr, "ERROR: unable to start codec (err=%d)\n", err);
317 * frames will start arriving from the buffer producer.
479 err = muxer->start();
481 fprintf(stderr, "Unable to start muxer (err=%d)\n", err);
556 * Main "do work" start point.
597 // Configure and start the encoder.
647 err = overlay->start(encoderInputSurface, &bufferProducer);
674 // before we can start i
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp89 status_t SimplePlayer::start() { function in class:android::SimplePlayer
287 mCodecLooper->start();
343 status_t err = state->mCodec->start();
607 state->mAudioTrack->start();
H A DSimplePlayer.h38 status_t start();
H A DSineSource.cpp28 status_t SineSource::start(MetaData * /* params */) { function in class:android::SineSource
H A DSineSource.h15 virtual status_t start(MetaData *params);
H A Daudioloop.cpp141 looper->start();
154 writer->start();
164 player.start();
171 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.cpp39 fprintf(stderr, "usage: %s [-a] [-v] [-s <trim start time>]"
46 fprintf(stderr, " -s Time in milli-seconds when the trim should start\n");
130 // Since we got the duration now, correct the start time.
162 muxer->start();
309 fprintf(stderr, "ERROR: start time is bigger\n");
322 looper->start();
H A Drecord.cpp71 virtual status_t start(MetaData *params) {
230 CHECK_EQ((status_t)OK, writer->start());
237 CHECK_EQ((status_t)OK, encoder->start());
264 source->start();
305 player->start();
322 looper->start();
327 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 Dstagefright.cpp149 CHECK_EQ((status_t)OK, source->start());
209 status_t err = rawSource->start();
221 player->start(true /* sourceAlreadyStarted */);
414 virtual status_t start(MetaData *params = NULL);
454 status_t DetectSyncSource::start(MetaData *params) { function in class:DetectSyncSource
457 return mSource->start(params);
545 CHECK_EQ(writer->start(params.get()), (status_t)OK);
554 CHECK_EQ((status_t)OK, source->start());
H A Dstream.cpp196 CHECK_EQ(mWriter->start(), (status_t)OK);
386 player->start();
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DJsonAssetLoader.cpp172 pjs = jsonObject.string() + mJsmnTokens[j].start;
175 token.setTo(pjs, mJsmnTokens[j].end - mJsmnTokens[j].start);
222 pjs = jsonAsset.string() + mJsmnTokens[i].start;
224 token.setTo(pjs, mJsmnTokens[i].end - mJsmnTokens[i].start);
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
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/drm/mediadrm/plugins/clearkey/hidl/
H A DJsonWebKey.cpp212 pjs = jsonObject.c_str() + mJsmnTokens[j].start;
215 token.assign(pjs, mJsmnTokens[j].end - mJsmnTokens[j].start);
261 pjs = jsonWebKeySet.c_str() + mJsmnTokens[i].start;
263 token.assign(pjs, mJsmnTokens[i].end - mJsmnTokens[i].start);
/frameworks/av/include/media/
H A DAudioRecord.h266 /* After it's created the track is not active. Call start() to
267 * make it active. If set, the callback will start being called.
268 * If event is not AudioSystem::SYNC_EVENT_NONE, the capture start will be delayed until
271 status_t start(AudioSystem::sync_event_t event = AudioSystem::SYNC_EVENT_NONE,
512 * or any other error code returned by IAudioRecord::start() or restoreRecord_l().
638 // the start() following stop(). It is not
641 // restoring AudioRecord, or stop/start.
667 int mPreviousPriority; // before start()
H A DAudioTrack.h62 // loop start if loop count was not 0 for a static track.
252 * The memory should be initialized to the desired data before calling start().
394 /* After it's created the track is not active. Call start() to
395 * make it active. If set, the callback will start being called.
398 status_t start();
421 * and then the track is marked as paused. It can be resumed with ramp up by start().
472 /* Enables looping and sets the start and end points of looping.
477 * loopStart: loop start in frames relative to start of buffer.
478 * loopEnd: loop end in frames relative to start o
[all...]
H A DIAudioTrack.h43 /* After it's created the track is not active. Call start() to
46 virtual status_t start() = 0;

Completed in 578 milliseconds

1234567891011>>