Home | History | Annotate | Download | only in webp

Lines Matching refs:frameRect

335             IntRect frameRect(animatedFrame.x_offset, animatedFrame.y_offset, animatedFrame.width, animatedFrame.height);
336 // Make sure the frameRect doesn't extend outside the buffer.
337 if (frameRect.maxX() > size().width())
338 frameRect.setWidth(size().width() - animatedFrame.x_offset);
339 if (frameRect.maxY() > size().height())
340 frameRect.setHeight(size().height() - animatedFrame.y_offset);
341 m_frameBufferCache[i].setOriginalFrameRect(frameRect);
478 const IntRect& frameRect = buffer.originalFrameRect();
479 ASSERT_WITH_SECURITY_IMPLICATION(width == frameRect.width());
480 ASSERT_WITH_SECURITY_IMPLICATION(decodedHeight <= frameRect.height());
481 const int left = frameRect.x();
482 const int top = frameRect.y();
526 findBlendRangeAtRow(frameRect, prevRect, canvasY, left1, width1, left2, width2);
577 const IntRect& frameRect = buffer.originalFrameRect();
589 m_decoderBuffer.u.RGBA.size = m_decoderBuffer.u.RGBA.stride * frameRect.height();
596 m_decoderBuffer.u.RGBA.rgba = reinterpret_cast<uint8_t*>(buffer.getAddr(frameRect.x(), frameRect.y()));