Home | History | Annotate | Download | only in base

Lines Matching full:frame0

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