Home
last modified time | relevance | path

Searched refs:frame_length (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dtta.c56 int frame_length, last_frame_length; member
110 s->decode_buffer = av_calloc(s->frame_length, in allocate_buffers()
201 s->frame_length = 256 * avctx->sample_rate / 245; in tta_decode_init()
203 s->last_frame_length = s->data_length % s->frame_length; in tta_decode_init()
204 total_frames = s->data_length / s->frame_length + in tta_decode_init()
211 s->data_length, s->frame_length, s->last_frame_length, total_frames); in tta_decode_init()
213 if(s->frame_length >= UINT_MAX / (s->channels * sizeof(int32_t))){ in tta_decode_init()
235 int cur_chan = 0, framelen = s->frame_length; in tta_decode_frame()
Dalsdec.c164 int frame_length; ///< frame length for each frame (last frame may differ) member
271 ff_dlog(avctx, "frame_length = %i\n", sconf->frame_length); in dprint_specific_config()
335 sconf->frame_length = get_bits(&gb, 16) + 1; in read_specific_config()
367 ctx->cur_frame_length = sconf->frame_length; in read_specific_config()
574 div_blocks[b] = ctx->sconf.frame_length >> div_blocks[b]; in get_block_sizes()
576 if (ctx->cur_frame_length != ctx->sconf.frame_length) { in get_block_sizes()
809 av_assert0(sb_length <= sconf->frame_length); in read_var_block_data()
1217 ctx->raw_samples[c] - sconf->max_order + sconf->frame_length, in decode_blocks()
1291 unsigned int channel_size = ctx->sconf.frame_length + ctx->sconf.max_order; in revert_channel_correlation()
1466 int frame_length = ctx->cur_frame_length; in read_diff_float_data() local
[all …]
Dsbcdec.c344 int ret, frame_length; in sbc_decode_frame() local
349 frame_length = sbc_unpack_frame(avpkt->data, &sbc->frame, avpkt->size); in sbc_decode_frame()
350 if (frame_length <= 0) in sbc_decode_frame()
351 return frame_length; in sbc_decode_frame()
365 return frame_length; in sbc_decode_frame()
Dhapenc.c159 static void hap_write_frame_header(HapContext *ctx, uint8_t *dst, int frame_length) in hap_write_frame_header() argument
164 bytestream2_init_writer(&pbc, dst, frame_length); in hap_write_frame_header()
167 hap_write_section_header(&pbc, HAP_HDR_LONG, frame_length - 8, in hap_write_frame_header()
171 hap_write_section_header(&pbc, HAP_HDR_LONG, frame_length - 8, in hap_write_frame_header()
Dadts_header.h37 uint32_t frame_length; member
Dadts_header.c69 hdr->frame_length = size; in ff_adts_header_parse()
Daacdec.c273 int frame_length; ///< frame length for fixed frame length member
397 latmctx->frame_length = get_bits(gb, 9); in read_stream_mux_config()
445 return ctx->frame_length; in read_payload_length_info()
Dsbcenc.c287 int frame_length = 4 + (4 * frame->subbands * frame->channels) / 8 in sbc_encode_frame() local
295 if ((ret = ff_get_encode_buffer(avctx, avpkt, frame_length, 0)) < 0) in sbc_encode_frame()
/third_party/pulseaudio/src/modules/bluetooth/
Dbt-codec-msbc.c29 …size_t codesize, frame_length; /* SBC Codesize, frame_length. We simply cache those values h… member
54 info->frame_length = sbc_get_frame_length(&info->sbc); in init()
57 (int)info->frame_length); in init()
195 pa_assert_fp((size_t) written == sbc_info->frame_length); in encode_buffer()
300 decoded = sbc_info->frame_length; in decode_buffer()
304 pa_assert_fp((size_t)decoded == sbc_info->frame_length); in decode_buffer()
Da2dp-codec-sbc.c44 …size_t codesize, frame_length; /* SBC Codesize, frame_length. We simply cache those values h… member
259 sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc); in set_params()
283 …size_t bitrate = sbc_info.frame_length * 8 * sample_spec.rate / (sbc_info.nr_subbands * sbc_info.n… in sbc_get_max_bitpool_below_rate()
682 … sbc_info->sbc.bitpool, (unsigned)sbc_info->codesize, (unsigned)sbc_info->frame_length); in init()
703 sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc); in set_bitpool()
728 size_t frame_count = (link_mtu - rtp_size) / sbc_info->frame_length; in get_block_size()
738 …pa_log_warn("SBC packet size %lu is larger than link MTU %lu", sbc_info->frame_length + rtp_size, … in get_block_size()
752 return (input_size / sbc_info->codesize) * sbc_info->frame_length + rtp_size; in get_encoded_block_size()
825 pa_assert_fp((size_t) written == sbc_info->frame_length); in encode_buffer()
906 sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc); in decode_buffer()
[all …]
/third_party/lame/dshow/
DEncoder.cpp396 int frame_length = getFrameLength(m_outFrameBuf + m_outReadOffset); in GetFrame() local
398 if (frame_length < 0) in GetFrame()
402 else if (frame_length <= (m_outOffset - m_outReadOffset)) in GetFrame()
405 m_outReadOffset += frame_length; in GetFrame()
411 return frame_length; in GetFrame()
/third_party/ffmpeg/libavformat/
Ddhav.c171 int frame_length, ext_length; in read_chunk() local
189 frame_length = avio_rl32(s->pb); in read_chunk()
192 if (frame_length < 24) in read_chunk()
195 ret = avio_skip(s->pb, frame_length - 20); in read_chunk()
209 return frame_length - 8 - (end - start); in read_chunk()
Dhls_sample_encryption.c292 frame->length = adts_hdr->frame_length; in get_next_adts_frame()
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dsession.c1158 size_t frame_length; in SPDYF_session_idle() local
1279 frame_length = ((struct SPDYF_Control_Frame *)session->frame_handler_cls)->length; in SPDYF_session_idle()
1283 frame_length = ((struct SPDYF_Data_Frame *)session->frame_handler_cls)->length; in SPDYF_session_idle()
1288 SPDYF_DEBUG("received frame with unsupported size: %zu", frame_length); in SPDYF_session_idle()
1293 session->read_ignore_bytes = frame_length in SPDYF_session_idle()