Mercurial > libavformat.hg
comparison riff.c @ 1919:2b0dd64faa4b libavformat
Targa (.tga) encoder,
patch by Bobby Bingham % uhmmmm A gmail P com %
Only handles 24-bit BGR and 8-bit grayscale, no RLE at the moment either.
Original thread:
Date: Mar 11, 2007 7:58 PM
Subject: [Ffmpeg-devel] [PATCH] Targa encoder
author | gpoirier |
---|---|
date | Thu, 15 Mar 2007 12:23:08 +0000 |
parents | 2afa964cc3ea |
children | 79112cde3831 |
comparison
equal
deleted
inserted
replaced
1918:7ccf23e42481 | 1919:2b0dd64faa4b |
---|---|
165 { CODEC_ID_ZMBV, MKTAG('Z', 'M', 'B', 'V') }, | 165 { CODEC_ID_ZMBV, MKTAG('Z', 'M', 'B', 'V') }, |
166 { CODEC_ID_KMVC, MKTAG('K', 'M', 'V', 'C') }, | 166 { CODEC_ID_KMVC, MKTAG('K', 'M', 'V', 'C') }, |
167 { CODEC_ID_CAVS, MKTAG('C', 'A', 'V', 'S') }, | 167 { CODEC_ID_CAVS, MKTAG('C', 'A', 'V', 'S') }, |
168 { CODEC_ID_JPEG2000, MKTAG('M', 'J', '2', 'C') }, | 168 { CODEC_ID_JPEG2000, MKTAG('M', 'J', '2', 'C') }, |
169 { CODEC_ID_VMNC, MKTAG('V', 'M', 'n', 'c') }, | 169 { CODEC_ID_VMNC, MKTAG('V', 'M', 'n', 'c') }, |
170 { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') }, | |
170 { CODEC_ID_NONE, 0 }, | 171 { CODEC_ID_NONE, 0 }, |
171 }; | 172 }; |
172 | 173 |
173 const AVCodecTag codec_wav_tags[] = { | 174 const AVCodecTag codec_wav_tags[] = { |
174 { CODEC_ID_MP2, 0x50 }, | 175 { CODEC_ID_MP2, 0x50 }, |