/external/webrtc/webrtc/base/ |
D | systeminfo.cc | 63 int number_of_cores = 1; in DetectNumberOfCores() local 68 number_of_cores = static_cast<int>(si.dwNumberOfProcessors); in DetectNumberOfCores() 70 number_of_cores = static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in DetectNumberOfCores() 73 size_t size = sizeof(number_of_cores); in DetectNumberOfCores() 74 if (0 != sysctl(name, 2, &number_of_cores, &size, NULL, 0)) { in DetectNumberOfCores() 76 number_of_cores = 1; in DetectNumberOfCores() 82 LOG(LS_INFO) << "Available number of cores: " << number_of_cores; in DetectNumberOfCores() 84 return number_of_cores; in DetectNumberOfCores()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | codec_database.cc | 78 int number_of_cores, in VCMDecoderMapItem() argument 81 number_of_cores(number_of_cores), in VCMDecoderMapItem() 83 assert(number_of_cores >= 0); in VCMDecoderMapItem() 194 int number_of_cores, in SetSendCodec() argument 200 RTC_DCHECK_GE(number_of_cores, 1); in SetSendCodec() 206 if (number_of_cores_ != number_of_cores) { in SetSendCodec() 207 number_of_cores_ = number_of_cores; in SetSendCodec() 432 int number_of_cores, in RegisterReceiveCodec() argument 434 if (number_of_cores < 0) { in RegisterReceiveCodec() 444 new_receive_codec, number_of_cores, require_key_frame); in RegisterReceiveCodec() [all …]
|
D | codec_database.h | 28 int number_of_cores, 32 int number_of_cores; member 59 int number_of_cores, 97 int number_of_cores,
|
/external/webrtc/webrtc/video/ |
D | video_decoder.cc | 60 int32_t number_of_cores) { in InitDecode() argument 62 number_of_cores_ = number_of_cores; in InitDecode() 63 return decoder_->InitDecode(codec_settings, number_of_cores); in InitDecode()
|
D | video_encoder.cc | 91 int32_t number_of_cores, in InitEncode() argument 96 number_of_cores_ = number_of_cores; in InitEncode() 103 encoder_->InitEncode(codec_settings, number_of_cores, max_payload_size); in InitEncode()
|
D | video_send_stream_tests.cc | 1064 int32_t number_of_cores, in TEST_F() argument 1068 return FakeEncoder::InitEncode(config, number_of_cores, max_payload_size); in TEST_F() 1395 int32_t number_of_cores, in TEST_F() argument 1405 return FakeEncoder::InitEncode(config, number_of_cores, max_payload_size); in TEST_F() 1465 int32_t number_of_cores, in InitEncode() argument 1470 return FakeEncoder::InitEncode(config, number_of_cores, max_payload_size); in InitEncode() 1627 int32_t number_of_cores, in TEST_F() argument 1633 config, number_of_cores, max_payload_size); in TEST_F()
|
D | vie_encoder.h | 53 ViEEncoder(uint32_t number_of_cores,
|
D | video_decoder_unittest.cc | 27 int32_t number_of_cores) override { in InitDecode() argument
|
D | vie_encoder.cc | 107 ViEEncoder::ViEEncoder(uint32_t number_of_cores, in ViEEncoder() argument 113 : number_of_cores_(number_of_cores), in ViEEncoder()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.h | 37 int number_of_cores, 70 int NumberOfThreads(int width, int height, int number_of_cores); 140 int InitDecode(const VideoCodec* inst, int number_of_cores) override;
|
D | vp9_impl.cc | 223 int number_of_cores, in InitEncode() argument 238 if (number_of_cores < 1) { in InitEncode() 323 NumberOfThreads(config_->g_w, config_->g_h, number_of_cores); in InitEncode() 374 int number_of_cores) { in NumberOfThreads() argument 377 if (width * height >= 1280 * 720 && number_of_cores > 4) { in NumberOfThreads() 379 } else if (width * height >= 640 * 480 && number_of_cores > 2) { in NumberOfThreads() 850 int VP9DecoderImpl::InitDecode(const VideoCodec* inst, int number_of_cores) { in InitDecode() argument
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.h | 46 int number_of_cores, 72 int NumberOfThreads(int width, int height, int number_of_cores); 129 int InitDecode(const VideoCodec* inst, int number_of_cores) override;
|
D | simulcast_encoder_adapter.cc | 165 int number_of_cores, in InitEncode() argument 167 if (number_of_cores < 1) { in InitEncode() 218 ret = encoder->InitEncode(&stream_codec, number_of_cores, max_payload_size); in InitEncode()
|
D | simulcast_encoder_adapter.h | 41 int number_of_cores,
|
D | vp8_impl.cc | 342 int number_of_cores, in InitEncode() argument 357 if (number_of_cores < 1) { in InitEncode() 543 configurations_[0].g_w, configurations_[0].g_h, number_of_cores); in InitEncode() 1082 int VP8DecoderImpl::InitDecode(const VideoCodec* inst, int number_of_cores) { in InitDecode() argument
|
/external/webrtc/webrtc/ |
D | video_decoder.h | 64 int32_t number_of_cores) = 0; 95 int32_t number_of_cores) override;
|
D | video_encoder.h | 71 int32_t number_of_cores, 140 int32_t number_of_cores,
|
/external/webrtc/webrtc/modules/video_coding/codecs/h264/ |
D | h264_video_toolbox_decoder.h | 34 int InitDecode(const VideoCodec* video_codec, int number_of_cores) override;
|
D | h264_video_toolbox_encoder.h | 36 int number_of_cores,
|
/external/webrtc/webrtc/test/ |
D | configurable_frame_size_encoder.h | 28 int32_t number_of_cores,
|
D | fake_decoder.h | 28 int32_t number_of_cores) override;
|
D | configurable_frame_size_encoder.cc | 36 int32_t number_of_cores, in InitEncode() argument
|
D | fake_encoder.h | 32 int32_t number_of_cores,
|
D | fake_decoder.cc | 21 int32_t number_of_cores) { in InitDecode() argument
|
D | fake_encoder.cc | 41 int32_t number_of_cores, in InitEncode() argument
|