Home
last modified time | relevance | path

Searched refs:MediaBuffer (Results 1 – 4 of 4) sorted by relevance

/external/opencore/fileformats/mp4/parser/src/
Dmediabuffermanager.cpp35 typedef Oscl_Vector<MediaBuffer*, OsclMemAllocator> mediaBufferVecType;
50 MediaBuffer *mb = NULL; in MediaBufferManager()
51 PV_MP4_FF_NEW(fp->auditCB, MediaBuffer, (bufSize), mb); in MediaBufferManager()
64 PV_MP4_FF_DELETE(NULL, MediaBuffer, (*_pfreeBufVec)[i]); in ~MediaBufferManager()
70 PV_MP4_FF_DELETE(NULL, MediaBuffer, (*_pusedBufVec)[i]); in ~MediaBufferManager()
77 MediaBufferManager::freeBuf(MediaBuffer *buf) in freeBuf()
82 MediaBuffer **x; in freeBuf()
85 MediaBuffer *used = (MediaBuffer*)(*_pusedBufVec)[i]; in freeBuf()
98 MediaBuffer*
103 MediaBuffer *mb = (MediaBuffer *)(*_pfreeBufVec)[_pfreeBufVec->size()-1]; // get last buf in getBuf()
[all …]
Dmediabuffer.cpp36 MediaBuffer::MediaBuffer(int32 size) in MediaBuffer() function in MediaBuffer
43 MediaBuffer::~MediaBuffer() in ~MediaBuffer()
49 MediaBuffer::freeBuf() in freeBuf()
58 MediaBuffer::setOwner(MediaBufferManager *owner) in setOwner()
64 MediaBuffer::readByteData(MP4_FF_FILE *fp, uint32 size) in readByteData()
/external/opencore/fileformats/mp4/parser/include/
Dmediabuffermanager.h59 class MediaBuffer; // Forward declaration for circular includes variable
70 void freeBuf(MediaBuffer *buf); // Called by buffer when it is freed
71 MediaBuffer *getBuf();
75 MediaBuffer *newBuf(); // By default create a 32KB buffer
77 Oscl_Vector<MediaBuffer*, OsclMemAllocator> *_pfreeBufVec;
78 Oscl_Vector<MediaBuffer*, OsclMemAllocator> *_pusedBufVec;
Dmediabuffer.h56 class MediaBuffer : public IMediaBuffer
60 MediaBuffer(int32 size); // Constructor
61 virtual ~MediaBuffer(); // Destructor