Home
last modified time | relevance | path

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

12

/external/webrtc/system_wrappers/source/
Dcpu_info.cc27 int number_of_cores; in DetectNumberOfCores() local
32 number_of_cores = static_cast<int>(si.dwNumberOfProcessors); in DetectNumberOfCores()
34 number_of_cores = static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in DetectNumberOfCores()
35 if (number_of_cores < 0) { in DetectNumberOfCores()
37 number_of_cores = 1; in DetectNumberOfCores()
41 size_t size = sizeof(number_of_cores); in DetectNumberOfCores()
42 if (0 != sysctl(name, 2, &number_of_cores, &size, NULL, 0)) { in DetectNumberOfCores()
44 number_of_cores = 1; in DetectNumberOfCores()
47 number_of_cores = zx_system_get_num_cpus(); in DetectNumberOfCores()
50 number_of_cores = 1; in DetectNumberOfCores()
[all …]
/external/webrtc/modules/video_coding/
Ddecoder_database.cc19 int number_of_cores, in VCMDecoderMapItem() argument
22 number_of_cores(number_of_cores), in VCMDecoderMapItem()
24 RTC_DCHECK_GE(number_of_cores, 0); in VCMDecoderMapItem()
78 int number_of_cores, in RegisterReceiveCodec() argument
80 if (number_of_cores < 0) { in RegisterReceiveCodec()
87 new_receive_codec, number_of_cores, require_key_frame); in RegisterReceiveCodec()
173 decoder_item->number_of_cores); in CreateAndInitDecoder()
Ddecoder_database.h24 int number_of_cores,
29 int number_of_cores; member
52 int number_of_cores,
/external/webrtc/api/video_codecs/
Dvideo_encoder.h309 int number_of_cores, in Settings()
312 number_of_cores(number_of_cores), in Settings()
316 int number_of_cores; member
353 int32_t number_of_cores,
Dvideo_decoder_software_fallback_wrapper.cc43 int32_t number_of_cores) override;
99 int32_t number_of_cores) { in InitDecode() argument
101 number_of_cores_ = number_of_cores; in InitDecode()
Dvideo_encoder.cc285 int32_t number_of_cores, in InitEncode() argument
288 const VideoEncoder::Settings settings(capabilities, number_of_cores, in InitEncode()
303 return InitEncode(codec_settings, settings.number_of_cores, in InitEncode()
Dvideo_decoder.h48 int32_t number_of_cores) = 0;
/external/webrtc/video/
Dframe_dumping_decoder.cc28 int32_t number_of_cores) override;
53 int32_t number_of_cores) { in InitDecode() argument
55 return decoder_->InitDecode(codec_settings, number_of_cores); in InitDecode()
Dvideo_stream_decoder_impl_unittest.cc47 (const VideoCodec*, int32_t number_of_cores),
88 int32_t number_of_cores) override { in InitDecode() argument
89 return decoder_->InitDecode(codec_settings, number_of_cores); in InitDecode()
/external/webrtc/api/video/
Dvideo_stream_encoder_create.cc23 uint32_t number_of_cores, in CreateVideoStreamEncoder() argument
27 clock, number_of_cores, encoder_stats_observer, settings, in CreateVideoStreamEncoder()
Dvideo_stream_encoder_create.h32 uint32_t number_of_cores,
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_decoder.cc44 int number_of_cores) override;
77 int number_of_cores) { in InitDecode() argument
79 static_cast<unsigned int>(number_of_cores), // Max # of threads. in InitDecode()
Dlibaom_av1_encoder.cc53 int GetCpuSpeed(int width, int height, int number_of_cores) { in GetCpuSpeed() argument
56 if (number_of_cores > 2 && width * height <= 320 * 180) in GetCpuSpeed()
151 if (settings.number_of_cores < 1) { in InitEncode()
184 cfg_.g_threads = settings.number_of_cores; in InitEncode()
220 GetCpuSpeed(cfg_.g_w, cfg_.g_h, settings.number_of_cores)); in InitEncode()
/external/webrtc/test/
Dvideo_decoder_proxy_factory.h56 int32_t number_of_cores) override { in InitDecode() argument
57 return decoder_->InitDecode(config, number_of_cores); in InitDecode()
Dfake_vp8_decoder.h30 int32_t number_of_cores) override;
Dfake_decoder.h33 int32_t number_of_cores) override;
Dfake_vp8_decoder.cc43 int32_t number_of_cores) { in InitDecode() argument
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.h59 int NumberOfThreads(int width, int height, int number_of_cores);
198 int InitDecode(const VideoCodec* inst, int number_of_cores) override;
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_decoder.h32 int InitDecode(const VideoCodec* inst, int number_of_cores) override;
/external/webrtc/api/test/
Dmock_video_decoder.h42 (const VideoCodec* codec_settings, int32_t number_of_cores),
/external/webrtc/sdk/objc/native/src/
Dobjc_video_decoder_factory.mm39 int32_t InitDecode(const VideoCodec *codec_settings, int32_t number_of_cores) override {
40 return [decoder_ startDecodeWithNumberOfCores:number_of_cores];
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_decoder_impl.h66 int32_t number_of_cores) override;
/external/webrtc/sdk/android/src/jni/
Dvideo_decoder_wrapper.cc58 int32_t number_of_cores) { in InitDecode() argument
62 number_of_cores_ = number_of_cores; in InitDecode()
/external/webrtc/test/pc/e2e/analyzer/video/
Dquality_analyzing_video_decoder.cc47 int32_t number_of_cores) { in InitDecode() argument
48 return delegate_->InitDecode(codec_settings, number_of_cores); in InitDecode()
/external/webrtc/modules/video_coding/codecs/multiplex/include/
Dmultiplex_decoder_adapter.h35 int32_t number_of_cores) override;

12