Move xGA font data from lavc to lavu.

This needs to be accessible for libavfilter in the next commit.
This commit is contained in:
Clément Bœsch
2012-09-22 09:56:33 +02:00
parent c39916bc2f
commit 81bbce9cf3
9 changed files with 467 additions and 402 deletions

View File

@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "libavutil/internal.h"
#include "libavutil/xga_font_data.h"
#include "cga_data.h"
@@ -75,7 +76,7 @@ static int tmv_decode_frame(AVCodecContext *avctx, void *data,
bg = *src >> 4;
fg = *src++ & 0xF;
ff_draw_pc_font(dst + x * 8, tmv->pic.linesize[0],
ff_cga_font, 8, c, fg, bg);
avpriv_cga_font, 8, c, fg, bg);
}
dst += tmv->pic.linesize[0] * 8;
}