Commit Graph

3274 Commits

Author SHA1 Message Date
Michael Niedermayer
412759560c dont use memcpy for copying structs
Originally committed as revision 5574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 12:40:39 +00:00
Michael Niedermayer
7c69b83057 simplify
Originally committed as revision 5573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 11:06:27 +00:00
Justin Ruggles
a403fc0324 flac-lpc patch by (Justin Ruggles jruggle earthlink net)
tabs removed and regression.sh fixed (it was missing in the patch) by me

Originally committed as revision 5572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 10:22:31 +00:00
Michael Niedermayer
78f67b7ad3 simplify
Originally committed as revision 5571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 09:30:51 +00:00
Benjamin Larsson
7943355485 ff_fft_init now double checks that the system has mm3dnow.h before
checking if the cpu can do 3dnow at all. This bug caused amd cpu's
without sse to not have a working fft function. Ie no wma, cook or
vorbis decoder.

Originally committed as revision 5570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 02:05:35 +00:00
Måns Rullgård
76f2a12fe7 remove unneeded casts
Originally committed as revision 5569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 01:52:40 +00:00
Måns Rullgård
3dd46a296e get rid of veccpy(), replace with simple assignment
Originally committed as revision 5568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 01:39:38 +00:00
Michael Niedermayer
0abc2e73f8 new files for the CAVS decoder by (Stefan Gehrer <stefan gehrer gmx de)
Originally committed as revision 5567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 22:52:56 +00:00
Måns Rullgård
91c58c944f fill_mbaff_ref_list is missing a return statement, its return value
is ignored, and it can't possibly fail, so make it void

Originally committed as revision 5566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 17:33:48 +00:00
Kostya Shishkov
8f8d0e4875 Adjust AC prediction if (some) predictors are not available.
Originally committed as revision 5564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 07:22:29 +00:00
Kostya Shishkov
e9f2396e6f 0xFFFF l of cola. Now P-frames are decoded almost without distortions.
Originally committed as revision 5563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 07:13:52 +00:00
Kostya Shishkov
a34c26cc3d Remove unused variable (and it wasn't free'd too)
Originally committed as revision 5562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 03:19:28 +00:00
Kostya Shishkov
0f7344aad9 Use MpegEncContext->mbskip_table instead of custom bitplane.
Originally committed as revision 5561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-01 03:17:54 +00:00
Herve W
a949360163 * Allocating 16 bytes more for the MEMALIGN_HACK is enough. There's no
need for 1 more extra byte.

* Checking whether the to be allocated size is larger than INT_MAX,
doesn't assure that size+16 bytes for the MEMALIGN_HACK isn't larger
than INT_MAX.

* malloc might return NULL. Checking for it before using that pointer
seems like a good idea.
Patch by Herve W. H PPP O PPP W PPP aka PPP V+ffmpeg AH gmail PPP com
Original thread:
Date: Jun 29, 2006 1:21 PM
Subject: [Ffmpeg-devel] [PATCH] minor improvements to libavcodec/mem.c

Originally committed as revision 5559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 08:00:01 +00:00
Diego Pettenò
3a6fc8faf3 Disable w53 and w97 cmp methods when snow encoder is disabled
Patch by Diego 'Flameeyes' Petteno flameeyes AH gentoo PP org
Original thread:
Date: Jun 30, 2006 1:16 AM
Subject: [Ffmpeg-devel] [PATCH] Disable w53 and w97 cmp methods when snow encoder is disabled

Originally committed as revision 5558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 07:50:30 +00:00
Reynaldo H. Verdejo Pinochet
f2508b1712 anothe useless sizeof(char)
Originally committed as revision 5555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 05:53:28 +00:00
Kostya Shishkov
3f6d6af66e Slightly reworked MC code, it gives better picture.
Originally committed as revision 5554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 03:19:31 +00:00
Kostya Shishkov
c436ff41d2 typo
Originally committed as revision 5553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 03:17:31 +00:00
Diego Biurrun
7d77d5f639 spelling fixes courtesy of "Hervé W." H.O.W.aka.V+ffmpeg (at) gmail (dot) com
Originally committed as revision 5552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 02:47:36 +00:00
Reimar Döffinger
c6bb50e002 Fix initialization of vc1_decoder (the same as wmv3_decoder).
Patch by Reimar Doeffinger.

Originally committed as revision 5544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 11:17:50 +00:00
Kostya Shishkov
87dfe848fa Some optimization and fixes - mostly reworked MC and bitplanes.
Originally committed as revision 5543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 11:05:33 +00:00
Kostya Shishkov
e8ba1cea3c This should make P-frames decoding work on x86 (by avoiding get_bits(0))
Originally committed as revision 5542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 11:02:33 +00:00
Justin Ruggles
e71bcc3798 flacenc - rice param search patch by (Justin Ruggles jruggle earthlink net
1) search for optimal rice parameters and partition order. i also
modified the stereo method estimation to use this to calculate estimated
bit count instead of using just the pure sums.

2) search for the best fixed prediction order

3) constant subframe mode (good for encoding silence)

Note that the regression test for the decoded wav file also changed.
This is due to FFmpeg's FLAC decoder truncating the file, which it did
before anyway...just at a different cutoff point.  The generated FLAC
files are still 100% lossless.

