Michael Niedermayer
05e7e64d1a
add rounding bias earlier in the idct, avoids many adds
...
Originally committed as revision 5618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 22:43:35 +00:00
Stefan Huehner
109d2de108
Mark read-only data as const. Patch by stefan huehner org.
...
Originally committed as revision 5615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 19:15:47 +00:00
Michael Niedermayer
57d664ff32
return -1 on bitstream errors instead of continuing, as the following stuff almost always will be useless until the next startcode
...
Originally committed as revision 5613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 17:08:35 +00:00
Michael Niedermayer
784036e404
simplify intra prediction mode decoding
...
Originally committed as revision 5612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 17:06:43 +00:00
Michael Niedermayer
5ca0106879
check cbp for validity, avoids possible out of array reads / segfaults
...
Originally committed as revision 5611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 16:42:22 +00:00
Michael Niedermayer
5781d6d6e8
minor simplificationn
...
Originally committed as revision 5610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 16:30:14 +00:00
Kostya Shishkov
66d0ad2605
Implement intensity compensation
...
Originally committed as revision 5609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 15:40:09 +00:00
Kostya Shishkov
8a66a390cc
Correctly choose global transform mode, MV mode and fix bitplane decoding
...
Originally committed as revision 5608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 15:39:21 +00:00
Kostya Shishkov
35a9cac888
Optimizations suggested by Michael Niedermayer
...
Originally committed as revision 5607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 15:33:28 +00:00
Stefan Gehrer
ad78c0f3f1
cleanup macroblock layer: merged decode of skipped MBs
...
with non-skipped
Originally committed as revision 5603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 18:43:45 +00:00
Stefan Gehrer
f503b19574
cosmetic patch:
...
Doxygen-style comments
added some more comments
Originally committed as revision 5602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:37:57 +00:00
Kostya Shishkov
05103ed33f
Correctly detect when use hpel or qpel mode
...
Originally committed as revision 5601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:22:18 +00:00
Kostya Shishkov
ef6cc8ce46
4-MV mode final fixes (now it works for non-exotic modes)
...
Originally committed as revision 5600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:21:18 +00:00
Kostya Shishkov
4a5343fabc
vc1_decode_intra_block() simplifications and corrections
...
Originally committed as revision 5599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 17:17:25 +00:00
Luca Abeni
9c39071d6d
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
...
Originally committed as revision 5595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 10:52:07 +00:00
Justin Ruggles
1e5707b7b8
porder patch by (Justin Ruggles jruggle a t earthlink d ot net)
...
Originally committed as revision 5593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 09:20:26 +00:00
Kostya Shishkov
e4bf0302a3
4-MV decoding support
...
Originally committed as revision 5591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 02:38:08 +00:00
Michael Niedermayer
b482e2d12f
CAVS decoder by (Stefan Gehrer stefan.gehrer gmx.de)
...
Originally committed as revision 5590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 00:16:45 +00:00
Måns Rullgård
3f8674a902
remove redundant macro definitions
...
Originally committed as revision 5589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 22:01:31 +00:00
Måns Rullgård
8fb0d07339
kill warning
...
Originally committed as revision 5588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 21:53:30 +00:00
Stefan Gehrer
20ffddb93a
CODEC_ID_CAVS (part of the cavs patch by Stefan Gehrer stefan.gehrer gmx de)
...
Originally committed as revision 5579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 14:58:17 +00:00
Stefan Gehrer
761089b028
staric frame_rate_tab -> non static ff_frame_rate_tab part of the cavs patch by (Stefan Gehrer stefan.gehrer gmx de)
...
Originally committed as revision 5578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 14:50:23 +00:00
Michael Niedermayer
474176bf92
3 lines while -> 1 line for loop
...
Originally committed as revision 5577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 13:14:04 +00:00
Michael Niedermayer
5d2f52b989
simplify
...
Originally committed as revision 5576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 13:10:08 +00:00
Michael Niedermayer
b2e30cb324
simplify compute_autocorr
...
Originally committed as revision 5575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 13:01:01 +00:00
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