Lines Matching refs:sbc
324 SBCDecContext *sbc = avctx->priv_data; in sbc_decode_init() local
329 sbc->frame.crc_ctx = av_crc_get_table(AV_CRC_8_EBU); in sbc_decode_init()
331 memset(sbc->dsp.V, 0, sizeof(sbc->dsp.V)); in sbc_decode_init()
333 for (i = 0; i < FF_ARRAY_ELEMS(sbc->dsp.offset[0]); i++) in sbc_decode_init()
334 sbc->dsp.offset[ch][i] = (10 * i + 10); in sbc_decode_init()
342 SBCDecContext *sbc = avctx->priv_data; in sbc_decode_frame() local
346 if (!sbc) in sbc_decode_frame()
349 frame_length = sbc_unpack_frame(avpkt->data, &sbc->frame, avpkt->size); in sbc_decode_frame()
353 avctx->channels = sbc->frame.channels; in sbc_decode_frame()
355 frame->nb_samples = sbc->frame.blocks * sbc->frame.subbands; in sbc_decode_frame()
359 sbc_synthesize_audio(&sbc->dsp, &sbc->frame, frame); in sbc_decode_frame()