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
19 years ago
Michael Niedermayer
784036e404
simplify intra prediction mode decoding
...
Originally committed as revision 5612 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Michael Niedermayer
5781d6d6e8
minor simplificationn
...
Originally committed as revision 5610 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Kostya Shishkov
66d0ad2605
Implement intensity compensation
...
Originally committed as revision 5609 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Kostya Shishkov
35a9cac888
Optimizations suggested by Michael Niedermayer
...
Originally committed as revision 5607 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Stefan Gehrer
f503b19574
cosmetic patch:
...
Doxygen-style comments
added some more comments
Originally committed as revision 5602 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Kostya Shishkov
05103ed33f
Correctly detect when use hpel or qpel mode
...
Originally committed as revision 5601 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Kostya Shishkov
4a5343fabc
vc1_decode_intra_block() simplifications and corrections
...
Originally committed as revision 5599 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
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
19 years ago
Kostya Shishkov
e4bf0302a3
4-MV decoding support
...
Originally committed as revision 5591 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
b482e2d12f
CAVS decoder by (Stefan Gehrer stefan.gehrer gmx.de)
...
Originally committed as revision 5590 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
3f8674a902
remove redundant macro definitions
...
Originally committed as revision 5589 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
8fb0d07339
kill warning
...
Originally committed as revision 5588 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
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
19 years ago
Michael Niedermayer
474176bf92
3 lines while -> 1 line for loop
...
Originally committed as revision 5577 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
5d2f52b989
simplify
...
Originally committed as revision 5576 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
b2e30cb324
simplify compute_autocorr
...
Originally committed as revision 5575 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
412759560c
dont use memcpy for copying structs
...
Originally committed as revision 5574 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
7c69b83057
simplify
...
Originally committed as revision 5573 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Michael Niedermayer
78f67b7ad3
simplify
...
Originally committed as revision 5571 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Måns Rullgård
76f2a12fe7
remove unneeded casts
...
Originally committed as revision 5569 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Kostya Shishkov
8f8d0e4875
Adjust AC prediction if (some) predictors are not available.
...
Originally committed as revision 5564 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
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
19 years ago
Kostya Shishkov
0f7344aad9
Use MpegEncContext->mbskip_table instead of custom bitplane.
...
Originally committed as revision 5561 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
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
19 years ago
Reynaldo H. Verdejo Pinochet
f2508b1712
anothe useless sizeof(char)
...
Originally committed as revision 5555 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Kostya Shishkov
3f6d6af66e
Slightly reworked MC code, it gives better picture.
...
Originally committed as revision 5554 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Kostya Shishkov
c436ff41d2
typo
...
Originally committed as revision 5553 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
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
19 years ago
Kostya Shishkov
87dfe848fa
Some optimization and fixes - mostly reworked MC and bitplanes.
...
Originally committed as revision 5543 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago