Bug 557982. Use Image objects in the video frame queue so we can avoid making an extra copy as we put frames into the queue. r=kinetik

This commit is contained in:
Rich Dougherty
2010-05-19 15:04:33 +12:00
parent 0476d9cb00
commit 52adda535c
8 changed files with 225 additions and 222 deletions

View File

@@ -243,6 +243,10 @@ public:
gfxIntSize mPicSize;
};
enum {
MAX_DIMENSION = 16384
};
/**
* This makes a copy of the data buffers.
* XXX Eventually we will change this to not make a copy of the data,