Home
last modified time | relevance | path

Searched refs:max_framesize (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dshorten.c90 int min_framesize, max_framesize; member
535 if (s->max_framesize == 0) { in shorten_decode_frame()
537 s->max_framesize = 8192; // should hopefully be enough for the first header in shorten_decode_frame()
539 s->max_framesize + AV_INPUT_BUFFER_PADDING_SIZE); in shorten_decode_frame()
541 s->max_framesize = 0; in shorten_decode_frame()
550 buf_size = FFMIN(buf_size, s->max_framesize - s->bitstream_size); in shorten_decode_frame()
568 if (buf_size < s->max_framesize && avpkt->data) { in shorten_decode_frame()
584 int max_framesize; in shorten_decode_frame() local
587 max_framesize = FFMAX(s->max_framesize, s->blocksize * s->channels * 8); in shorten_decode_frame()
589 max_framesize + AV_INPUT_BUFFER_PADDING_SIZE); in shorten_decode_frame()
[all …]
Dinterplayacm.c42 int max_framesize; member
96 s->max_framesize = s->block_len; in decode_init()
101 …s->bitstream = av_calloc(s->max_framesize + AV_INPUT_BUFFER_PADDING_SIZE / sizeof(*s->bitstream) +… in decode_init()
569 buf_size = FFMIN(pkt->size, s->max_framesize - s->bitstream_size); in decode_frame()
571 if (s->bitstream_index + s->bitstream_size + buf_size > s->max_framesize) { in decode_frame()
580 if (buf_size < s->max_framesize && pkt->data) { in decode_frame()
Dflac.h75 int max_framesize; /**< maximum frame size, in bytes */\
Dflacenc.c115 int max_framesize; member
149 put_bits(&pb, 24, s->max_framesize); in write_streaminfo()
382 s->max_framesize = ff_flac_get_max_frame_size(s->avctx->frame_size, in flac_encode_init()
400 s->min_framesize = s->max_framesize; in flac_encode_init()
1336 s->max_framesize = s->max_encoded_framesize; in flac_encode_frame()
1358 s->max_framesize = ff_flac_get_max_frame_size(frame->nb_samples, in flac_encode_frame()
1375 if (frame_bytes < 0 || frame_bytes > s->max_framesize) { in flac_encode_frame()
Dflacdec.c129 av_log(avctx, AV_LOG_DEBUG, " Max Framesize: %d\n", s->max_framesize); in dump_headers()
568 if (s->flac_stream_info.max_framesize == 0) { in flac_decode_frame()
569 s->flac_stream_info.max_framesize = in flac_decode_frame()
Dflac.c226 s->max_framesize = get_bits(&gb, 24); in ff_flac_parse_streaminfo()