Commit Graph

6446 Commits

Author SHA1 Message Date
Michael Niedermayer
7f8ef97534 Factorize code a little.
Originally committed as revision 12674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:25:07 +00:00
Aurelien Jacobs
7bfacd4e75 use common aac sample rate tables
Originally committed as revision 12671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 21:41:48 +00:00
Michael Niedermayer
6ea7e6516a Do not use the mlib IDCT by default. We do not want videos which are only
decodable with the mlib IDCT. If anyone knows of other IDCTs which are not
binary identical to a widely available one, ensure that they are not used
by default. Such IDCTs should never have been default anyway, but possibly
something slipped through the reviews ...

Originally committed as revision 12666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 11:47:00 +00:00
Baptiste Coudurier
bac47ae6ca use mpeg4audio common code in aac parser
Originally committed as revision 12665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 12:50:32 +00:00
Baptiste Coudurier
4d34bb19c1 mpeg4audio common code
Originally committed as revision 12662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 12:01:40 +00:00
Loren Merritt
ce53144bac h264 chroma mc ssse3
width8: 180->92, width4: 78->63 cycles (core2)

Originally committed as revision 12661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 04:51:28 +00:00
Eli Friedman
4e0af031f1 Remove flexible array member from Escape 124
Patch by Eli Friedman (eli friedman gmail com)

Originally committed as revision 12660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 01:28:26 +00:00
Diego Biurrun
4477dedc4f minor typo fixes
Originally committed as revision 12658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:31:11 +00:00
Diego Biurrun
1b41f26045 cosmetics: Write some Doxygen comments in a more compact fashion.
Originally committed as revision 12657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:30:50 +00:00
Diego Biurrun
7a74e06796 Fix a bunch of typos in comments.
Originally committed as revision 12656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:16:51 +00:00
Diego Biurrun
d8c0e9d588 Remove redundant #ifdef around the complete file.
Originally committed as revision 12655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:13:00 +00:00
Diego Biurrun
dd9c773bd9 Make XVMC compilation depend on HAVE_XVMC, not HAVE_XVMC_ACCEL.
Originally committed as revision 12654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:12:10 +00:00
Michael Niedermayer
1354fa6442 help gcc-2.95
Originally committed as revision 12652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 16:43:27 +00:00
Eli Friedman
40d2627306 Escape 124 (RPL) decoder
Patch by Eli Friedman (eli friedman gmail com)

Originally committed as revision 12648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 10:41:40 +00:00
Justin Ruggles
42ceeb5f3c remove redundant context variable
Originally committed as revision 12642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 00:29:52 +00:00
Jai Menon
cb21e0a715 8SVX decoder
Patch by Jai Menon (realityman <at> gmx.net)

Originally committed as revision 12632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 19:16:08 +00:00
Baptiste Coudurier
e516d3488a change rle encoder to count up to 127, sgi does not support 128
Originally committed as revision 12631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 17:27:58 +00:00
Justin Ruggles
fe790f89e8 Use 15-bit LPC precision by default. This generally gives better compression
results. Also update Ogg regression test.

Originally committed as revision 12630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 16:01:10 +00:00
Alexander Strange
55727a835b Altivec and SSE2 require 16-byte alignment, so make sure they get it
patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:30:33 +00:00
Alexander Strange
3794b92819 check mm_flags for each DCT and skips the ones that can't be run
patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:29:28 +00:00
Alexander Strange
1a7ee380c5 get rid of the useless DCT_ERROR() macro
patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:28:03 +00:00
Michael Niedermayer
f3eec1cf52 Fix closed gop flag disapearence.
Originally committed as revision 12625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-29 22:27:25 +00:00
Bartlomiej Wolowiec
79b25a27b8 change name from stream type to frame type in AC3 code
Originally committed as revision 12623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 20:42:55 +00:00
Bartlomiej Wolowiec
be1e2a2bfa removal of stream_type in AACAC3ParseContext and adding AACAC3FrameFlag
Originally committed as revision 12622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 19:59:58 +00:00
Justin Ruggles
509fdb0b7e only allocate context input buffer if AVCodecContext.error_reslience is greater than 0.
Originally committed as revision 12600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 22:36:41 +00:00
Justin Ruggles
984ff38a2b cosmetics: indentation after last commit
Originally committed as revision 12594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 23:34:49 +00:00
Justin Ruggles
c33a196716 additional protection from segmentation faults and memory access errors by
copying the input buffer to a local context buffer which is large enough to
hold the largest possible AC3 frame.

