Searched refs:PcmFormat (Results 1 – 3 of 3) sorted by relevance
| /liblc3-latest/fuzz/ |
| D | efuzz.cc | 53 PcmFormat fmt, FuzzedDataProvider &fdp) in encode() 56 fmt == PcmFormat::kS16 ? sizeof(int16_t) : in encode() 57 fmt == PcmFormat::kS24 ? sizeof(int32_t) : in encode() 58 fmt == PcmFormat::kS24In3Le ? sizeof(uint8_t) * 3 : in encode() 59 fmt == PcmFormat::kF32 ? sizeof(float) : 0; in encode() 89 PcmFormat fmt = fdp.PickValueInArray( in LLVMFuzzerTestOneInput() 90 { PcmFormat::kS16, PcmFormat::kS24, in LLVMFuzzerTestOneInput() 91 PcmFormat::kS24In3Le, PcmFormat::kF32 }); in LLVMFuzzerTestOneInput() 98 case PcmFormat::kS16: in LLVMFuzzerTestOneInput() 101 case PcmFormat::kS24: { in LLVMFuzzerTestOneInput() [all …]
|
| D | dfuzz.cc | 45 PcmFormat fmt = fdp.PickValueInArray( in LLVMFuzzerTestOneInput() 46 { PcmFormat::kS16, PcmFormat::kS24, in LLVMFuzzerTestOneInput() 47 PcmFormat::kS24In3Le, PcmFormat::kF32 }); in LLVMFuzzerTestOneInput() 54 fmt == PcmFormat::kS16 ? sizeof(int16_t) : in LLVMFuzzerTestOneInput() 55 fmt == PcmFormat::kS24 ? sizeof(int32_t) : in LLVMFuzzerTestOneInput() 56 fmt == PcmFormat::kS24In3Le ? sizeof(uint8_t) * 3 : in LLVMFuzzerTestOneInput() 57 fmt == PcmFormat::kF32 ? sizeof(float) : 0; in LLVMFuzzerTestOneInput()
|
| /liblc3-latest/include/ |
| D | lc3_cpp.h | 42 enum class PcmFormat { enum 95 int EncodeImpl(PcmFormat fmt, const T *pcm, int block_size, uint8_t *out) { in EncodeImpl() 160 return EncodeImpl(PcmFormat::kS16, pcm, block_size, out); in Encode() 164 return EncodeImpl(PcmFormat::kS24, pcm, block_size, out); in Encode() 168 return EncodeImpl(PcmFormat::kF32, pcm, block_size, out); in Encode() 171 int Encode(PcmFormat fmt, const void *pcm, int block_size, uint8_t *out) { in Encode() 175 case PcmFormat::kS16: in Encode() 180 case PcmFormat::kS24: in Encode() 185 case PcmFormat::kS24In3Le: in Encode() 189 case PcmFormat::kF32: in Encode() [all …]
|