Lines Matching refs:bitrate
55 uint32_t bitrate = stats_.Rate(now_ms);
56 EXPECT_EQ(0u, bitrate);
61 if (new_bitrate != bitrate) {
62 // New bitrate must be higher than previous one.
63 EXPECT_GT(new_bitrate, bitrate);
66 EXPECT_NEAR(8000000u, bitrate, 80000u);
69 bitrate = new_bitrate;
74 bitrate = stats_.Rate(now_ms);
75 EXPECT_NEAR(8000000u, bitrate, 80000u);
81 if (new_bitrate != bitrate) {
82 // New bitrate must be lower than previous one.
83 EXPECT_LT(new_bitrate, bitrate);
86 EXPECT_EQ(0u, bitrate);
89 bitrate = new_bitrate;