Lines Matching defs:next
41 * @return the position of the first byte of the next frame or -1
138 int next, const uint8_t **buf, int *buf_size)
156 if (next == -1) {
172 pc->index + next);
176 memcpy(pc->buffer + pc->index, *buf, next);
177 pc->index += next;
182 * frame. So check if the previous parse offset of the next parse unit
183 * is equal to the next parse offset of the current parse unit then
191 *buf_size = next - 9;
207 *buf_size = next;
235 return next;
243 int next;
249 next = buf_size;
254 next = find_frame_end(pc, buf, buf_size);
255 if (!pc->is_synced && next == -1)
259 if (dirac_combine_frame(s, avctx, next, &buf, &buf_size) < 0)
265 return next;