Lines Matching refs:VideoCodec
35 using cricket::VideoCodec;
162 VideoCodec c0(96, "V", 320, 200, 30, 3); in TEST_F()
163 VideoCodec c1(95, "V", 320, 200, 30, 3); in TEST_F()
164 VideoCodec c2(96, "x", 320, 200, 30, 3); in TEST_F()
165 VideoCodec c3(96, "V", 120, 200, 30, 3); in TEST_F()
166 VideoCodec c4(96, "V", 320, 100, 30, 3); in TEST_F()
167 VideoCodec c5(96, "V", 320, 200, 10, 3); in TEST_F()
168 VideoCodec c6(96, "V", 320, 200, 30, 1); in TEST_F()
176 VideoCodec c7; in TEST_F()
177 VideoCodec c8(0, "", 0, 0, 0, 0); in TEST_F()
178 VideoCodec c9 = c0; in TEST_F()
183 VideoCodec c10(c0); in TEST_F()
184 VideoCodec c11(c0); in TEST_F()
185 VideoCodec c12(c0); in TEST_F()
186 VideoCodec c13(c0); in TEST_F()
202 VideoCodec c0(95, "V", 320, 200, 30, 3); in TEST_F()
203 EXPECT_TRUE(c0.Matches(VideoCodec(95, "", 640, 400, 15, 0))); in TEST_F()
204 EXPECT_FALSE(c0.Matches(VideoCodec(96, "", 320, 200, 30, 0))); in TEST_F()
207 VideoCodec c1(96, "V", 320, 200, 30, 3); in TEST_F()
208 EXPECT_TRUE(c1.Matches(VideoCodec(96, "V", 640, 400, 15, 0))); in TEST_F()
209 EXPECT_TRUE(c1.Matches(VideoCodec(97, "V", 640, 400, 15, 0))); in TEST_F()
210 EXPECT_TRUE(c1.Matches(VideoCodec(96, "v", 640, 400, 15, 0))); in TEST_F()
211 EXPECT_TRUE(c1.Matches(VideoCodec(97, "v", 640, 400, 15, 0))); in TEST_F()
212 EXPECT_FALSE(c1.Matches(VideoCodec(96, "", 320, 200, 30, 0))); in TEST_F()
213 EXPECT_FALSE(c1.Matches(VideoCodec(95, "V", 640, 400, 15, 0))); in TEST_F()
274 const VideoCodec codec(96, "V", 320, 200, 30, 3); in TEST_F()
275 const VideoCodec rtx_codec(96, "rTx", 320, 200, 30, 3); in TEST_F()
276 const VideoCodec ulpfec_codec(96, "ulpFeC", 320, 200, 30, 3); in TEST_F()
277 const VideoCodec red_codec(96, "ReD", 320, 200, 30, 3); in TEST_F()
278 EXPECT_EQ(VideoCodec::CODEC_VIDEO, codec.GetCodecType()); in TEST_F()
279 EXPECT_EQ(VideoCodec::CODEC_RTX, rtx_codec.GetCodecType()); in TEST_F()
280 EXPECT_EQ(VideoCodec::CODEC_ULPFEC, ulpfec_codec.GetCodecType()); in TEST_F()
281 EXPECT_EQ(VideoCodec::CODEC_RED, red_codec.GetCodecType()); in TEST_F()
285 VideoCodec rtx_codec = VideoCodec::CreateRtxCodec(96, 120); in TEST_F()
287 EXPECT_EQ(VideoCodec::CODEC_RTX, rtx_codec.GetCodecType()); in TEST_F()
295 const VideoCodec codec(96, "V", 320, 200, 30, 3); in TEST_F()
299 VideoCodec low_payload_type = codec; in TEST_F()
301 VideoCodec high_payload_type = codec; in TEST_F()
307 VideoCodec negative_payload_type = codec; in TEST_F()
312 VideoCodec too_high_payload_type = codec; in TEST_F()
317 VideoCodec zero_width = codec; in TEST_F()
322 VideoCodec zero_height = codec; in TEST_F()
327 VideoCodec zero_width_rtx_codec = VideoCodec::CreateRtxCodec(96, 120); in TEST_F()
332 VideoCodec incorrect_bitrates = codec; in TEST_F()
338 VideoCodec equal_bitrates = codec; in TEST_F()
344 VideoCodec different_bitrates = codec; in TEST_F()