Lines Matching refs:sbc
171 enc->sbc.frequency = SBC_FREQ_16000; in gst_sbc_enc_set_format()
173 enc->sbc.frequency = SBC_FREQ_32000; in gst_sbc_enc_set_format()
175 enc->sbc.frequency = SBC_FREQ_44100; in gst_sbc_enc_set_format()
177 enc->sbc.frequency = SBC_FREQ_48000; in gst_sbc_enc_set_format()
182 enc->sbc.blocks = SBC_BLK_4; in gst_sbc_enc_set_format()
184 enc->sbc.blocks = SBC_BLK_8; in gst_sbc_enc_set_format()
186 enc->sbc.blocks = SBC_BLK_12; in gst_sbc_enc_set_format()
188 enc->sbc.blocks = SBC_BLK_16; in gst_sbc_enc_set_format()
192 enc->sbc.subbands = (enc->subbands == 4) ? SBC_SB_4 : SBC_SB_8; in gst_sbc_enc_set_format()
193 enc->sbc.bitpool = enc->bitpool; in gst_sbc_enc_set_format()
199 enc->sbc.mode = SBC_MODE_JOINT_STEREO; in gst_sbc_enc_set_format()
201 enc->sbc.mode = SBC_MODE_STEREO; in gst_sbc_enc_set_format()
203 enc->sbc.mode = SBC_MODE_DUAL_CHANNEL; in gst_sbc_enc_set_format()
205 enc->sbc.mode = SBC_MODE_MONO; in gst_sbc_enc_set_format()
207 enc->sbc.mode = SBC_MODE_JOINT_STEREO; in gst_sbc_enc_set_format()
212 enc->sbc.allocation = SBC_AM_LOUDNESS; in gst_sbc_enc_set_format()
214 enc->sbc.allocation = SBC_AM_SNR; in gst_sbc_enc_set_format()
260 frame_len = sbc_get_frame_length (&enc->sbc); in gst_sbc_enc_handle_frame()
272 ret = sbc_encode (&enc->sbc, in_map.data + (i * samples_per_frame * 2), in gst_sbc_enc_handle_frame()
318 sbc_init (&enc->sbc, 0); in gst_sbc_enc_start()
329 sbc_finish (&enc->sbc); in gst_sbc_enc_stop()