With this update, FFmpeg's FLAC encoder has speed and compression
somewhere between "flac -1" and "flac -2".  On my machine, it's about
15% faster than "flac -2", and about 10% slower than "flac -1".  The
encoding parameters are identical to "flac -2" (fixed predictors, 1152
blocksize, partition order 0 to 3).

Originally committed as revision 5536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 21:01:21 +00:00
Kostya Shishkov
f26c2ef53b Added loop filtering as ersatz for overlap filter (improves picture quality for coarse quantization).
Originally committed as revision 5535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 15:37:48 +00:00
Kostya Shishkov
8985c915af VC1 Intra blocks in P-frames use different zigzag table than I-frames.
Originally committed as revision 5534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 15:34:14 +00:00
Reimar Döffinger
0b52626eb0 Do not read full byte when less than 8 bits are still to be read.
Does not make a difference with any of my samples, but current
code does not make much sense.

Originally committed as revision 5533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 12:13:01 +00:00
Reimar Döffinger
a5ecd69ec1 Ignore overrun in spectral RLE decoding, fixes
http://www.missouri.edu/~bah347/gprime/nintendothemesacappellax.wmv

Originally committed as revision 5532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 12:09:58 +00:00
Kostya Shishkov
be3492ec7e VC-1 decoder with I-frames support and partial P-frames decoding
Originally committed as revision 5530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 03:11:51 +00:00
Kostya Shishkov
10b9c374cf Rename VC9 to VC1 as there is no such thing as VC9
Originally committed as revision 5529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 02:55:54 +00:00
Michael Niedermayer
f33aa12011 stereo decorrelation support by (Justin Ruggles jruggle earthlink net>)
Originally committed as revision 5528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-26 06:00:07 +00:00
Michael Niedermayer
6c35b4dee3 10l
Originally committed as revision 5527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 21:22:25 +00:00
Luca Barbato
f3a30e3a9c cleanup patch from Diego Pettenò <flameeyes@gentoo.org>
Originally committed as revision 5526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 17:37:12 +00:00
Luca Barbato
24e1591036 minor cleanup
Originally committed as revision 5518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 20:09:49 +00:00
Michael Niedermayer
d1015e88b4 simplify & optimize things a little
Originally committed as revision 5516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 13:56:29 +00:00
Michael Niedermayer
9e96ab0389 first rudimentary version of (Justin Ruggles jruggle earthlink net) flac encoder
Originally committed as revision 5514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 10:20:15 +00:00
Justin Ruggles
cef7cc7232 CODEC_CAP_SMALL_LAST_FRAME patch by Justin Ruggles jruggle earthlink net
Originally committed as revision 5512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 09:25:21 +00:00
Luca Barbato
0187178e07 fix 24bit flac support, revised from Thibaut Mattern <thibaut.mattern@gmail.com>
Originally committed as revision 5507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-21 00:21:26 +00:00
Luca Barbato
4726111362 Make gcc-3 happy again, thanks to Olivier Castan <castan.o@free.fr> for pointing the issue
Originally committed as revision 5504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:35:30 +00:00
Diego Biurrun
5689ec7cde Remove unused FFMPEG_VERSION_INT.
Note: If this is useful I'll put it in version.sh/version.h.

Originally committed as revision 5503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:26:00 +00:00
Diego Biurrun
f1cc88a5d6 Use Subversion revision for FFMPEG_VERSION.
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr

Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:24:08 +00:00
Stefan Huehner
7b49ce2e34 Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-18 11:33:14 +00:00
Luca Barbato
e8772eecdc Cosmetics: should not hurt performance, scream if are
Originally committed as revision 5493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 18:46:06 +00:00
Diego Biurrun
2b9c9e097d Rename version from CVS to the more sensible HEAD.
Originally committed as revision 5489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 09:27:36 +00:00
Måns Rullgård
4f8ff17e75 The AAC frame header uses 13 bits for the frame size, so the buffer should
have room for such a frame.  A frame that large seems unlikely in a valid
file, but leaving room for it spares us the need to check it elsewhere.
Moving the buffer to the end of the struct made debugging this easier.

Originally committed as revision 5487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 20:41:33 +00:00
Michael Niedermayer
1449b7220d 10l to whoever wrote this
Originally committed as revision 5479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 09:20:31 +00:00
Måns Rullgård
e6f0ad5167 MIPS doesn't like unaligned accesses
Originally committed as revision 5469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-12 21:34:43 +00:00
Loren Merritt
c4da83fb0f h264: accept rbsp_trailing longer than 1 byte
Originally committed as revision 5467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-12 09:30:17 +00:00
Måns Rullgård
87318d6988 use ifeq(...,yes) instead of ifdef
Originally committed as revision 5462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 22:26:03 +00:00
Baptiste Coudurier
f2cf4a6be7 fix closed gop flag
Originally committed as revision 5460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 13:10:37 +00:00
Michael Niedermayer
086bfd256e support doing motion estimation and compensation without any residual transform or coding
this is usefull for filters which need ME/MC

Originally committed as revision 5456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-04 21:54:58 +00:00