Commit Graph

242 Commits

Author SHA1 Message Date
Michael Niedermayer
a0a74ad9f0 increasing precission of the quantization parameter
this is needed as the quantization stepsize for each subband is also in this precission and insignificant changes to the wavelet like scaling its coefficients slightly differently would lead to wildly variing PSNR and bitrate
note, a encoder could also simply choose to leave the least significant bits of the quantization parameters zero which would give the exact previous behaviour except a y very tiny number of bits in  the header

Originally committed as revision 4115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 22:15:48 +00:00
Michael Niedermayer
538a38418c 10% faster unpack_coeffs
Originally committed as revision 4108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 17:59:05 +00:00
Michael Niedermayer
3cff4572ce fixing lossless snow
Originally committed as revision 4107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 09:37:43 +00:00
Michael Niedermayer
d13eef3d3d snow regression test
Originally committed as revision 4100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 15:39:17 +00:00
Calcium
58d2a1506d 28_fix_parameters_in_G726.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 12:35:27 +00:00
Michael Niedermayer
8272de4ea2 fix time stored in mov
based upon 23_fix_timestamp_in_mov.patch by (Calcium | calcium nurs or jp)

Originally committed as revision 4067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:15:45 +00:00
Michael Niedermayer
6c13c880fa trying to fix a few minor values in the mp4/mov muxer
Originally committed as revision 4063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 00:26:43 +00:00
Michael Niedermayer
4a7d265176 sample_size fix
Originally committed as revision 4043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 23:50:24 +00:00
Michael Niedermayer
625d98a319 set global_quality
Originally committed as revision 4042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 22:49:16 +00:00
Michael Niedermayer
420370d4aa switch MPEG4 fourcc to FMP4
Originally committed as revision 3972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-22 19:48:07 +00:00
Michael Niedermayer
9499ebff8d checksum change due to (don't crash on null codec patch which changed the stored length of the compressor name, movenc.c 1.28->1.29)
Originally committed as revision 3950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 22:47:46 +00:00
Michael Niedermayer
090fa6576c max/avg bitrate change (movenc.c 1.25->1.26)
Originally committed as revision 3948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 20:45:19 +00:00
Michael Niedermayer
a749c8d6e5 regression test checksum change due to the mov header field and compressor name patch (movenc.c 1.24->1.25)
Originally committed as revision 3946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 18:56:41 +00:00
Michael Niedermayer
976709ee73 compare audio files 16bit wise instead of 8bit
additionally compare the mp2 case with some delay as this matches better (the delay issue obviously should be fixed)

Originally committed as revision 3922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 21:16:33 +00:00
Michael Niedermayer
a7a858996f dithering for the mpeg audio decoder
Originally committed as revision 3903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 14:04:56 +00:00
Michael Niedermayer
16dd93ab6a quick and dirty PSNR check for audio
Originally committed as revision 3902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 13:26:11 +00:00
Michael Niedermayer
dd4f8a04fe jpeg style yuv fixes
Originally committed as revision 3852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-20 00:30:20 +00:00
Michael Niedermayer
c50cd09dd5 rv20 regression test
Originally committed as revision 3740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-07 13:48:25 +00:00
Loren Merritt
f37b9768f6 split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00
Michael Niedermayer
7f8038ce88 mv/mb reuse regression test
Originally committed as revision 3686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-16 14:02:41 +00:00
Maarten Daniels
ccff9da62a H261 fixing and cleaning:
-corrected wrong value in mv data
 -set correct mb_type after adjusting index
 -don't use H263 loop filter when the loop filter flag is set but when
  using the H261 encoder
 -use the same unquantizer as H263 (which is optimized btw)
 -removed unused members in H261Context
patch by (Maarten Daniels <maarten.daniels >at< luc >dot< ac >dot< be>)

regression test checksum update by me

Originally committed as revision 3669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 01:21:34 +00:00
Michael Niedermayer
d34a07466f switch ffv1 to the put/get_symbol() from snow
Originally committed as revision 3659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 12:22:00 +00:00
Michael Niedermayer
880eae9c50 switch ffv1 from CABAC to the range coder
Originally committed as revision 3658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 10:08:50 +00:00
Michael Niedermayer
9740687b6b fix and cleanup h261 mb_type selection
Originally committed as revision 3647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 17:21:34 +00:00
Michael Niedermayer
61b262a90a h.261 regression test
Originally committed as revision 3644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 10:24:02 +00:00
Michael Niedermayer
4e255822e5 100l (dont reset the sample position at the block end)
Originally committed as revision 3618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-21 20:01:32 +00:00
Michael Niedermayer
c4f8d5d9f9 write shorter headers if possible
Originally committed as revision 3494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 20:01:56 +00:00
Loren Merritt
ee598f7ba4 (non)interlaced huffyuv patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 10:57:57 +00:00
Alex Beregszaszi
7be8716a2a forgot to commit this
Originally committed as revision 3447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 09:51:16 +00:00
Loren Merritt
952b32c0ad Always write VOL control parameters, needed by old xvid patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-03 02:32:39 +00:00
Michael Niedermayer
bb22e8b175 10l (lrintf(a)+b vs. lrintf(a+b))
Originally committed as revision 3391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 15:18:49 +00:00
Michael Niedermayer
e6cf9be59b use non zero qscale for svq1 test
Originally committed as revision 3358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 09:22:52 +00:00
Michael Niedermayer
5d79ddc9b1 10l (fixes delayed frames during encoding)
Originally committed as revision 3279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 23:41:29 +00:00
Michael Niedermayer
30b5382bf9 regression checksum changes due to new resampling code
Originally committed as revision 3232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 02:59:30 +00:00
Michael Niedermayer
0e9d4a67f4 change qscale -> lambda for the motion estimation
finetune bit/distortion weighting factor used in motion estimation, the old coeffs where finetuned relative to incorrect mv_penalty tables which where then fixed later but the coeffs where not
this _may_ fix the long standing blocking artifacts, but may also introduce mudding artefacts theoretically, so please tell us if u stumble across any so we can either fix them or export this variable so the user can change it

Originally committed as revision 3189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-03 19:29:47 +00:00
Michael Niedermayer
e928649b0b pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Michael Niedermayer
b86bd1f137 svq1 regression test
Originally committed as revision 3129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 03:33:40 +00:00
Michael Niedermayer
dd17409ca0 next_pts fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
note, dont take the PSNR/stddev values serious, they are caused by a bug in ffmpeg.c which drops one frame before the last frame during encoding with b frames

Originally committed as revision 3110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 21:23:28 +00:00
Michael Niedermayer
49f3806dd8 rv10 decoding fix
Originally committed as revision 3068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 16:14:13 +00:00
Michael Niedermayer
aab9cdcff8 qpel & SSE/SATD regression test
Originally committed as revision 3056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 14:41:57 +00:00
Michael Niedermayer
a76078b97f +-1 bugfix regression test checksum update
Originally committed as revision 3018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:08:03 +00:00
Michael Niedermayer
75553f825c bit-exact
Originally committed as revision 3007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 20:06:23 +00:00
Michael Niedermayer
929a0c41d5 regression checksum update for alexs .mov time change
new nut (de)muxer regression tests

Originally committed as revision 2981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 18:41:09 +00:00
Roman Shaposhnik
906b578f16 * fixing 10l in movenc.c + updating regression patterns.
Originally committed as revision 2938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 03:29:00 +00:00
Michael Niedermayer
039e78891e add size of encoded stream to the regression tests
Originally committed as revision 2918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-23 03:05:51 +00:00
Michael Niedermayer
6486ad57ee test more (i)dcts
Originally committed as revision 2917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 21:20:14 +00:00
Michael Niedermayer
7813d6a307 1000000l (using uninitalized variable for initalizing bits per MV table)
Originally committed as revision 2900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:57:27 +00:00
Michael Niedermayer
b056e73c80 h263+ custom pcf support
Originally committed as revision 2868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 22:11:49 +00:00
Michael Niedermayer
4bfc029f83 10l (1 vs. descrLength(1)) found by (Jean Le Feuvre - jeanlf)
Originally committed as revision 2864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 21:54:25 +00:00
Michael Niedermayer
e82d912dba h263 framerate & aspect ratio fixes
Originally committed as revision 2854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-06 12:33:56 +00:00
Gildas Bazin
69dde1ad36 AAC support in mov, correct aspect ratio support and user data support patch by (Gildas Bazin <gbazin at altern dot org>)
and regression test checksum update for it by me

Originally committed as revision 2787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 19:08:09 +00:00
Michael Niedermayer
cfbd16df75 replace a few pbBufPtr() by put_bits_count(), one of them was actually wrong
Originally committed as revision 2774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 20:59:48 +00:00
Michael Niedermayer
80ee9fc0e3 simplify MV availability check / dont use below last row MV which is always zero
Originally committed as revision 2773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 18:39:43 +00:00
Michael Niedermayer
9c3d33d67f multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Michael Niedermayer
f02ab8148c ima & ms adpcm regression test
Originally committed as revision 2766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-08 02:35:37 +00:00
Michael Niedermayer
311be1fb05 g726 regression test
Originally committed as revision 2761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 15:10:47 +00:00
Michael Niedermayer
622348f931 interlaced dct decision cleanup
function moved to dspcontext
  mmx&mmx2 optimized
  change SSE -> SAD as default (better quality)
vbv buffer size command line option in kbyte

Originally committed as revision 2669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 22:57:07 +00:00
Michael Niedermayer
be408b67e6 noise reduction regression test
Originally committed as revision 2656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 21:26:51 +00:00
Michael Niedermayer
c0baa56a25 trellis quantization regression test
Originally committed as revision 2648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 22:04:14 +00:00
Michael Niedermayer
69768b77b4 test interlaced motion estimation too
Originally committed as revision 2644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 16:50:56 +00:00
Michael Niedermayer
9e2a16e1a7 fixpoint log() for tiny_psnr so it can output actual PSNR
Originally committed as revision 2640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-31 02:32:54 +00:00
Michael Niedermayer
bb198e198a interlaced motion estimation
interlaced mpeg2 encoding
  P & B frames
  rate distored interlaced mb decission
  alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed

Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Fabrice Bellard
037b5189d8 MPEG1/2 decoding update (buffered frames are decoded now)
Originally committed as revision 2617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:47:23 +00:00
Michael Niedermayer
7ebfc0ea63 error concealment regression test
Originally committed as revision 2606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 01:42:00 +00:00
Fabrice Bellard
83dddc4a71 generate MPEG elementary streams in all cases - added interlaced MPEG2 test
Originally committed as revision 2593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:06:36 +00:00
Michael Niedermayer
d7d2428239 Advanced intra coding, modified quantization and alternative inter vlc regression tests
Originally committed as revision 2574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 17:45:59 +00:00
Michael Niedermayer
01e8ff27b4 slice flush / position fix
Originally committed as revision 2569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-07 02:10:30 +00:00
Michael Niedermayer
d3985de709 cleanup
Originally committed as revision 2537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 22:09:09 +00:00
Michael Niedermayer
567e36d8f1 last frame
Originally committed as revision 2508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 12:22:50 +00:00
Michael Niedermayer
28c70622ec use .mp4 in one of the mpeg4 regression tests
Originally committed as revision 2479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-04 12:57:19 +00:00
Michael Niedermayer
f3203047eb ffv1 regression test
Originally committed as revision 2477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 21:59:21 +00:00
Michael Niedermayer
6571e41dcd picture buffer cleanup, this fixes a assertion failure (if assertion checking was manualy enabled for utils.c) and a memleak at least
Originally committed as revision 2392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 00:21:54 +00:00
Michael Niedermayer
158c7f059c use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-07 11:32:40 +00:00
Michael Niedermayer
c280f2d7c3 nut regression test
mpeg4 ac prediction cleanup

Originally committed as revision 2326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-01 16:45:59 +00:00
Michael Niedermayer
98b0858e10 constraint_parameter_flag fix
Originally committed as revision 2299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-24 00:06:33 +00:00
Michael Niedermayer
e9c6531704 mpeg sequence end code regression checksum update
Originally committed as revision 2271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-13 21:03:16 +00:00
Fabrice Bellard
3bb1f2da02 mpegaudio decoder no longer forgets to decoder last audio frame
Originally committed as revision 2244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:45:27 +00:00
Michael Niedermayer
8d876a433c asv2 regression test
Originally committed as revision 2188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 13:05:21 +00:00
Michael Niedermayer
cb231c4866 fixing unused f_code values
10l (forgot to update the regression test scores after the closed gop bit fix)

Originally committed as revision 2185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-30 19:40:30 +00:00
Michael Niedermayer
12dccd4e60 bit_rate in mpeg1/2 should be 0x3FFFF for vbr or at least >= max_bitrate
Originally committed as revision 2180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 19:42:23 +00:00
Michael Niedermayer
2d5e962b06 100l (forget to reset me.skip for b frames)
Originally committed as revision 2170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 22:26:18 +00:00
Michael Niedermayer
922bc38d55 mpeg2 regression test
add mpeg2video_decoder, thats more consistant with the encoders, note, both mpeg1video and mpeg2video decoder will happily decode both mpeg1 and 2

Originally committed as revision 2166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 07:42:25 +00:00
Michael Niedermayer
743739d2c5 AC3 encoding patch ba (Ross Martin <ffmpeg at ross dot interwrx dot com>)
Originally committed as revision 2129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-20 07:57:00 +00:00
Michael Niedermayer
f5ea4461ce patch for flv deblocking by (Garrick Meeker <gmeeker at theoryllc dot com>)
Originally committed as revision 2095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 09:58:47 +00:00
Michael Niedermayer
3b37408be8 lossless jpeg regression test
Originally committed as revision 2036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-12 16:26:08 +00:00
Michael Niedermayer
bbdd42d36f flv regression test
Originally committed as revision 2025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 23:52:06 +00:00
Michael Niedermayer
9ca9fce1dd asv1 regression test
Originally committed as revision 1912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-27 22:43:34 +00:00
Michael Niedermayer
db6e779506 motion vector vissualization for mpeg1/2
mpeg1/2 cleanup/bugfix
error resilience bugfix

Originally committed as revision 1911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-27 12:31:03 +00:00
Roman Shaposhnik
8c0ff5d5c2 * Making AVI encoding predictable (all JUNK chunks are filled with 0)
* Updating regression refs
 * Making server-regression.sh work on Solaris

Originally committed as revision 1818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-24 03:59:33 +00:00
Michael Niedermayer
a90fb38bfa checksum update for the avi zeros ...
Originally committed as revision 1766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 14:43:36 +00:00
Michael Niedermayer
2add6b5db7 use bilinear interpolation for the rotozoom
Originally committed as revision 1759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 02:32:33 +00:00
Michael Niedermayer
6afd3b92b4 finished integrating rotozoom test in ffmpeg
replaced float by integer to avoid rounding differenes between platforms

Originally committed as revision 1755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 13:43:17 +00:00