Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dsbc_codec_stub.cc24 static struct cras_audio_codec* sbc_codec;
112 int decode(struct cras_audio_codec* codec, in decode()
122 int encode(struct cras_audio_codec* codec, in encode()
133 struct cras_audio_codec* cras_sbc_codec_create(uint8_t freq, in cras_sbc_codec_create()
140 sbc_codec = (struct cras_audio_codec*)calloc(1, sizeof(*sbc_codec)); in cras_sbc_codec_create()
155 struct cras_audio_codec* cras_msbc_codec_create() { in cras_msbc_codec_create()
157 sbc_codec = (struct cras_audio_codec*)calloc(1, sizeof(*sbc_codec)); in cras_msbc_codec_create()
163 void cras_sbc_codec_destroy(struct cras_audio_codec* codec) { in cras_sbc_codec_destroy()
168 int cras_sbc_get_codesize(struct cras_audio_codec* codec) { in cras_sbc_get_codesize()
172 int cras_sbc_get_frame_length(struct cras_audio_codec* codec) { in cras_sbc_get_frame_length()
Dsbc_codec_stub.h28 struct cras_audio_codec* cras_sbc_codec_create(uint8_t freq,
34 struct cras_audio_codec* cras_msbc_codec_create();
35 void cras_sbc_codec_destroy(struct cras_audio_codec* codec);
36 int cras_sbc_get_codesize(struct cras_audio_codec* codec);
37 int cras_sbc_get_frame_length(struct cras_audio_codec* codec);
Dhfp_info_unittest.cc565 struct cras_audio_codec* codec, in cras_msbc_plc_handle_bad_frames()
/external/adhd/cras/src/common/
Dcras_sbc_codec.c25 int cras_msbc_decode(struct cras_audio_codec *codec, const void *input, in cras_msbc_decode()
44 int cras_msbc_encode(struct cras_audio_codec *codec, const void *input, in cras_msbc_encode()
66 int cras_sbc_decode(struct cras_audio_codec *codec, const void *input, in cras_sbc_decode()
93 int cras_sbc_encode(struct cras_audio_codec *codec, const void *input, in cras_sbc_encode()
121 int cras_sbc_get_codesize(struct cras_audio_codec *codec) in cras_sbc_get_codesize()
127 int cras_sbc_get_frame_length(struct cras_audio_codec *codec) in cras_sbc_get_frame_length()
133 struct cras_audio_codec *cras_msbc_codec_create() in cras_msbc_codec_create()
135 struct cras_audio_codec *codec; in cras_msbc_codec_create()
138 codec = (struct cras_audio_codec *)calloc(1, sizeof(*codec)); in cras_msbc_codec_create()
159 struct cras_audio_codec *cras_sbc_codec_create(uint8_t freq, uint8_t mode, in cras_sbc_codec_create()
[all …]
Dcras_sbc_codec.h22 struct cras_audio_codec *cras_sbc_codec_create(uint8_t freq, uint8_t mode,
28 struct cras_audio_codec *cras_msbc_codec_create();
34 void cras_sbc_codec_destroy(struct cras_audio_codec *codec);
38 int cras_sbc_get_codesize(struct cras_audio_codec *codec);
42 int cras_sbc_get_frame_length(struct cras_audio_codec *codec);
Dcras_audio_codec.h18 struct cras_audio_codec { struct
19 int (*decode)(struct cras_audio_codec *codec, const void *input, argument
22 int (*encode)(struct cras_audio_codec *codec, const void *input, argument
/external/adhd/cras/src/plc/
Dcras_plc.h39 struct cras_audio_codec *codec,
Dcras_plc_test.c87 struct cras_audio_codec *msbc_input = cras_msbc_codec_create(); in plc_experiment()
88 struct cras_audio_codec *msbc_output = cras_msbc_codec_create(); in plc_experiment()
Dcras_plc.c221 struct cras_audio_codec *codec, in cras_msbc_plc_handle_bad_frames()
/external/adhd/cras/src/server/
Dcras_a2dp_info.h26 struct cras_audio_codec *codec;
Dcras_hfp_info.c106 struct cras_audio_codec *msbc_read;
107 struct cras_audio_codec *msbc_write;