Commit Graph

4160 Commits

Author SHA1 Message Date
Michael Niedermayer
bb243e7100 fix b frames + -mbd rd without -psnr (yes that was seriously buggy and probably hasnt been noticed as everyone who tested stuff used -psnr)
Originally committed as revision 7148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 19:37:44 +00:00
Michael Niedermayer
169bc475d1 100l infinite loop fix
Originally committed as revision 7147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 19:35:06 +00:00
Kostya Shishkov
426b11a833 Decode non-interleaved scans
Originally committed as revision 7143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 06:15:18 +00:00
Guillaume Poirier
8db4f43c68 Fix declaration and code thingie
Originally committed as revision 7140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 20:41:31 +00:00
Martin
4ec0ccb1a4 allow amr bitrate to be changed "on the fly" through avctx->bitrate.
Patch by Martin % marthi A graphics P cs P uni - sb P de %
Original thread:
date: Nov 20, 2006 6:20 PM
subject: Re: [Ffmpeg-devel] [PATCH] Re: AMR bitrate

Originally committed as revision 7139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 20:35:47 +00:00
Tom Harper
9f83e1427a Fix linking with H.261 support disabled.
patch by Tom Harper, d.thomas.harper gmail com

Originally committed as revision 7134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 14:13:32 +00:00
Michael Niedermayer
ec9ed85dc7 infiinit loop fix for CBR + adaptive quant
Originally committed as revision 7133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 11:53:02 +00:00
Michael Niedermayer
789382d340 100l qprd fix 2nd try
Originally committed as revision 7132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 10:48:23 +00:00
Kostya Shishkov
6ffdc53de9 Some progressive JPEG support
Originally committed as revision 7131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 05:21:17 +00:00
Michael Niedermayer
3f9fea7230 testing all dquant for qp_rd fixes the qp runaway to 31 bug
Originally committed as revision 7126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 23:19:52 +00:00
Guillaume Poirier
00f636a04f Add useful Altivec types, taken from with permission from x264 authors
Originally committed as revision 7125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 22:51:54 +00:00
Kostya Shishkov
c8f9f9b91a Divide first audio buffer chunk into atomary bufffers.
This slightly simplifies decoder and removes potential
audio buffer overrun.

Originally committed as revision 7121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 05:30:43 +00:00
Benjamin Larsson
3644d47241 Missed one log2().
Originally committed as revision 7117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 21:43:46 +00:00
Kostya Shishkov
b615c1edfc Optimize overlapping
Suggested by Skal, sprintf(mail, "skal%d@orange.fr", 0xFFFF)

Originally committed as revision 7113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 06:12:33 +00:00
Kostya Shishkov
7ad8d3bf0c Fix comments
Originally committed as revision 7112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 06:10:52 +00:00
Kostya Shishkov
b6fa8993fb Overlap filtering was done in reverse order
Originally committed as revision 7111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 06:09:32 +00:00
Alex Beregszaszi
20d46c038a Remove alpha channel from RGB555
Originally committed as revision 7106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 20:46:36 +00:00
Alex Beregszaszi
08d23410ea BGR555 has never been working as alpha supporting format. Remove the false setting.
Originally committed as revision 7105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 20:43:29 +00:00
Baptiste Coudurier
a57d13b713 throw error if unsupported resolution is used with h261
Originally committed as revision 7097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 09:58:34 +00:00
Michael Niedermayer
8e5606bfcd detect a few more errors (fixes libmp3-bug.avi again)
make pickyness of the decoder user selectable through error_resilience param like for video decoders

