Lines Matching defs:buf_size
84 const uint8_t *buf, int buf_size, int *header_len)
94 if (!buf_size)
102 if (!s->ts_framing && buf_size > 2) {
109 for (i = 0; i < buf_size-2; i++) {
112 payload = parse_opus_ts_header(payload, &payload_len, buf_size - i);
125 payload_len = buf_size;
137 if (payload_len <= buf_size && (!s->ts_framing || start_found)) {
150 if (payload_len + *header_len <= buf_size) {
162 return buf_size;
167 const uint8_t *buf, int buf_size)
173 next = opus_find_frame_end(ctx, avctx, buf, buf_size, &header_len);
176 ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
179 return buf_size;
185 return buf_size;
189 *poutbuf_size = buf_size - header_len;