Searched defs:BufferCache (Results 1 – 3 of 3) sorted by relevance
111 struct BufferCache { struct in android::hardware::media::bufferpool::V1_0::implementation::BufferPoolClient::Impl112 std::mutex mLock;113 bool mCreating;114 std::condition_variable mCreateCv;115 std::map<BufferId, std::unique_ptr<ClientBuffer>> mBuffers;116 int mActive;117 int64_t mLastChangeUs;119 BufferCache() : mCreating(false), mActive(0), mLastChangeUs(getTimestampNow()) {} in BufferCache() argument121 void incActive_l() { in incActive_l()126 void decActive_l() { in decActive_l()
122 struct BufferCache { struct in android::hardware::media::bufferpool::V2_0::implementation::BufferPoolClient::Impl123 std::mutex mLock;124 bool mCreating;125 std::condition_variable mCreateCv;126 std::map<BufferId, std::unique_ptr<ClientBuffer>> mBuffers;127 int mActive;128 int64_t mLastChangeUs;130 BufferCache() : mCreating(false), mActive(0), mLastChangeUs(getTimestampNow()) {} in BufferCache() argument132 void incActive_l() { in incActive_l()137 void decActive_l() { in decActive_l()[all …]
422 class BufferCache : public Singleton<BufferCache> { class424 BufferCache() : token(new BBinder()) {} in BufferCache() function in android::BufferCache