Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe

This commit is contained in:
Matthew Gregan
2011-07-22 15:17:23 +12:00
parent 9517167688
commit 7b6c467de2
13 changed files with 199 additions and 7 deletions

View File

@@ -454,6 +454,11 @@ public:
virtual PRUint8* AllocateBuffer(PRUint32 aSize);
/**
* Return the number of bytes of heap memory used to store this image.
*/
virtual PRUint32 GetDataSize() = 0;
protected:
PlanarYCbCrImage(void* aImplData) : Image(aImplData, PLANAR_YCBCR) {}
};