Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DMutexed.h85 class Mutexed {
105 inline Locked(Mutexed<T> &mParent);
148 Mutexed(Args... args) : mTreasure(args...) { } in Mutexed() function
150 ~Mutexed() { } in ~Mutexed()
166 Mutexed(const Mutexed<T>&) = delete;
167 void operator=(const Mutexed<T>&) = delete;
171 inline Mutexed<T>::Locked::Locked(Mutexed<T> &mParent) in Locked()
179 inline Mutexed<T>::Locked::~Locked() { in ~Locked()
186 inline void Mutexed<T>::Locked::unlock() { in unlock()
194 inline void Mutexed<T>::Locked::lock() { in lock()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp215 Mutexed<ExecState>::Locked state(mExecState); in setListener_vb()
231 Mutexed<ExecState>::Locked state(mExecState); in queue_nb()
238 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in queue_nb()
260 Mutexed<ExecState>::Locked state(mExecState); in flush_sm()
266 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in flush_sm()
289 Mutexed<ExecState>::Locked state(mExecState); in drain_nb()
296 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in drain_nb()
308 Mutexed<ExecState>::Locked state(mExecState); in start()
333 Mutexed<ExecState>::Locked state(mExecState); in stop()
340 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in stop()
[all …]
DAndroid.bp25 "libstagefright_foundation", // for Mutexed
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp76 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in QueueGuard()
89 Mutexed<CCodecBufferChannel::QueueSync::Counter>::Locked count(mSync.mCount); in ~QueueGuard()
98 Mutexed<Counter>::Locked count(mCount); in start()
106 Mutexed<Counter>::Locked count(mCount); in stop()
229 Mutexed<Input>::Locked input(mInput); in CCodecBufferChannel()
238 Mutexed<Output>::Locked output(mOutput); in CCodecBufferChannel()
306 Mutexed<Input>::Locked input(mInput); in queueInputBufferInternal()
377 Mutexed<Input>::Locked input(mInput); in queueInputBufferInternal()
532 Mutexed<Output>::Locked output(mOutput); in feedInputBufferIfAvailableInternal()
542 Mutexed<Input>::Locked input(mInput); in feedInputBufferIfAvailableInternal()
[all …]
DCCodec.cpp83 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in watch()
99 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in onMessageReceived()
130 Mutexed<std::set<wp<CCodec>>> mCodecsToWatch;
580 Mutexed<State>::Locked state(mState); in initiateAllocateComponent()
626 Mutexed<State>::Locked state(mState); in allocate()
636 Mutexed<State>::Locked state(mState); in allocate()
651 Mutexed<Config>::Locked config(mConfig); in allocate()
664 Mutexed<State>::Locked state(mState); in initiateConfigureComponent()
679 Mutexed<State>::Locked state(mState); in configure()
725 Mutexed<Config>::Locked config(mConfig); in configure()
[all …]
DCCodecBufferChannel.h194 Mutexed<Counter> mCount;
241 Mutexed<Input> mInput;
247 Mutexed<Output> mOutput;
248 Mutexed<std::list<sp<ABuffer>>> mFlushedConfigs;
260 Mutexed<OutputSurface> mOutputSurface;
269 Mutexed<BlockPools> mBlockPools;
275 Mutexed<PipelineWatcher> mPipelineWatcher;
317 Mutexed<ReorderStash> mReorderStash;
DCCodec.h167 Mutexed<State> mState;
174 Mutexed<NamedTimePoint> mDeadline;
176 Mutexed<Config> mConfig;
177 Mutexed<std::list<std::unique_ptr<C2Work>>> mWorkDoneQueue;
DC2OMXNode.cpp64 Mutexed<Jobs>::Locked jobs(mJobs); in queue()
76 Mutexed<Jobs>::Locked jobs(mJobs); in threadLoop()
161 Mutexed<Jobs> mJobs;
DC2OMXNode.h115 Mutexed<std::map<uint64_t, buffer_id>> mBufferIdsInUse;
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.h58 const std::shared_ptr<Mutexed<ConversionQueue>> &queue);
63 std::shared_ptr<Mutexed<ConversionQueue>> mQueue;
81 std::shared_ptr<Mutexed<ConversionQueue>> mQueue;
DC2SoftVpxDec.cpp309 const std::shared_ptr<Mutexed<ConversionQueue>> &queue) in ConverterThread()
313 Mutexed<ConversionQueue>::Locked queue(*mQueue); in threadLoop()
344 mQueue(new Mutexed<ConversionQueue>) { in C2SoftVpxDec()
821 Mutexed<ConversionQueue>::Locked queue(*mQueue); in outputBuffer()
/frameworks/av/media/libstagefright/include/media/stagefright/
DSimpleDecodingSource.h103 Mutexed<ProtectedState> mProtectedState;
107 Mutexed<ProtectedState>::Locked &me, MediaBufferBase **buffer,
DMediaCodecSource.h124 Mutexed<sp<MetaData>> mMeta;
157 Mutexed<Output> mOutput;
/frameworks/av/media/libstagefright/
DMediaCodecSource.cpp99 Mutexed<Queue> mQueue;
150 Mutexed<Queue>::Locked queue(mQueue); in readBuffer()
195 Mutexed<Queue>::Locked queue(mQueue); in stop()
218 Mutexed<Queue>::Locked queue(mQueue); in pause()
223 Mutexed<Queue>::Locked queue(mQueue); in resume()
246 Mutexed<Queue>::Locked queue(mQueue); in onMessageReceived()
294 Mutexed<Queue>::Locked queue(mQueue); in onMessageReceived()
407 Mutexed<sp<MetaData>>::Locked meta(mMeta); in getFormat()
418 Mutexed<Output>::Locked output(mOutput); in read()
599 Mutexed<Output>::Locked output(mOutput); in initEncoder()
[all …]
DSimpleDecodingSource.cpp140 Mutexed<ProtectedState>::Locked me(mProtectedState); in start()
161 Mutexed<ProtectedState>::Locked me(mProtectedState); in stop()
186 Mutexed<ProtectedState>::Locked me(mProtectedState); in getFormat()
207 Mutexed<ProtectedState>::Locked me(mProtectedState); in read()
225 Mutexed<ProtectedState>::Locked &me, MediaBufferBase **buffer, const ReadOptions *options) { in doRead()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h198 Mutexed<ExecState> mExecState;
236 Mutexed<WorkQueue> mWorkQueue;
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h34 using ::android::Mutexed;