Lines Matching refs:frame0
325 bool VideoFrameEqual(const VideoFrame* frame0, const VideoFrame* frame1) { in VideoFrameEqual() argument
326 const uint8_t* y0 = frame0->GetYPlane(); in VideoFrameEqual()
327 const uint8_t* u0 = frame0->GetUPlane(); in VideoFrameEqual()
328 const uint8_t* v0 = frame0->GetVPlane(); in VideoFrameEqual()
333 for (size_t i = 0; i < frame0->GetHeight(); ++i) { in VideoFrameEqual()
334 if (0 != memcmp(y0, y1, frame0->GetWidth())) { in VideoFrameEqual()
337 y0 += frame0->GetYPitch(); in VideoFrameEqual()
341 for (size_t i = 0; i < frame0->GetChromaHeight(); ++i) { in VideoFrameEqual()
342 if (0 != memcmp(u0, u1, frame0->GetChromaWidth())) { in VideoFrameEqual()
345 if (0 != memcmp(v0, v1, frame0->GetChromaWidth())) { in VideoFrameEqual()
348 u0 += frame0->GetUPitch(); in VideoFrameEqual()
349 v0 += frame0->GetVPitch(); in VideoFrameEqual()