Commit Graph

7053 Commits

Author SHA1 Message Date
Vladimir Voroshilov
7c96587c17 Fix compilation error.
It was introduced after changing input parameter and
overlooked during review process.

Originally committed as revision 13112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 05:28:29 +00:00
Justin Ruggles
59d598b923 fix reading of samples-per-frame
Originally committed as revision 13111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 04:25:34 +00:00
Vladimir Voroshilov
a52000f291 various filters for ACELP-based codecs
Originally committed as revision 13110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 03:42:53 +00:00
Vitor Sessak
f863bee841 Simplify a list of array allocations with a loop.
patch by Vitor Sessak, vitor1001 gmail com

Originally committed as revision 13109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 03:40:14 +00:00
Vladimir Voroshilov
3f3865d30b Replace hardcoded LP filter order with parameter.
This will allow to reuse the code in the SIPR decoder.

Originally committed as revision 13108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 03:18:18 +00:00
Vitor Sessak
bf21a10f1c Remove useless memset, patch by Vitor Sessak, vitor1001 gmail com.
Originally committed as revision 13107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-10 16:05:12 +00:00
Vitor Sessak
57ecbbbb1e Rewrite unpack_input() completely, patch by Vitor Sessak, vitor1001 gmail com.
Originally committed as revision 13106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-10 16:02:38 +00:00
Vitor Sessak
47eb818713 cosmetics: Reindent file, patch by Vitor Sessak, vitor1001 gmail com,
some further prettyprinting by myself.

Originally committed as revision 13105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-10 15:59:08 +00:00
Diego Biurrun
a12b44d7fb Add missing required header directly.
Originally committed as revision 13103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 14:34:52 +00:00
Diego Biurrun
20cd685ae8 Add missing path to #include.
Originally committed as revision 13102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 14:33:55 +00:00
Diego Biurrun
223d678a3f Add missing path to #include statement.
Originally committed as revision 13101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 14:29:37 +00:00
Diego Biurrun
245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Michael Niedermayer
def1e277b9 Little fix for block sizes <16
Originally committed as revision 13095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 10:44:12 +00:00
Diego Biurrun
a1fe4604d4 Revert previous mistaken commit.
Originally committed as revision 13094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 10:18:58 +00:00
Diego Biurrun
81f46d5ac9 ipp.h is a system header, use <> when #including it.
Originally committed as revision 13093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 10:06:51 +00:00
Diego Biurrun
22700471a9 dsputil.h is not a system header, use "" when #including it.
Originally committed as revision 13092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 09:48:49 +00:00
Michael Niedermayer
058aae3ce7 Improve motion estimation metric.
Patch by Michael Niedermayer

Originally committed as revision 13090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 09:02:41 +00:00
Aurelien Jacobs
931141055b remove useless comment
Originally committed as revision 13086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 23:15:39 +00:00
Aurelien Jacobs
5210529e2d ensure vp56_decode_frame always return unchanged buf_size
Originally committed as revision 13083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 21:59:51 +00:00
Ramiro Polla
40d0e665d0 Do not misuse long as the size of a register in x86.
typedef x86_reg as the appropriate size and use it instead.

Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 21:11:24 +00:00
Carl Eugen Hoyos
35027eddf3 Do not return -1 from void functions.
Originally committed as revision 13080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 14:02:35 +00:00
Carl Eugen Hoyos
e0a0c85dbd One const per declaration is enough.
Originally committed as revision 13079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 14:01:44 +00:00
Baptiste Coudurier
6650c4c3a8 export dnxhd encoded picture quality
Originally committed as revision 13071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 17:18:41 +00:00
Diego Biurrun
a5c0969a33 Remove one more set of useless parentheses from a return call.
Originally committed as revision 13070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:20:50 +00:00
Diego Biurrun
ccd425e799 Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Jason Garrett-Glaser
144783887c Use a state machine to reduce branching logic in decode_cabac_residual.
Patch by Jason Garrett-Glaser (darkshikari gmail com)

Originally committed as revision 13060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 22:39:12 +00:00
Ramiro Polla
d010a2d5be Prevent targaenc.c from outputting trash byte.
Originally committed as revision 13059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 20:04:00 +00:00
Sisir Koppaka
9db5bdfaa5 Add complete multimedia Wiki URL, patch by Sisir Koppaka.
Originally committed as revision 13055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 09:58:22 +00:00
Ramiro Polla
1f4fa6a4ef Indent.
Originally committed as revision 13054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 01:08:40 +00:00
Ramiro Polla
0ec7b71de8 Do not read out of array bounds.
Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 01:07:46 +00:00
Michael Niedermayer
f7739f3708 Output buffer overflow.
Originally committed as revision 13052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 21:06:55 +00:00
Michael Niedermayer
494e353179 Heap buffer overflow.
Originally committed as revision 13051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 21:01:47 +00:00
Michael Niedermayer
83e9a67d7c Fix memset(0) based buffer overflow.
Originally committed as revision 13050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 20:56:57 +00:00
Michael Niedermayer
3df9ce75b5 Move declaration a little.
Originally committed as revision 13049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 17:28:25 +00:00
Michael Niedermayer
8f51f55564 Setting i to 0 once should do.
Originally committed as revision 13048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 17:26:13 +00:00
Diego Biurrun
20c9c8eec8 cosmetics: Consistently use C-style comments in #endif preprocessor directives.
Originally committed as revision 13047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 14:15:29 +00:00
Anuradha Suraparaju
f7cd9eed5d Add Dirac support through libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:59:45 +00:00
Diego Biurrun
34499963e3 10l: Unbreak libdirac compilation; CONFIG_LIBDIRAC is defined in config.h, so
include the header before using parts from it.

Originally committed as revision 13045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:55:31 +00:00
Måns Rullgård
0852e30b53 fix checkheaders when libdirac not installed
Originally committed as revision 13044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:44 +00:00
Måns Rullgård
7c43009358 add necessary #includes in headers
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:39 +00:00
Anuradha Suraparaju
690bfceb20 Dirac decoding/encoding support via libdirac.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 03:47:26 +00:00
Diego Biurrun
575e696ce4 Add Dirac parser from SoC; written by Marco Gerards;
submitted by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 03:33:21 +00:00
Justin Ruggles
97085fa154 include avcodec.h
Originally committed as revision 13039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 23:20:29 +00:00
Benjamin Larsson
c401efdefe Long name spelling fixes
Originally committed as revision 13038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 22:58:16 +00:00
Justin Ruggles
512b37bb28 move call to init_get_bits inside conditional
Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:35:32 +00:00
Justin Ruggles
9482171bbd share streaminfo parsing function
Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:34:34 +00:00
Justin Ruggles
9d48410f14 split out some decoder context params to a shared macro
Originally committed as revision 13035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:33:14 +00:00
Justin Ruggles
4bc07e78b8 change function parameters for dump_headers()
Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:30:32 +00:00
Justin Ruggles
a128cc91f3 change function parameters for metadata_streaminfo()
Originally committed as revision 13033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:29:49 +00:00
Diego Pettenò
53e85f5fa4 Mark symbol as static, patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com.
Originally committed as revision 13027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-01 15:20:57 +00:00
Diego Biurrun
cdfec9c02a Comment out unused ff_vc1_norm6_spec table.
Originally committed as revision 13024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-30 16:33:58 +00:00
Stefano Sabatini
3bb82f3da5 Transform codec short name into a single word.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-30 09:29:15 +00:00
Stefano Sabatini
bcdb2378f7 Add long names to some AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 21:31:21 +00:00
Michael Niedermayer
0dfea024e1 indent
Originally committed as revision 13021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 18:32:06 +00:00
Michael Niedermayer
ef79ef3c11 Fix decoding of:
http://samples.mplayerhq.hu/A-codecs/msgsm/levis.avi
http://samples.mplayerhq.hu/A-codecs/msgsm/wernfried_1.avi

