Bug 929513 Part 4: Remove some unused gfxIntSize overloads r=nical

This commit is contained in:
David Zbarsky 2013-10-27 17:53:27 -04:00
parent 4c129e947e
commit 39deff0f7d
2 changed files with 0 additions and 22 deletions

View File

@ -132,13 +132,6 @@ YCbCrImageDataSerializer::ComputeMinBufferSize(const LayerIntSize& aYSize,
+ MOZ_ALIGN_WORD(sizeof(YCbCrBufferInfo));
}
size_t
YCbCrImageDataSerializer::ComputeMinBufferSize(const gfxIntSize& aYSize,
const gfxIntSize& aCbCrSize)
{
return ComputeMinBufferSize(LayerIntSize(aYSize.width, aYSize.height),
LayerIntSize(aCbCrSize.width, aCbCrSize.height));
}
// Offset in bytes
static size_t ComputeOffset(uint32_t aSize)
{
@ -171,16 +164,6 @@ YCbCrImageDataSerializer::InitializeBufferInfo(const LayerIntSize& aYSize,
info->mStereoMode = aStereoMode;
}
void
YCbCrImageDataSerializer::InitializeBufferInfo(const gfxIntSize& aYSize,
const gfxIntSize& aCbCrSize,
StereoMode aStereoMode)
{
InitializeBufferInfo(LayerIntSize(aYSize.width, aYSize.height),
LayerIntSize(aCbCrSize.width, aCbCrSize.height),
aStereoMode);
}
static void CopyLineWithSkip(const uint8_t* src, uint8_t* dst, uint32_t len, uint32_t skip) {
for (uint32_t i = 0; i < len; ++i) {
*dst = *src;

View File

@ -106,8 +106,6 @@ public:
*/
static size_t ComputeMinBufferSize(const LayerIntSize& aYSize,
const LayerIntSize& aCbCrSize);
static size_t ComputeMinBufferSize(const gfxIntSize& aYSize,
const gfxIntSize& aCbCrSize);
static size_t ComputeMinBufferSize(uint32_t aSize);
/**
@ -118,9 +116,6 @@ public:
void InitializeBufferInfo(const LayerIntSize& aYSize,
const LayerIntSize& aCbCrSize,
StereoMode aStereoMode);
void InitializeBufferInfo(const gfxIntSize& aYSize,
const gfxIntSize& aCbCrSize,
StereoMode aStereoMode);
bool CopyData(const uint8_t* aYData,
const uint8_t* aCbData, const uint8_t* aCrData,