Searched refs:dst_encoding (Results 1 – 2 of 2) sorted by relevance
/system/media/audio_utils/tests/ |
D | format_tests.cpp | 69 const audio_format_t dst_encoding = std::get<1>(param); in TEST_P() local 72 if (!is_common_src_format(src_encoding) && !is_common_dst_format(dst_encoding)) { in TEST_P() 73 printf("skip conversion src:%#x dst:%#x\n", src_encoding, dst_encoding); in TEST_P() 88 printf("trying conversion src:%#x dst:%#x\n", src_encoding, dst_encoding); in TEST_P() 97 check, dst_encoding, in TEST_P() 102 data, dst_encoding, in TEST_P() 104 EXPECT_EQ(0, memcmp(check, data, SAMPLES * audio_bytes_per_sample(dst_encoding))); in TEST_P() 109 data, dst_encoding, SAMPLES); in TEST_P()
|
/system/media/audio_utils/fuzz/format_fuzzer/ |
D | format_fuzzer.cpp | 69 const audio_format_t dst_encoding = formats[dst]; in LLVMFuzzerTestOneInput() local 72 if (!is_common_src_format(src_encoding) && !is_common_dst_format(dst_encoding)) { in LLVMFuzzerTestOneInput() 93 check, dst_encoding, in LLVMFuzzerTestOneInput() 98 databuff, dst_encoding, in LLVMFuzzerTestOneInput() 104 databuff, dst_encoding, size); in LLVMFuzzerTestOneInput()
|