partially fix decoding of:
http://samples.mplayerhq.hu/A-codecs/GSM/sample-gsm-8000.gsm

Allow the user to encode non standard samplerates by using -strict

Originally committed as revision 13020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 18:31:29 +00:00
Ramiro Polla
e6dba5dfab Typo: distoration -> distortion.
Originally committed as revision 13019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 14:08:01 +00:00
Robert Swain
34d71ebe94 Remove leading whitespace in long codec name that was committed in r13017
Originally committed as revision 13018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 08:37:40 +00:00
Stefano Sabatini
6140271f54 Add some long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 07:24:44 +00:00
Stefano Sabatini
9d82d6cbba Transform codec names into single words.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 07:11:59 +00:00
Justin Ruggles
b88e657628 remove unused variable, min_framesize
Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 01:29:35 +00:00
Kostya Shishkov
39902a8c93 Calculate motion vector information based on PTS provided in slice header
Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-28 13:37:36 +00:00
Stefano Sabatini
038f846e41 Add long names to some AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-28 10:21:58 +00:00
Stefano Sabatini
162d4fc99d Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 22:39:51 +00:00
Stefano Sabatini
99e3913d39 Make 8SVX codec names just a single word for consistency with other codec names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 22:19:02 +00:00
Stefano Sabatini
d5202e4fda Add long names to many AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 10:52:44 +00:00
Diego Biurrun
3ddf7fe945 Use filename as multiple inclusion guard.
Originally committed as revision 13004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 10:01:07 +00:00
Diego Biurrun
57105ddd03 Rename i386/cputest.c --> i386/cpuid.c.
Originally committed as revision 13002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 16:02:22 +00:00
Diego Biurrun
8033ba57b9 Remove unnecessary test program dependency declarations.
Originally committed as revision 13001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 15:38:00 +00:00
Robert Swain
80b1e6cc1f Grammar fixes and improvements for the new ACELP code
Originally committed as revision 13000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 15:20:06 +00:00
Baptiste Coudurier
169203c1d9 break if error in header so it can output already decoded frames
Originally committed as revision 12999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:41:29 +00:00
Baptiste Coudurier
41b8800f88 merge init with declaration
Originally committed as revision 12998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:36:34 +00:00
Baptiste Coudurier
f91c089812 cosmetics: merge decls
Originally committed as revision 12997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:34:01 +00:00
Baptiste Coudurier
5fd7a9fcdf simplify: merge loops
Originally committed as revision 12996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:33:09 +00:00
Baptiste Coudurier
8da8970d01 simplify
Originally committed as revision 12995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:30:06 +00:00
Baptiste Coudurier
0d5b2eb445 simplify: remove useless fields and vars
Originally committed as revision 12994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:28:18 +00:00
Baptiste Coudurier
676e26ab6d move MP3On4DecodeContext def near the code and under ifdef
Originally committed as revision 12993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:22:43 +00:00
Baptiste Coudurier
9f95bfe2b9 correctly patch syncword for samples rates < 16000, decoder now fully support all iso ref files
Originally committed as revision 12992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:18:29 +00:00
Baptiste Coudurier
f0f53c83ba fix 1 frame config decoding
Originally committed as revision 12991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:10:31 +00:00
Baptiste Coudurier
60dfa0b8d4 remove old draft last case not present anymore in iso specs
Originally committed as revision 12990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:08:34 +00:00
Baptiste Coudurier
9a53eb7ce7 mp3on4 decoder now depends on mpeg4audio code
Originally committed as revision 12989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:00:27 +00:00
Baptiste Coudurier
b61d2782f3 use mpeg4audio common code
Originally committed as revision 12988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:56:52 +00:00
Kostya Shishkov
86c90cc7a6 Skip blocks in B-frames reuse motion vectors from next reference frame.
So if referenced blocks is 16x8, 8x16 or 8x8 partitions, skip block
will have them too.

Originally committed as revision 12987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:09:36 +00:00
Baptiste Coudurier
ec39f7d855 simplify
Originally committed as revision 12986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:08:16 +00:00
Baptiste Coudurier
9708d52ee8 correctly compute out_size and samples number
Originally committed as revision 12985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:03:41 +00:00
Baptiste Coudurier
cd3289650a fsize is 12 bits according to specs
Originally committed as revision 12984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:59:46 +00:00
Baptiste Coudurier
5be25fc133 simplify using FFMIN3
Originally committed as revision 12983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:51:52 +00:00
Baptiste Coudurier
a82dcdffb2 return error if buf_size is too small
Originally committed as revision 12981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:39:45 +00:00
Baptiste Coudurier
dfcd6d91fe values can fit uint8_t
Originally committed as revision 12980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:34:37 +00:00
Baptiste Coudurier
183fceaafd add const
Originally committed as revision 12979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:33:02 +00:00
Vladimir Voroshilov
8726882993 Fixed-point LSP and LPC decoding routines for ACELP-based codecs
Originally committed as revision 12978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 11:52:33 +00:00
Ramiro Polla
630e1b27c2 get_vlc2() only gets up to three levels in the tables. The last codes weren't being read properly.
Originally committed as revision 12976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 05:03:36 +00:00
Kostya Shishkov
a9f1d8cdf6 Correct company name
Originally committed as revision 12975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 04:14:33 +00:00
Vladimir Voroshilov
1cf3ee2d1c Fixed-point implementation of ff_cos, ff_log2, ff_exp2.
Also implemented routine for calculating sum(a[i] * a[i-offset]>>shift)

Originally committed as revision 12974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 17:14:47 +00:00
Baptiste Coudurier
bf52a72023 10l, alphabetical order
Originally committed as revision 12973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 16:54:53 +00:00
Baptiste Coudurier
3b4eccabae identation
Originally committed as revision 12969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:15:56 +00:00
Baptiste Coudurier
e67fe90c40 remove no more needed field
Originally committed as revision 12968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:11:39 +00:00
Baptiste Coudurier
62377fec30 remove unused var
Originally committed as revision 12967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:10:33 +00:00
Baptiste Coudurier
9ff8976dad remove ima qt decoding hack, decode whole frame at once
Originally committed as revision 12966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:09:26 +00:00
Baptiste Coudurier
d29ee34ce3 fix adpcm ima qt decoding, channel at init is 0, correct stereo out since samples += avctx->channels
Originally committed as revision 12965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:06:07 +00:00
Baptiste Coudurier
45a97d3018 set channels and sample rate from mpeg4audio config
Originally committed as revision 12964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 14:09:42 +00:00
Baptiste Coudurier
4afaffca9e mov demuxer depends on mpeg4audio code now
Originally committed as revision 12963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 14:05:32 +00:00
Michel Bardiaux
202aca676f Make sure some value is always returned via data_size
Originally committed as revision 12955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 13:25:11 +00:00
Michel Bardiaux
96ddaff5ec Allow bitrates zero and 13200 (needed for decoding mov and aiff)
Originally committed as revision 12953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 13:05:15 +00:00
Bartlomiej Wolowiec
0c79b1402a add a ff_ac3_parse_header_full() which calls ff_ac3_parse_header()
and then reads the channel_map stuff

Originally committed as revision 12944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 22:27:13 +00:00
Thorsten Jordan
3fd6b3368a Set pixel aspect ratio for libxvid wrapper.
Patch by Thorsten Jordan tjordanATmacrosystem de

Originally committed as revision 12936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 12:39:25 +00:00
Ramiro Polla
a960000304 Fix regression introduced by r12929.
num_coeffs is just one byte.
It would make no sense for num_coeffs to be as high as 2^32.

