Home
last modified time | relevance | path

Searched refs:max_pixels (Results 1 – 16 of 16) sorted by relevance

/external/oss-fuzz/projects/opencv/
Dcore_fuzzer.cc23 bool GetCVImage(const std::string& image_string, const int max_pixels, in GetCVImage() argument
78 const int max_pixels = fuzzed_data_provider.ConsumeIntegral<int>(); in LLVMFuzzerTestOneInput() local
83 cv::Mat cloned_image = GetCVImage(image_string, max_pixels, &original_image) in LLVMFuzzerTestOneInput()
/external/webrtc/media/base/
Dvideo_adapter.cc59 int max_pixels, in FindScale() argument
63 RTC_DCHECK_GT(max_pixels, 0); in FindScale()
64 RTC_DCHECK_GE(max_pixels, target_pixels); in FindScale()
90 if (input_pixels <= max_pixels) { in FindScale()
112 if (output_pixels <= max_pixels) { in FindScale()
/external/webrtc/api/video_codecs/
Dvideo_encoder_software_fallback_wrapper.cc54 codec.width * codec.height <= max_pixels; in SupportsResolutionBasedSwitch()
65 int max_pixels = 320 * 240; member
87 &params.max_pixels, &min_bps) != 3) { in ParseFallbackParamsFromFieldTrials()
92 params.max_pixels < max_pixels_lower_bound || in ParseFallbackParamsFromFieldTrials()
93 params.max_pixels < params.min_pixels || min_bps <= 0) { in ParseFallbackParamsFromFieldTrials()
/external/webrtc/rtc_base/experiments/
Dmin_video_bitrate_experiment.cc45 int max_pixels; // Ignored. in GetFallbackMinBpsFromFieldTrial() local
47 if (sscanf(group.c_str(), "Enabled-%d,%d,%d", &min_pixels, &max_pixels, in GetFallbackMinBpsFromFieldTrial()
/external/libjpeg-turbo/
Drdgif.c412 if (sinfo->max_pixels && in start_input_gif()
413 (unsigned long long)width * height > sinfo->max_pixels) in start_input_gif()
461 if (sinfo->max_pixels && in start_input_gif()
462 (unsigned long long)width * height > sinfo->max_pixels) in start_input_gif()
689 source->pub.max_pixels = 0; in jinit_read_gif()
Drdtarga.c367 if (sinfo->max_pixels && in start_input_tga()
368 (unsigned long long)width * height > sinfo->max_pixels) in start_input_tga()
502 source->pub.max_pixels = 0; in jinit_read_targa()
Dcdjpeg.h40 JDIMENSION max_pixels; member
Drdbmp.c526 if (sinfo->max_pixels && in start_input_bmp()
527 (unsigned long long)biWidth * biHeight > sinfo->max_pixels) in start_input_bmp()
681 source->pub.max_pixels = 0; in jinit_read_bmp()
Drdppm.c590 if (sinfo->max_pixels && (unsigned long long)w * h > sinfo->max_pixels)
773 source->pub.max_pixels = 0;
Dcjpeg.c698 src_mgr->max_pixels = 1048576; in cjpeg()
Dturbojpeg.c2107 src->max_pixels = 1048576; in tjLoadImage()
/external/OpenCL-CTS/test_conformance/allocations/
Dallocation_functions.cpp52 long long unsigned max_pixels = (long long unsigned)max_width * max_height; in find_good_image_size() local
54 if (num_pixels > max_pixels) { in find_good_image_size()
/external/webrtc/video/
Dsend_statistics_proxy.cc100 int max_pixels; in GetFallbackMaxPixels() local
102 if (sscanf(group.c_str(), "-%d,%d,%d", &min_pixels, &max_pixels, &min_bps) != in GetFallbackMaxPixels()
107 if (min_pixels <= 0 || max_pixels <= 0 || max_pixels < min_pixels) in GetFallbackMaxPixels()
110 return absl::optional<int>(max_pixels); in GetFallbackMaxPixels()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_sse2.c249 #define AOM_VAR_NO_LOOP_SSE2(bw, bh, bits, max_pixels) \ argument
257 variance_final_##max_pixels##_pel_sse2(vsse, vsum, sse, &sum); \
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp720 size_t max_pixels = (size_t)maxAllocSize / raw_pixel_size; in get_max_sizes() local
781 double A = max_pixels; in get_max_sizes()
806 double A = max_pixels; in get_max_sizes()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c1881 const uint32_t max_pixels = max_dim_pixels * max_dim_pixels; in framebuffer_size_for_pixel_count() local
1884 if (num_pixels > max_pixels) { in framebuffer_size_for_pixel_count()