Commit Graph

7168 Commits

Author SHA1 Message Date
Diego Biurrun
fd9f315339 Make preprocessor condition more specific and useful by changing
#ifdef CONFIG_ENCODERS --> #ifdef CONFIG_DVVIDEO_ENCODER.

Originally committed as revision 14165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 07:45:49 +00:00
Kostya Shishkov
d7e1fc4254 SSE2 optimizations for Monkey's Audio decoder vector functions
Originally committed as revision 14161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 04:48:38 +00:00
Jason Garrett-Glaser
3a8322b133 H264: Fix decoding with CABAC/delta_qp/PCM macroblocks.
Patch by Jason Garrett-Glaser (darkshikari gmail com)

Originally committed as revision 14160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 02:07:57 +00:00
avcoder
6413d91d08 Remove useless casts.
Patch by avcoder ffmpeg at gmail d0t com

Originally committed as revision 14154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 11:52:51 +00:00
avcoder
24909d3983 Remove useless casts.
Patch by avcoder ffmpeg at gmail d0t com

Originally committed as revision 14153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 11:49:53 +00:00
Anuradha Suraparaju
733cec1d73 Parse frames to feed the decoder with individual parse units.
Patch by Anuradha Suraparaju anuradha rd bbc co uk
Original thread: [PATCH] Patches to fix issue453 individuallibdiracschroedinger
Date: 05/22/2008 04:26 AM

Originally committed as revision 14152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 11:44:01 +00:00
Anuradha Suraparaju
0cf0e25d22 Add a parameter for queue size.
Patch by Anuradha Suraparaju anuradha rd bbc co uk

Originally committed as revision 14150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 11:40:19 +00:00
Kostya Shishkov
bb68f8a2b6 Monkey's Audio decoder vector functions work on input with length
a multiple of 16. Reflect that fact in the documentation for them.

Originally committed as revision 14148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 06:15:13 +00:00
Gregory Montoir
974e0eeed3 Motion Pixels Video Decoder.
Patch by Gregory Montoir <cyx <at> users <dot> sourceforge <dot> net>

Originally committed as revision 14146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 03:01:39 +00:00
Michael Niedermayer
fdbb1feb27 Remove ancient code that hasnt worked in many years.
Originally committed as revision 14144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 19:21:08 +00:00
Michael Niedermayer
81d4ee3e16 New full search ME
Originally committed as revision 14142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 18:59:52 +00:00
Alexander Strange
bc31447225 Make the function prototype visible to comply with C99 inline.
Fixes building with gcc -std=gnu99.

Originally committed as revision 14140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 17:51:57 +00:00
Peter Ross
5cfdfd8aae increment minor version for commit r14110 (Electronic Arts CMV decoder)
Originally committed as revision 14139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 08:34:43 +00:00
Michael Niedermayer
e98750c373 float_to_int16_sse2()
20% faster than sse

Originally committed as revision 14138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 07:21:12 +00:00
Michael Niedermayer
7445f9cc67 fix IPCM_decode_error.h264
Originally committed as revision 14135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 06:03:59 +00:00
Michael Niedermayer
8dbee6538d Fix the av_set_string() free / alloc issue.
Originally committed as revision 14134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 23:50:03 +00:00
Diego Biurrun
716e7c0f0b Remove wrong casts from vector declarations, this would cause errors when
compiling with -std=gnu99. Blessed by Luca Barbato.

Originally committed as revision 14129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 16:02:20 +00:00
Peter Ross
495900f78b Electronic Arts CMV decoder
Originally committed as revision 14110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 13:22:23 +00:00
Peter Ross
60f451b6fe Remove AVPaletteControl from ALG MM demuxer/decoder
Originally committed as revision 14109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 12:44:08 +00:00
Victor Pollex
1835cda65a Make LOAD4/STORE4 macros more generic.
Patch by Victor Pollex victor pollex web de
Original thread: [PATCH] mmx implementation of vc-1 inverse transformations
Date: 06/21/2008 03:37 PM

Originally committed as revision 14108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 09:24:11 +00:00
Michael Niedermayer
35ee72b1d7 1 c-asm loop less and 1x unroll of float_to_int16_sse()
25% faster

