Searched refs:SharedControl (Results 1 – 3 of 3) sorted by relevance
66 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { in MediaBuffer()117 reinterpret_cast<SharedControl *>(mMemory->pointer())->getRemoteRefcount(); in remoteRefcount()125 return reinterpret_cast<SharedControl *>(mMemory->pointer())->addRemoteRefcount(value); in addRemoteRefcount()134 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject(); in isDeadObject()185 struct SharedControl { struct229 inline SharedControl *getSharedControl() const { in getSharedControl() argument230 return reinterpret_cast<SharedControl *>(mMemory->pointer()); in getSharedControl()
64 new MemoryDealer(size + sizeof(SharedControl), "MediaBuffer"); in MediaBuffer()65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl)); in MediaBuffer()74 mData = (uint8_t *)mMemory->pointer() + sizeof(SharedControl); in MediaBuffer()
54 size_t augmented_size = buffer_size + sizeof(MediaBuffer::SharedControl); in MediaBufferGroup()