Lines Matching refs:nb_args
76 int nb_args; /**< number of arguments (may exceed MAX_NB_ARGS) */ member
198 s->y = FFMAX(s->y - (s->nb_args > 0 ? s->args[0]*s->font_height : s->font_height), 0); in execute_code()
201 …s->y = FFMIN(s->y + (s->nb_args > 0 ? s->args[0]*s->font_height : s->font_height), avctx->height -… in execute_code()
204 …s->x = FFMIN(s->x + (s->nb_args > 0 ? s->args[0]*FONT_WIDTH : FONT_WIDTH), avctx->width - FONT_WI… in execute_code()
207 s->x = FFMAX(s->x - (s->nb_args > 0 ? s->args[0]*FONT_WIDTH : FONT_WIDTH), 0); in execute_code()
211 …s->y = s->nb_args > 0 ? av_clip((s->args[0] - 1)*s->font_height, 0, avctx->height - s->font_height… in execute_code()
212 …s->x = s->nb_args > 1 ? av_clip((s->args[1] - 1)*FONT_WIDTH, 0, avctx->width - FONT_WIDTH) : … in execute_code()
216 if (s->nb_args < 2) in execute_code()
302 if (s->nb_args == 0) { in execute_code()
303 s->nb_args = 1; in execute_code()
306 for (i = 0; i < FFMIN(s->nb_args, MAX_NB_ARGS); i++) { in execute_code()
316 …} else if (m == 38 && i + 2 < FFMIN(s->nb_args, MAX_NB_ARGS) && s->args[i + 1] == 5 && s->args[i +… in execute_code()
324 …} else if (m == 48 && i + 2 < FFMIN(s->nb_args, MAX_NB_ARGS) && s->args[i + 1] == 5 && s->args[i +… in execute_code()
418 s->nb_args = 0; in decode_frame()
430 if (s->nb_args < MAX_NB_ARGS && s->args[s->nb_args] < 6553) in decode_frame()
431 s->args[s->nb_args] = FFMAX(s->args[s->nb_args], 0) * 10 + buf[0] - '0'; in decode_frame()
434 if (s->nb_args < MAX_NB_ARGS) in decode_frame()
435 s->nb_args++; in decode_frame()
436 if (s->nb_args < MAX_NB_ARGS) in decode_frame()
437 s->args[s->nb_args] = 0; in decode_frame()
446 if (s->nb_args > MAX_NB_ARGS) in decode_frame()
447 av_log(avctx, AV_LOG_WARNING, "args overflow (%i)\n", s->nb_args); in decode_frame()
448 if (s->nb_args < MAX_NB_ARGS && s->args[s->nb_args] >= 0) in decode_frame()
449 s->nb_args++; in decode_frame()