bitrate 126 chrome/browser/extensions/api/serial/serial_api.cc SetDefaultScopedPtrValue(options->bitrate, kDefaultBitrate); bitrate 110 chrome/browser/extensions/api/serial/serial_apitest.cc info->bitrate.reset(new int(9600)); bitrate 20 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool BitrateToSpeedConstant(int bitrate, speed_t* speed) { bitrate 22 chrome/browser/extensions/api/serial/serial_connection_posix.cc switch (bitrate) { bitrate 55 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SpeedConstantToBitrate(speed_t speed, int* bitrate) { bitrate 56 chrome/browser/extensions/api/serial/serial_connection_posix.cc #define SPEED_TO_BITRATE_CASE(x) case B ## x: *bitrate = x; return true; bitrate 90 chrome/browser/extensions/api/serial/serial_connection_posix.cc int bitrate) { bitrate 97 chrome/browser/extensions/api/serial/serial_connection_posix.cc serial.custom_divisor = serial.baud_base / bitrate; bitrate 105 chrome/browser/extensions/api/serial/serial_connection_posix.cc speed_t speed = static_cast<speed_t>(bitrate); bitrate 120 chrome/browser/extensions/api/serial/serial_connection_posix.cc if (options.bitrate.get()) { bitrate 121 chrome/browser/extensions/api/serial/serial_connection_posix.cc if (*options.bitrate >= 0) { bitrate 123 chrome/browser/extensions/api/serial/serial_connection_posix.cc if (BitrateToSpeedConstant(*options.bitrate, &bitrate_opt)) { bitrate 129 chrome/browser/extensions/api/serial/serial_connection_posix.cc *options.bitrate)) { bitrate 253 chrome/browser/extensions/api/serial/serial_connection_posix.cc int bitrate = 0; bitrate 254 chrome/browser/extensions/api/serial/serial_connection_posix.cc if (SpeedConstantToBitrate(ispeed, &bitrate)) { bitrate 255 chrome/browser/extensions/api/serial/serial_connection_posix.cc info->bitrate.reset(new int(bitrate)); bitrate 257 chrome/browser/extensions/api/serial/serial_connection_posix.cc info->bitrate.reset(new int(static_cast<int>(ispeed))); bitrate 15 chrome/browser/extensions/api/serial/serial_connection_win.cc int BitrateToSpeedConstant(int bitrate) { bitrate 17 chrome/browser/extensions/api/serial/serial_connection_win.cc switch (bitrate) { bitrate 36 chrome/browser/extensions/api/serial/serial_connection_win.cc return bitrate; bitrate 140 chrome/browser/extensions/api/serial/serial_connection_win.cc if (options.bitrate.get()) bitrate 141 chrome/browser/extensions/api/serial/serial_connection_win.cc config.BaudRate = BitrateToSpeedConstant(*options.bitrate); bitrate 230 chrome/browser/extensions/api/serial/serial_connection_win.cc info->bitrate.reset(new int(SpeedConstantToBitrate(config.BaudRate))); bitrate 142 chrome/renderer/media/cast_rtp_stream.cc config->bitrate = params.payload.max_bitrate * kBitrateMultiplier; bitrate 49 chrome/utility/media_galleries/ipc_data_source.cc void IPCDataSource::SetBitrate(int bitrate) { bitrate 40 chrome/utility/media_galleries/ipc_data_source.h virtual void SetBitrate(int bitrate) OVERRIDE; bitrate 162 content/common/gpu/client/gpu_video_encode_accelerator_host.cc uint32 bitrate, bitrate 169 content/common/gpu/client/gpu_video_encode_accelerator_host.cc encoder_route_id_, bitrate, framerate)); bitrate 65 content/common/gpu/client/gpu_video_encode_accelerator_host.h virtual void RequestEncodingParametersChange(uint32 bitrate, bitrate 230 content/common/gpu/media/android_video_encode_accelerator.cc uint32 bitrate, bitrate 232 content/common/gpu/media/android_video_encode_accelerator.cc DVLOG(3) << __PRETTY_FUNCTION__ << ": bitrate: " << bitrate bitrate 235 content/common/gpu/media/android_video_encode_accelerator.cc if (bitrate != last_set_bitrate_) { bitrate 236 content/common/gpu/media/android_video_encode_accelerator.cc last_set_bitrate_ = bitrate; bitrate 237 content/common/gpu/media/android_video_encode_accelerator.cc media_codec_->SetVideoBitrate(bitrate); bitrate 50 content/common/gpu/media/android_video_encode_accelerator.h virtual void RequestEncodingParametersChange(uint32 bitrate, bitrate 321 content/common/gpu/media/exynos_video_encode_accelerator.cc uint32 bitrate, bitrate 323 content/common/gpu/media/exynos_video_encode_accelerator.cc DVLOG(3) << "RequestEncodingParametersChange(): bitrate=" << bitrate bitrate 332 content/common/gpu/media/exynos_video_encode_accelerator.cc bitrate, bitrate 1126 content/common/gpu/media/exynos_video_encode_accelerator.cc uint32 bitrate, bitrate 1128 content/common/gpu/media/exynos_video_encode_accelerator.cc DVLOG(3) << "RequestEncodingParametersChangeTask(): bitrate=" << bitrate bitrate 1132 content/common/gpu/media/exynos_video_encode_accelerator.cc if (bitrate < 1) bitrate 1133 content/common/gpu/media/exynos_video_encode_accelerator.cc bitrate = 1; bitrate 1142 content/common/gpu/media/exynos_video_encode_accelerator.cc ctrls[0].value = bitrate; bitrate 52 content/common/gpu/media/exynos_video_encode_accelerator.h virtual void RequestEncodingParametersChange(uint32 bitrate, bitrate 175 content/common/gpu/media/exynos_video_encode_accelerator.h void RequestEncodingParametersChangeTask(uint32 bitrate, uint32 framerate); bitrate 263 content/common/gpu/media/gpu_video_encode_accelerator.cc uint32 bitrate, bitrate 266 content/common/gpu/media/gpu_video_encode_accelerator.cc "bitrate=" << bitrate bitrate 270 content/common/gpu/media/gpu_video_encode_accelerator.cc encoder_->RequestEncodingParametersChange(bitrate, framerate); bitrate 77 content/common/gpu/media/gpu_video_encode_accelerator.h void OnRequestEncodingParametersChange(uint32 bitrate, uint32 framerate); bitrate 660 content/common/gpu/media/video_encode_accelerator_unittest.cc unsigned int bitrate = bitrate 662 content/common/gpu/media/video_encode_accelerator_unittest.cc DVLOG(1) << "Final bitrate: " << bitrate bitrate 665 content/common/gpu/media/video_encode_accelerator_unittest.cc EXPECT_NEAR(bitrate, bitrate 225 content/renderer/media/buffered_data_source.cc void BufferedDataSource::SetBitrate(int bitrate) { bitrate 229 content/renderer/media/buffered_data_source.cc bitrate)); bitrate 297 content/renderer/media/buffered_data_source.cc void BufferedDataSource::SetBitrateTask(int bitrate) { bitrate 301 content/renderer/media/buffered_data_source.cc bitrate_ = bitrate; bitrate 302 content/renderer/media/buffered_data_source.cc loader_->SetBitrate(bitrate); bitrate 93 content/renderer/media/buffered_data_source.h virtual void SetBitrate(int bitrate) OVERRIDE; bitrate 116 content/renderer/media/buffered_data_source.h void SetBitrateTask(int bitrate); bitrate 57 content/renderer/media/buffered_resource_loader.cc static void ComputeTargetBufferWindow(float playback_rate, int bitrate, bitrate 67 content/renderer/media/buffered_resource_loader.cc if (bitrate <= 0) bitrate 68 content/renderer/media/buffered_resource_loader.cc bitrate = kDefaultBitrate; bitrate 69 content/renderer/media/buffered_resource_loader.cc bitrate = std::min(bitrate, kMaxBitrate); bitrate 82 content/renderer/media/buffered_resource_loader.cc int bytes_per_second = (bitrate / 8.0) * playback_rate; bitrate 103 content/renderer/media/buffered_resource_loader.cc int bitrate, bitrate 125 content/renderer/media/buffered_resource_loader.cc bitrate_(bitrate), bitrate 579 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::SetBitrate(int bitrate) { bitrate 580 content/renderer/media/buffered_resource_loader.cc DCHECK(bitrate >= 0); bitrate 581 content/renderer/media/buffered_resource_loader.cc bitrate_ = bitrate; bitrate 94 content/renderer/media/buffered_resource_loader.h int bitrate, bitrate 193 content/renderer/media/buffered_resource_loader.h void SetBitrate(int bitrate); bitrate 54 content/renderer/media/rtc_video_encoder.cc uint32 bitrate, bitrate 72 content/renderer/media/rtc_video_encoder.cc void RequestEncodingParametersChange(uint32 bitrate, uint32 framerate); bitrate 179 content/renderer/media/rtc_video_encoder.cc uint32 bitrate, bitrate 189 content/renderer/media/rtc_video_encoder.cc if (bitrate > kuint32max / 1000) { bitrate 203 content/renderer/media/rtc_video_encoder.cc bitrate * 1000, bitrate 263 content/renderer/media/rtc_video_encoder.cc void RTCVideoEncoder::Impl::RequestEncodingParametersChange(uint32 bitrate, bitrate 265 content/renderer/media/rtc_video_encoder.cc DVLOG(3) << "Impl::RequestEncodingParametersChange(): bitrate=" << bitrate bitrate 270 content/renderer/media/rtc_video_encoder.cc if (bitrate > kuint32max / 1000) { bitrate 276 content/renderer/media/rtc_video_encoder.cc video_encoder_->RequestEncodingParametersChange(bitrate * 1000, framerate); bitrate 1061 media/base/container_names.cc int bitrate; bitrate 1064 media/base/container_names.cc bitrate = kBitRateTableV1L1[bitrate_index]; bitrate 1066 media/base/container_names.cc bitrate = kBitRateTableV1L2[bitrate_index]; bitrate 1068 media/base/container_names.cc bitrate = kBitRateTableV1L3[bitrate_index]; bitrate 1071 media/base/container_names.cc bitrate = kBitRateTableV2L1[bitrate_index]; bitrate 1073 media/base/container_names.cc bitrate = kBitRateTableV2L23[bitrate_index]; bitrate 1076 media/base/container_names.cc *framesize = ((12000 * bitrate) / sampling_rate + padding) * 4; bitrate 1078 media/base/container_names.cc *framesize = (144000 * bitrate) / sampling_rate + padding; bitrate 1079 media/base/container_names.cc return (bitrate > 0 && sampling_rate > 0); bitrate 59 media/base/data_source.h virtual void SetBitrate(int bitrate) = 0; bitrate 184 media/cast/audio_sender/audio_encoder.cc int bitrate, bitrate 206 media/cast/audio_sender/audio_encoder.cc if (bitrate <= 0) { bitrate 211 media/cast/audio_sender/audio_encoder.cc bitrate = OPUS_AUTO; bitrate 213 media/cast/audio_sender/audio_encoder.cc CHECK_EQ(opus_encoder_ctl(opus_encoder_, OPUS_SET_BITRATE(bitrate)), bitrate 331 media/cast/audio_sender/audio_encoder.cc audio_config.bitrate, bitrate 136 media/cast/audio_sender/audio_encoder_unittest.cc audio_config.bitrate = kDefaultAudioEncoderBitrate; bitrate 68 media/cast/audio_sender/audio_sender_unittest.cc audio_config_.bitrate = kDefaultAudioEncoderBitrate; bitrate 45 media/cast/cast_config.h int bitrate; // Set to <= 0 for "auto variable bitrate" (libopus knows best). bitrate 447 media/cast/rtcp/rtcp_receiver.cc << rtcp_field.remb_item.bitrate; bitrate 99 media/cast/rtcp/rtcp_sender.h inline void BitrateToRembExponentBitrate(uint32 bitrate, bitrate 105 media/cast/rtcp/rtcp_sender.h if (bitrate <= (262143u << i)) { bitrate 110 media/cast/rtcp/rtcp_sender.h *mantissa = (bitrate >> *exponent); bitrate 853 media/cast/rtcp/rtcp_utility.cc field_.remb_item.bitrate = (br_mantissa << br_exp); bitrate 133 media/cast/rtcp/rtcp_utility.h uint32 bitrate; bitrate 435 media/cast/test/end2end_unittest.cc audio_sender_config_.bitrate = kDefaultAudioEncoderBitrate; bitrate 81 media/cast/test/fake_video_encode_accelerator.cc uint32 bitrate, bitrate 40 media/cast/test/fake_video_encode_accelerator.h virtual void RequestEncodingParametersChange(uint32 bitrate, bitrate 166 media/cast/test/sender.cc audio_config.bitrate = 64000; bitrate 521 media/filters/ffmpeg_demuxer.cc int bitrate = 0; bitrate 524 media/filters/ffmpeg_demuxer.cc bitrate += codec_context->bit_rate; bitrate 526 media/filters/ffmpeg_demuxer.cc if (bitrate > 0) bitrate 527 media/filters/ffmpeg_demuxer.cc return bitrate; bitrate 63 media/filters/file_data_source.cc void FileDataSource::SetBitrate(int bitrate) {} bitrate 33 media/filters/file_data_source.h virtual void SetBitrate(int bitrate) OVERRIDE; bitrate 164 media/formats/mpeg/mp3_stream_parser.cc int bitrate = kBitrateMap[bitrate_index][kVersionLayerMap[version][layer]]; bitrate 166 media/formats/mpeg/mp3_stream_parser.cc if (bitrate == 0) { bitrate 174 media/formats/mpeg/mp3_stream_parser.cc DVLOG(2) << " bitrate " << bitrate; bitrate 220 media/formats/mpeg/mp3_stream_parser.cc *frame_size = 4 * (12 * bitrate * 1000 / frame_sample_rate); bitrate 223 media/formats/mpeg/mp3_stream_parser.cc ((samples_per_frame / 8) * bitrate * 1000) / frame_sample_rate; bitrate 57 media/formats/webm/chromeos/webm_encoder.cc int bitrate, bitrate 59 media/formats/webm/chromeos/webm_encoder.cc : bitrate_(bitrate), bitrate 39 media/formats/webm/chromeos/webm_encoder.h WebmEncoder(const base::FilePath& output_path, int bitrate, bool realtime); bitrate 59 media/tools/player_x11/data_source_logger.cc void DataSourceLogger::SetBitrate(int bitrate) { bitrate 60 media/tools/player_x11/data_source_logger.cc VLOG(1) << "SetBitrate(" << bitrate << ")"; bitrate 61 media/tools/player_x11/data_source_logger.cc data_source_->SetBitrate(bitrate); bitrate 31 media/tools/player_x11/data_source_logger.h virtual void SetBitrate(int bitrate) OVERRIDE; bitrate 137 media/video/video_encode_accelerator.h virtual void RequestEncodingParametersChange(uint32 bitrate, bitrate 23 net/quic/congestion_control/fix_rate_receiver.cc feedback->fix_rate.bitrate = configured_rate_; bitrate 45 net/quic/congestion_control/fix_rate_sender.cc bitrate_ = feedback.fix_rate.bitrate; bitrate 51 net/quic/congestion_control/fix_rate_test.cc EXPECT_EQ(300000u, feedback.fix_rate.bitrate.ToBytesPerSecond()); bitrate 57 net/quic/congestion_control/fix_rate_test.cc feedback.fix_rate.bitrate = QuicBandwidth::FromKBytesPerSecond(300); bitrate 86 net/quic/congestion_control/fix_rate_test.cc const QuicBandwidth bitrate = QuicBandwidth::FromKBytesPerSecond(240); bitrate 110 net/quic/congestion_control/fix_rate_test.cc EXPECT_EQ(num_packets * packet_size * 1000000 / bitrate.ToBytesPerSecond(), bitrate 147 net/quic/quic_connection_logger.cc frame->fix_rate.bitrate.ToBytesPerSecond()); bitrate 2538 net/quic/quic_connection_test.cc info.fix_rate.bitrate = QuicBandwidth::FromBytesPerSecond(123); bitrate 2543 net/quic/quic_connection_test.cc EXPECT_EQ(info.fix_rate.bitrate, last_feedback()->fix_rate.bitrate); bitrate 1555 net/quic/quic_framer.cc uint32 bitrate = 0; bitrate 1556 net/quic/quic_framer.cc if (!reader_->ReadUInt32(&bitrate)) { bitrate 1560 net/quic/quic_framer.cc frame->fix_rate.bitrate = QuicBandwidth::FromBytesPerSecond(bitrate); bitrate 2282 net/quic/quic_framer.cc if (!writer->WriteUInt32(fix_rate.bitrate.ToBytesPerSecond())) { bitrate 2898 net/quic/quic_framer_test.cc frame.fix_rate.bitrate.ToBytesPerSecond()); bitrate 4554 net/quic/quic_framer_test.cc congestion_feedback_frame.fix_rate.bitrate bitrate 137 net/quic/quic_packet_generator_test.cc frame->fix_rate.bitrate = QuicBandwidth::FromBytesPerSecond(42); bitrate 506 net/quic/quic_protocol.cc << congestion_frame.fix_rate.bitrate.ToBytesPerSecond(); bitrate 519 net/quic/quic_protocol.cc : bitrate(QuicBandwidth::Zero()) { bitrate 702 net/quic/quic_protocol.h QuicBandwidth bitrate;