• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:sconf

193     ALSSpecificConfig sconf;
254 ALSSpecificConfig *sconf = &ctx->sconf;
256 av_dlog(avctx, "resolution = %i\n", sconf->resolution);
257 av_dlog(avctx, "floating = %i\n", sconf->floating);
258 av_dlog(avctx, "frame_length = %i\n", sconf->frame_length);
259 av_dlog(avctx, "ra_distance = %i\n", sconf->ra_distance);
260 av_dlog(avctx, "ra_flag = %i\n", sconf->ra_flag);
261 av_dlog(avctx, "adapt_order = %i\n", sconf->adapt_order);
262 av_dlog(avctx, "coef_table = %i\n", sconf->coef_table);
263 av_dlog(avctx, "long_term_prediction = %i\n", sconf->long_term_prediction);
264 av_dlog(avctx, "max_order = %i\n", sconf->max_order);
265 av_dlog(avctx, "block_switching = %i\n", sconf->block_switching);
266 av_dlog(avctx, "bgmc = %i\n", sconf->bgmc);
267 av_dlog(avctx, "sb_part = %i\n", sconf->sb_part);
268 av_dlog(avctx, "joint_stereo = %i\n", sconf->joint_stereo);
269 av_dlog(avctx, "mc_coding = %i\n", sconf->mc_coding);
270 av_dlog(avctx, "chan_config = %i\n", sconf->chan_config);
271 av_dlog(avctx, "chan_sort = %i\n", sconf->chan_sort);
272 av_dlog(avctx, "RLSLMS = %i\n", sconf->rlslms);
273 av_dlog(avctx, "chan_config_info = %i\n", sconf->chan_config_info);
286 ALSSpecificConfig *sconf = &ctx->sconf;
309 sconf->samples = get_bits_long(&gb, 32);
313 sconf->resolution = get_bits(&gb, 3);
314 sconf->floating = get_bits1(&gb);
315 sconf->msb_first = get_bits1(&gb);
316 sconf->frame_length = get_bits(&gb, 16) + 1;
317 sconf->ra_distance = get_bits(&gb, 8);
318 sconf->ra_flag = get_bits(&gb, 2);
319 sconf->adapt_order = get_bits1(&gb);
320 sconf->coef_table = get_bits(&gb, 2);
321 sconf->long_term_prediction = get_bits1(&gb);
322 sconf->max_order = get_bits(&gb, 10);
323 sconf->block_switching = get_bits(&gb, 2);
324 sconf->bgmc = get_bits1(&gb);
325 sconf->sb_part = get_bits1(&gb);
326 sconf->joint_stereo = get_bits1(&gb);
327 sconf->mc_coding = get_bits1(&gb);
328 sconf->chan_config = get_bits1(&gb);
329 sconf->chan_sort = get_bits1(&gb);
330 sconf->crc_enabled = get_bits1(&gb);
331 sconf->rlslms = get_bits1(&gb);
340 ctx->cur_frame_length = sconf->frame_length;
343 if (sconf->chan_config)
344 sconf->chan_config_info = get_bits(&gb, 16);
349 if (sconf->chan_sort && avctx->channels > 1) {
355 if (!(sconf->chan_pos = av_malloc(avctx->channels * sizeof(*sconf->chan_pos))))
369 sconf->chan_pos[idx] = i;
402 if (sconf->crc_enabled) {
427 ALSSpecificConfig *sconf = &ctx->sconf;
440 MISSING_ERR(sconf->floating, "Floating point decoding", AVERROR_PATCHWELCOME);
441 MISSING_ERR(sconf->rlslms, "Adaptive RLS-LMS prediction", AVERROR_PATCHWELCOME);
514 ALSSpecificConfig *sconf = &ctx->sconf;
519 if (sconf->block_switching) {
520 unsigned int bs_info_len = 1 << (sconf->block_switching + 2);
544 div_blocks[b] = ctx->sconf.frame_length >> div_blocks[b];
546 if (ctx->cur_frame_length != ctx->sconf.frame_length) {
566 ALSSpecificConfig *sconf = &ctx->sconf;
581 unsigned int const_val_bits = sconf->floating ? 24 : avctx->bits_per_raw_sample;
610 ALSSpecificConfig *sconf = &ctx->sconf;
633 if (!sconf->bgmc && !sconf->sb_part) {
636 if (sconf->bgmc && sconf->sb_part)
654 if (sconf->bgmc) {
655 s[0] = get_bits(gb, 8 + (sconf->resolution > 1));
664 s[0] = get_bits(gb, 4 + (sconf->resolution > 1));
680 if (!sconf->rlslms) {
681 if (sconf->adapt_order) {
683 2, sconf->max_order + 1));
685 if (*bd->opt_order > sconf->max_order) {
686 *bd->opt_order = sconf->max_order;
691 *bd->opt_order = sconf->max_order;
703 if (sconf->coef_table == 3) {
723 int rice_param = parcor_rice_table[sconf->coef_table][k][1];
724 int offset = parcor_rice_table[sconf->coef_table][k][0];
755 if (sconf->long_term_prediction) {
789 if (sconf->bgmc) {
866 if (!sconf->mc_coding || ctx->js_switch)
877 ALSSpecificConfig *sconf = &ctx->sconf;
927 memcpy(bd->prev_raw_samples, raw_samples - sconf->max_order,
928 sizeof(*bd->prev_raw_samples) * sconf->max_order);
942 for (sb = -1; sb >= -sconf->max_order; sb--)
948 for (sb = -1; sb >= -sconf->max_order; sb--)
975 memcpy(raw_samples - sconf->max_order, bd->prev_raw_samples,
976 sizeof(*raw_samples) * sconf->max_order);
1102 ALSSpecificConfig *sconf = &ctx->sconf;
1170 memmove(ctx->raw_samples[c] - sconf->max_order,
1171 ctx->raw_samples[c] - sconf->max_order + sconf->frame_length,
1172 sizeof(*ctx->raw_samples[c]) * sconf->max_order);
1325 ALSSpecificConfig *sconf = &ctx->sconf;
1335 if (sconf->ra_flag == RA_FLAG_FRAMES && ra_frame)
1338 if (sconf->mc_coding && sconf->joint_stereo) {
1343 if (!sconf->mc_coding || ctx->js_switch) {
1344 int independent_bs = !sconf->joint_stereo;
1354 if (sconf->joint_stereo && sconf->block_switching)
1377 memmove(ctx->raw_samples[c] - sconf->max_order,
1378 ctx->raw_samples[c] - sconf->max_order + sconf->frame_length,
1379 sizeof(*ctx->raw_samples[c]) * sconf->max_order);
1457 memmove(ctx->raw_samples[c] - sconf->max_order,
1458 ctx->raw_samples[c] - sconf->max_order + sconf->frame_length,
1459 sizeof(*ctx->raw_samples[c]) * sconf->max_order);
1475 ALSSpecificConfig *sconf = &ctx->sconf;
1484 // (sconf->ra_distance == 0) no frame is treated as a random access frame.
1487 ra_frame = sconf->ra_distance && !(ctx->frame_id % sconf->ra_distance);
1490 if (sconf->samples != 0xFFFFFFFF)
1491 ctx->cur_frame_length = FFMIN(sconf->samples - ctx->frame_id * (uint64_t) sconf->frame_length,
1492 sconf->frame_length);
1494 ctx->cur_frame_length = sconf->frame_length;
1520 *dest++ = ctx->raw_samples[sconf->chan_pos[c]][sample] << shift; \
1531 if (sconf->crc_enabled && (avctx->err_recognition & (AV_EF_CRCCHECK|AV_EF_CAREFUL))) {
1532 int swap = HAVE_BIGENDIAN != sconf->msb_first;
1579 if (ctx->cur_frame_length != sconf->frame_length &&
1602 av_freep(&ctx->sconf.chan_pos);
1639 ALSSpecificConfig *sconf = &ctx->sconf;
1656 if (sconf->bgmc) {
1661 if (sconf->floating) {
1665 avctx->sample_fmt = sconf->resolution > 1
1667 avctx->bits_per_raw_sample = (sconf->resolution + 1) * 8;
1673 ctx->s_max = sconf->resolution > 1 ? 31 : 15;
1680 num_buffers = sconf->mc_coding ? avctx->channels : 1;
1685 num_buffers * sconf->max_order);
1687 num_buffers * sconf->max_order);
1689 sconf->max_order);
1701 ctx->quant_cof[c] = ctx->quant_cof_buffer + c * sconf->max_order;
1702 ctx->lpc_cof[c] = ctx->lpc_cof_buffer + c * sconf->max_order;
1729 if (sconf->mc_coding) {
1751 channel_size = sconf->frame_length + sconf->max_order;
1753 ctx->prev_raw_samples = av_malloc (sizeof(*ctx->prev_raw_samples) * sconf->max_order);
1765 ctx->raw_samples[0] = ctx->raw_buffer + sconf->max_order;
1770 if (HAVE_BIGENDIAN != sconf->msb_first && sconf->crc_enabled &&