From 0a0925be824fb65a1f76350d8a1a9db04cf05dee Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 6 Aug 2012 17:50:31 +0200 Subject: image_writer: add TGA image format For getting rid of vo_tga. This makes use of the libavcodec TGA encoder. --- image_writer.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/image_writer.c b/image_writer.c index f453748c08..5987d22f99 100644 --- a/image_writer.c +++ b/image_writer.c @@ -200,6 +200,11 @@ static const struct img_writer img_writers[] = { .lavc_codec = CODEC_ID_PGMYUV, .pixfmts = (int[]) { IMGFMT_YV12, 0 }, }, + { "tga", write_lavc, + .lavc_codec = CODEC_ID_TARGA, + .pixfmts = (int[]) { IMGFMT_BGR24, IMGFMT_BGRA, IMGFMT_BGR15LE, + IMGFMT_Y800, 0}, + }, #ifdef CONFIG_JPEG { "jpg", write_jpeg }, { "jpeg", write_jpeg }, -- cgit v1.2.3