Searched refs:max_framesize (Results 1 – 8 of 8) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | shorten.c | 89 int min_framesize, max_framesize; member 531 if (s->max_framesize == 0) { in shorten_decode_frame() 533 s->max_framesize = 8192; // should hopefully be enough for the first header in shorten_decode_frame() 535 s->max_framesize + AV_INPUT_BUFFER_PADDING_SIZE); in shorten_decode_frame() 537 s->max_framesize = 0; in shorten_decode_frame() 546 buf_size = FFMIN(buf_size, s->max_framesize - s->bitstream_size); in shorten_decode_frame() 564 if (buf_size < s->max_framesize && avpkt->data) { in shorten_decode_frame() 580 int max_framesize; in shorten_decode_frame() local 583 max_framesize = FFMAX(s->max_framesize, s->blocksize * s->channels * 8); in shorten_decode_frame() 585 max_framesize + AV_INPUT_BUFFER_PADDING_SIZE); in shorten_decode_frame() [all …]
|
D | interplayacm.c | 40 int max_framesize; member 75 s->max_framesize = s->block_len; in decode_init() 80 …s->bitstream = av_calloc(s->max_framesize + AV_INPUT_BUFFER_PADDING_SIZE / sizeof(*s->bitstream) +… in decode_init() 559 buf_size = FFMIN(pkt->size, s->max_framesize - s->bitstream_size); in decode_frame() 561 if (s->bitstream_index + s->bitstream_size + buf_size > s->max_framesize) { in decode_frame() 570 if (buf_size < s->max_framesize && pkt->data) { in decode_frame()
|
D | flac.h | 75 int max_framesize; /**< maximum frame size, in bytes */\
|
D | flacenc.c | 112 int max_framesize; member 146 put_bits(&pb, 24, s->max_framesize); in write_streaminfo() 415 s->max_framesize = ff_flac_get_max_frame_size(s->avctx->frame_size, in flac_encode_init() 433 s->min_framesize = s->max_framesize; in flac_encode_init() 1369 s->max_framesize = s->max_encoded_framesize; 1397 s->max_framesize = ff_flac_get_max_frame_size(frame->nb_samples, 1414 if (frame_bytes < 0 || frame_bytes > s->max_framesize) {
|
D | flacdec.c | 129 av_log(avctx, AV_LOG_DEBUG, " Max Framesize: %d\n", s->max_framesize); in dump_headers() 571 if (s->flac_stream_info.max_framesize == 0) { in flac_decode_frame() 572 s->flac_stream_info.max_framesize = in flac_decode_frame()
|
D | flac.c | 220 s->max_framesize = get_bits(&gb, 24); in ff_flac_parse_streaminfo()
|
/third_party/gstreamer/gstplugins_good/gst/audioparsers/ |
D | gstflacparse.c | 344 flacparse->max_framesize = 0; in gst_flac_parse_start() 676 if (flacparse->max_framesize) in gst_flac_parse_frame_is_valid() 677 search_end = MIN (size, flacparse->max_framesize + 9 + 2); in gst_flac_parse_frame_is_valid() 737 if (flacparse->max_framesize && i > 2 * flacparse->max_framesize) { in gst_flac_parse_frame_is_valid() 745 max = flacparse->max_framesize + 16; in gst_flac_parse_frame_is_valid() 919 if (!gst_bit_reader_get_bits_uint32 (&reader, &flacparse->max_framesize, 24)) in gst_flac_parse_handle_streaminfo() 959 flacparse->min_framesize, flacparse->max_framesize, in gst_flac_parse_handle_streaminfo()
|
D | gstflacparse.h | 66 guint32 min_framesize, max_framesize; member
|