Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0

This commit is contained in:
Chris Double
2010-10-26 16:11:13 +13:00
parent 0d0cec745c
commit 46d46073cb
14 changed files with 1769 additions and 19 deletions

View File

@@ -114,6 +114,7 @@ class THEBES_API ImageContainer {
THEBES_INLINE_DECL_THREADSAFE_REFCOUNTING(ImageContainer)
public:
ImageContainer() {}
virtual ~ImageContainer() {}
/**
@@ -179,6 +180,13 @@ public:
*/
virtual PRBool SetLayerManager(LayerManager *aManager) = 0;
/**
* Sets a size that the image is expected to be rendered at.
* This is a hint for image backends to optimize scaling.
* Default implementation in this class is to ignore the hint.
*/
virtual void SetScaleHint(const gfxIntSize& /* aScaleHint */) { }
protected:
LayerManager* mManager;