Home
last modified time | relevance | path

Searched refs:FONT_WIDTH (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dansi.c48 #define FONT_WIDTH 8 /**< Font width */ macro
95 } else if (avctx->width % FONT_WIDTH || avctx->height % s->font_height) { in decode_init()
179 s->x += FONT_WIDTH; in draw_char()
180 if (s->x > avctx->width - FONT_WIDTH) { in draw_char()
205 s->x = FFMIN(s->x + (s->nb_args > 0 ? s->args[0]*FONT_WIDTH : FONT_WIDTH), avctx->width - FONT_WIDTH); in execute_code()
208 s->x = FFMAX(s->x - (s->nb_args > 0 ? s->args[0]*FONT_WIDTH : FONT_WIDTH), 0); in execute_code()
213 s->x = s->nb_args > 1 ? av_clip((s->args[1] - 1)*FONT_WIDTH, in execute_code()
[all...]
H A Dbintext.c41 #define FONT_WIDTH 8 macro
103 if (avctx->width < FONT_WIDTH || avctx->height < s->font_height) { in decode_init()
136 s->x += FONT_WIDTH; in draw_char()
137 if (s->x > avctx->width - FONT_WIDTH) { in draw_char()
152 if ((avctx->width / FONT_WIDTH) * (avctx->height / s->font_height) / 256 > buf_size) in decode_frame()

Completed in 2 milliseconds