Originally committed as revision 14104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 21:25:18 +00:00
Michael Niedermayer
560fa9bf51 Fix x86-64
Originally committed as revision 14103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 21:04:29 +00:00
Michael Niedermayer
63b737d4f9 dont use C-asm loops and unroll once float_to_int16_3dnow()
30% faster

Originally committed as revision 14102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 20:46:03 +00:00
Benjamin Larsson
7769875db3 redundant assignment found by Clang
Originally committed as revision 14096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 08:29:08 +00:00
Vitor Sessak
5be30c59da Simplify: glob->phase is always == 3
Originally committed as revision 14094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 14:23:30 +00:00
Vitor Sessak
f27f0fc374 Cosmetics: reindent tables
Originally committed as revision 14093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 14:16:21 +00:00
Vitor Sessak
f803495415 Remove phasep context var, it is just phase*5
Originally committed as revision 14092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 12:03:21 +00:00
Vitor Sessak
eb73742d6e Slighly faster operation
Originally committed as revision 14091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 12:01:59 +00:00
Vitor Sessak
0bbab5671d Typo in a comment: s/two avoid/to avoid/
Originally committed as revision 14090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 10:49:28 +00:00
Vitor Sessak
8edfd15175 Cosmetics: remove braces
Originally committed as revision 14089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 10:35:01 +00:00
Vitor Sessak
a5f0f504df Another use of scalar_product_float()
Originally committed as revision 14088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 10:32:29 +00:00
Vitor Sessak
a03a6db1af Do not reimplement memmove()
Originally committed as revision 14087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 10:30:21 +00:00
Gregory Montoir
7bd2f502fa Remove context fields which can be used as simple local variables.
patch by Gregory Montoir, cyx users sourceforge net

Originally committed as revision 14086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 10:01:54 +00:00
Gregory Montoir
ce83d48b22 Remove av_cold attribute on decode_frame and add it to decode_end
to match other codecs.
patch by Gregory Montoir, cyx users sourceforge net

Originally committed as revision 14084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 09:58:23 +00:00
Stefano Sabatini
ed76af08a4 Document av_find_opt().
Originally committed as revision 14083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 08:16:50 +00:00
Kostya Shishkov
7246d6311e Altivec implementation of APE vector functions
Originally committed as revision 14082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 07:33:09 +00:00
Kostya Shishkov
88c0536a42 Add several vector functions used by Monkey's Audio decoder to dsputil
Originally committed as revision 14081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-06 06:06:55 +00:00
Vitor Sessak
647b90ae0e Cosmetics: remove braces
Originally committed as revision 14080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 18:43:24 +00:00
Vitor Sessak
7a64649d68 Create a function for float dot product instead of duplicating all over the file
Originally committed as revision 14079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 18:42:08 +00:00
Diego Biurrun
a4ce72480e Add correct header #include to fix 'make checkheaders'.
Originally committed as revision 14078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 10:16:54 +00:00
Diego Biurrun
0e74e1ff3c Add required stdint.h header #include.
Originally committed as revision 14077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 10:16:27 +00:00
Diego Biurrun
9906a2be76 spelling cosmetics
Originally committed as revision 14076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 10:11:42 +00:00
Diego Biurrun
bbdfa06d43 Add a note to remind people that new PCM/ADPCM formats need to be added to
the Makefile as well to allow proper selective compilation.

Originally committed as revision 14072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 07:30:59 +00:00
Diego Biurrun
f1e3c9368b Remove unused variable, fixes the warning:
libavcodec/nellymoserdec.c:133: warning: unused variable ‘i’