Originally committed as revision 7089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-15 17:58:35 +00:00
Michael Niedermayer
ee50a7c1e5 making decoding more error robust
Originally committed as revision 7073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:06:28 +00:00
Michael Niedermayer
9bb328d397 reset internal buffer during seeking
Originally committed as revision 7070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 20:39:20 +00:00
Michael Niedermayer
bd60e11bf4 more checks and error messages
Originally committed as revision 7069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 20:35:15 +00:00
Alex Beregszaszi
b362567605 changed rgba32_to routines to support both alpha and non-alpha formats (see r7066 too)
Originally committed as revision 7067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 19:53:22 +00:00
Alex Beregszaszi
8e96866a52 changed rgba32_to routines to support both alpha and non-alpha formats
Originally committed as revision 7066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 19:48:11 +00:00
Alex Beregszaszi
d8b45f7961 Fix possible overflows. Found by Steven Johnson
Originally committed as revision 7065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 19:19:13 +00:00
Benjamin Larsson
521fe1d2da Remove log2() usage.
Originally committed as revision 7063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 18:54:42 +00:00
Måns Rullgård
486497e07b revert bad checkin
Originally committed as revision 7044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:18:09 +00:00
Måns Rullgård
be6ed6fff4 move some CFLAGS settings away from config.* writing section
Originally committed as revision 7043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:12:29 +00:00
Diego Biurrun
10265a1aa9 Remove redundant #ifdef HAVE_THREAD, the file is only compiled
if that condition holds anyway.

Originally committed as revision 7029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 00:56:56 +00:00
Måns Rullgård
af63114e0d rename CONFIG_AC3 to CONFIG_A52
it's more consistent and Dolby never liked people "infringing" their TM

Originally committed as revision 7014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 22:09:31 +00:00
Kostya Shishkov
ee0a035820 Support for 16-bit grayscale
Originally committed as revision 7012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:39:28 +00:00
Kostya Shishkov
2878cecd6d Give error about planar RGB
Originally committed as revision 7011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:38:42 +00:00
Kostya Shishkov
b39cf84cca Update error message
Originally committed as revision 7010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:36:22 +00:00
Kostya Shishkov
339aabd5a8 Use table for determining type sizes
Originally committed as revision 7009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:34:46 +00:00
Baptiste Coudurier
9cc6be9d27 add low delay forcing option for mpeg1/2 encoding
Originally committed as revision 7008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:30:26 +00:00
Kostya Shishkov
213309782d Decoder can decode many ZLib-packed strips
Originally committed as revision 7007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:27:36 +00:00
Kostya Shishkov
d00026d062 Print error message for unsupported mode (RGB planar,CMYK,YCrCb)
Originally committed as revision 7006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:20:50 +00:00
Kostya Shishkov
e2570297c0 8-bit images support for TIFF
Originally committed as revision 7005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:32:10 +00:00
Kostya Shishkov
380fd08fe6 Rows per strip may be >= height
Originally committed as revision 7004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:30:50 +00:00
Kostya Shishkov
27c189394b Warn about JPEG in TIFF
Originally committed as revision 7003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:29:45 +00:00
Kostya Shishkov
ec8a152b6f Correctly detect 4-component images
Originally committed as revision 7002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:28:55 +00:00
Kostya Shishkov
a47d3c0442 Output proper 16-bit sound (fixes decoding on PPC)
Originally committed as revision 7000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:15:55 +00:00
Måns Rullgård
7466ed2f02 zigzag_direct_noperm doesn't exist, remove declaration
Originally committed as revision 6998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 23:35:49 +00:00
Måns Rullgård
7b7abda3b3 make more tables static
Originally committed as revision 6996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 23:14:20 +00:00
Måns Rullgård
1d50395746 rename squareTbl -> ff_squareTbl
Originally committed as revision 6995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 21:48:04 +00:00
Stefan Gehrer
e275b7efd9 rename ff_cavs_flush to cavs_flush and make it static
Originally committed as revision 6994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:23:47 +00:00
Stefan Gehrer
53aa68b329 move all cavs-parsing to cavs.c
This should help building parser without decoder