Originally committed as revision 12931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 23:24:47 +00:00
Ramiro Polla
9ed0cff98e The code now is pretty self explanatory about the header structure.
Remove the big comment and add comments about the skipped fields.

Originally committed as revision 12930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:30:50 +00:00
Ramiro Polla
fc22c00935 Use bytestream functions for reading frame header.
Originally committed as revision 12929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:24:07 +00:00
Thorsten Jordan
904bc6b80a Make Xvid wrapper use threads (with support for newest CVS Xvid only)
Patch by Thorsten Jordan ( tjordan macrosystem de )

Originally committed as revision 12928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:21:21 +00:00
Stefano Sabatini
3ade5d56d0 Add supported_samplerates field to AVCodec
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

Originally committed as revision 12925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:06:20 +00:00
Diego Biurrun
9fa58f19ff Rename diracschro_common.[ch] to libdirac_libschro.[ch], external library
glue code should have a lib prefix in its name.

Originally committed as revision 12924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 16:26:15 +00:00
Luca Barbato
6ef4ba3fb3 libdirac and libschro common code, patch from Anuradha Suraparaju anuradhaAtrdDoTbbcDoTcoDotuk
Originally committed as revision 12923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 13:22:21 +00:00
Bartlomiej Wolowiec
55736cfbd2 change ff_ac3_parse_header() to take a GetBitContext instead of const char*
Originally committed as revision 12922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 11:14:01 +00:00
Sisir Koppaka
0ec1eb6906 Add .longname to bfi_decoder declaration.
patch by Sisir Koppaka, sisir.koppaka gmail com

Originally committed as revision 12921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 09:16:05 +00:00
Keiji Costantini
b1d31e2f12 Force inlining of MPV_motion_internal.
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM

Originally committed as revision 12918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:32:11 +00:00
Keiji Costantini
bd7c626ad0 Unroll codepath
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM

Originally committed as revision 12917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:30:54 +00:00
Reimar Döffinger
b189e6705a Simplify ff_split_xiph_headers
Originally committed as revision 12914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-20 23:54:40 +00:00
Reimar Döffinger
58720ebd9e Add checks to ff_split_xiph_headers to ensure that returned header_len and
header_start values are always valid.
Fixes a crash with http://samples.mplayerhq.hu/ogg/mmw-deadzy.ogg
(still does not play though).

Originally committed as revision 12913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-20 23:33:49 +00:00
Vladimir Voroshilov
159ef4b02a Implement FFMAX3(a,b,c) - maximum over three arguments.
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 17:07:58 +00:00
Ramiro Polla
bebfc16a31 Do not pass dct_block to vlc_decode_block().
The function uses dct_block from the context anyways.

Originally committed as revision 12908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 13:03:12 +00:00
Ramiro Polla
399e46527a Cosmetics and style.
Originally committed as revision 12907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 12:34:48 +00:00
Ramiro Polla
c9108634c4 Rename vlc1 to vlc.
There is no vlc2, so there is no point in numbering it.

Originally committed as revision 12906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 12:28:32 +00:00
Michael Niedermayer
144b5bdc70 Make most of E-AC-3 work without breaking regression tests.
Originally committed as revision 12903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 12:04:33 +00:00
Michael Niedermayer
8870cf8277 This fixes the code so it is correct on both sides of the if().
Originally committed as revision 12902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 11:14:55 +00:00
Michael Niedermayer
7bc5f6e53e indent
Originally committed as revision 12901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 10:48:50 +00:00
Diego Biurrun
12eef728bf Fix build of cputest test program.
Originally committed as revision 12899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 09:18:25 +00:00
Michael Niedermayer
e4d5a18558 100l I broke AC3 in MPEG seeking.
Originally committed as revision 12898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 02:58:36 +00:00
Michael Niedermayer
c087748f26 Part 2 of EAC3 support, this is still disabled as it breaks regressions
due to bugs elsewhere.

Originally committed as revision 12897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 02:29:27 +00:00
Michael Niedermayer
8629e7562d part 1 of EAC3 support
Originally committed as revision 12896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 02:28:24 +00:00
Michael Niedermayer
133ac890fb Add new_frame_start and need_next_header.
based on a patch by Bartlomiej

Originally committed as revision 12895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 01:59:55 +00:00
Michael Niedermayer
454064ad1e Change aac and ac3 parsers to use ff_combine_frame().
Originally committed as revision 12894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 01:50:40 +00:00
Matthieu Castet
e5ab737950 check alac EOF marker
Patch by Matthieu Castet castet matthieu free fr

Originally committed as revision 12891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 08:58:18 +00:00
Sisir Koppaka
2003d3da1a BFI video decoder.
Patch by Sisir Koppaka sisir koppaka gmail
Original thread: [FFmpeg-devel] BFI video decoder
Date: 04/17/2008 04:25 PM

Originally committed as revision 12890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 08:43:11 +00:00
Michael Niedermayer
8c731c9743 remove AACAC3FrameFlag
Originally committed as revision 12888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 03:09:01 +00:00
Diego Biurrun
37ff38c69f cosmetics: spelling
Originally committed as revision 12887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 22:06:06 +00:00
Diego Biurrun
0ddfbc73cc cosmetics: Sort some lists alphabetically.
Originally committed as revision 12886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 22:04:34 +00:00
Diego Biurrun
c88c253d8b cosmetics: __asm__ __volatile__ --> asm volatile
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 21:57:52 +00:00
Vitor Sessak
010db10393 Remove another unneeded var from context
Originally committed as revision 12884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 21:03:26 +00:00
Vitor Sessak
4c63c597d8 10l: my last commit broke compilation and introduced warnings
Originally committed as revision 12883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 19:48:02 +00:00
Vitor Sessak
db08882e74 Remove unneeded variables from context
Originally committed as revision 12882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 19:45:14 +00:00
Vitor Sessak
8431603a51 Remove wrapper around av_log2()
Originally committed as revision 12881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 18:50:31 +00:00
Alexander Strange
f1ae14d20d Xvid IDCTs are not under CONFIG_GPL, so don't require it when using them.
Originally committed as revision 12880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 15:41:25 +00:00
Benoit Fouet
1beb670a2d fix a typo
Originally committed as revision 12879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 07:38:30 +00:00
Stefano Sabatini
716e31ea1a Make two comments doxygen compatible.
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 12878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 07:37:02 +00:00
Stefano Sabatini
56cce5bbff Add descriptive long_name to AVCodec
Patch by: stefano sabatini-lala poste it

Originally committed as revision 12876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 06:07:27 +00:00
Michael Niedermayer
1f655c4fe4 indent
Originally committed as revision 12875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:22:35 +00:00
Michael Niedermayer
5eeba07ec9 Factorize more code.
Originally committed as revision 12874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:21:15 +00:00
Michael Niedermayer
5a5a27c5de Factorize decode_postfix() out.
Originally committed as revision 12873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:08:25 +00:00
Michael Niedermayer
c49c5e23dc Change k limiting code, i think the code was buggy.
If you have ALAC files TEST them! Mine produce the same md5 but the new
code is not identical if limiting does happen.

Originally committed as revision 12872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:00:08 +00:00
Michael Niedermayer
59b377ac86 more senseless code
One wonders how such stuff gets past the reviews ...

Originally committed as revision 12871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:40:50 +00:00
Michael Niedermayer
26df3ba28c senseless code
Originally committed as revision 12870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:38:41 +00:00
Michael Niedermayer
ec04a74e70 useless variable
Originally committed as revision 12869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:35:00 +00:00
Michael Niedermayer
ea3372a256 simplify
Originally committed as revision 12868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:30:00 +00:00
Måns Rullgård
b153c68b8a fix building of test programs (make tests)
Originally committed as revision 12867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 21:50:41 +00:00
Diego Biurrun
80465c7eed cosmetics: Fix nonstandard indentation.
Originally committed as revision 12863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 20:51:39 +00:00
Jeff Downs
591d87babe Cosmetics:
Break long lines.
Correct spelling in comment (duplicatin -> duplicating)