Originally committed as revision 14071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 07:28:35 +00:00
Vitor Sessak
6f1e7a9e09 Write for loops in a more standard way. In my opinion, they are much more readable now.
Originally committed as revision 14068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 19:55:58 +00:00
Ramiro Polla
b517af05b9 MLP/TrueHD decoder.
Originally committed as revision 14067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 15:44:13 +00:00
Vitor Sessak
69c23e6f33 Move vars declaration to inner loop when possible
Originally committed as revision 14066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 15:37:52 +00:00
Vitor Sessak
12ea267bca Simplify
Originally committed as revision 14065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 15:32:04 +00:00
Vitor Sessak
ab52eb8e50 Remove unneeded var
Originally committed as revision 14063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 19:25:12 +00:00
Vitor Sessak
780433976d Use a matrix instead of a vector
Originally committed as revision 14062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 19:23:42 +00:00
Vitor Sessak
a429946ba9 Reindent table
Originally committed as revision 14061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 19:21:19 +00:00
Michael Niedermayer
4f0689b528 We do not only calculate it but we also return it.
Originally committed as revision 14058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 11:52:35 +00:00
Michael Niedermayer
2de74f5a4d More correct comment.
Originally committed as revision 14057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 11:51:59 +00:00
Michael Niedermayer
2b150e9a0c make sum_of_squares() more generic
Originally committed as revision 14056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 11:50:44 +00:00
Alexander Strange
58cc7dd9fc Cosmetics: split a long line.
Originally committed as revision 14055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:28:47 +00:00
Alexander Strange
92ed1ec957 Use get_cabac_bypass_sign instead of an if/else.
Originally committed as revision 14054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:25:17 +00:00
Alexander Strange
142ee5d73d Reorder the if/else for residual cats to match gcc's branch prediction.
Originally committed as revision 14053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:20:06 +00:00
Alexander Strange
47775cb8de Simplify loop condition for readability.
Originally committed as revision 14052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:15:05 +00:00
Alexander Strange
9f734c3b57 Reindent.
Originally committed as revision 14051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:12:01 +00:00
Alexander Strange
9588ec340c Clone decode_cabac_residual() for DC residuals, to get rid of a bunch of branches in the main loop.
Originally committed as revision 14050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:08:12 +00:00
Alexander Strange
2e254bc583 Don't generate two copies of hl_decode_mb() under ENABLE_SMALL.
(assuming your compiler removes unused static functions)

Originally committed as revision 14049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:03:53 +00:00
Alexander Strange
fedec603db Don't test for H264 encoding unless an encoder exists.
Originally committed as revision 14048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 21:46:18 +00:00
Ramiro Polla
5faf3a4449 Clarify comment about parity nibble.
Originally committed as revision 14047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 12:24:50 +00:00
Ramiro Polla
49de8d1e9c Make ff_mlp_read_major_sync() take a GetBitContext instead of buffers.
Originally committed as revision 14044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-01 01:36:16 +00:00
Stefano Sabatini
6122c92e92 Clarify/simplify documentation for the default_val field in AVOption.
Originally committed as revision 14043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 21:46:49 +00:00
Vitor Sessak
f38deb4452 Remove useless wrapper around ra288_decode_frame()
Originally committed as revision 14041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 19:30:27 +00:00
Vitor Sessak
6091357fc0 Remove unpack() function, read the bitstream as needed
Originally committed as revision 14040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 19:09:00 +00:00
Vitor Sessak
285ea3e30a Clean up error message
Originally committed as revision 14039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 18:39:11 +00:00
Vitor Sessak
a40b2c2a4b Rewrite unpack() using the bitstream reader
Originally committed as revision 14038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 18:36:45 +00:00
Vladimir Voroshilov
e500315b1d gain code, gain pitch and pitch delay decoding for ACELP based codecs
Originally committed as revision 14037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 18:03:38 +00:00
Vitor Sessak
4452836391 Move function to avoid forward declaration
Originally committed as revision 14036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 16:57:27 +00:00
Vitor Sessak
c1fadf5012 Remove useless initialization
Originally committed as revision 14035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 16:54:49 +00:00
Vitor Sessak
eec7ade275 Reindent the whole file
Originally committed as revision 14034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 16:53:33 +00:00
Benoit Fouet
0abf0c5398 Simplify mm_support() for ARM (by Måns).
Originally committed as revision 14033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 11:16:47 +00:00
Matthieu Castet
37dcd091da Define mm_support() for ARM.
Patch by Matthieu Castet <castet matthieu free fr>

