• Home
  • Raw
  • Download

Lines Matching refs:frame2

495                       const cricket::VideoFrame& frame2,  in IsEqual()  argument
498 frame2.GetWidth(), frame2.GetHeight(), in IsEqual()
499 frame2.GetPixelWidth(), frame2.GetPixelHeight(), in IsEqual()
500 frame2.GetTimeStamp(), in IsEqual()
501 frame2.GetYPlane(), frame2.GetYPitch(), in IsEqual()
502 frame2.GetUPlane(), frame2.GetUPitch(), in IsEqual()
503 frame2.GetVPlane(), frame2.GetVPitch(), in IsEqual()
508 const cricket::VideoFrame& frame2, in IsEqualWithCrop() argument
510 return frame1.GetWidth() <= frame2.GetWidth() && in IsEqualWithCrop()
511 frame1.GetHeight() <= frame2.GetHeight() && in IsEqualWithCrop()
513 frame2.GetWidth() - hcrop * 2, in IsEqualWithCrop()
514 frame2.GetHeight() - vcrop * 2, in IsEqualWithCrop()
515 frame2.GetPixelWidth(), frame2.GetPixelHeight(), in IsEqualWithCrop()
516 frame2.GetTimeStamp(), in IsEqualWithCrop()
517 frame2.GetYPlane() + vcrop * frame2.GetYPitch() in IsEqualWithCrop()
519 frame2.GetYPitch(), in IsEqualWithCrop()
520 frame2.GetUPlane() + vcrop * frame2.GetUPitch() / 2 in IsEqualWithCrop()
522 frame2.GetUPitch(), in IsEqualWithCrop()
523 frame2.GetVPlane() + vcrop * frame2.GetVPitch() / 2 in IsEqualWithCrop()
525 frame2.GetVPitch(), in IsEqualWithCrop()
573 T frame1, frame2; in ConstructI422() local
588 kWidth, kHeight, &frame2)); in ConstructI422()
589 EXPECT_TRUE(IsEqual(frame1, frame2, 1)); in ConstructI422()
594 T frame1, frame2; in ConstructYuy2() local
605 kWidth, kHeight, &frame2)); in ConstructYuy2()
606 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2()
611 T frame1, frame2; in ConstructYuy2Unaligned() local
622 kWidth, kHeight, &frame2)); in ConstructYuy2Unaligned()
623 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2Unaligned()
629 T frame1, frame2; in ConstructYuy2Wide() local
637 kWidth * 10, kHeight / 10, &frame2)); in ConstructYuy2Wide()
638 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2Wide()
643 T frame1, frame2; in ConstructUyvy() local
650 kWidth, kHeight, &frame2)); in ConstructUyvy()
651 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructUyvy()
686 T frame1, frame2; in ConstructABGR() local
693 kWidth, kHeight, &frame2)); in ConstructABGR()
694 EXPECT_TRUE(IsEqual(frame1, frame2, 2)); in ConstructABGR()
700 T frame1, frame2; in ConstructARGB() local
707 kWidth, kHeight, &frame2)); in ConstructARGB()
708 EXPECT_TRUE(IsEqual(frame1, frame2, 2)); in ConstructARGB()
714 T frame1, frame2; in ConstructARGBWide() local
721 kWidth * 10, kHeight / 10, &frame2)); in ConstructARGBWide()
722 EXPECT_TRUE(IsEqual(frame1, frame2, 2)); in ConstructARGBWide()
728 T frame1, frame2; in ConstructBGRA() local
735 kWidth, kHeight, &frame2)); in ConstructBGRA()
736 EXPECT_TRUE(IsEqual(frame1, frame2, 2)); in ConstructBGRA()
742 T frame1, frame2; in Construct24BG() local
749 kWidth, kHeight, &frame2)); in Construct24BG()
750 EXPECT_TRUE(IsEqual(frame1, frame2, 2)); in Construct24BG()
756 T frame1, frame2; in ConstructRaw() local
763 kWidth, kHeight, &frame2)); in ConstructRaw()
764 EXPECT_TRUE(IsEqual(frame1, frame2, 2)); in ConstructRaw()
769 T frame1, frame2; in ConstructRGB565() local
779 kWidth, kHeight, &frame2)); in ConstructRGB565()
780 EXPECT_TRUE(IsEqual(frame1, frame2, 20)); in ConstructRGB565()
785 T frame1, frame2; in ConstructARGB1555() local
795 kWidth, kHeight, &frame2)); in ConstructARGB1555()
796 EXPECT_TRUE(IsEqual(frame1, frame2, 20)); in ConstructARGB1555()
801 T frame1, frame2; in ConstructARGB4444() local
811 kWidth, kHeight, &frame2)); in ConstructARGB4444()
812 EXPECT_TRUE(IsEqual(frame1, frame2, 20)); in ConstructARGB4444()
818 T frame1, frame2, frame3; \
828 EXPECT_TRUE(frame2.Init(cricket::FOURCC_##FOURCC, kWidth, kHeight, kWidth, \
836 frame2.GetYPlane(), frame2.GetYPitch(), frame2.GetUPlane(), \
837 frame2.GetUPitch(), frame2.GetVPlane(), frame2.GetVPitch(), \
849 T frame1, frame2, frame3; \
859 EXPECT_TRUE(frame2.Init(cricket::FOURCC_##FOURCC, kWidth, kHeight, kWidth, \
867 frame2.GetYPlane(), frame2.GetYPitch(), frame2.GetUPlane(), \
868 frame2.GetUPitch(), frame2.GetVPlane(), frame2.GetVPitch(), \
903 T frame2; in ConstructUyvyRotate90() local
908 kWidth, kHeight, webrtc::kVideoRotation_90, &frame2)); in ConstructUyvyRotate90()
913 T frame2; in ConstructUyvyRotate180() local
919 &frame2)); in ConstructUyvyRotate180()
924 T frame2; in ConstructUyvyRotate270() local
930 &frame2)); in ConstructUyvyRotate270()
935 T frame2; in ConstructYuy2Rotate90() local
940 kWidth, kHeight, webrtc::kVideoRotation_90, &frame2)); in ConstructYuy2Rotate90()
945 T frame2; in ConstructYuy2Rotate180() local
951 &frame2)); in ConstructYuy2Rotate180()
956 T frame2; in ConstructYuy2Rotate270() local
962 &frame2)); in ConstructYuy2Rotate270()
1058 T frame1, frame2; in ConstructI420CropHorizontal() local
1062 &frame2)); in ConstructI420CropHorizontal()
1063 EXPECT_TRUE(IsEqualWithCrop(frame2, frame1, kWidth / 8, 0, 0)); in ConstructI420CropHorizontal()
1068 T frame1, frame2; in ConstructYuy2CropHorizontal() local
1076 &frame2)); in ConstructYuy2CropHorizontal()
1077 EXPECT_TRUE(IsEqualWithCrop(frame2, frame1, kWidth / 8, 0, 0)); in ConstructYuy2CropHorizontal()
1082 T frame1, frame2; in ConstructARGBCropHorizontal() local
1090 &frame2)); in ConstructARGBCropHorizontal()
1091 EXPECT_TRUE(IsEqualWithCrop(frame2, frame1, kWidth / 8, 0, 2)); in ConstructARGBCropHorizontal()
1096 T frame1, frame2; in ConstructI420CropVertical() local
1100 &frame2)); in ConstructI420CropVertical()
1101 EXPECT_TRUE(IsEqualWithCrop(frame2, frame1, 0, kHeight / 8, 0)); in ConstructI420CropVertical()
1106 T frame1, frame2, frame3; in ConstructI420Aliases() local
1110 &frame2)); in ConstructI420Aliases()
1113 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructI420Aliases()
1119 T frame1, frame2; in ConstructMjpgI420() local
1122 cricket::FOURCC_MJPG, kWidth, kHeight, &frame2)); in ConstructMjpgI420()
1123 EXPECT_TRUE(IsEqual(frame1, frame2, 32)); in ConstructMjpgI420()
1128 T frame1, frame2; in ConstructMjpgI422() local
1131 cricket::FOURCC_MJPG, kWidth, kHeight, &frame2)); in ConstructMjpgI422()
1132 EXPECT_TRUE(IsEqual(frame1, frame2, 32)); in ConstructMjpgI422()
1137 T frame1, frame2; in ConstructMjpgI444() local
1140 cricket::FOURCC_MJPG, kWidth, kHeight, &frame2)); in ConstructMjpgI444()
1141 EXPECT_TRUE(IsEqual(frame1, frame2, 32)); in ConstructMjpgI444()
1146 T frame1, frame2; in ConstructMjpgI411() local
1149 cricket::FOURCC_MJPG, kWidth, kHeight, &frame2)); in ConstructMjpgI411()
1150 EXPECT_TRUE(IsEqual(frame1, frame2, 32)); in ConstructMjpgI411()
1156 T frame1, frame2; in ConstructMjpgI400() local
1159 cricket::FOURCC_MJPG, kWidth, kHeight, &frame2)); in ConstructMjpgI400()
1161 frame2.GetYPlane(), frame2.GetYPitch(), in ConstructMjpgI400()
1163 EXPECT_TRUE(IsEqual(frame1, frame2, 128)); in ConstructMjpgI400()
1289 T frame1, frame2, frame3, frame4; in ConstructYuy2Aliases() local
1296 kWidth, kHeight, &frame2)); in ConstructYuy2Aliases()
1301 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2Aliases()
1308 T frame1, frame2, frame3, frame4; in ConstructUyvyAliases() local
1315 kWidth, kHeight, &frame2)); in ConstructUyvyAliases()
1320 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructUyvyAliases()
1327 T frame1, frame2; in ConstructCopy() local
1330 EXPECT_TRUE(frame2.Init(frame1)); in ConstructCopy()
1332 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructCopy()
1337 T frame1, frame2; in ConstructCopyIsRef() local
1340 EXPECT_TRUE(frame2.Init(frame1)); in ConstructCopyIsRef()
1342 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructCopyIsRef()
1343 EXPECT_EQ(frame1.GetYPlane(), frame2.GetYPlane()); in ConstructCopyIsRef()
1344 EXPECT_EQ(frame1.GetUPlane(), frame2.GetUPlane()); in ConstructCopyIsRef()
1345 EXPECT_EQ(frame1.GetVPlane(), frame2.GetVPlane()); in ConstructCopyIsRef()
1361 T frame1, frame2; in ConstructYuy2AllSizes() local
1370 width, height, &frame2)); in ConstructYuy2AllSizes()
1371 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in ConstructYuy2AllSizes()
1379 T frame1, frame2; in ConstructARGBAllSizes() local
1388 width, height, &frame2)); in ConstructARGBAllSizes()
1389 EXPECT_TRUE(IsEqual(frame1, frame2, 64)); in ConstructARGBAllSizes()
1404 kOddWidth + i, kOddHeight + j, &frame2)); in ConstructARGBAllSizes()
1405 EXPECT_TRUE(IsEqual(frame1, frame2, 64)); in ConstructARGBAllSizes()
1412 T frame1, frame2; in Reset() local
1419 EXPECT_TRUE(frame2.InitToBlack(kWidth, kHeight, 1, 1, 0)); in Reset()
1421 EXPECT_TRUE(IsEqual(frame1, frame2, 0)); in Reset()
1441 EXPECT_FALSE(IsEqual(frame1, frame2, 0)); in Reset()
1475 T frame1, frame2; in ConvertToBuffer() local
1497 EXPECT_TRUE(frame2.InitToBlack(kWidth, kHeight, 1, 1, 0)); in ConvertToBuffer()
1500 frame2.GetYPlane(), frame2.GetYPitch(), in ConvertToBuffer()
1501 frame2.GetUPlane(), frame2.GetUPitch(), in ConvertToBuffer()
1502 frame2.GetVPlane(), frame2.GetVPitch(), in ConvertToBuffer()
1512 EXPECT_TRUE(IsEqual(frame1, frame2, error)); in ConvertToBuffer()
1797 T frame1, frame2; in ConvertToI422Buffer() local
1813 EXPECT_TRUE(frame2.Init(cricket::FOURCC_I422, kWidth, kHeight, kWidth, in ConvertToI422Buffer()
1816 EXPECT_TRUE(IsEqual(frame1, frame2, 1)); in ConvertToI422Buffer()