Originally committed as revision 12862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 20:43:37 +00:00
Michael Niedermayer
efe6079d2d unused
Originally committed as revision 12859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:33:30 +00:00
Michael Niedermayer
3d00125645 cosmetic
Originally committed as revision 12858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:33:09 +00:00
Michael Niedermayer
a1b914b20d Move the *-1 to a more sane place as well.
Originally committed as revision 12857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:30:04 +00:00
Michael Niedermayer
5d32325a7b Move scale_bias to a more sane place. I am starting to wonder how this
trash got into svn ...

Originally committed as revision 12856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:28:11 +00:00
Michael Niedermayer
687550d35e simplify
Originally committed as revision 12855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:03:07 +00:00
Michael Niedermayer
5c65660506 Avoid reverse addressing, not sure if this is faster or slower but people
maybe are confused by it. The code needs to be optimized anyway.

Originally committed as revision 12854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:59:23 +00:00
Michael Niedermayer
2f75d26c10 commutative law based cleanup
Originally committed as revision 12853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:55:11 +00:00
Michael Niedermayer
dcafb28d01 do the -1 outside of the transform
Originally committed as revision 12852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:49:10 +00:00
Michael Niedermayer
6fab025d30 normalize signs
Originally committed as revision 12851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:46:25 +00:00
Michael Niedermayer
115682e598 100l lost add_bias
Originally committed as revision 12849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 13:29:35 +00:00
Michael Niedermayer
e616c6d612 simplify transform
Originally committed as revision 12848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 13:28:13 +00:00
Jeff Downs
52cb7981e2 Redo r12838, this time using svn copy to create h264_i386.h from cabac.h.
Move decode_significance_x86() and decode_significance_8x8_x86() to
i386-specific file from cabac.h.
New file is h264-oriented and only included from h264.c
Resolves compilation when configured with --disable-optimizations due to
decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is
only defined in h264.c

Originally committed as revision 12846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 04:40:21 +00:00
Jeff Downs
3aa9ede400 Revert 12838 to redo it the right way (use svn copy to create new
file based on old).

Originally committed as revision 12845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 04:26:52 +00:00
Alexander Strange
ad246860fa Test idct_xvid_sse2() in dct-test.
Originally committed as revision 12844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 01:54:16 +00:00
Alexander Strange
f73a6393e7 Add a new xvid-style IDCT using SSE2.
Originally committed as revision 12843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 01:36:14 +00:00
Alexander Strange
0e956ba277 Add a new IDCT permutation, used in xvid_sse2 and possibly future similar IDCTs.
Originally committed as revision 12842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 01:34:55 +00:00
Jeff Downs
e6cfd8fffb Move decode_significance_x86() and decode_significance_8x8_x86() to
i386-specific file from cabac.h.
New file is h264-oriented and only included from h264.c
Resolves compilation when configured with --disable-optimizations due to
decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is
only defined in h264.c

Originally committed as revision 12838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15 13:51:41 +00:00
Kostya Shishkov
f4bcc857cb DCA frame size is constant
Originally committed as revision 12835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15 13:36:56 +00:00
Luca Barbato
3fbe711832 Eliminate movdqu in vp3dsp_sse2, patch from Alexander Strange astrangeAtithinkswDoTcom
Originally committed as revision 12824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 20:54:23 +00:00
Robert Marston
861c63a216 Maxis XA demuxer and decoder.
Patch by Robert Marston rmarston (\at/) gmail point com
Original thread: [FFmpeg-soc] [Patch] Maxis EA XA decoder - GSoC Task
Date: 04/08/2008 01:36 AM

Originally committed as revision 12817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 14:31:43 +00:00
Benoit Fouet
6f7b915a0d Indentation
Originally committed as revision 12816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 13:15:16 +00:00
Benoit Fouet
b65213c021 Support for BMP os2v1.
Originally committed as revision 12815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 13:13:08 +00:00
Sisir Koppaka
b64c096be9 BFI demuxer
Patch by Sisir Koppaka (sisir.koppaka at G.M!A.I!L.com)

Originally committed as revision 12808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 21:06:31 +00:00
Michael Niedermayer
8c2a4ddca3 ILP64 fixes (untested)
Originally committed as revision 12807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 16:11:36 +00:00
Diego Biurrun
e825656f1d Clear DIRS variable in common.mak, so it does not have to be cleared in
each subdirectory Makefile.

Originally committed as revision 12803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 10:37:30 +00:00
Diego Biurrun
7b1b3dc128 Unset DIRS after including subdir.mak so that the variable is not used
in the other subdirectory Makefiles.

Originally committed as revision 12801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 10:22:46 +00:00
Diego Biurrun
adc393503f Generate the list of files to clean in subdirectories in common.mak.
This way, it can be used from all directories.

Originally committed as revision 12800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 10:09:47 +00:00
Diego Biurrun
77405bb879 Simplify CLEANFILES generation.
Originally committed as revision 12798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 09:44:42 +00:00
Diego Biurrun
ba0dabbf1f Add explanatory comments to enum CodecID.
Originally committed as revision 12796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 07:48:43 +00:00
Michael Niedermayer
05adf49c7c Remove redundant &.
Originally committed as revision 12795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 00:05:38 +00:00
Alexander Strange
54a0b6e590 Add a header file to declare Xvid IDCT functions.
patch by Alexander Strange, astrange ithinksw com

Originally committed as revision 12794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-12 16:54:36 +00:00
Michael Niedermayer
59eeddf063 Crop parameters are unsigned, having them negative could be bad and lead
to crashes or maybe exploits (not checked at all if this is possible).

Originally committed as revision 12789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 12:57:49 +00:00
Michael Niedermayer
faf3dfb94b Avoid crash with idiotic cropping. Fixes crash with CVFC1_Sony_C.jsv
and closes issue333.

Originally committed as revision 12788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 12:55:21 +00:00
Keiji Costantini
54816a3e3f cosmetics: Break an overly long line.
patch by Keiji Costantini, lists strites net

Originally committed as revision 12783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:09:39 +00:00
Keiji Costantini
cb9501f4e3 cosmetics: Break some overly long lines.
patch by Keiji Costantini, lists strites net

Originally committed as revision 12782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:07:12 +00:00
Keiji Costantini
08c9bfbaf8 cosmetics: Break some overly long lines.
patch by Keiji Costantini, lists strites net

Originally committed as revision 12781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 10:40:01 +00:00
Benjamin Larsson
4a24837e07 Only set channels in the stream if previously unset, fixes resampling crash on broken dca frames
Originally committed as revision 12780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 06:15:17 +00:00
Bartlomiej Wolowiec
469d8816d6 undo changes in aac_ac3_parser
Originally committed as revision 12778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 22:11:21 +00:00
Loren Merritt
96275520a3 Fix H.264 interframe decoding when compiling with icc. Patch by Loren
Merritt:

"It seems that icc copies the constants from their global var onto the
stack, at which point they're not aligned, hence the crash.
[This change] really shouldn't mean anything different, but maybe it'll
confuse icc into not performing that 'optimization'."

