Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/automotive/evs/common/utils/default/test/fuzz/
H A DFormatConvertFuzzer.cpp30 std::size_t image_pixel_size = size - 4; in LLVMFuzzerTestOneInput() local
31 image_pixel_size = (image_pixel_size & INT_MAX) / 2; in LLVMFuzzerTestOneInput()
35 int max_height = (image_pixel_size / 16) & ~(1); // must be even number in LLVMFuzzerTestOneInput()
37 int width = (image_pixel_size / height) & ~(16); // must be divisible by 16 in LLVMFuzzerTestOneInput()
40 uint32_t* tgt = (uint32_t*)malloc(sizeof(uint32_t) * image_pixel_size); in LLVMFuzzerTestOneInput()