Home
last modified time | relevance | path

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

/btstack/3rd-party/lc3-google/fuzz/
H A Defuzz.cc35 int encode(Encoder &e, int nchannels, int frame_size, FuzzedDataProvider &fdp, in encode() function
52 int encode(Encoder &e, int frame_size, int nchannels, in encode() function
99 return encode<int16_t>(enc, nchannels, frame_size, fdp); in LLVMFuzzerTestOneInput()
104 return encode<int32_t>(enc, nchannels, frame_size, fdp, s24_min, s24_max); in LLVMFuzzerTestOneInput()
110 return encode<float>(enc, nchannels, frame_size, fdp, f32_min, f32_max); in LLVMFuzzerTestOneInput()
114 return encode(enc, nchannels, frame_size, fmt, fdp); in LLVMFuzzerTestOneInput()
/btstack/3rd-party/lc3-google/test/
H A Dencoder.py75 def encode(self, pitch_present, nbytes): member in Encoder
92 self.spec.encode(b)
100 data = self.encode(pitch_present, nbytes)
113 data = lc3.encode(enc_c, C.X_PCM[i0][i], C.NBYTES[i0])
H A Dspec.py359 def encode(self, bits): member in SpectrumAnalysis
/btstack/src/classic/
H A Dhfp_codec.c96 static void hfp_codec_init_helper(hfp_codec_t *hfp_codec, void (*encode)(struct hfp_codec *, int16_… in hfp_codec_init_helper()
102 hfp_codec->encode = encode; in hfp_codec_init_helper()
185 hfp_codec->encode(hfp_codec, pcm_samples); in hfp_codec_encode_audio_frame()
H A Dhfp_codec.h97 void (*encode)(struct hfp_codec * hfp_codec, int16_t * pcm_samples); member
/btstack/3rd-party/lc3-google/python/tools/
H A Dspecgram.py72 y[i:i+frame_len] = dec.decode(enc.encode(s[i:i+frame_len], frame_size))
74 y[len(s):] = dec.decode(enc.encode(np.zeros(frame_len), frame_size))
H A Dencoder.py80 f_lc3.write(enc.encode(pcm, frame_size, bitdepth=bitdepth))
/btstack/tool/misc/
H A Dupdate_btstack_config_docu_link.py17 bytes = configuration.encode('utf-8')
H A Dupdate_btstack_config.py101 bytes = configuration.encode('utf-8')
/btstack/tool/
H A Dcreate_packet_log.py160 dumpPacket(fout, timestamp, 0xfc, line.encode('ascii'))
/btstack/3rd-party/lc3-google/src/
H A Dlc3.c337 static void encode(struct lc3_encoder *encoder, in encode() function
454 encode(encoder, &side, nbytes, out); in lc3_encode()
/btstack/3rd-party/lc3-google/python/
H A Dlc3.py238 def encode(self, pcm, nbytes, bitdepth=None): member in Encoder
/btstack/test/security_manager_sc/
H A Dsm_test.py140 self.stdin.write(string.encode('utf-8'))
/btstack/3rd-party/lc3-google/
H A DREADME.md86 The standalone encoder `elc3` take a `wave` file as input and encode it