Originally committed as revision 12593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 23:34:00 +00:00
Diego Biurrun
a815037409 Classify mlib as a configurable option, not as a hardware feature.
Originally committed as revision 12589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 21:30:16 +00:00
Andy Gocke
1f96bafb27 Return an error when realloc fails.
Patch by Andy Gocke (agocke gmail com)

Originally committed as revision 12581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 14:48:18 +00:00
Alexander Strange
28c47a423b Set mm_flags in dct-test to fix floating math.
Patch by Alexander Strange \astrange ithinksw com/

Originally committed as revision 12580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 14:34:27 +00:00
Michael Niedermayer
978805b2c5 Fix possible heap overflow caused by av_fast_realloc()
Originally committed as revision 12579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 10:15:17 +00:00
Bartlomiej Wolowiec
eb538f6ec9 adding lacking include to aac3_parser.c
Originally committed as revision 12572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 22:25:30 +00:00
Bartlomiej Wolowiec
6808a8eaf2 using EAC3_STREAM_TYPE_* instead of numbers
Originally committed as revision 12571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 22:21:22 +00:00
Bartlomiej Wolowiec
4e6eeaf019 using stream type in eac3 parser
Originally committed as revision 12570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 21:25:49 +00:00
Matthieu Castet
b4e806b2b9 pld instruction are used in libavcodec/armv4l/dsputil_arm_s.S which can be used
on armv4 that doesn't support this instruction. Futhermore pld is a nop on some
armv5 processor like arm926. Detect if pld is supported and have the
preprocessor remove it when it's not supported.
Fixes issue 393.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 12569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 11:49:59 +00:00
Justin Ruggles
c599e297e7 Pass AACAC3ParseContext to sync() instead of individual arguments. Patch by
Bartlomiej Wolowiec (bartek wolowiec gmail com)

Originally committed as revision 12564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:43:29 +00:00
Diego Biurrun
170c0b455c Fix typo in variable name: blured --> blurred.
Originally committed as revision 12556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 17:34:29 +00:00
Diego Biurrun
04932b0d97 cosmetics: typo fixes
Originally committed as revision 12554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 16:46:36 +00:00
Diego Biurrun
d952638699 typo: occured --> occurred
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 01:06:57 +00:00
Sascha Sommer
975cdc8fc1 rl2 decoder
Originally committed as revision 12543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 13:45:55 +00:00
Zuxy Meng
9e8e6d318c Add missed call to ff_cavsdsp_init_3dnow() in dsputil_init_mmx()
Originally committed as revision 12540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 12:36:49 +00:00
Michael Niedermayer
c8cf325a9b Document AVCodec.flush()
Originally committed as revision 12539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 11:40:05 +00:00
Michael Niedermayer
a2d1124605 Document AVCodec.capabilities.
Originally committed as revision 12538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 11:35:32 +00:00
Zuxy Meng
9f6152dfdb Apply 'alloc_size' attribute to ff_realloc_static()
Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 04:48:59 +00:00
Zuxy Meng
c02a1b3593 Apply 'alloc_size' and 'malloc' attributes to av_mallocz_static()
Originally committed as revision 12526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:54:45 +00:00
Zuxy Meng
98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Diego Biurrun
77ab59eb7f two more typos spotted by Mike
Originally committed as revision 12524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 19:36:20 +00:00
Diego Biurrun
c2f178da71 british_english--;
Originally committed as revision 12522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 19:08:42 +00:00
Michael Niedermayer
8474f58e8b More complete documentation for AVFrame.reference.
Originally committed as revision 12518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 18:16:13 +00:00
Michael Niedermayer
943032b155 Hardcode register to prevent aparent miscompilation.
Fixes regression tests with gcc 2.95.

Originally committed as revision 12512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 14:24:29 +00:00