/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 173 sp<ALooper> looper = new ALooper; local 174 looper->setName("screenrecord_looper"); 175 looper->start(); 179 codec = MediaCodec::CreateByType(looper, kMimeTypeAvc, true); 186 codec = MediaCodec::CreateByComponentName(looper, gCodecName);
|
/frameworks/av/cmds/stagefright/ |
H A D | audioloop.cpp | 139 sp<ALooper> looper = new ALooper; local 140 looper->setName("audioloop"); 141 looper->start(); 143 sp<MediaSource> encoder = MediaCodecSource::Create(looper, meta, source);
|
H A D | codec.cpp | 71 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 D | mediafilter.cpp | 313 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 D | muxer.cpp | 321 sp<ALooper> looper = new ALooper; local 322 looper->start(); 327 looper->stop();
|
H A D | record.cpp | 224 MediaCodecSource::Create(looper, format, decoder); 320 sp<ALooper> looper = new ALooper; local 321 looper->setName("record"); 322 looper->start(); 325 MediaCodecSource::Create(looper, encMeta, audioSource);
|
H A D | recordvideo.cpp | 302 sp<ALooper> looper = new ALooper; local 303 looper->setName("recordvideo"); 304 looper->start(); 308 looper, enc_meta, source, NULL /* consumer */,
|
H A D | stagefright.cpp | 708 sp<ALooper> looper; local
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodec.h | 83 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL, 87 const sp<ALooper> &looper, const AString &name, status_t *err = NULL, 378 MediaCodec(const sp<ALooper> &looper, pid_t pid, uid_t uid);
|
H A D | MediaCodecSource.h | 42 const sp<ALooper> &looper, 92 const sp<ALooper> &looper,
|
H A D | SimpleDecodingSource.h | 74 // Construct this using a codec, source and looper. 76 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper,
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AHandler.h | 40 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 D | ALooperRoster.h | 31 const sp<ALooper> &looper, const sp<AHandler> &handler);
|
H A D | AMessage.h | 35 explicit AReplyToken(const sp<ALooper> &looper) argument 36 : mLooper(looper),
|
/frameworks/av/media/libstagefright/ |
H A D | FrameDecoder.cpp | 212 sp<ALooper> looper = new ALooper; local 213 looper->start(); 215 looper, mComponentName, &err);
|
H A D | MediaCodec.cpp | 439 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err, pid_t pid, 453 sp<MediaCodec> codec = new MediaCodec(looper, pid, uid); 470 const sp<ALooper> &looper, const AString &name, status_t *err, pid_t pid, uid_t uid) { 471 sp<MediaCodec> codec = new MediaCodec(looper, pid, uid); 510 MediaCodec::MediaCodec(const sp<ALooper> &looper, pid_t pid, uid_t uid) argument 513 mLooper(looper), 884 // we need to invest in an extra looper to free the main event 926 // video codec needs dedicated looper 1282 ALOGD("MediaCodec looper is gone, skip reclaim"); 438 CreateByType( const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err, pid_t pid, uid_t uid) argument 469 CreateByComponentName( const sp<ALooper> &looper, const AString &name, status_t *err, pid_t pid, uid_t uid) argument
|
H A D | MediaCodecListOverrides.cpp | 141 sp<ALooper> looper = new ALooper; local 142 looper->setName("MediaCodec_looper"); 144 ALOGV("doProfileCodecs start looper"); 145 looper->start( 148 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err);
|
H A D | MediaCodecSource.cpp | 192 // mark stopping before actually reaching kWhatStop on the looper, so the pulling will 207 // We have to call this outside the looper as looper is pending on the read. 349 const sp<ALooper> &looper, 355 looper, format, source, persistentSurface, flags); 437 const sp<ALooper> &looper, 442 : mLooper(looper), 348 Create( const sp<ALooper> &looper, const sp<AMessage> &format, const sp<MediaSource> &source, const sp<PersistentSurface> &persistentSurface, uint32_t flags) argument 436 MediaCodecSource( const sp<ALooper> &looper, const sp<AMessage> &outputFormat, const sp<MediaSource> &source, const sp<PersistentSurface> &persistentSurface, uint32_t flags) argument
|
H A D | SimpleDecodingSource.cpp | 65 sp<ALooper> looper = new ALooper; local 66 looper->setName("stagefright"); 67 looper->start(); 81 return new SimpleDecodingSource(codec, source, looper, 94 codec = MediaCodec::CreateByComponentName(looper, desiredCodec); 106 codec = MediaCodec::CreateByComponentName(looper, componentName); 115 looper->stop(); 121 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper, 125 mLooper(looper), 120 SimpleDecodingSource( const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper, bool usingSurface, bool isVorbis, const sp<AMessage> &format) argument
|
/frameworks/av/media/libstagefright/bqhelper/ |
H A D | GraphicBufferSource.cpp | 424 sp<ALooper> looper; local 427 looper = mLooper; 446 if (looper != NULL) { 447 looper->stop();
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 37 LooperThread(ALooper *looper, bool canCallJava) argument 39 mLooper(looper), 160 // If not running locally and this thread _is_ the looper thread,
|
H A D | ALooperRoster.cpp | 37 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 D | AMessage.cpp | 407 sp<ALooper> looper = mLooper.promote(); 408 if (looper == NULL) { 409 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget); 413 looper->post(this, delayUs); 418 sp<ALooper> looper = mLooper.promote(); 419 if (looper == NULL) { 420 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget); 424 sp<AReplyToken> token = looper->createReplyToken(); 431 looper->post(this, 0 /* delayUs */); 432 return looper [all...] |
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | AHandler.h | 40 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 D | ALooperRoster.h | 31 const sp<ALooper> &looper, const sp<AHandler> &handler);
|