Searched refs:looper (Results 1 - 25 of 344) sorted by path

1234567891011>>

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp168 sp<ALooper> looper = new ALooper; local
169 looper->setName("screenrecord_looper");
170 looper->start();
172 sp<MediaCodec> codec = MediaCodec::CreateByType(looper, kMimeTypeAvc, true);
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp111 sp<ALooper> looper = new ALooper; local
112 looper->setName("audioloop");
113 looper->start();
115 sp<IMediaSource> encoder = MediaCodecSource::Create(looper, meta, source);
H A Dcodec.cpp71 const android::sp<android::ALooper> &looper,
124 looper, mime.c_str(), false /* encoder */);
403 sp<ALooper> looper = new ALooper; local
404 looper->start();
444 looper->registerHandler(player);
453 decode(looper, argv[0], useAudio, useVideo, surface, renderSurface,
461 looper->stop();
70 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface, bool renderSurface, bool useTimestamp) argument
H A Dmediafilter.cpp313 const sp<ALooper> &looper,
356 looper, mime.c_str(), false /* encoder */);
399 looper, "android.filter.zerofilter");
406 looper, "android.filter.intrinsicblur");
413 looper, "android.filter.saturation");
426 looper, "android.filter.RenderScript");
438 looper, "android.filter.RenderScript");
450 looper, "android.filter.RenderScript");
740 android::sp<ALooper> looper = new ALooper; local
741 looper
312 decode( const sp<ALooper> &looper, const char *path, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, FilterType filterType) argument
[all...]
H A Dmuxer.cpp321 sp<ALooper> looper = new ALooper; local
322 looper->start();
327 looper->stop();
H A Drecord.cpp223 MediaCodecSource::Create(looper, format, decoder);
319 sp<ALooper> looper = new ALooper; local
320 looper->setName("record");
321 looper->start();
324 MediaCodecSource::Create(looper, encMeta, audioSource);
H A Drecordvideo.cpp302 sp<ALooper> looper = new ALooper; local
303 looper->setName("recordvideo");
304 looper->start();
308 looper, enc_meta, source, NULL /* consumer */,
H A Dstagefright.cpp702 sp<ALooper> looper; local
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h78 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
82 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
370 MediaCodec(const sp<ALooper> &looper, pid_t pid, uid_t uid);
H A DMediaCodecSource.h43 const sp<ALooper> &looper,
94 const sp<ALooper> &looper,
H A DSimpleDecodingSource.h71 // Construct this using a codec, source and looper.
73 const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper,
/frameworks/av/include/media/stagefright/foundation/
H A DAHandler.h40 sp<ALooper> looper() const { function in struct:android::AHandler
63 inline void setID(ALooper::handler_id id, const wp<ALooper> &looper) { argument
65 mLooper = looper;
H A DALooperRoster.h31 const sp<ALooper> &looper, const sp<AHandler> &handler);
H A DAMessage.h34 explicit AReplyToken(const sp<ALooper> &looper) argument
35 : mLooper(looper),
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp407 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err, pid_t pid,
409 sp<MediaCodec> codec = new MediaCodec(looper, pid, uid);
420 const sp<ALooper> &looper, const AString &name, status_t *err, pid_t pid, uid_t uid) {
421 sp<MediaCodec> codec = new MediaCodec(looper, pid, uid);
469 MediaCodec::MediaCodec(const sp<ALooper> &looper, pid_t pid, uid_t uid) argument
472 mLooper(looper),
569 // we need to invest in an extra looper to free the main event
606 // video codec needs dedicated looper
953 ALOGD("MediaCodec looper is gone, skip reclaim");
406 CreateByType( const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err, pid_t pid, uid_t uid) argument
419 CreateByComponentName( const sp<ALooper> &looper, const AString &name, status_t *err, pid_t pid, uid_t uid) argument
H A DMediaCodecListOverrides.cpp143 sp<ALooper> looper = new ALooper; local
144 looper->setName("MediaCodec_looper");
146 ALOGV("doProfileCodecs start looper");
147 looper->start(
150 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err);
H A DMediaCodecSource.cpp181 // mark stopping before actually reaching kWhatStop on the looper, so the pulling will
196 // We have to call this outside the looper as looper is pending on the read.
324 const sp<ALooper> &looper,
330 looper, format, source, persistentSurface, flags);
415 const sp<ALooper> &looper,
420 : mLooper(looper),
323 Create( const sp<ALooper> &looper, const sp<AMessage> &format, const sp<MediaSource> &source, const sp<PersistentSurface> &persistentSurface, uint32_t flags) argument
414 MediaCodecSource( const sp<ALooper> &looper, const sp<AMessage> &outputFormat, const sp<MediaSource> &source, const sp<PersistentSurface> &persistentSurface, uint32_t flags) argument
H A DSimpleDecodingSource.cpp55 sp<ALooper> looper = new ALooper; local
56 looper->setName("stagefright");
57 looper->start();
69 codec = MediaCodec::CreateByComponentName(looper, componentName);
78 return new SimpleDecodingSource(codec, source, looper,
90 looper->stop();
96 const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper,
100 mLooper(looper),
95 SimpleDecodingSource( const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper, bool usingSurface, bool isVorbis, const sp<AMessage> &format) argument
H A DStagefrightMetadataRetriever.cpp169 sp<ALooper> looper = new ALooper; local
170 looper->start();
172 looper, componentName, &err);
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp37 LooperThread(ALooper *looper, bool canCallJava) argument
39 mLooper(looper),
160 // If not running locally and this thread _is_ the looper thread,
H A DALooperRoster.cpp37 const sp<ALooper> &looper, const sp<AHandler> &handler) {
46 info.mLooper = looper;
51 handler->setID(handlerID, looper);
86 sp<ALooper> looper = info.mLooper.promote(); local
87 if (looper == NULL) {
91 // At this point 'looper' might be the only sp<> keeping
97 activeLoopers.add(looper);
139 sp<ALooper> looper = info.mLooper.promote(); local
140 if (looper != NULL) {
141 s.append(looper
36 registerHandler( const sp<ALooper> &looper, const sp<AHandler> &handler) argument
[all...]
H A DAMessage.cpp405 sp<ALooper> looper = mLooper.promote(); local
406 if (looper == NULL) {
407 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget);
411 looper->post(this, delayUs);
416 sp<ALooper> looper = mLooper.promote(); local
417 if (looper == NULL) {
418 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget);
422 sp<AReplyToken> token = looper->createReplyToken();
429 looper->post(this, 0 /* delayUs */);
430 return looper
438 sp<ALooper> looper = replyToken->getLooper(); local
[all...]
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaCodec.h78 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
82 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
370 MediaCodec(const sp<ALooper> &looper, pid_t pid, uid_t uid);
H A DMediaCodecSource.h43 const sp<ALooper> &looper,
94 const sp<ALooper> &looper,
H A DSimpleDecodingSource.h71 // Construct this using a codec, source and looper.
73 const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper,

Completed in 2512 milliseconds

1234567891011>>