Home
last modified time | relevance | path

Searched refs:number_of_cores (Results 1 – 25 of 31) sorted by relevance

12

/external/webrtc/webrtc/base/
Dsysteminfo.cc63 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/
Dcodec_database.cc78 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 …]
Dcodec_database.h28 int number_of_cores,
32 int number_of_cores; member
59 int number_of_cores,
97 int number_of_cores,
/external/webrtc/webrtc/video/
Dvideo_decoder.cc60 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()
Dvideo_encoder.cc91 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()
Dvideo_send_stream_tests.cc1064 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()
Dvie_encoder.h53 ViEEncoder(uint32_t number_of_cores,
Dvideo_decoder_unittest.cc27 int32_t number_of_cores) override { in InitDecode() argument
Dvie_encoder.cc107 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/
Dvp9_impl.h37 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;
Dvp9_impl.cc223 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/
Dvp8_impl.h46 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;
Dsimulcast_encoder_adapter.cc165 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()
Dsimulcast_encoder_adapter.h41 int number_of_cores,
Dvp8_impl.cc342 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/
Dvideo_decoder.h64 int32_t number_of_cores) = 0;
95 int32_t number_of_cores) override;
Dvideo_encoder.h71 int32_t number_of_cores,
140 int32_t number_of_cores,
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_decoder.h34 int InitDecode(const VideoCodec* video_codec, int number_of_cores) override;
Dh264_video_toolbox_encoder.h36 int number_of_cores,
Dh264_video_toolbox_decoder.cc117 int number_of_cores) { in InitDecode() argument
/external/webrtc/webrtc/test/
Dconfigurable_frame_size_encoder.h28 int32_t number_of_cores,
Dfake_decoder.h28 int32_t number_of_cores) override;
Dconfigurable_frame_size_encoder.cc36 int32_t number_of_cores, in InitEncode() argument
Dfake_encoder.h32 int32_t number_of_cores,
Dfake_decoder.cc21 int32_t number_of_cores) { in InitDecode() argument

12