Home
last modified time | relevance | path

Searched refs:block_samples (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dwavpackenc.c79 int block_samples; member
137 int block_samples; in wavpack_encode_init() local
139 block_samples = avctx->sample_rate / 2; in wavpack_encode_init()
141 block_samples = avctx->sample_rate; in wavpack_encode_init()
143 while (block_samples * avctx->channels > WV_MAX_SAMPLES) in wavpack_encode_init()
144 block_samples /= 2; in wavpack_encode_init()
146 while (block_samples * avctx->channels < 40000) in wavpack_encode_init()
147 block_samples *= 2; in wavpack_encode_init()
148 avctx->frame_size = block_samples; in wavpack_encode_init()
745 decorr_mono_buffer(samples, outsamples, s->block_samples, info->dps, depth); in recurse_mono()
[all …]
Dilbcdec.c102 int block_samples; member
991 max = max_abs_value_w16(s->prevResidual, s->block_samples); in do_plc()
1006 corrLen = FFMIN(60, s->block_samples - (inlag + 3)); in do_plc()
1008 correlation(&cross, &ener, s->prevResidual, lag, s->block_samples, corrLen, scale3); in do_plc()
1015 … correlation(&cross_comp, &ener_comp, s->prevResidual, j, s->block_samples, corrLen, scale3); in do_plc()
1057 …mp2W32 = scale_dot_product(&s->prevResidual[s->block_samples - corrLen], &s->prevResidual[s->block… in do_plc()
1093 if (s->consPLICount * s->block_samples > 320) { in do_plc()
1095 } else if (s->consPLICount * s->block_samples > 640) { in do_plc()
1097 } else if (s->consPLICount * s->block_samples > 960) { in do_plc()
1099 } else if (s->consPLICount * s->block_samples > 1280) { in do_plc()
[all …]
/third_party/ffmpeg/libavformat/
Dwvdec.c285 uint32_t block_samples; in wv_read_packet() local
322 block_samples = wc->header.samples; in wv_read_packet()
323 if (block_samples > INT32_MAX) in wv_read_packet()
325 "Too many samples in block: %"PRIu32"\n", block_samples); in wv_read_packet()
327 pkt->duration = block_samples; in wv_read_packet()
Dxmv.c85 uint16_t block_samples; ///< Decompressed samples per compressed block. member
198 packet->block_samples = 64; in xmv_read_header()
349 avpriv_set_pts_info(ast, 32, packet->block_samples, packet->sample_rate); in xmv_process_packet_header()
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackdec.c374 dec_data = g_malloc (4 * wph.block_samples * dec->channels); in gst_wavpack_dec_handle_frame()
377 decoded = WavpackUnpackSamples (dec->context, dec_data, wph.block_samples); in gst_wavpack_dec_handle_frame()
378 if (decoded != wph.block_samples) in gst_wavpack_dec_handle_frame()
381 unpacked_size = (dec->width / 8) * wph.block_samples * dec->channels; in gst_wavpack_dec_handle_frame()
392 max = dec->channels * wph.block_samples; in gst_wavpack_dec_handle_frame()
Dgstwavpackenc.c628 samples = wph.block_samples; in gst_wavpack_enc_push_block()
635 GST_BUFFER_OFFSET_END (buffer) = wph.block_index + wph.block_samples; in gst_wavpack_enc_push_block()
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstwavpackparse.h84 guint32 block_samples; /* number of samples in this block (0 = no audio) */ member
Dgstwavpackparse.c417 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.block_samples); in gst_wavpack_parse_frame_header()
429 GST_LOG_OBJECT (parse, "block samples %d", wph.block_samples); in gst_wavpack_parse_frame_header()
554 gst_util_uint64_scale_int (wph.block_index + wph.block_samples, in gst_wavpack_parse_handle_frame()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-ids.h690 guint32 block_samples; /* # samples in this block */ member
Dmatroska-demux.c3897 guint32 block_samples, tmp; in gst_matroska_demux_add_wvpk_header() local
3907 block_samples = GUINT32_FROM_LE (tmp); in gst_matroska_demux_add_wvpk_header()
3938 audiocontext->wvpk_block_index += block_samples; in gst_matroska_demux_add_wvpk_header()
3942 guint32 block_samples, flags, crc; in gst_matroska_demux_add_wvpk_header() local
3962 block_samples = GST_READ_UINT32_LE (data); in gst_matroska_demux_add_wvpk_header()
4011 GST_WRITE_UINT32_LE (outdata + 16, block_samples); in gst_matroska_demux_add_wvpk_header()
4035 audiocontext->wvpk_block_index += block_samples; in gst_matroska_demux_add_wvpk_header()