Lines Matching defs:sbc
39 #include "sbc.h"
326 SBCDecContext *sbc = avctx->priv_data;
331 sbc->frame.crc_ctx = av_crc_get_table(AV_CRC_8_EBU);
333 memset(sbc->dsp.V, 0, sizeof(sbc->dsp.V));
335 for (i = 0; i < FF_ARRAY_ELEMS(sbc->dsp.offset[0]); i++)
336 sbc->dsp.offset[ch][i] = (10 * i + 10);
343 SBCDecContext *sbc = avctx->priv_data;
346 if (!sbc)
349 frame_length = sbc_unpack_frame(avpkt->data, &sbc->frame, avpkt->size);
355 avctx->ch_layout.nb_channels = sbc->frame.channels;
357 frame->nb_samples = sbc->frame.blocks * sbc->frame.subbands;
361 sbc_synthesize_audio(&sbc->dsp, &sbc->frame, frame);
369 .p.name = "sbc",