/external/bluetooth/bluez/audio/ |
H A D | gstbluetooth.c | 33 #include <sbc.h> 42 static GstStaticCaps sbc_caps = GST_STATIC_CAPS("audio/x-sbc"); 50 sbc_t sbc; local 56 if (sbc_init(&sbc, 0) < 0) 61 if (sbc_parse(&sbc, aux, 32) < 0) 64 caps = gst_sbc_parse_caps_from_sbc(&sbc); 70 sbc_finish(&sbc); 73 static gchar *sbc_exts[] = { "sbc", NULL }; 79 if (gst_type_find_register(plugin, "sbc",
|
H A D | gstsbcdec.h | 26 #include "sbc.h" 55 sbc_t sbc; member in struct:_GstSbcDec
|
H A D | gstsbcparse.h | 26 #include "sbc.h" 52 sbc_t sbc; member in struct:_GstSbcParse
|
H A D | gstsbcenc.h | 27 #include "sbc.h" 64 sbc_t sbc; member in struct:_GstSbcEnc
|
H A D | gstsbcutil.c | 288 GstCaps *gst_sbc_parse_caps_from_sbc(sbc_t *sbc) argument 294 mode_str = gst_sbc_parse_mode_from_sbc(sbc->mode); 295 allocation_str = gst_sbc_parse_allocation_from_sbc(sbc->allocation); 296 caps = gst_caps_new_simple("audio/x-sbc", 298 gst_sbc_parse_rate_from_sbc(sbc->frequency), 300 gst_sbc_get_channel_number(sbc->mode), 303 gst_sbc_parse_subbands_from_sbc(sbc->subbands), 305 gst_sbc_parse_blocks_from_sbc(sbc->blocks), 307 "bitpool", G_TYPE_INT, sbc->bitpool, 439 result = gst_caps_new_simple("audio/x-sbc", 482 gst_sbc_util_fill_sbc_params(sbc_t *sbc, GstCaps *caps) argument [all...] |
H A D | gstavdtpsink.c | 72 #define IS_SBC(n) (strcmp((n), "audio/x-sbc") == 0) 283 "was expecting sbc", name); 444 GstAvdtpSink *self, sbc_capabilities_t *sbc) 451 structure = gst_structure_empty_new("audio/x-sbc"); 456 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_MONO) { 460 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_STEREO) { 464 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL) { 468 if (sbc->channel_mode & BT_A2DP_CHANNEL_MODE_JOINT_STEREO) { 482 if (sbc->subbands & BT_A2DP_SUBBANDS_4) { 486 if (sbc 443 gst_avdtp_sink_parse_sbc_caps( GstAvdtpSink *self, sbc_capabilities_t *sbc) argument 735 sbc_capabilities_t *sbc; local [all...] |
H A D | liba2dp.c | 46 #include "sbc.h" 135 sbc_t sbc; /* Codec data */ member in struct:bluetooth_data 436 sbc_reinit(&data->sbc, 0); 439 data->sbc.frequency = SBC_FREQ_16000; 442 data->sbc.frequency = SBC_FREQ_32000; 445 data->sbc.frequency = SBC_FREQ_44100; 448 data->sbc.frequency = SBC_FREQ_48000; 451 data->sbc.mode = SBC_MODE_MONO; 454 data->sbc.mode = SBC_MODE_DUAL_CHANNEL; 457 data->sbc [all...] |
H A D | unix.c | 474 static void print_sbc(struct sbc_codec_cap *sbc) argument 482 sbc->channel_mode & SBC_CHANNEL_MODE_MONO ? "Mono " : "", 483 sbc->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL ? 485 sbc->channel_mode & SBC_CHANNEL_MODE_STEREO ? "Stereo " : "", 486 sbc->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO ? "JointStereo" : "", 487 sbc->frequency & SBC_SAMPLING_FREQ_16000 ? "16Khz " : "", 488 sbc->frequency & SBC_SAMPLING_FREQ_32000 ? "32Khz " : "", 489 sbc->frequency & SBC_SAMPLING_FREQ_44100 ? "44.1Khz " : "", 490 sbc->frequency & SBC_SAMPLING_FREQ_48000 ? "48Khz " : "", 491 sbc 519 sbc_capabilities_t *sbc = (void *) codec; local 1508 sbc_capabilities_t *sbc = (void *) &req->codec; local [all...] |
H A D | pcm_bluetooth.c | 44 #include "sbc.h" 97 sbc_t sbc; /* Codec data */ member in struct:bluetooth_a2dp 309 sbc_finish(&a2dp->sbc); 625 sbc_reinit(&a2dp->sbc, 0); 627 sbc_init(&a2dp->sbc, 0); 631 a2dp->sbc.frequency = SBC_FREQ_16000; 634 a2dp->sbc.frequency = SBC_FREQ_32000; 637 a2dp->sbc.frequency = SBC_FREQ_44100; 640 a2dp->sbc.frequency = SBC_FREQ_48000; 643 a2dp->sbc [all...] |
/external/bluetooth/bluez/sbc/ |
H A D | sbcdec.c | 40 #include "sbc.h" 51 sbc_t sbc; local 101 sbc_init(&sbc, 0L); 102 sbc.endian = SBC_BE; 104 framelen = sbc_decode(&sbc, stream, streamlen, buf, sizeof(buf), &len); 105 channels = sbc.mode == SBC_MODE_MONO ? 1 : 2; 106 switch (sbc.frequency) { 129 filename, frequency, sbc.subbands * 4 + 4, sbc.bitpool, 130 sbc [all...] |
H A D | sbcenc.c | 39 #include "sbc.h" 51 sbc_t sbc; local 90 sbc_init(&sbc, 0L); 94 sbc.frequency = SBC_FREQ_16000; 97 sbc.frequency = SBC_FREQ_32000; 100 sbc.frequency = SBC_FREQ_44100; 103 sbc.frequency = SBC_FREQ_48000; 109 sbc.subbands = subbands == 4 ? SBC_SB_4 : SBC_SB_8; 112 sbc.mode = SBC_MODE_MONO; 119 sbc [all...] |
H A D | sbc.c | 49 #include "sbc.h" 912 static void sbc_set_defaults(sbc_t *sbc, unsigned long flags) argument 914 sbc->frequency = SBC_FREQ_44100; 915 sbc->mode = SBC_MODE_STEREO; 916 sbc->subbands = SBC_SB_8; 917 sbc->blocks = SBC_BLK_16; 918 sbc->bitpool = 32; 920 sbc->endian = SBC_LE; 922 sbc->endian = SBC_BE; 928 int sbc_init(sbc_t *sbc, unsigne argument 949 sbc_parse(sbc_t *sbc, const void *input, size_t input_len) argument 954 sbc_decode(sbc_t *sbc, const void *input, size_t input_len, void *output, size_t output_len, size_t *written) argument 1020 sbc_encode(sbc_t *sbc, const void *input, size_t input_len, void *output, size_t output_len, ssize_t *written) argument 1106 sbc_finish(sbc_t *sbc) argument 1116 sbc_get_frame_length(sbc_t *sbc) argument 1142 sbc_get_frame_duration(sbc_t *sbc) argument 1180 sbc_get_codesize(sbc_t *sbc) argument 1199 sbc_get_implementation_info(sbc_t *sbc) argument 1213 sbc_reinit(sbc_t *sbc, unsigned long flags) argument [all...] |
/external/bluetooth/bluez/test/ |
H A D | ipctest.c | 44 #include "sbc.h" 77 sbc_t sbc; /* Codec data */ member in struct:a2dp_info 488 sbc_reinit(&a2dp->sbc, 0); 490 sbc_init(&a2dp->sbc, 0); 495 a2dp->sbc.frequency = SBC_FREQ_16000; 498 a2dp->sbc.frequency = SBC_FREQ_32000; 501 a2dp->sbc.frequency = SBC_FREQ_44100; 504 a2dp->sbc.frequency = SBC_FREQ_48000; 512 a2dp->sbc.mode = SBC_MODE_MONO; 515 a2dp->sbc [all...] |
/external/bluetooth/bluez/tools/ |
H A D | avinfo.c | 344 static void print_sbc(struct sbc_codec_cap *sbc) argument 348 if (sbc->channel_mode & SBC_CHANNEL_MODE_MONO) 350 if (sbc->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL) 352 if (sbc->channel_mode & SBC_CHANNEL_MODE_STEREO) 354 if (sbc->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO) 358 if (sbc->frequency & SBC_SAMPLING_FREQ_16000) 360 if (sbc->frequency & SBC_SAMPLING_FREQ_32000) 362 if (sbc->frequency & SBC_SAMPLING_FREQ_44100) 364 if (sbc->frequency & SBC_SAMPLING_FREQ_48000) 368 if (sbc [all...] |
/external/v8/src/arm/ |
H A D | assembler-arm.cc | 951 void Assembler::sbc(Register dst, Register src1, const Operand& src2, function in class:v8::internal::Assembler
|
H A D | assembler-thumb2.cc | 931 void Assembler::sbc(Register dst, Register src1, const Operand& src2, function in class:v8::internal::Assembler
|