Lines Matching refs:VideoCodec

80 using cricket::VideoCodec;
113 static const VideoCodec kVideoCodecs1[] = {
114 VideoCodec(96, "H264-SVC", 320, 200, 30, 2),
115 VideoCodec(97, "H264", 320, 200, 30, 1)
118 static const VideoCodec kVideoCodecs2[] = {
119 VideoCodec(126, "H264", 320, 200, 30, 2),
120 VideoCodec(127, "H263", 320, 200, 30, 1)
123 static const VideoCodec kVideoCodecsAnswer[] = {
124 VideoCodec(97, "H264", 320, 200, 30, 1)
213 static void AddRtxCodec(const VideoCodec& rtx_codec, in AddRtxCodec()
214 std::vector<VideoCodec>* codecs) { in AddRtxCodec()
215 VideoCodec rtx; in AddRtxCodec()
541 const VideoCodec& offered_video_codec = f2_.video_codecs()[0]; in TEST_F()
1553 const VideoCodec kUpdatedVideoCodecOffer[] = { in TEST_F()
1575 std::vector<VideoCodec> f1_codecs = MAKE_VECTOR(kVideoCodecs1); in TEST_F()
1577 AddRtxCodec(VideoCodec::CreateRtxCodec(126, kVideoCodecs1[1].id), &f1_codecs); in TEST_F()
1580 std::vector<VideoCodec> f2_codecs = MAKE_VECTOR(kVideoCodecs2); in TEST_F()
1582 AddRtxCodec(VideoCodec::CreateRtxCodec(125, kVideoCodecs2[0].id), &f2_codecs); in TEST_F()
1593 std::vector<VideoCodec> expected_codecs = MAKE_VECTOR(kVideoCodecsAnswer); in TEST_F()
1594 AddRtxCodec(VideoCodec::CreateRtxCodec(126, kVideoCodecs1[1].id), in TEST_F()
1622 std::vector<VideoCodec> f1_codecs = MAKE_VECTOR(kVideoCodecs1); in TEST_F()
1624 AddRtxCodec(VideoCodec::CreateRtxCodec(126, kVideoCodecs1[1].id), &f1_codecs); in TEST_F()
1645 std::vector<VideoCodec> f2_codecs = MAKE_VECTOR(kVideoCodecs2); in TEST_F()
1648 AddRtxCodec(VideoCodec::CreateRtxCodec(125, used_pl_type), &f2_codecs); in TEST_F()
1668 VideoCodec rtx = updated_vcd->codecs()[1]; in TEST_F()
1679 std::vector<VideoCodec> f1_codecs = MAKE_VECTOR(kVideoCodecs1); in TEST_F()
1681 AddRtxCodec(VideoCodec(126, cricket::kRtxCodecName, 0, 0, 0, 0), &f1_codecs); in TEST_F()
1684 std::vector<VideoCodec> f2_codecs = MAKE_VECTOR(kVideoCodecs2); in TEST_F()
1686 AddRtxCodec(VideoCodec::CreateRtxCodec(125, kVideoCodecs2[0].id), &f2_codecs); in TEST_F()
1699 std::vector<VideoCodec> codecs = desc->codecs(); in TEST_F()
1700 for (std::vector<VideoCodec>::iterator iter = codecs.begin(); in TEST_F()
1723 std::vector<VideoCodec> f1_codecs = MAKE_VECTOR(kVideoCodecs1); in TEST_F()
1725 AddRtxCodec(VideoCodec::CreateRtxCodec(126, kVideoCodecs1[1].id), &f1_codecs); in TEST_F()
1728 std::vector<VideoCodec> f2_codecs = MAKE_VECTOR(kVideoCodecs2); in TEST_F()
1730 AddRtxCodec(VideoCodec::CreateRtxCodec(125, kVideoCodecs2[1].id), &f2_codecs); in TEST_F()
1753 std::vector<VideoCodec> f1_codecs = MAKE_VECTOR(kVideoCodecs1); in TEST_F()
1755 AddRtxCodec(VideoCodec::CreateRtxCodec(125, kVideoCodecs1[0].id), &f1_codecs); in TEST_F()
1759 AddRtxCodec(VideoCodec::CreateRtxCodec(126, kVideoCodecs1[1].id), &f1_codecs); in TEST_F()
1762 std::vector<VideoCodec> f2_codecs = MAKE_VECTOR(kVideoCodecs2); in TEST_F()
1764 AddRtxCodec(VideoCodec::CreateRtxCodec(124, kVideoCodecs2[0].id), &f2_codecs); in TEST_F()
1775 std::vector<VideoCodec> expected_codecs = MAKE_VECTOR(kVideoCodecsAnswer); in TEST_F()
1776 AddRtxCodec(VideoCodec::CreateRtxCodec(126, kVideoCodecs1[1].id), in TEST_F()
1793 std::vector<VideoCodec> f1_codecs; in TEST_F()
1794 f1_codecs.push_back(VideoCodec(97, "H264", 320, 200, 30, 1)); in TEST_F()
1795 AddRtxCodec(VideoCodec::CreateRtxCodec(125, 97), &f1_codecs); in TEST_F()