Commit e1f37c48 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '247e370e'

* commit '247e370e':
  TDSC decoder

Conflicts:
	Changelog
	doc/general.texi
	libavcodec/Makefile
	libavcodec/allcodecs.c
	libavcodec/version.h
	tests/fate/video.mak
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents fa4bb7c5 247e370e
......@@ -3,6 +3,7 @@ releases are sorted from youngest to oldest.
version <next>:
- FFT video filter
- TDSC decoder
version 2.6:
......
......@@ -2231,6 +2231,8 @@ svq1_encoder_select="aandcttables hpeldsp me_cmp mpegvideoenc"
svq3_decoder_select="h264_decoder hpeldsp tpeldsp"
svq3_decoder_suggest="zlib"
tak_decoder_select="audiodsp"
tdsc_decoder_deps="zlib"
tdsc_decoder_select="mjpeg_decoder"
theora_decoder_select="vp3_decoder"
thp_decoder_select="mjpeg_decoder"
tiff_decoder_suggest="zlib lzma"
......
......@@ -466,6 +466,7 @@ library:
@item SoX native format @tab X @tab X
@item SUN AU format @tab X @tab X
@item SUP raw PGS subtitles @tab @tab X
@item TDSC @tab @tab X
@item Text files @tab @tab X
@item THP @tab @tab X
@tab Used on the Nintendo GameCube.
......
......@@ -458,6 +458,7 @@ OBJS-$(CONFIG_TAK_DECODER) += takdec.o tak.o
OBJS-$(CONFIG_TARGA_DECODER) += targa.o
OBJS-$(CONFIG_TARGA_ENCODER) += targaenc.o rle.o
OBJS-$(CONFIG_TARGA_Y216_DECODER) += targa_y216dec.o
OBJS-$(CONFIG_TDSC_DECODER) += tdsc.o
OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
OBJS-$(CONFIG_TIFF_DECODER) += tiff.o lzw.o faxcompr.o tiff_data.o tiff_common.o
OBJS-$(CONFIG_TIFF_ENCODER) += tiffenc.o rle.o lzwenc.o tiff_data.o
......
......@@ -269,6 +269,7 @@ void avcodec_register_all(void)
REGISTER_DECODER(SVQ3, svq3);
REGISTER_ENCDEC (TARGA, targa);
REGISTER_DECODER(TARGA_Y216, targa_y216);
REGISTER_DECODER(TDSC, tdsc);
REGISTER_DECODER(THEORA, theora);
REGISTER_DECODER(THP, thp);
REGISTER_DECODER(TIERTEXSEQVIDEO, tiertexseqvideo);
......
......@@ -291,6 +291,7 @@ enum AVCodecID {
AV_CODEC_ID_MVC1_DEPRECATED,
AV_CODEC_ID_MVC2_DEPRECATED,
AV_CODEC_ID_HQX,
AV_CODEC_ID_TDSC,
AV_CODEC_ID_BRENDER_PIX= MKBETAG('B','P','I','X'),
AV_CODEC_ID_Y41P = MKBETAG('Y','4','1','P'),
......
......@@ -1394,6 +1394,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
.mime_types= MT("image/x-targa", "image/x-tga"),
},
{
.id = AV_CODEC_ID_TDSC,
.type = AVMEDIA_TYPE_VIDEO,
.name = "tdsc",
.long_name = NULL_IF_CONFIG_SMALL("TDSC"),
.props = AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_TIFF,
.type = AVMEDIA_TYPE_VIDEO,
......
This diff is collapsed.
......@@ -29,7 +29,7 @@
#include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 56
#define LIBAVCODEC_VERSION_MINOR 26
#define LIBAVCODEC_VERSION_MINOR 27
#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
......
......@@ -363,6 +363,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{ AV_CODEC_ID_G2M, MKTAG('G', '2', 'M', '5') },
{ AV_CODEC_ID_FIC, MKTAG('F', 'I', 'C', 'V') },
{ AV_CODEC_ID_HQX, MKTAG('C', 'H', 'Q', 'X') },
{ AV_CODEC_ID_TDSC, MKTAG('T', 'D', 'S', 'C') },
{ AV_CODEC_ID_NONE, 0 }
};
......
......@@ -256,6 +256,9 @@ fate-smc: CMD = framecrc -i $(TARGET_SAMPLES)/smc/cass_schi.qt -pix_fmt rgb24
FATE_VIDEO-$(call DEMDEC, AVI, SP5X) += fate-sp5x
fate-sp5x: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/sp5x/sp5x_problem.avi
FATE_VIDEO-$(call DEMDEC, ASF, TDSC) += fate-tdsc
fate-tdsc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/tdsc/tdsc.asf -an -pix_fmt bgr24
FATE_VIDEO-$(call DEMDEC, THP, THP) += fate-thp
fate-thp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/thp/pikmin2-opening1-partial.thp -an
......
#tb 0: 1/30
0, 0, 0, 1, 3888000, 0x9c498657
0, 7, 7, 1, 3888000, 0x72a2ae22
0, 8, 8, 1, 3888000, 0x72a2ae22
0, 10, 10, 1, 3888000, 0x72a2ae22
0, 16, 16, 1, 3888000, 0x72a2ae22
0, 17, 17, 1, 3888000, 0x72a2ae22
0, 20, 20, 1, 3888000, 0x550e417b
0, 29, 29, 1, 3888000, 0x550e417b
0, 30, 30, 1, 3888000, 0x550e417b
0, 31, 31, 1, 3888000, 0x550e417b
0, 32, 32, 1, 3888000, 0x550e417b
0, 34, 34, 1, 3888000, 0x550e417b
0, 35, 35, 1, 3888000, 0x38dcde13
0, 47, 47, 1, 3888000, 0x2b7c0edd
0, 48, 48, 1, 3888000, 0xaaaf3c7b
0, 49, 49, 1, 3888000, 0x26d1710f
0, 50, 50, 1, 3888000, 0xa6609f3f
0, 51, 51, 1, 3888000, 0xaa41c6f3
0, 52, 52, 1, 3888000, 0xc0ffd4d5
0, 53, 53, 1, 3888000, 0x44d4f383
0, 55, 55, 1, 3888000, 0x517047eb
0, 56, 56, 1, 3888000, 0x1d5a4d5b
0, 57, 57, 1, 3888000, 0x7d2da2f6
0, 58, 58, 1, 3888000, 0x27f7a2f6
0, 59, 59, 1, 3888000, 0x9de49edb
0, 60, 60, 1, 3888000, 0x5ccb9f38
0, 61, 61, 1, 3888000, 0x88069fb2
0, 62, 62, 1, 3888000, 0x1d059fd3
0, 63, 63, 1, 3888000, 0xe16d9fd3
0, 64, 64, 1, 3888000, 0xb6a69fd3
0, 65, 65, 1, 3888000, 0xb6a69fd3
0, 66, 66, 1, 3888000, 0x61709fd3
0, 67, 67, 1, 3888000, 0xb6f59fd3
0, 68, 68, 1, 3888000, 0x5c7b9fd3
0, 69, 69, 1, 3888000, 0x57869fd3
0, 70, 70, 1, 3888000, 0x9d3f9fd3
0, 73, 73, 1, 3888000, 0x5e6082a5
0, 74, 74, 1, 3888000, 0x5e6082a5
0, 75, 75, 1, 3888000, 0x5e6082a5
0, 76, 76, 1, 3888000, 0x48ce82f3
0, 77, 77, 1, 3888000, 0x4c5ebeaf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment