Lines Matching refs:font_height
47 int font_height;
61 s->font_height = p[0];
65 + (!!(s->flags & BINTEXT_FONT))*s->font_height*256) {
69 if (!s->font_height) {
74 s->font_height = 8;
91 switch(s->font_height) {
93 av_log(avctx, AV_LOG_WARNING, "font height %i not supported\n", s->font_height);
94 s->font_height = 8;
103 if (avctx->width < FONT_WIDTH || avctx->height < s->font_height) {
115 if (s->y < avctx->height - s->font_height) {
116 s->y += s->font_height;
118 memmove(s->frame->data[0], s->frame->data[0] + s->font_height*s->frame->linesize[0],
119 (avctx->height - s->font_height)*s->frame->linesize[0]);
120 memset(s->frame->data[0] + (avctx->height - s->font_height)*s->frame->linesize[0],
121 DEFAULT_BG_COLOR, s->font_height * s->frame->linesize[0]);
131 if (s->y > avctx->height - s->font_height)
134 s->frame->linesize[0], s->font, s->font_height, c,
139 s->y += s->font_height;
152 if ((avctx->width / FONT_WIDTH) * (avctx->height / s->font_height) / 256 > buf_size)