Originally committed as revision 6993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:18:07 +00:00
Måns Rullgård
55fde95e3b rename cropTbl -> ff_cropTbl
Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:08:09 +00:00
Stefan Gehrer
d136d2fcea make mpeg4video_split public as ff_mpeg4video_split
Originally committed as revision 6991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:01:50 +00:00
Måns Rullgård
36cd306907 rename inverse -> ff_inverse
Originally committed as revision 6990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 18:49:36 +00:00
Måns Rullgård
1bd29b078c make some tables static
Originally committed as revision 6981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 13:40:40 +00:00
Måns Rullgård
bb54f6ab62 adding more static keywords
Originally committed as revision 6976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 03:34:12 +00:00
Måns Rullgård
6b781ce746 make vp6_pcr_tree static
Originally committed as revision 6975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 01:08:05 +00:00
Måns Rullgård
8e981daf2b make some symbols static
Originally committed as revision 6972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 20:54:48 +00:00
Måns Rullgård
c328f313d8 make two functions static
Originally committed as revision 6970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:46:53 +00:00
Michael Niedermayer
f1a06ca80b zero private bits
Originally committed as revision 6961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 11:45:43 +00:00
Michael Niedermayer
eea784dab0 store a identifer and the first header in extradata
with this mp3 should be binary identical to what you had before header compression
support mp3 with crc (by droping the crc and putting it back during header decompress, currently its just random tough, does any deocoder even check it?)

Originally committed as revision 6960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 11:31:02 +00:00
Michael Niedermayer
eacb41b2e9 mp3 header (de)compression bitstream filter
this will make mp3 frames 4 bytes smaller, it will not give you binary identical mp3 files, but it will give you mp3 files which decode to binary identical output
this will only work in containers providing at least packet size, sample_rate and number of channels
bugreports about mp3 files for which this fails are welcome
and this is experimental (dont expect compatibility and dont even expect to be able to decompress what you compressed, hell dont even expect this to work without editing the source a little)

Originally committed as revision 6958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 01:41:53 +00:00
Michael Niedermayer
92a3541876 16bit in avi is RGB555
Originally committed as revision 6956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 17:28:46 +00:00
Panagiotis Issaris
c2212338e8 Remove the H264Context parameter from decode_init_vlc() as it is not being used.
Originally committed as revision 6955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 16:40:33 +00:00
Baptiste Coudurier
cbee7a6944 get rid of CODEC_ID_MPEG4AAC after next version bump, and change it to CODEC_ID_AAC where used
Originally committed as revision 6954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 11:37:30 +00:00
Michael Niedermayer
6c4d16556b 10000l to myself, fixing regression test failure
Originally committed as revision 6953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 01:23:47 +00:00
Michael Niedermayer
b5ca0c6ff9 100l for me, iam being to stupid to read the mpeg4 spec / eat stuffing mbs a the end of the picture
Originally committed as revision 6942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 18:15:54 +00:00
Måns Rullgård
997baf0141 allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible
due to how make handles vpath

Originally committed as revision 6938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 00:02:15 +00:00
Baptiste Coudurier
9d210bb42b typo
Originally committed as revision 6934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:50:41 +00:00
Baptiste Coudurier
80d617f5b4 add option to set mpeg1/2 gop timecode start, and drop frame flag timecode flag
Originally committed as revision 6933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 13:45:08 +00:00
Luca Barbato
d9d2f88def Simplify
Originally committed as revision 6932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 12:45:29 +00:00
Diego Biurrun
4802a7a7b1 Use MMX only under x86_32, there are compilation problems.
Originally committed as revision 6931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 12:28:13 +00:00
Baptiste Coudurier
1766295516 add codec_tag and codec_stream_tag to MpegEncContext to not alter avctx values
Originally committed as revision 6930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 09:46:57 +00:00
Kostya Shishkov
7d7912c34b Bump version for Fraps v[24] support
Originally committed as revision 6928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 05:57:42 +00:00
Reimar Döffinger
e07eaaccc1 Avoid void*-arithmetic, and uint8_t* is more correct anyway.
Originally committed as revision 6918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 17:56:08 +00:00
Baptiste Coudurier
79e7b9609e include parser.h instead of mpegvideo.h
Originally committed as revision 6916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:47:41 +00:00
Baptiste Coudurier
7d6b1abe1a rename ff_mpeg1_find_frame_end to mpeg1_find_frame_end and make it static
Originally committed as revision 6915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:46:54 +00:00
Baptiste Coudurier
4067d81be2 move AVCodecParser prototypes and definitions to parser.h, and move mpegvideo parser to mpeg12.c
Originally committed as revision 6914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:43:49 +00:00
Zuxy Meng
360932f76d Fix ASF format parser's broken UTF-16 string handling
1. Add a PUT_UTF8 macro to common.h; code borrowed from libavcodec/flacenc.c.
2. Make use of the macro in flacenc.c
Patch by Zuxy Meng % zuxy P meng A gmail P com %
Original thread:
Date: Nov 5, 2006 9:56 AM
Subject: [Ffmpeg-devel] PUT_UTF8 & asf format enhancement

