8#ifndef META_OCEAN_MEDIA_ANDROID_VIDEO_DECODER_H
9#define META_OCEAN_MEDIA_ANDROID_VIDEO_DECODER_H
11#if defined(__ANDROID_API__) && __ANDROID_API__ >= 24
13#ifndef OCEAN_MEDIA_ANDROID_VIDEODECODER_AVAILABLE
14 #define OCEAN_MEDIA_ANDROID_VIDEODECODER_AVAILABLE
116 bool initialize(
const std::string& mime,
const unsigned int width,
const unsigned int height);
142 bool pushSample(
const void* data,
const size_t size,
const uint64_t presentationTime);
217 *
this = std::move(videoDecoder);
238 if (
this != &videoDecoder)
242 decoder_ = std::move(videoDecoder.decoder_);
244 isStarted_ = videoDecoder.isStarted_;
245 videoDecoder.isStarted_ =
false;
This class implements Ocean's image class.
Definition Frame.h:1808
This class implements a recursive lock object.
Definition Lock.h:31
This class implements a scoped lock object for recursive lock objects.
Definition Lock.h:135
bool isValid() const
Returns whether this scoped object holds a valid release function (which will be invoked once the obj...
Definition ScopedObject.h:351
The namespace covering the entire Ocean framework.
Definition Accessor.h:15