Originally committed as revision 12772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 23:49:34 +00:00
Diego Biurrun
7fad8ed26f Fix reference to a file in MPlayer that was renamed.
Originally committed as revision 12770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 15:16:48 +00:00
Michael Niedermayer
782a58ece3 add CODEC_ID_DIRAC
Originally committed as revision 12769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 10:49:23 +00:00
Bartlomiej Wolowiec
e9089a5240 Correction of typo in aac_ac3_parser
Originally committed as revision 12768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 06:18:36 +00:00
Alexander Strange
8e5f465f4c Increase alignment for DCT block arrays from 8 to 16
Patch by Alexander Strange ( astrange ithinksw com )

Originally committed as revision 12767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 01:09:33 +00:00
Stefano Sabatini
0e5d511aeb Add a missing comma in tiff_encoder.pix_fmts
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

Originally committed as revision 12765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 00:57:12 +00:00
Måns Rullgård
8e255b8bda replace some ifeq with prettier ifdef
Originally committed as revision 12764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:47 +00:00
Måns Rullgård
dbe6c6ff00 append TESTS-yes to TESTS; one ifeq less
Originally committed as revision 12763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:44 +00:00
Måns Rullgård
71c61f62a3 non-recursive makefiles
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Bartlomiej Wolowiec
c09ed33e18 Corrections of errors in aac_ac3_parser
Originally committed as revision 12759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 20:54:08 +00:00
Bartlomiej Wolowiec
0a5754c3b7 change of aac_ac3_parser, so it is able to send complete portion of data to decoder
Originally committed as revision 12758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-05 20:09:36 +00:00
Michael Niedermayer
39e9e6d940 Disable the split function. This should end the mpeg1/2 global header issues.
Originally committed as revision 12684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 00:43:34 +00:00
Michael Niedermayer
9b7ca3b71d Decode stuff from extradata as well.
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:28:16 +00:00
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
Michael Niedermayer
dea00a4623 remove unused temp
Originally committed as revision 12511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 14:09:31 +00:00
Baptiste Coudurier
6122b733e9 omg, fix compilation
Originally committed as revision 12509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 09:38:55 +00:00
Baptiste Coudurier
d0ed455f19 correctly set avctx->frame_size for mp3on4 and mp3adu
Originally committed as revision 12508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 09:36:04 +00:00
Ramiro Polla
956330452b Remove useless variable since r8456.
Originally committed as revision 12493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 20:14:57 +00:00
Ramiro Polla
a7129de51b Mimic decoder.
Originally committed as revision 12491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 19:51:34 +00:00
Måns Rullgård
b55aa9a904 get register names from x86_cpu.h
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:19 +00:00
Måns Rullgård
a62a1c3152 use HAVE_FAST_64BIT
Originally committed as revision 12480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:14 +00:00
Måns Rullgård
ea68e33469 cosmetics: remove useless \-newline escapes
Originally committed as revision 12479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 21:00:30 +00:00
Måns Rullgård
4f54a3b8b4 indentation
Originally committed as revision 12478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 19:22:31 +00:00
Måns Rullgård
844ea46aeb clean up FFT SIMD selection
Originally committed as revision 12477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 19:22:28 +00:00
Måns Rullgård
d85d7a0be7 mpegvideo_armv5te.o belongs to OBJS, not ASM_OBJS
Originally committed as revision 12467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:08 +00:00
Måns Rullgård
5550eba88d typo: add missing \ in multi-line macro
Originally committed as revision 12466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:05 +00:00
Måns Rullgård
e6b790f9e7 fix typo ARCH_PPC -> ARCH_POWERPC
Originally committed as revision 12465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:02 +00:00
Diego Biurrun
b0605329c9 Move functions that are only used when libswscale is not compiled in below
the appropriate #ifdef. This avoids a bunch of "defined but not used" warnings
when compiling with libswscale enabled.

Originally committed as revision 12463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 17:34:31 +00:00
Måns Rullgård
77f11d8a4c improve precision in mdct.c using double for some temporaries
Originally committed as revision 12457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 13:15:42 +00:00
Diego Biurrun
bd10713636 typo fixes
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 16:15:47 +00:00
Dave Yeo
b96644bfe3 Add attribute_align_arg to os2thread.c.
Patch by Dave Yeo.

Originally committed as revision 12447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 12:28:35 +00:00
Ramiro Polla
69b192acb8 Typo
Originally committed as revision 12446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 12:24:31 +00:00
Diego Biurrun
b2c26e2717 Use correct t printf modifier for pointer differences.
Originally committed as revision 12442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 13:19:39 +00:00
Baptiste Coudurier
99c763d143 log aspect ratio forbidden value, and fail if error resilience is high
Originally committed as revision 12438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 09:33:38 +00:00
Baptiste Coudurier
a2338352be do not fail badly if aspect ratio is 0/forbidden, fix issue 369
Originally committed as revision 12434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:26:53 +00:00
Diego Biurrun
bfb80dbe21 This file does not use size_t, so no need to #include <sys/types.h>.
Originally committed as revision 12432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:10:58 +00:00
Michael Niedermayer
9d2cc8c1ee If consumed does not match nalsize, favor nalsize.
Fixes issue385.

Originally committed as revision 12430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 01:49:19 +00:00
Diego Biurrun
6ef2912879 Add missing stdint.h #include to headers that use it.
Originally committed as revision 12429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 00:20:15 +00:00
Diego Biurrun
2cab640129 typo fixes
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:58:46 +00:00
Justin Ruggles
98f6dfa653 make input buffer const, as it should be. fixes a warning.
Originally committed as revision 12418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 21:59:30 +00:00
Diego Biurrun
7ce6892373 misc spelling fixes
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +00:00
Diego Biurrun
13ca50f367 Rename --enable-swscaler --> enable-swscale to be consistent with the
directory name and other option names. Also rename variables accordingly.

Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 17:54:24 +00:00
Mike Melanson
32c3047cac These video decoders do not need to include and initialize the DSP
support functions.

Originally committed as revision 12406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 03:07:44 +00:00
Mike Melanson
d61af67aa1 There is no reason to assign a variable to itself
Originally committed as revision 12405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 03:07:15 +00:00
Michael Niedermayer
1637930fe6 smaller tables
Originally committed as revision 12402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 00:27:40 +00:00
Aurelien Jacobs
9701840bb5 add FF_ prefix to all (frame)_TYPE usage
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 23:31:02 +00:00
Justin Ruggles
38dae9c3a6 downmix before imdct unless different size transforms are used. about 20%
faster 5.1-to-stereo downmixing.

Originally committed as revision 12397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 17:05:19 +00:00
Kostya Shishkov
811d914652 indentation
Originally committed as revision 12395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 14:16:27 +00:00
Kostya Shishkov
1ba3bae800 Correctly handle empty frames
Originally committed as revision 12394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 14:15:40 +00:00
Kostya Shishkov
8c908d7d61 Fraps v5 decoding support
Originally committed as revision 12393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 09:04:35 +00:00
Kostya Shishkov
6a02cb8239 Add step variable (for future v5 decoding)
Originally committed as revision 12392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 09:03:23 +00:00
Diego Biurrun
e73e4e75f9 cosmetics: Fix indentation in a few more places.
Originally committed as revision 12381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:27:16 +00:00
Diego Biurrun
ef3dfbd427 cosmetics: Normalize {} placement after for, while, if.
Originally committed as revision 12380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:24:24 +00:00
Aurelien Jacobs
a73cbf9709 huffman: add a zero_count flag and use it in fraps
fixes issue349

Originally committed as revision 12374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:08:16 +00:00
Aurelien Jacobs
bac02ed3c5 huffman: pass hnode_first as a flag instead of as an argument on its own
Originally committed as revision 12373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 17:57:13 +00:00
Mark Cox
8d06bd53f8 Fix unused variable warnings.
patch by mark cox, melbournemark+ffmpeg gmail.com

