Lines Matching refs:next
40 * @return the position of the first byte of the next frame or -1
119 int next, const uint8_t **buf, int *buf_size)
137 if ( next == -1) {
151 pc->index + next);
153 memcpy(pc->buffer + pc->index, *buf, next);
154 pc->index += next;
159 * frame. So check if the previous parse offset of the next parse unit
160 * is equal to the next parse offset of the current parse unit then
168 *buf_size = next-9;
184 *buf_size = next;
212 return next;
220 int next;
226 next = buf_size;
231 next = find_frame_end(pc, buf, buf_size);
232 if (!pc->is_synced && next == -1) {
237 if (dirac_combine_frame(s, avctx, next, &buf, &buf_size) < 0) {
244 return next;