Home
last modified time | relevance | path

Searched refs:min_bit_rate (Results 1 – 5 of 5) sorted by relevance

/external/openscreen/cast/streaming/
Danswer_messages.cc222 if (!json::ParseAndValidateInt(root[kMinBitRate], &(out->min_bit_rate))) { in ParseAndValidate()
223 out->min_bit_rate = kDefaultAudioMinBitRate; in ParseAndValidate()
233 root[kMinBitRate] = min_bit_rate; in ToJson()
242 return max_sample_rate > 0 && max_channels > 0 && min_bit_rate > 0 && in IsValid()
243 max_bit_rate >= min_bit_rate; in IsValid()
291 if (!json::ParseAndValidateInt(root[kMinBitRate], &(out->min_bit_rate))) { in ParseAndValidate()
292 out->min_bit_rate = kDefaultVideoMinBitRate; in ParseAndValidate()
298 return max_pixels_per_second > 0 && min_bit_rate > 0 && in IsValid()
299 max_bit_rate > min_bit_rate && in IsValid()
310 root[kMinBitRate] = min_bit_rate; in ToJson()
Danswer_messages.h44 int min_bit_rate = 0; // optional member
67 int min_bit_rate = 0; // optional member
Danswer_messages_unittest.cc134 EXPECT_EQ(32000, audio.min_bit_rate); in ExpectEqualsValidAnswerJson()
147 EXPECT_EQ(300000, video.min_bit_rate); in ExpectEqualsValidAnswerJson()
298 invalid_audio.constraints->audio.min_bit_rate - 1; in TEST()
428 EXPECT_EQ(32000, answer.constraints->audio.min_bit_rate); in TEST()
429 EXPECT_EQ(300000, answer.constraints->video.min_bit_rate); in TEST()
486 invalid_min_bit_rate.min_bit_rate = 0; in TEST()
489 invalid_max_bit_rate.max_bit_rate = invalid_max_bit_rate.min_bit_rate - 1; in TEST()
Dcapture_recommendations.cc93 std::max(constraints.audio.min_bit_rate, kDefaultAudioMinBitRate), in ApplyConstraints()
108 BitRateLimits{std::max(constraints.video.min_bit_rate, in ApplyConstraints()
/external/kernel-headers/original/uapi/sound/
Dcompress_params.h276 __u32 min_bit_rate; member