Home
last modified time | relevance | path

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

/system/media/audio_utils/fuzz/sndfile_fuzzer/
Dsndfile_fuzzer.cpp53 size_t getSizeByType(uint32_t input_format) { in getSizeByType() argument
54 switch (input_format) { in getSizeByType()
62 sf_count_t sfReadfWithType(uint32_t input_format, SNDFILE *handle, in sfReadfWithType() argument
64 switch (input_format) { in sfReadfWithType()
77 uint32_t input_format = 0; in LLVMFuzzerTestOneInput() local
79 size_t metadata_size = sizeof(desired_frame_count) + sizeof(input_format); in LLVMFuzzerTestOneInput()
87 idx += parseValue(bytes, idx, &input_format, sizeof(input_format)); in LLVMFuzzerTestOneInput()
90 input_format %= 3; in LLVMFuzzerTestOneInput()
122 getSizeByType(input_format) * desired_frame_count * info.channels; in LLVMFuzzerTestOneInput()
136 read_frame_count = sfReadfWithType(input_format, handle.get(), dst_buffer, in LLVMFuzzerTestOneInput()