Lines Matching defs:next
677 for (buf = buf_list; buf; buf = buf->next)
686 for (buf = buf_list; buf; buf = buf->next) {
862 VAAPIEncodePicture *pic, *next, *ref;
865 av_assert0(start && end && start != end && start->next != end);
870 if (current_depth == ctx->max_b_depth || start->next->next == end) {
871 for (pic = start->next; pic; pic = pic->next) {
890 for (pic = start->next; pic != end; pic = pic->next)
892 for (pic = start->next, i = 1; 2 * i < len; pic = pic->next, i++);
909 current_depth + 1, &next);
911 next = pic;
913 vaapi_encode_set_b_pictures(avctx, pic, end, next,
922 VAAPIEncodePicture *pic = NULL, *next, *start;
925 // If there are any B-frames already queued, the next one to encode
928 for (pic = ctx->pic_start; pic; pic = pic->next) {
943 "encode next.\n", pic->b_depth);
948 // Find the B-per-Pth available picture to become the next picture
954 for (pic = ctx->pic_start; pic; pic = next) {
955 next = pic->next;
960 // If the next available picture is force-IDR, encode it to start
972 if (next && next->force_idr)
988 av_log(avctx, AV_LOG_DEBUG, "Pick nothing to encode next - "
993 av_log(avctx, AV_LOG_DEBUG, "Pick nothing to encode next - "
1000 "encode next.\n");
1008 "encode next.\n");
1013 "encode next.\n");
1022 "encode next.\n");
1025 "encode next.\n");
1057 VAAPIEncodePicture *pic, *prev, *next;
1062 for (pic = ctx->pic_start; pic; pic = pic->next) {
1063 if (pic->encode_complete && pic->next)
1068 for (pic = ctx->pic_start; pic; pic = pic->next) {
1075 for (pic = ctx->pic_start; pic; pic = next) {
1076 next = pic->next;
1080 prev->next = next;
1082 ctx->pic_start = next;
1162 ctx->pic_end->next = pic;
2742 VAAPIEncodePicture *pic, *next;
2749 for (pic = ctx->pic_start; pic; pic = next) {
2750 next = pic->next;