8 #ifndef META_OCEAN_MEDIA_ANDROID_A_MOVIE_H
9 #define META_OCEAN_MEDIA_ANDROID_A_MOVIE_H
14 #if defined(__ANDROID_API__) && __ANDROID_API__ >= 24
21 #include <media/NdkMediaExtractor.h>
41 class OCEAN_MEDIA_A_EXPORT
AMovie final :
242 AMediaExtractor* mediaExtractor_ =
nullptr;
245 AMediaCodec* videoMediaCodec_ =
nullptr;
248 AMediaCodec* audioMediaCodec_ =
nullptr;
260 std::atomic<float> speed_ = 1.0f;
263 double normalDuration_ = -1.0;
266 bool useSound_ =
false;
This template class implements a object reference with an internal reference counter.
Definition: base/ObjectRef.h:58
This class implements a thread.
Definition: Thread.h:115
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15