Originally committed as revision 12370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 17:18:28 +00:00
Diego Biurrun
9b25f4a65f cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:39:43 +00:00
Ramiro Polla
5dea940937 __stdcall -> WINAPI
Windows x64 has no __stdcall.
It is not yet supported, but someday it might...

Originally committed as revision 12363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:47:44 +00:00
Måns Rullgård
0e32c8c65a simplify library version handling
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Baptiste Coudurier
cbaf50f850 indentation
Originally committed as revision 12356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 23:10:47 +00:00
Baptiste Coudurier
7ee4dd0282 do not display par and dar if not available
Originally committed as revision 12355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 23:09:16 +00:00
Måns Rullgård
5671fc14f6 consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 20:44:44 +00:00
Panagiotis Issaris
d42a814ef1 Make av_class a pointer to a const AVClass. Addresses one warning in
imgresample.c.

Originally committed as revision 12352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 17:41:31 +00:00
Benjamin Larsson
ebf71dbda5 Don't use unchecked data from the bitstream.
Originally committed as revision 12351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 14:22:02 +00:00
Baptiste Coudurier
30400f0d03 fix interlaced decoding, original patch from reimar
Originally committed as revision 12349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 09:45:59 +00:00
Kostya Shishkov
9dc92a38a0 IMA ADPCM encoder - QT variant
Originally committed as revision 12348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 07:30:41 +00:00
Aurelien Jacobs
9822564d1d make compilation of mpeg12* and mpegvideo conditional
Originally committed as revision 12345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 21:43:30 +00:00
Aurelien Jacobs
6cbe71bd06 move ff_mpeg1_dc_scale_table to mpegvideo.c
Originally committed as revision 12344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 21:29:15 +00:00
Aurelien Jacobs
5a4334618c add dependencies for matroska audio and nut muxers over lavc
Originally committed as revision 12339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 16:34:47 +00:00
Aurelien Jacobs
dc85e85943 doxyfy frame type comments and add some more comments
Originally committed as revision 12337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 15:23:54 +00:00
Aurelien Jacobs
48d533e6fa define BI frame type along with other frame types
Originally committed as revision 12336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 15:19:26 +00:00
Aurelien Jacobs
c06ccb1357 cosmetic: align
Originally committed as revision 12335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 15:15:07 +00:00
Aurelien Jacobs
591bf9b942 add some required objects dependencies
Originally committed as revision 12333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 14:49:43 +00:00
Aurelien Jacobs
0c291f2d0f Avoid linking with h263 and mpeg4 find_frame_end()
when those codecs are not enabled.

Originally committed as revision 12332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 14:46:51 +00:00
Mike Melanson
282ee4e766 fix the WC3 Xan decoder by correcting the frame accounting logic
Originally committed as revision 12326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 06:58:20 +00:00
Michael Niedermayer
378774e9a8 Fix handling flags with the MSB set.
Originally committed as revision 12324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 03:59:07 +00:00
Aurelien Jacobs
fbd4293df9 remove more useless mpegvideo.h includes
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:43:11 +00:00
Aurelien Jacobs
cbcd6c8ca9 move EDGE_WIDTH definition allong with draw_edges where it belongs
Originally committed as revision 12322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:38:14 +00:00
Aurelien Jacobs
d37f007d54 remove #include "mpegvideo.h" where it is not needed
Originally committed as revision 12321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:07:53 +00:00
Aurelien Jacobs
3bfe9260fa move relevant declarations to mpeg12data.h
Originally committed as revision 12320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:06:09 +00:00
Aurelien Jacobs
6d93461504 move run length table constants to rl.h
Originally committed as revision 12319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 23:58:12 +00:00
Aurelien Jacobs
288a44fb7a move ff_emulated_edge_mc() to dsputil
Originally committed as revision 12318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 23:10:47 +00:00
Michael Niedermayer
8d4bef64b4 Remove unused elements from tables.
Originally committed as revision 12317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 22:09:54 +00:00
Michael Niedermayer
6a287b739f Detect and prevent reading over the end of counts_*. We pass the error
through a context variable as this is simpler and i think also faster, but
the return value of functions could be used instead of course.
The code also ensures as a side effect that the AC decoder state does not
become invalid.
This fixes all known crashes. And outputs nothing in case of an error instead
of random noise.

Originally committed as revision 12316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 21:58:34 +00:00
Michael Niedermayer
1a2a1d9077 Prevent segfault due to reading over the end of the input buffer.
Originally committed as revision 12315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 21:39:21 +00:00
Aurelien Jacobs
7998988129 fix wmv3 dependencies
Originally committed as revision 12314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 18:38:32 +00:00
Aurelien Jacobs
49c35f16fc Fix compilation on powerpc.
DECLARE_ALIGNED_8 is not defined at that point, but this code is powerpc
only, so it's really equivalent to DECLARE_ALIGNED(16...

Originally committed as revision 12313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 18:35:12 +00:00
Aurelien Jacobs
015d0bb95c remove old draw_edges declaration cruft
Originally committed as revision 12312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 10:54:51 +00:00
Aurelien Jacobs
4c79b95c32 move ff_init_scantable() into dsputil
Originally committed as revision 12311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 10:26:56 +00:00
Aurelien Jacobs
5a6a9e78ab move draw_edges() into dsputil
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 00:07:41 +00:00
Aurelien Jacobs
ce7f71a2dd dsputil.h is a local header
Originally committed as revision 12308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 23:14:25 +00:00
Aurelien Jacobs
c8deab7af7 include required header
Originally committed as revision 12307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 23:10:13 +00:00
Måns Rullgård
0e9fbd35b5 remove invalid free() forgotten in r12300
Originally committed as revision 12303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 21:54:18 +00:00
Michael Niedermayer
f15e6b869f Provide non null class name to avoid crash with ffmpeg -h.
Originally committed as revision 12300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 19:53:27 +00:00
Justin Ruggles
d8870f120e use scale factor instead of sum for downmix level adjustment. avoids division
inside downmix loop. 7% faster 5.1-to-stereo downmixing.

Originally committed as revision 12287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 16:10:19 +00:00
Justin Ruggles
9d10e6e6c0 pre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing.
Originally committed as revision 12286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 15:48:18 +00:00
Justin Ruggles
a4de6dd2c1 Use 24-bit fixed-point transform coefficients until just before MDCT. This
gives 7% faster decoding on average.

Originally committed as revision 12284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 04:39:39 +00:00
Loren Merritt
be0995b166 more aspect ratios added in one of the ammendments
Originally committed as revision 12282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 01:58:25 +00:00
Benoit Fouet
79aeec0839 Make AMR-NB block size const and 8 bits.
Originally committed as revision 12278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-29 08:01:01 +00:00
Benoit Fouet
675bc0bccb Define block size for AMR-WB (use IF2 table).
Spotted by John Fitzgerald: jjfitzgerald gmail com

Originally committed as revision 12277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-29 07:59:29 +00:00
Michael Niedermayer
b5a33ff124 suppress the second warning
Originally committed as revision 12276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 23:44:52 +00:00
Reimar Döffinger
7e14b8082d Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but
SunStudio 12 only supports the former.

Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 17:01:35 +00:00
Baptiste Coudurier
48026fbef6 1000l parenthesis
Originally committed as revision 12274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 16:11:56 +00:00
Baptiste Coudurier
83f02883df code is ok for 4bpp in mov too, fix 16grey.mov
Originally committed as revision 12273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 16:08:52 +00:00
Benjamin Larsson
800b9c24b7 Add more riff IDs to support remuxing.
Originally committed as revision 12266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 20:34:44 +00:00
Michael Niedermayer
b85976ba64 better include
Originally committed as revision 12257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 23:51:59 +00:00
Michael Niedermayer
3635791a99 include dependencies ...
Originally committed as revision 12256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 23:49:41 +00:00
Diego Biurrun
c91d512b36 Add multiple inclusion guards.
Originally committed as revision 12255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 23:17:08 +00:00
Diego Biurrun
dc3f320dfd Add explanatory comment to '#define FLOAT float'.
Originally committed as revision 12254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 22:52:01 +00:00
Måns Rullgård
800c289a66 less preprocessor magic in version number macros
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:37:59 +00:00
Michael Niedermayer
499e4700ef Stuffing bytes to not violate minimum legality rate.
Note, this is a joke and not related to MPEG CBR.

