Home | History | Annotate | Download | only in base

Lines Matching defs:source

5  * Redistribution and use in source and binary forms, with or without
8 * 1. Redistributions of source code must retain the above copyright notice,
1824 rtc::scoped_ptr<T> source(new T);
1826 ASSERT_TRUE(LoadFrameNoRepeat(source.get()));
1827 target.reset(source->Copy());
1828 EXPECT_TRUE(IsEqual(*source, *target, 0));
1829 source.reset();
1834 rtc::scoped_ptr<T> source(new T);
1836 ASSERT_TRUE(LoadFrameNoRepeat(source.get()));
1837 target.reset(source->Copy());
1838 EXPECT_TRUE(IsEqual(*source, *target, 0));
1839 const T* const_source = source.get();
1846 rtc::scoped_ptr<T> source(new T);
1848 ASSERT_TRUE(LoadFrameNoRepeat(source.get()));
1849 target.reset(source->Copy());
1851 EXPECT_TRUE(IsEqual(*source, *target, 0));
1852 EXPECT_NE(target->GetYPlane(), source->GetYPlane());
1853 EXPECT_NE(target->GetUPlane(), source->GetUPlane());
1854 EXPECT_NE(target->GetVPlane(), source->GetVPlane());
1873 T source;
1878 &source));
1886 source.CopyToFrame(&target);
1888 EXPECT_TRUE(IsEqual(source, target, 0));
1930 // Create the source frame as a black frame.
1931 T source;
1932 EXPECT_TRUE(source.InitToBlack(kWidth * 2, kHeight * 2, 1, 1, 0));
1933 EXPECT_TRUE(IsSize(source, kWidth * 2, kHeight * 2));
1941 source.StretchToFrame(&target1, true, false);
1947 source.StretchToFrame(&target2, true, true);
1949 EXPECT_EQ(source.GetTimeStamp(), target2.GetTimeStamp());