Home | History | Annotate | Download | only in base

Lines Matching defs:c1

49   Codec c1 = c0;
50 EXPECT_TRUE(c1 == c0);
55 EXPECT_TRUE(c1.GetParam("a", &param_value1));
58 c1.id = 86;
59 EXPECT_TRUE(c0 != c1);
61 c1 = c0;
62 c1.name = "x";
63 EXPECT_TRUE(c0 != c1);
65 c1 = c0;
66 c1.clockrate = 2000;
67 EXPECT_TRUE(c0 != c1);
69 c1 = c0;
70 c1.preference = 1;
71 EXPECT_TRUE(c0 != c1);
73 c1 = c0;
74 c1.SetParam("a", 2);
75 EXPECT_TRUE(c0 != c1);
84 AudioCodec c1(95, "A", 44100, 20000, 2, 3);
90 EXPECT_TRUE(c0 != c1);
135 AudioCodec c1(96, "A", 44100, 20000, 1, 3);
136 EXPECT_TRUE(c1.Matches(AudioCodec(96, "A", 0, 0, 0, 0)));
137 EXPECT_TRUE(c1.Matches(AudioCodec(97, "A", 0, 0, 0, 0)));
138 EXPECT_TRUE(c1.Matches(AudioCodec(96, "a", 0, 0, 0, 0)));
139 EXPECT_TRUE(c1.Matches(AudioCodec(97, "a", 0, 0, 0, 0)));
140 EXPECT_FALSE(c1.Matches(AudioCodec(95, "A", 0, 0, 0, 0)));
141 EXPECT_FALSE(c1.Matches(AudioCodec(96, "", 44100, 20000, 2, 0)));
142 EXPECT_FALSE(c1.Matches(AudioCodec(96, "A", 55100, 30000, 1, 0)));
163 VideoCodec c1(95, "V", 320, 200, 30, 3);
169 EXPECT_TRUE(c0 != c1);
207 VideoCodec c1(96, "V", 320, 200, 30, 3);
208 EXPECT_TRUE(c1.Matches(VideoCodec(96, "V", 640, 400, 15, 0)));
209 EXPECT_TRUE(c1.Matches(VideoCodec(97, "V", 640, 400, 15, 0)));
210 EXPECT_TRUE(c1.Matches(VideoCodec(96, "v", 640, 400, 15, 0)));
211 EXPECT_TRUE(c1.Matches(VideoCodec(97, "v", 640, 400, 15, 0)));
212 EXPECT_FALSE(c1.Matches(VideoCodec(96, "", 320, 200, 30, 0)));
213 EXPECT_FALSE(c1.Matches(VideoCodec(95, "V", 640, 400, 15, 0)));
223 DataCodec c1(96, "D", 3);
224 EXPECT_TRUE(c1.Matches(DataCodec(96, "D", 0)));
225 EXPECT_TRUE(c1.Matches(DataCodec(97, "D", 0)));
226 EXPECT_TRUE(c1.Matches(DataCodec(96, "d", 0)));
227 EXPECT_TRUE(c1.Matches(DataCodec(97, "d", 0)));
228 EXPECT_FALSE(c1.Matches(DataCodec(96, "", 0)));
229 EXPECT_FALSE(c1.Matches(DataCodec(95, "D", 0)));
258 Codec c1;
259 c1.AddFeedbackParam(a1); // Only match with c2.
260 c1.AddFeedbackParam(b2); // Same param different values.
261 c1.AddFeedbackParam(c3); // Not in c2.
266 c1.IntersectFeedbackParams(c2);
267 EXPECT_TRUE(c1.HasFeedbackParam(a1));
268 EXPECT_FALSE(c1.HasFeedbackParam(b2));
269 EXPECT_FALSE(c1.HasFeedbackParam(c3));