Originally committed as revision 12244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:17:30 +00:00
Michael Niedermayer
cc6116756c Remove another temporary variable with which gcc has problems.
Originally committed as revision 12243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 18:36:58 +00:00
Diego Biurrun
94ae6788e2 cosmetics: Demplayerify indentation.
Originally committed as revision 12240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:56:00 +00:00
Diego Biurrun
301df48074 Add comments to some #endif directives.
Originally committed as revision 12239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:13:42 +00:00
Diego Biurrun
e6464f8b5e cosmetics: spelling/grammar
Originally committed as revision 12238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:06:31 +00:00
Michael Niedermayer
c3a3d34427 Alternative and faster (on gcc x86) plane rotation.
Originally committed as revision 12237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:52:37 +00:00
Michael Niedermayer
8af4d0fc8d Get rid of another useless variable.
Originally committed as revision 12236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:44:49 +00:00
Michael Niedermayer
92ac614f85 Avoid a=b+c but rather use a+=b (gcc is too stupid to do this itself),
code is exactly the same just uses different variables.

Originally committed as revision 12235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:32:34 +00:00
Michael Niedermayer
e6d7ef648c One variable less. No real change to the actual code.
Originally committed as revision 12234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:19:37 +00:00
Michael Niedermayer
6f08c541b4 floating point AAN IDCT
Originally committed as revision 12233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 14:59:11 +00:00
Loren Merritt
042e0adda9 decode mng color decorrelation
Originally committed as revision 12228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 10:21:33 +00:00
Diego Biurrun
d248905ba5 Remove START_TIMER and STOP_TIMER macros.
Originally committed as revision 12227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:35:21 +00:00
Loren Merritt
00829b9bc1 simplify
Originally committed as revision 12224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 07:35:56 +00:00
Aurelien Jacobs
97d1d009e2 split encoding part of dsputil_mmx into its own file
Originally committed as revision 12223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 23:14:22 +00:00
Diego Biurrun
4847a997aa Remove commented-out av_log calls.
Originally committed as revision 12222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:44:35 +00:00
Michael Niedermayer
b6bffc46b8 Fix trellis quant + AAN DCT.
Originally committed as revision 12221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:43:42 +00:00
Michael Niedermayer
2936438a38 Make diego happy.
Originally committed as revision 12220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:32:52 +00:00
Aurelien Jacobs
57b98634c4 compile various fdct only when encoders are enabled
Originally committed as revision 12219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 21:43:19 +00:00
Michael Niedermayer
062942e782 Clarify which BSD license.
Originally committed as revision 12214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:59:04 +00:00
Michael Niedermayer
5b0d04d308 Allow use of my AAN DCT under BSD, AMD has agreed to write and contribute
SSE(float) AAN DCT and IDCT to ffmpeg (no C++, no crap).

Originally committed as revision 12212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:42:12 +00:00
Loren Merritt
4a5b619df7 png filters
Originally committed as revision 12195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 10:34:23 +00:00
Måns Rullgård
76a448ed4f Install headers in $prefix/include/$libname
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 09:22:11 +00:00
Loren Merritt
bd58e7f730 remove a memcpy
Originally committed as revision 12193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 05:46:53 +00:00
Måns Rullgård
6f4e2b5a95 fix memory leaks in vp3 decoder
Originally committed as revision 12191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 18:56:52 +00:00
Reimar Döffinger
f2217d6f90 __asm __volatile -> asm volatile part 2
Originally committed as revision 12189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 14:47:42 +00:00
Reimar Döffinger
78d3d94f14 __asm __volatile -> asm volatile, improves code consistency and works
(as far as that is possible) with the Sun C compiler.

Originally committed as revision 12188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 14:46:22 +00:00
Vitor Sessak
cf73e32a5f Fix bug I introduced in r11962.
Thanks to Uoti Urpala for spotting it and proposing the
fix.

Originally committed as revision 12187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 07:47:02 +00:00
Benjamin Larsson
7bb8d51c1f Riff ids for wmapro and wmavoice, this adds support for stream copy of these codecs between asf,avi and wav containers.
Originally committed as revision 12182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-23 23:30:41 +00:00
Michael Niedermayer
a939a005f9 Remove apparently unneeded and buggy align.
Originally committed as revision 12179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-22 19:27:22 +00:00
Loren Merritt
917f55cc03 cleaner way of writing packed-byte constants.
suggested by Uoti Urpala

Originally committed as revision 12177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-22 16:53:26 +00:00
Loren Merritt
31304587da indent
Originally committed as revision 12166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:55:42 +00:00
Loren Merritt
469bd7b150 pseudo-simd add_bytes and diff_bytes
2x faster than scalar in 32bit, 4x faster in 64bit (as opposed to 8x in mmx)

Originally committed as revision 12165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:54:46 +00:00
Loren Merritt
4a9ca0a279 simd and unroll png_filter_row
cycles per 1000 pixels on core2:
left: 9211->5170
top: 9283->2138
avg: 12215->7611
paeth: 64024->17360
overall rgb png decoding speed: +45%
overall greyscale png decoding speed: +6%

Originally committed as revision 12164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:10:46 +00:00
Michael Niedermayer
1435e4ccde Disabling all SSE* code for old gcc to avoid alignment issues.
Originally committed as revision 12163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 00:06:07 +00:00
Michael Niedermayer
635fbcb17f revert 12156
Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.

Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 20:24:38 +00:00
Michael Niedermayer
bdd745da60 Forgot this, which is needed for merging field pics too.
Originally committed as revision 12161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:48:25 +00:00
Michael Niedermayer
21da962cf1 Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
field pictures much more digestable.

Originally committed as revision 12160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:45:38 +00:00
Michael Niedermayer
ff2635b273 Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.

Originally committed as revision 12156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 03:20:06 +00:00
Måns Rullgård
e97ac1e6f5 Clean up lib* version definitions
Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Michael Niedermayer
cea9642014 Fix ;;
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Reimar Döffinger
754bf3d8a1 Fix warnings:
i386/vp3dsp_sse2.c:805: warning: cast discards qualifiers from pointer target type
i386/vp3dsp_sse2.c:806: warning: cast discards qualifiers from pointer target type

Originally committed as revision 12150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:55:13 +00:00
Reimar Döffinger
816ebf9320 Remove duplicate ;
Originally committed as revision 12149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:46:40 +00:00
Reimar Döffinger
721052e981 Add casts to avoid warnings:
fraps.c:102: warning: passing argument 1 of ‘s->dsp.bswap_buf’ from incompatible pointer type
fraps.c:102: warning: passing argument 2 of ‘s->dsp.bswap_buf’ from incompatible pointer type