Originally committed as revision 14032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 07:31:41 +00:00
Vitor Sessak
fe4a5b185f Make ff_acelp_lp_synthesis_filter() receives a pointer to the actual filter coefficients and not the pointer minus one
Originally committed as revision 14031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 21:37:03 +00:00
Vitor Sessak
b83ff6c700 Update copyright
Originally committed as revision 14030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 13:12:31 +00:00
Vitor Sessak
95fc77b92d Use ff_acelp_lp_synthesis_filter() instead of duplicating it
Originally committed as revision 14029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 11:21:06 +00:00
Vitor Sessak
8a1c868ee6 Add a rounding parameter to ff_acelp_lp_synthesis_filter()
Originally committed as revision 14028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 11:19:50 +00:00
Laurent Desnogues
a6ce3d3d2d Add command line support for '-idct simplearmv6'.
patch by Laurent Desnogues, laurent.desnogues gmail com

Originally committed as revision 14027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 08:32:27 +00:00
Vitor Sessak
dc95111c09 Doxy comment
Originally committed as revision 14026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 07:58:46 +00:00
Baptiste Coudurier
f056c8e9dd set frame_size in libfaad decoder
Originally committed as revision 14024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 19:41:18 +00:00
Alexander Strange
74fd9022b5 Realign newlines.
Originally committed as revision 14023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 18:30:50 +00:00
Alexander Strange
00969e1c59 Use MANGLE() instead of memory operands to read globals.
(fixes out of registers with apple gcc 4.2)

Originally committed as revision 14022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 18:27:31 +00:00
Michael Niedermayer
aadd27cdf4 Make code independent/less dependent on dsputil.
This also makes the mmx parts work again ...

Originally committed as revision 14021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 10:42:31 +00:00
Ramiro Polla
ae10e1fd3d Seek the file forwards instead of backwards when sync is lost.
Originally committed as revision 14014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 21:36:01 +00:00
Alexander Strange
b6a66897b6 Remove pointless AVFrame* casting.
Originally committed as revision 14011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 18:53:41 +00:00
Alexander Strange
39047aecac Remove duplicate emms.
Originally committed as revision 14010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 18:52:02 +00:00
Alexander Strange
8b9bda1c37 Remove commented-out code.
Originally committed as revision 14009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 18:51:01 +00:00
Alexander Strange
2f3b1b801a Export qscale so that postprocessing works.
Originally committed as revision 14008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 18:50:06 +00:00
Alexander Strange
de7bdf58f4 Remove unused PutBitContext.
Originally committed as revision 14007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-27 18:47:01 +00:00
Måns Rullgård
dce292bb35 Revert "add libmpeg2 permutation to dct-test"
10l to me for not noticing that dct-test.c calls this
permutation MMX.  Note to self: don't code after 2am.

Originally committed as revision 13991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 17:20:26 +00:00
Aurelien Jacobs
4231f05b28 VP3 parser can also handle VP6 without any changes.
Originally committed as revision 13990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 17:14:20 +00:00
Stefan Gehrer
b3bf98aa56 move ff_log2_run to bitstream.c and reuse in ffv1.c
Originally committed as revision 13989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 16:39:21 +00:00
Michael Niedermayer
0c587a4ea8 VP3 & Theora parser to extract keyframe flags.
This parser is not able to split random bitstream pieces.

Originally committed as revision 13986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 11:25:42 +00:00
Måns Rullgård
fb9464e807 add libmpeg2 permutation to dct-test
Originally committed as revision 13985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 01:13:16 +00:00
Michael Niedermayer
fc658cfe2b Support >=4096 dimensions, fixes issue499.
Originally committed as revision 13984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 23:57:06 +00:00
Michael Niedermayer
da95f225fd Set frame_size to the gcd of what the decoder can output.
Originally committed as revision 13971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 18:35:24 +00:00
Alexander Strange
ff558537f0 Don't set mm_flags in fft-test, since it doesn't do anything anyway.
Originally committed as revision 13968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 17:37:47 +00:00
Alexander Strange
dafe882457 Use a local variable instead of mm_flags in dct-test.
Originally committed as revision 13967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 17:33:55 +00:00