Home
last modified time | relevance | path

Searched refs:mlooper (Results 1 – 1 of 1) sorted by relevance

/development/ndk/platforms/android-21/samples/native-codec/jni/
Dnative-codec-jni.cpp79 static mylooper *mlooper = NULL; variable
146 mlooper->post(kMsgCodecBuffer, d); in doCodecWork()
270 mlooper = new mylooper(); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
271 mlooper->post(kMsgCodecBuffer, d); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
281 if (mlooper) { in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer()
283 mlooper->post(kMsgResume, &data); in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer()
285 mlooper->post(kMsgPause, &data); in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer()
295 if (mlooper) { in Java_com_example_nativecodec_NativeCodec_shutdown()
296 mlooper->post(kMsgDecodeDone, &data, true /* flush */); in Java_com_example_nativecodec_NativeCodec_shutdown()
297 mlooper->quit(); in Java_com_example_nativecodec_NativeCodec_shutdown()
[all …]