Originally committed as revision 6911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:32:48 +00:00
Kostya Shishkov
f4e31985da Check for symbol count
Originally committed as revision 6910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 06:13:29 +00:00
Kostya Shishkov
39ff2ee84d Limit output sample to 0..maxval, fixes decoding of T16E0.JLS
Originally committed as revision 6908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 05:35:09 +00:00
Baptiste Coudurier
8cd13128b8 use AVRational and ff_frame_rate_tab for frame_rate
Originally committed as revision 6905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 19:24:23 +00:00
Reimar Döffinger
c9ec7564f0 Move idct block array variable onto rtjpeg_decode_frame_yuv420 stack since
it is only used there and is only 128 byte large.
Also make it aligned to fix playback with altivec.

Originally committed as revision 6902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 16:18:37 +00:00
Baptiste Coudurier
bc52b0c518 remove useless line variable
Originally committed as revision 6901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 15:10:33 +00:00
Baptiste Coudurier
b190aa8919 fix decoding position
Originally committed as revision 6900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 15:06:12 +00:00
Kostya Shishkov
75a71b6c38 Correct support for Fraps v4 (and Huffman tree for < 256 symbols)
Originally committed as revision 6898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 08:18:52 +00:00
Kostya Shishkov
78629a746f Update comment
Originally committed as revision 6897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 04:59:38 +00:00
Kostya Shishkov
08a4c4bfb9 Fraps v2 and v4 support
Originally committed as revision 6896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 04:57:14 +00:00
Oded Shimon
483b8b1210 ministry of english grammar :) then->than
Originally committed as revision 6894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-04 00:42:50 +00:00
Michael Niedermayer
21d4d5dafb doxy
Originally committed as revision 6893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 20:30:22 +00:00
Michael Niedermayer
079e61db5d ensure alignment (no speed change)
Originally committed as revision 6891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 16:54:05 +00:00
Michael Niedermayer
f5a9e8f33d merging mov & and (no speedchange)
Originally committed as revision 6889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 16:02:18 +00:00
Michael Niedermayer
e80cf125a7 2 instructions less (same speed)
Originally committed as revision 6888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 15:40:57 +00:00
Michael Niedermayer
9347118237 comment about failed optimization
Originally committed as revision 6887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 15:17:36 +00:00
Michael Niedermayer
38cfdc83f0 move luma tc0 related init into asm
5% faster filter_mb_fast() on P3

Originally committed as revision 6884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 14:28:30 +00:00
Kostya Shishkov
57aff88581 RGB32 support in Targa
Originally committed as revision 6883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 13:13:08 +00:00
Michael Niedermayer
25225c3773 2 instructions less in h264_loop_filter_luma_mmx2()
Originally committed as revision 6882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 12:07:53 +00:00
Michael Niedermayer
bda2203d56 preempt possible overflow
Originally committed as revision 6881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 11:07:35 +00:00
Michael Niedermayer
5a1553dee3 1 instruction less
Originally committed as revision 6880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 09:59:15 +00:00
Kostya Shishkov
a21711022e Use bpp from header in error message
Originally committed as revision 6878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 04:42:11 +00:00
Michael Niedermayer
e9f1885c21 optimize H264_DEBLOCK_P0_Q0
2.5% faster filter_mb_fast() on P3

Originally committed as revision 6877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 02:03:56 +00:00
Michael Niedermayer
dd7e46e7c3 new I/P frame selection heuristic
PSNR/bitrate is slightly better for my (short) test videos
more tests welcome ...

Originally committed as revision 6876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:36:39 +00:00
Baptiste Coudurier
93481fe5fe change gif muxer to simple gif encoder
Originally committed as revision 6874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:13:34 +00:00