Originally committed as revision 12148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:42:10 +00:00
Reimar Döffinger
e3cb2c4a08 Missing const
Originally committed as revision 12147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:37:53 +00:00
Michael Niedermayer
0521808158 Reduce the number of senselessly scanned bytes.
Originally committed as revision 12144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 15:55:14 +00:00
Guillaume Poirier
c367d0c653 arg 10000l. Fix wrong fix committed in r12141
Originally committed as revision 12143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:24:00 +00:00
Guillaume Poirier
d6267d027b fix broken indentation
Originally committed as revision 12142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:20:03 +00:00
Guillaume Poirier
9d8109ad0f 10l: fix always false test: Binary & has lower precedence than ==
Originally committed as revision 12141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:19:15 +00:00
Diego Biurrun
42a362e57b Refactor vcprm and vcii macros by using the AVV macro.
Originally committed as revision 12140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 23:01:26 +00:00
Diego Biurrun
35c27389c0 Refactor the FOUROF macro using the AVV macro.
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:26:46 +00:00
Diego Biurrun
b0e21a3b47 Remove stray #undef.
Originally committed as revision 12138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:22:17 +00:00
Alexander Strange
3518c5a96b fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check mm_flags
Patch by Alexander Strange %astrange A ithinksw PP com %

Originally committed as revision 12137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 21:35:31 +00:00
Måns Rullgård
5ff1b0675f remove duplicate AV_STRINGIFY() definition
Originally committed as revision 12129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 03:44:47 +00:00
Måns Rullgård
5c319d3334 clean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN
Originally committed as revision 12126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 19:18:30 +00:00
Mike Frysinger
e44d7c659b FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com

Originally committed as revision 12125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 15:17:31 +00:00
Vitor Sessak
f037f7e032 100l
Originally committed as revision 11964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:01:10 +00:00
Vitor Sessak
db7ae7d1b9 Simplify avcodec_default_get_buffer()
Originally committed as revision 11962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:23:49 +00:00
Vitor Sessak
4fe109ebdd Add header for declaration of ff_xxxx functions in imgconvert.c
Originally committed as revision 11961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:20:57 +00:00
Vitor Sessak
6dd36490c7 This should not be part of the public API
Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:19:46 +00:00
Vitor Sessak
fba95d3c23 My commit in r11942 broke compilation.
This fixes it.

Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:47:14 +00:00
Vitor Sessak
cc9853d38f Split avpicture_fill() in two functions. This will be
useful for libavfilter and to simplify
avcodec_default_get_buffer().

Originally committed as revision 11942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 18:01:07 +00:00
Benjamin Larsson
ad40b15394 silence wmaenc.c:181: warning:suggestparentheses around assignment used as truth value
Originally committed as revision 11940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 13:44:08 +00:00
Luca Abeni
6881b8e567 Fix
utils.c: In function ‘avcodec_get_context_defaults2’:
utils.c:793: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 11938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 12:04:35 +00:00
Luca Abeni
408ed51cdb Fix
opt.c: In function ‘av_set_string’:
opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type

Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 11:38:38 +00:00
Thorsten Jordan
134e5a9a65 Cosmetics: indentation
Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:24:34 +00:00
Thorsten Jordan
95e5323510 Remove useless buffering of input data, so that avcodec_decode_audio never
returns 0 for a valid frame

Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:20:22 +00:00
Diego Biurrun
5e53486545 typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 09:26:10 +00:00
Diego Biurrun
356306aca2 Print Theora bitstream version at DEBUG, not at VERBOSE level.
Originally committed as revision 11916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:05:51 +00:00
Diego Biurrun
5edac5dc94 cosmetics: Replace // by /* */ comments.
sync with upstream libmpeg2 0.4.1

Originally committed as revision 11915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 01:18:12 +00:00
Vitor Sessak
22ed53e5f4 Factor bytewidth determination in its own function
Originally committed as revision 11907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 21:49:24 +00:00
Paul Kelly
f1618fd939 Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.

patch by Paul Kelly, paul a stjohnspoint d co d uk

Originally committed as revision 11903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 08:01:07 +00:00
Loren Merritt
ec199cc94c asm argument that might be in memory needs a size
Originally committed as revision 11890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 01:45:42 +00:00
Michael Niedermayer
a3689bf7b4 Remove pointless code.
Originally committed as revision 11887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 18:02:28 +00:00
Diego Biurrun
7bab3a26e4 Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
Originally committed as revision 11886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:55:07 +00:00
Michael Niedermayer
dc6340e048 Remove pointless code.
Originally committed as revision 11885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:26:40 +00:00
Michael Niedermayer
a4195e68b6 assert() and note about odd len.
Originally committed as revision 11884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 14:45:36 +00:00
Loren Merritt
e1813a2f1e 30% faster ff_vorbis_floor1_render_list, 3% faster overall
Originally committed as revision 11883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 13:53:15 +00:00
Loren Merritt
2c70770e33 use fewer registers in apply_welch_window_sse2
Originally committed as revision 11882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 05:29:47 +00:00
Michael Niedermayer
fa4ed8c10a optimize apply_welch_window()
Originally committed as revision 11881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 03:42:48 +00:00
Reimar Döffinger
cb4ddf7765 Add support for speex in ogg
Originally committed as revision 11878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 12:37:37 +00:00
Loren Merritt
1d67b037f7 sse2 h264 motion compensation. not new code, just separate out the cases that didn't need ssse3.
Originally committed as revision 11877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 12:32:31 +00:00
Loren Merritt
20d565be6d put loop counter in a register if possible. makes some of the qpel functions 3% faster.
Originally committed as revision 11876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 04:44:21 +00:00
Loren Merritt
7080ec2937 fix aliasing warnings. simpler too.
Originally committed as revision 11875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 04:14:07 +00:00
Loren Merritt
a2b7bc8e71 constant was excessively aligned
Originally committed as revision 11874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 03:51:53 +00:00
Reimar Döffinger
63f2670a53 Check that we have enough input data in IMC decoder.
Originally committed as revision 11872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 18:39:55 +00:00
Loren Merritt
ddf969705f ssse3 h264 motion compensation.
25% faster tham mmx on core2, 35% if you discount fullpel, 4% overall decoding.

Originally committed as revision 11871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 11:22:55 +00:00
Loren Merritt
b64dfbb8d2 add qpel rounder once during hv rather than twice during hv and whatever it's averaged with
Originally committed as revision 11870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 03:58:13 +00:00
Loren Merritt
fa9b873e08 clean up an ugliness introduced in r11826. this syntax will require fewer changes when adding future sse2 code.
Originally committed as revision 11868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 01:16:48 +00:00
Michael Niedermayer
9a7871f77d Deprecate old and inefficient per instruction asm().
Originally committed as revision 11865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 20:03:08 +00:00
Loren Merritt
b2f775860b reduce code duplication
Originally committed as revision 11863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 16:20:46 +00:00
Diego Biurrun
1db38dad33 Make luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
"assignment discards qualifiers from pointer target type" warnings.
blessed by Konstantin Shishkov

Originally committed as revision 11850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:26:35 +00:00
Michael Niedermayer
1701cbfafc const
Originally committed as revision 11846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:49:14 +00:00
Michael Niedermayer
20e4beaef7 const
Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 23:25:35 +00:00
Uoti Urpala
4bdd3b76fe mpegvideo.h has two function declarations with the 'inline' specifier
but no definition for those functions. The C standard requires a
definition to appear in the same translation unit for any function
declared with 'inline'. Most of the files including mpegvideo.h do not
define those functions. Fix this by removing the 'inline' specifiers
from the header.
patch by Uoti Urpala

Originally committed as revision 11830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 17:54:30 +00:00
Loren Merritt
b313e8159c avg_pixels4_mmx2
Originally committed as revision 11829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 17:04:33 +00:00
Loren Merritt
6c01d0069d use mmx2/3dnow avg functions in avg_qpel*_mc00
Originally committed as revision 11828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 16:19:37 +00:00
Loren Merritt
ed5d7a531c ff_h264_idct8_add_sse2.
compared to mmx, 217->126 cycles on core2, 262->220 on k8.

Originally committed as revision 11826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 07:05:11 +00:00