Searched refs:cras_audio_codec (Results 1 – 11 of 11) sorted by relevance
/external/adhd/cras/src/tests/ |
D | sbc_codec_stub.cc | 24 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()
|
D | sbc_codec_stub.h | 28 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);
|
D | hfp_info_unittest.cc | 565 struct cras_audio_codec* codec, in cras_msbc_plc_handle_bad_frames()
|
/external/adhd/cras/src/common/ |
D | cras_sbc_codec.c | 25 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 …]
|
D | cras_sbc_codec.h | 22 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);
|
D | cras_audio_codec.h | 18 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/ |
D | cras_plc.h | 39 struct cras_audio_codec *codec,
|
D | cras_plc_test.c | 87 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()
|
D | cras_plc.c | 221 struct cras_audio_codec *codec, in cras_msbc_plc_handle_bad_frames()
|
/external/adhd/cras/src/server/ |
D | cras_a2dp_info.h | 26 struct cras_audio_codec *codec;
|
D | cras_hfp_info.c | 106 struct cras_audio_codec *msbc_read; 107 struct cras_audio_codec *msbc_write;
|