Commit Graph

7591 Commits

Author SHA1 Message Date
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
Loren Merritt
51f0ac65df remove some movq in ff_h264_idct8_add_mmx. 225->217 cycles on core2.
Originally committed as revision 11825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 03:21:47 +00:00
Michael Niedermayer
2efa7fd10d Make avcodec_decode_* functions take const input buffers.
Originally committed as revision 11823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:54:50 +00:00
Reimar Döffinger
909063f745 100l, since we already check for buf_size == 769 we should also
handle buf_size < 769 instead of just crashing in smacker decoder.

Originally committed as revision 11822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:34:44 +00:00
Reimar Döffinger
3e368d726a Use bytestream_get_be24 to simplify palette parsing.
Originally committed as revision 11821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:31:11 +00:00
Reimar Döffinger
04deea9ad2 mark qtrle input data as const.
Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:09:07 +00:00
Reimar Döffinger
b3d5468d87 Add some const where appropriate
Originally committed as revision 11818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 21:55:56 +00:00
Reimar Döffinger
6be4042c52 Fix warning:
libavcodec/tiffenc.c:136: warning: pointer type mismatch in conditional expression

Originally committed as revision 11817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 21:38:25 +00:00
Reimar Döffinger
eee7e7998b Some consts for cscd decoder helper functions
Originally committed as revision 11809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 14:34:43 +00:00
Loren Merritt
ffbc5e04ce "swap first two elements of L1 if L0 and L1 are identical" applies after splitting the lists into fields
Originally committed as revision 11808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:54:20 +00:00
Loren Merritt
02f7695b0b fix mbaff diagonal neighbor mv
Originally committed as revision 11807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:53:15 +00:00
Loren Merritt
50b3ab0fa5 mbaff spatial direct
Originally committed as revision 11806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:51:56 +00:00
Kostya Shishkov
4990eb5f49 Do not modify input data
Originally committed as revision 11805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 08:28:07 +00:00
Kostya Shishkov
0fe04628b9 IMC decoder always operates on 64-byte blocks
Originally committed as revision 11804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 08:26:49 +00:00
Aurelien Jacobs
2755e41d26 use AV_RL* instead of le2me_*
Originally committed as revision 11802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:49:56 +00:00
Aurelien Jacobs
4e56af8253 don't cast const away
Originally committed as revision 11801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:48:39 +00:00
Aurelien Jacobs
60b6dbe716 const
Originally committed as revision 11800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:25:27 +00:00
Aurelien Jacobs
9f5bd89506 const
Originally committed as revision 11799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:24:35 +00:00
Michael Niedermayer
c67102f902 const
Originally committed as revision 11796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:24:33 +00:00
Michael Niedermayer
31d889ec0a const
Originally committed as revision 11795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:22:26 +00:00
Michael Niedermayer
896b438915 const
Originally committed as revision 11794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:21:22 +00:00
Michael Niedermayer
1786784259 const
Originally committed as revision 11793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:20:59 +00:00
Reimar Döffinger
b034f72b17 Add some const keywords in rtjpeg decoder
Originally committed as revision 11792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:20:27 +00:00
Michael Niedermayer
7e5cdb5b1b const
Originally committed as revision 11791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:16:40 +00:00
Michael Niedermayer
74dc744850 const
Originally committed as revision 11790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:14:32 +00:00
Michael Niedermayer
473dde1700 const
Originally committed as revision 11789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:13:16 +00:00
Michael Niedermayer
94ef6d11ac const
Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:12:00 +00:00
Michael Niedermayer
2ab12b39cd const
Originally committed as revision 11787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:08:39 +00:00
Michael Niedermayer
8c4bd28bec const
Originally committed as revision 11786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:07:11 +00:00
Michael Niedermayer
e37e53350e const
Originally committed as revision 11785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:06:40 +00:00
Michael Niedermayer
14ff144c1b some const
Originally committed as revision 11784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:04:29 +00:00
Michael Niedermayer
63410f2ca5 const
Originally committed as revision 11783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:03:03 +00:00
Michael Niedermayer
521c38f1ef const
Originally committed as revision 11782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:59:41 +00:00
Michael Niedermayer
67d9ca0c00 const
Originally committed as revision 11781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:58:47 +00:00
Michael Niedermayer
6fd4315ee2 const
Originally committed as revision 11780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:58:29 +00:00
Michael Niedermayer
d177b6200f const
Originally committed as revision 11779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:57:54 +00:00
Michael Niedermayer
04650579ec more const
Originally committed as revision 11778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:57:38 +00:00
Michael Niedermayer
4a431e9e51 const
Originally committed as revision 11777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:56:51 +00:00
Michael Niedermayer
bed9dc1662 const
Originally committed as revision 11776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:54:28 +00:00
Michael Niedermayer
4894578b58 const
Originally committed as revision 11775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:54:04 +00:00
Michael Niedermayer
ffb52962d0 some const
Originally committed as revision 11774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:53:25 +00:00
Michael Niedermayer
b31178c92a some const
Originally committed as revision 11773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:44:27 +00:00
Michael Niedermayer
3cc89383f7 const
Originally committed as revision 11772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:43:53 +00:00
Michael Niedermayer
96c5ba1584 const
Originally committed as revision 11771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:43:38 +00:00
Michael Niedermayer
0179178666 forgotten const
Originally committed as revision 11770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:41:16 +00:00
Michael Niedermayer
13c2619e7c const
Originally committed as revision 11769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:40:03 +00:00
Michael Niedermayer
fb8a82d20a const
Originally committed as revision 11768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:39:25 +00:00
Michael Niedermayer
0942f55cdc const
Originally committed as revision 11767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:37:24 +00:00
Michael Niedermayer
3052e4b58b some const
Originally committed as revision 11766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:34:00 +00:00
Michael Niedermayer
317b3092cf const
Originally committed as revision 11765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:30:29 +00:00
Michael Niedermayer
1855abe556 const
Originally committed as revision 11764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:28:46 +00:00
Michael Niedermayer
fbdad670e4 const
Originally committed as revision 11761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:13:38 +00:00
Michael Niedermayer
10313fe08e const
Originally committed as revision 11760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:11:24 +00:00
Michael Niedermayer
2cc7c6555a const
Originally committed as revision 11759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:10:01 +00:00
Michael Niedermayer
095f08d599 some const
Originally committed as revision 11758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:08:55 +00:00
Michael Niedermayer
4bae195ff5 const
Originally committed as revision 11757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:01:05 +00:00
Michael Niedermayer
ec9f649371 Replace get32() by AV_RL32().
Originally committed as revision 11755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:57:49 +00:00
Michael Niedermayer
530902f3c7 const
Originally committed as revision 11754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:55:18 +00:00
Michael Niedermayer
48670d4740 const
Originally committed as revision 11753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:50:36 +00:00
Michael Niedermayer
cd5a654ed5 const
Originally committed as revision 11752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:37:36 +00:00
Michael Niedermayer
5cbbbf378f const
Originally committed as revision 11751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:36:44 +00:00
Michael Niedermayer
81ef51e669 const
Originally committed as revision 11750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:36:33 +00:00
Michael Niedermayer
a8a8f204f0 const
Originally committed as revision 11749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:30:35 +00:00
Michael Niedermayer
f5b2e90010 const
Originally committed as revision 11748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:28:50 +00:00
Michael Niedermayer
08e5052930 const
Originally committed as revision 11747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:28:22 +00:00
Michael Niedermayer
7e2ea58313 some const
Originally committed as revision 11746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:18:09 +00:00
Michael Niedermayer
6ea28fc5ea const
Originally committed as revision 11745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:16:08 +00:00
Michael Niedermayer
0e03ed2eed const
Originally committed as revision 11744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:15:10 +00:00
Michael Niedermayer
2b57b46313 const
Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:10:56 +00:00
Michael Niedermayer
3d37b11f92 some const
Originally committed as revision 11742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:09:52 +00:00
Michael Niedermayer
16db358520 const
Originally committed as revision 11741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:08:35 +00:00
Michael Niedermayer
92ddaf2622 const
Originally committed as revision 11740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:07:02 +00:00
Michael Niedermayer
f61bf0526b const
Originally committed as revision 11739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:06:54 +00:00
Michael Niedermayer
da2036c54e const
Originally committed as revision 11738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:03:56 +00:00
Michael Niedermayer
3cd7c7fb1b const
Originally committed as revision 11737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:03:47 +00:00
Michael Niedermayer
1dc5527934 const
Originally committed as revision 11736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:00:31 +00:00
Michael Niedermayer
3c71bc55dc const
Originally committed as revision 11735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:58:41 +00:00
Michael Niedermayer
07311324a3 const
Originally committed as revision 11734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:55:15 +00:00
Michael Niedermayer
0ff4670a21 Casts to silcence "incompatible pointer type" warnings.
Originally committed as revision 11733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:51:06 +00:00
Michael Niedermayer
96711ecff9 const src for bswap
Originally committed as revision 11732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:49:15 +00:00
Michael Niedermayer
2ec3861238 const
Originally committed as revision 11731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:42:08 +00:00
Michael Niedermayer
972c99c112 Use bytestream.
Originally committed as revision 11730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:38:55 +00:00
Michael Niedermayer
9bb5e9e945 const
Originally committed as revision 11729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:32:41 +00:00
Michael Niedermayer
c27fc644d4 const
Originally committed as revision 11727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:17:56 +00:00
Michael Niedermayer
c82fbf7fba const
Originally committed as revision 11726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:16:26 +00:00
Michael Niedermayer
1545c5e535 const
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:46 +00:00
Michael Niedermayer
fb2cf1bcf0 const
Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:04 +00:00
Michael Niedermayer
bd0e945f8e const
Originally committed as revision 11723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:11:06 +00:00
Michael Niedermayer
21cc343d85 const
Originally committed as revision 11722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:07:48 +00:00
Michael Niedermayer
75739ba290 const
Originally committed as revision 11721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:04:44 +00:00
Michael Niedermayer
d31522b8f1 const
Originally committed as revision 11720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:02:28 +00:00
Michael Niedermayer
1a2c94cb69 const
Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:59:06 +00:00
Michael Niedermayer
8687f7679d const
Originally committed as revision 11718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:54:08 +00:00
Michael Niedermayer
ea494db398 const
Originally committed as revision 11717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:51:51 +00:00
Michael Niedermayer
ebc0790441 const
Originally committed as revision 11716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:55 +00:00
Michael Niedermayer
f64bbca55d const
Originally committed as revision 11715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:32 +00:00
Michael Niedermayer
5d9375da77 const
Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:47:32 +00:00
Michael Niedermayer
f84a02c0d1 const
Originally committed as revision 11713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:46:11 +00:00
Michael Niedermayer
2b3c8f8a6a const
Originally committed as revision 11712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:40:46 +00:00
Michael Niedermayer
b5777b942d const
Originally committed as revision 11711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:39:15 +00:00
Michael Niedermayer
e68c7a4abe const
Originally committed as revision 11710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:34:43 +00:00
Michael Niedermayer
0431d3b121 one "cast discards qualifiers from pointer target type" less
Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:29:43 +00:00
Michael Niedermayer
7993df6527 consts
I have underestimated this a little, and these are just some ...

Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:26:31 +00:00
Michael Niedermayer
b1f5712e3c consts
Originally committed as revision 11706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:36:09 +00:00
Michael Niedermayer
30317501a0 consts
Originally committed as revision 11705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:35:11 +00:00
Michael Niedermayer
6ddaa63cf4 The buffer passed into the decoder should be const.
Originally committed as revision 11704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:26:19 +00:00
Michael Niedermayer
a9f8715854 Fix const qualifer issues found by -Wcast-qual.
Originally committed as revision 11703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:40:46 +00:00
Michael Niedermayer
7526ade238 Indention, it seems i have forgotton to commit this.
Originally committed as revision 11702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:35:31 +00:00
Baptiste Coudurier
bb41f2e774 fix field order export
Originally committed as revision 11695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 14:23:48 +00:00
Michael Niedermayer
3485b9cdda Revert r11689 and r11690 (uninitalized warning fix) as its theoretically
undefined in C.

Originally committed as revision 11694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 14:01:33 +00:00
Reimar Döffinger
9c9519fd39 Two tables that should be const
Originally committed as revision 11692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 12:25:52 +00:00
Michael Niedermayer
b2aba2e6e7 Comment about weird warning prevention.
Originally committed as revision 11690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 02:13:53 +00:00
Michael Niedermayer
b34130ae61 fix "uninitalized" warning, the alternative way.
I hope this is valid C, flame me if not.
md5sum of h263.o doesnt change, so this doesnt cause a slowdown.

Originally committed as revision 11689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:38:00 +00:00
Baptiste Coudurier
961c25b588 revert r11677, it is considered speed critical
Originally committed as revision 11688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:25:29 +00:00
Baptiste Coudurier
8943802849 add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within ||
Originally committed as revision 11687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:57:48 +00:00
Baptiste Coudurier
f0a7084088 Add const qualifier, fix warnings:
snow.c:2292: warning: assignment discards qualifiers from pointer target type
snow.c:2294: warning: assignment discards qualifiers from pointer target type
snow.c:2300: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 11686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:56:29 +00:00
Baptiste Coudurier
4a9dfdc1c9 add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||
Originally committed as revision 11685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:50:21 +00:00
Andreas Öman
1710856cb1 Fix the following warnings:
h264.c:2093: warning: unused variable 's'
h264.c:2406: warning: suggest parentheses around arithmetic in operand of ^
h264.c:2412: warning: suggest parentheses around arithmetic in operand of ^

Originally committed as revision 11680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:15:24 +00:00
Baptiste Coudurier
774c84770f cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 of 's->dsp.bswap_buf' from incompatible pointer type
Originally committed as revision 11679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:10:56 +00:00
Baptiste Coudurier
d83085cd5a fix indentation
Originally committed as revision 11678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:06:54 +00:00
Baptiste Coudurier
3fbe36d4d0 init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function
Originally committed as revision 11677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:05:44 +00:00
Baptiste Coudurier
7f4d2d8308 cast to dest type, fix warning: 4xm.c:304: warning: initialization from incompatible pointer type
Originally committed as revision 11676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:01:16 +00:00
Baptiste Coudurier
e151e272a0 cast to dest type, fix warning imgconvert.c:1958: warning: assignment from incompatible pointer type
Originally committed as revision 11675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:00:08 +00:00
Baptiste Coudurier
29e15adc34 add const, fix warning: cook.c:276: warning: passing argument 2 of 'maybe_reformat_buffer32' discards qualifiers from pointer target type
Originally committed as revision 11674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:58:44 +00:00
Baptiste Coudurier
066e0cc50d add parenthesis, fix warning: i386/dsputil_mmx.c:2618: warning: suggest parentheses around arithmetic in operand of |
Originally committed as revision 11673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:54:59 +00:00
Baptiste Coudurier
afa4778989 fix prototypes, remove warning: i386/dsputil_mmx.c:3594: warning: assignment from incompatible pointer type
Originally committed as revision 11672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:52:42 +00:00
Reimar Döffinger
234c6ed76d Add bitstream filter to convert between mov and plain text subtitles
Originally committed as revision 11659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:24:09 +00:00
Jeff Downs
79db7ac6ef Fix memory leak in h264 decoder. allocated_edge_emu_buffer was being allocated
in both mpegvideo and h264 decoder. Fixed by allowing all (master and duplicate)
contexts to fully initialize in MPV_frame_start and copying these into
H264Contexts.

Mailing list discussion:
[FFmpeg-devel] Memory leak in h264
Tue, 22 Jan 2008 15:22:55

Originally committed as revision 11657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:12:38 +00:00
Diego Biurrun
bca9e0bcf1 Move common test program infrastructure to common.mak.
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:28:56 +00:00
Diego Biurrun
fe34942e92 Move some lines in preparation for an upcoming commit.
Originally committed as revision 11644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:27:13 +00:00
Reimar Döffinger
766324fc49 Add and use DECLARE_ASM_CONST for constants used in assembler code.
Should make it easier to work around compilation problems with e.g. ICC.

Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:50:16 +00:00
Reimar Döffinger
038f0f9b34 Use DECLARE_ALIGNED in yet another place
Originally committed as revision 11640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:45:49 +00:00
Reimar Döffinger
6a1a2fa0fe Use DECLARE_ALIGNED and remove unneeded attribute_used
Originally committed as revision 11639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 19:59:11 +00:00
Reimar Döffinger
cc8c2c6ab3 Add CODEC_ID_MOV_TEXT and use it instead of modifying the stream in the mov demuxer.
Originally committed as revision 11638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 19:57:04 +00:00
Diego Biurrun
cf6cb7c562 typo
Originally committed as revision 11637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 18:02:27 +00:00
Diego Biurrun
eba6ba4a74 Add $(EXESUF) where necessary.
Originally committed as revision 11636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 17:50:59 +00:00
Evgeniy Stepanov
f8d7c9d373 Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself

Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 15:43:17 +00:00
Diego Biurrun
1260eb4a68 whitespace and sorting cosmetics
Originally committed as revision 11632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:52:58 +00:00
Diego Biurrun
f98869bcec Add generic rule for all tests.
Originally committed as revision 11631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:50:29 +00:00
Reimar Döffinger
27215c6bf4 Use DECLARE_ALIGNED
Originally committed as revision 11630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:46:56 +00:00
Guillaume Poirier
d761f08987 fix indentation that was messed up by r11628
Originally committed as revision 11629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 08:37:28 +00:00
Siarhei Siamashka
13686bc2cd fix lowres decoding support on ARM CPUs
Original thread:
date: Jan 27, 2008 12:03 AM
subject: [FFmpeg-devel] [PATCH] Fix for lowres decoding support on ARM
Patch by Siarhei Siamashka $ siarhei P siamashka A gmail P com $

Originally committed as revision 11628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 08:36:50 +00:00
Diego Biurrun
64e13d6914 Do not group libamr_nb and libamr_wb together as libamr.
Also fixes --enable-libamr being recognized as configure parameter.

Originally committed as revision 11616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 12:46:46 +00:00
Måns Rullgård
7b0dee28d2 clean up dynamic loading of libfaad
Originally committed as revision 11609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-25 21:14:17 +00:00
Zdenek Kabelac
e2fdba650d Correctly clean up IntraX8Context upon codec close.
patch by Zdenek Kabelac, zdenek d kabelac a gmail d com

Originally committed as revision 11608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-25 07:37:46 +00:00
Måns Rullgård
0f44edaa1c cosmetic: libfaad.c indentation
Originally committed as revision 11607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:51:31 +00:00
Måns Rullgård
dbbc573253 fix dynamic loading of libfaad 2.6
Originally committed as revision 11606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:51:29 +00:00
Michael Niedermayer
cb077b7aa3 Fix crash for CAVLC->CABAC switch caused by writing into NULL tables.
(iam not sure if this might have been exploitable)
fixes issue332 / CVCANLMA2_Sony_C.jsv
Other solutions which waste a few bytes less are welcome ...

Originally committed as revision 11605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:31:59 +00:00
Diego Biurrun
6bf398a030 Add #undef printf and disable non-functional code to make test program compile.
Originally committed as revision 11604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 21:27:07 +00:00
Diego Biurrun
07ad12ecdd Fix test program compilation: Add missing #include and update the call
of ff_init_cabac_states() to account for API changes.

Originally committed as revision 11602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:23:24 +00:00
Diego Biurrun
c46e28746c Put some disabled functions that are only used in the test program in cabac.c
under TEST as preprocessor conditional, same as the test program.

Originally committed as revision 11601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:19:39 +00:00
Diego Biurrun
79bfd0ef76 Add #undef random and call the right function to fix test program compilation.
Originally committed as revision 11600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:18:08 +00:00
Diego Biurrun
6a339972af Remove unused variables in test code.
Originally committed as revision 11599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 23:47:59 +00:00
Diego Biurrun
e5b10e3174 Fix warnings in test code:
eval.c:454: warning: return type defaults to 'int'
eval.c:464: warning: control reaches end of non-void function

Originally committed as revision 11594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 09:20:25 +00:00
Diego Biurrun
3f5d7bb331 Remove two unused variables.
Originally committed as revision 11584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 00:29:22 +00:00
Diego Biurrun
a4b375c614 Remove unnecessary forward declaration.
Originally committed as revision 11583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 00:28:29 +00:00
Diego Biurrun
07e4e3ea8b Consistently use TEST as the preprocessor condition to enable test code.
Originally committed as revision 11581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 23:53:51 +00:00
Aurelien Jacobs
1ace441909 add proper matroskaenc dependency over xiph.o
Originally committed as revision 11580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 21:38:21 +00:00
Aurelien Jacobs
22cf0018d4 add missing Makefile rules for zork pcm encoder/decoder
Originally committed as revision 11578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:55:28 +00:00
Aurelien Jacobs
8dcbcef68e and thus, nellymoser obviously also depens on fft.o
Originally committed as revision 11577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:51:19 +00:00
Aurelien Jacobs
d1c266bed1 nellymoser uses mdct functions
Originally committed as revision 11576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:45:43 +00:00
Reimar Döffinger
b8659d94b7 Add mfspr-based AltiVec detection code.
Currently not enabled in FFmpeg, because it crashes if the OS does not
emulate mfspr.

Originally committed as revision 11569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 19:27:39 +00:00
Kostya Shishkov
d1cc6e46f2 simplify 4-point transform part a bit
Originally committed as revision 11559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 11:04:02 +00:00
Kostya Shishkov
f3647f59f1 Factor out constant addition
Originally committed as revision 11558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-19 06:52:29 +00:00
Kostya Shishkov
34093ab58e Save quantizer values as well
Originally committed as revision 11555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-18 07:04:58 +00:00
Kostya Shishkov
b008e6b869 Save coded block patterns for future loop filtering.
Originally committed as revision 11554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-18 07:04:11 +00:00
Diego Biurrun
61dbf4e557 Simplify preprocessor expression as suggested by Mans.
Originally committed as revision 11549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:34:53 +00:00
Diego Biurrun
f9cac0a778 Replace puts() by dprintf where appropriate.
Originally committed as revision 11547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:30:06 +00:00
Michael Niedermayer
76d7c327eb Replace idiotic (what moron wrote that code?) "buffer overflow" message by
abort()

Originally committed as revision 11546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 00:12:04 +00:00
Diego Biurrun
426d18b85b Rename illegal identifiers, _ followed by capital is reserved for the system.
Originally committed as revision 11541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 21:21:30 +00:00
Kostya Shishkov
95e3fdb846 pqindex=0 is forbidden
Originally committed as revision 11540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 17:07:34 +00:00
Michael Niedermayer
9ccbc672aa qscale==0 is invalid
Originally committed as revision 11539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 12:42:52 +00:00
Diego Biurrun
7f390307db Add const qualifiers to unmodified function parameters, fixes the warning:
svq1dec.c:584: warning: passing argument 1 of 'svq1_packet_checksum' discards qualifiers from pointer target type

Originally committed as revision 11536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 09:02:22 +00:00
Diego Biurrun
744496e3e3 Remove bogus cast.
Originally committed as revision 11535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 08:59:12 +00:00
Sigbjørn Skjæret
9ad5675f25 Add a couple of missing consts.
patch by Sigbjørn Skjæret, cisc broadpark no

Originally committed as revision 11528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 22:10:19 +00:00
Christophe Gisquet
750e37eb83 Select scan tables for 8x4 and 4x8 blocks only once.
Patch by Christophe GISQUET ([christophe][gisquet] <whirlpool sign> free <spot> fr)
Thread [PATCH] Determine once and for all zz scan tables to use in VC-1 VLD

Originally committed as revision 11525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 06:10:02 +00:00
Michael Niedermayer
526e037b95 Remove green clouds.
fixes issue263

Originally committed as revision 11524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 04:27:03 +00:00
Luca Barbato
3174c77a3e gcc2 doesn't have bogus mergel, patch from Sigbjørn Skjæret cisc...broadpark___no
Originally committed as revision 11523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 23:58:12 +00:00
Robert Swain
3ed546fe52 Add variable alpha and size of half window for Kaiser-Bessel Derived window
generation. Hard code Bessel I0 approximation iterations to 50.

See thread for discussion:
[FFmpeg-devel] [PATCH] Move Kaiser-Bessel Derived window to mdct.c
Started on the 2008/01/10

Originally committed as revision 11520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 11:02:08 +00:00
Reimar Döffinger
99fac0806b Get rid of fft_rev table, use ff_reverse and a shift.
Reduces maximum allowed value for MDCT_NBITS to 10 (current value is 9)

Originally committed as revision 11519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 08:33:00 +00:00
Reimar Döffinger
f952b30cd1 Use FFSWAP instead of "manual" swap
Originally committed as revision 11518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 17:37:36 +00:00
Robert Swain
4eb7a735cb Make the Kaiser-Bessel window generator a common function
Patch by Robert Swain, robert d swain a gmail d com

Originally committed as revision 11514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 11:11:19 +00:00
Michael Niedermayer
9f7458b285 Factorize some code into functions, had this in my tree and will be
needed for mp3 encoding.

Originally committed as revision 11509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 21:34:05 +00:00
Brian Brice
812f29ffb8 Clear synth_buf on flush(). Part of a patch by Brian Brice bbrice gmail com.
Originally committed as revision 11507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 18:20:42 +00:00
Brian Brice
4a69055bad Flush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.
Originally committed as revision 11506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 18:18:45 +00:00
Christophe Gisquet
28748a9128 Factorize some duplicated code from CAVS and H.264 into a common file.
patch by Christophe Gisquet, christophe.gisquet free fr

Originally committed as revision 11504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 08:29:58 +00:00
Andreas Öman
48aecf5a7d Fix a bug causing the generated stream to be corrupt if the buffer
contains NAL units previous to the IDR where the SPS/PPS was inserted.

Ok:ed by Benoit on irc.

Originally committed as revision 11482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-09 08:38:28 +00:00
Justin Ruggles
f34b221bd2 used defined name for testing error resilience level
Originally committed as revision 11478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 23:44:48 +00:00
Diego Biurrun
aa6b38c29d Fix random typos.
Originally committed as revision 11477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 23:08:51 +00:00
Michael Niedermayer
787e135391 Randomly change the amount of noise if nothing is explicitly set.
Originally committed as revision 11458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 00:25:25 +00:00
Diego Pettenò
81fe0cfc0b Mark the ff_svq1_frame_size_table as constant.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:48:42 +00:00
Diego Pettenò
a1f89639a8 Move wmv1_scantable to .rodata section by making it an array of arrays.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:47:14 +00:00
Diego Pettenò
9307db13f6 Mark the tables in g726.c as constant.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:43:04 +00:00
Diego Pettenò
b2a9177017 Remove unused symbol.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

Originally committed as revision 11442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 12:40:39 +00:00
Justin Ruggles
f0b3a7ba12 split out init of downmix coeffs into a separate function that can be called
only when needed

Originally committed as revision 11441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 00:18:02 +00:00
Justin Ruggles
82a6c4811a remove unneeded variable from AC3DecodeContext
Originally committed as revision 11439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 23:56:19 +00:00
Justin Ruggles
4bc829bb8f make sure that the last coupling band stops at the end of the coupling range
Originally committed as revision 11438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 23:33:30 +00:00
Justin Ruggles
b02fbf7536 fix phase flag processing for the case when coupling coordinates are reused
for the right channel, but new for the left channel

Originally committed as revision 11436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 20:15:24 +00:00
Diego Biurrun
621d7fe936 Rename two structures, identifiers starting with _[A-Z] are reserved.
Originally committed as revision 11435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 16:02:55 +00:00
Kostya Shishkov
81df386929 Fractional parts of motion vectors should be accounted separately too
Originally committed as revision 11433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 11:47:53 +00:00
Justin Ruggles
cfec09e914 check for request_channels in dca init function
Originally committed as revision 11423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 21:23:57 +00:00
Justin Ruggles
ef7f2bb782 add downmixing support to libfaad decoder
Originally committed as revision 11422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 21:08:20 +00:00
Justin Ruggles
1d8cfa3168 cosmetics: indentation after last commit
Originally committed as revision 11421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 18:40:49 +00:00
Justin Ruggles
646800f79c move E-AC3 header parsing to ff_ac3_parse_header()
Originally committed as revision 11420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 18:39:55 +00:00
Justin Ruggles
86ad4c7e1b remove unneeded variables from AC3HeaderInfo
Originally committed as revision 11419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 17:04:57 +00:00
Justin Ruggles
3eca1e6fad do not set channels before checking request_channels
Originally committed as revision 11418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 16:47:40 +00:00
Justin Ruggles
dc7009ea1b use request_channels in liba52 decoder
Originally committed as revision 11417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 16:45:25 +00:00
Justin Ruggles
2816d32310 cosmetics: indentation
Originally committed as revision 11416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 15:23:39 +00:00
Justin Ruggles
95283c1701 check for request_channels at codec init
Originally committed as revision 11415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 15:22:53 +00:00
Justin Ruggles
6cd325c106 do not set channels before checking request_channels
Originally committed as revision 11414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 15:18:15 +00:00
Justin Ruggles
f228eb737b adjust output channels based on AVCodecContext.request_channels in AC3 parser
Originally committed as revision 11412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 05:36:00 +00:00
Michael Niedermayer
9bd005bdbc Drop non key frames before the first key frame.
Originally committed as revision 11411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 01:14:09 +00:00
Aurelien Jacobs
3abe5fbdc4 improve CRC API
- don't export any global var
 - provide either generated or hardcoded tables

Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Benjamin Larsson
9389e63c83 Enable proper output from the LFE channel, based on patch from Mathias Rauen dear dot madshi at net
Originally committed as revision 11407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 20:02:10 +00:00
Kostya Shishkov
f1917274cc RV30 thirdpel motion compensation support
Originally committed as revision 11398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 17:50:45 +00:00
Diego Biurrun
0c89322463 Change some files to only include the necessary headers.
Originally committed as revision 11394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 13:38:25 +00:00
Benoit Fouet
1234585fac Initialize "saved" buffer to zero.
Patch by Vincent Penné vpenne wyplay com and Denes Balatoni

Originally committed as revision 11393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 13:18:28 +00:00
Justin Ruggles
7564658bbc cosmetics: indentation and add a TODO comment
Originally committed as revision 11389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 00:39:03 +00:00
Justin Ruggles
471db688c6 only check ac3 crc if AVCodecContext.error_resilience > 0
Originally committed as revision 11388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 23:05:53 +00:00
Justin Ruggles
5706c0becd cosmetics: indentation after last commit
Originally committed as revision 11387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 22:42:37 +00:00
Justin Ruggles
bd03aa1556 remove workaround which is no longer needed due to
AVCodecContext.request_channels

Originally committed as revision 11386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 22:41:59 +00:00
Kostya Shishkov
b44665c4e6 Make decode210() common function.
Originally committed as revision 11382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 09:16:56 +00:00
Justin Ruggles
d6939960d5 add crc check to ac3 decoder
Originally committed as revision 11379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 02:26:29 +00:00
Christophe Gisquet
ae904fd028 Fix issue #301:
summary of changes:
- Use MANGLE when loading some constants into MMX registers.
- Convert those constants to non-static and thus add ff_ prefix.
- Remove last parameter of MSPEL_FILTER13_CORE (was constant).
- Use of "+r" instead of stricter but unnecessary "+g".
- Use of REG_c and direct loading of some of the above.
patch by Christophe GISQUET, christophe.gisquet free fr
Subject: [FFmpeg-devel] [PATCH] Roundup issue #301
Date: Fri, 28 Dec 2007 19:22:18 +0100

Originally committed as revision 11376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 19:24:42 +00:00
Kostya Shishkov
e640a5c4ce Direct blocks should use motion vectors from the second reference frame
Originally committed as revision 11361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-31 07:12:50 +00:00
Justin Ruggles
12eaa3b760 simplify
Originally committed as revision 11360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 22:58:20 +00:00
Justin Ruggles
b35c67e58b pass an AC3DecodeContext to ac3_downmix() instead of multiple arguments
Originally committed as revision 11359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 22:28:17 +00:00
Justin Ruggles
866181e5e8 cosmetics: rename sampling_rate to sample_rate
Originally committed as revision 11358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 21:26:30 +00:00
Justin Ruggles
0345fade94 do not need to cast a (void *)
Originally committed as revision 11357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 21:24:49 +00:00
Justin Ruggles
1b70d88b7a cosmetics: vertical realignment after last commit
Originally committed as revision 11356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 21:09:08 +00:00
Justin Ruggles
d802d7ca12 cosmetics: rename all AC3DecodeContext variables from ctx to s
Originally committed as revision 11355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 20:58:50 +00:00
Justin Ruggles
23c8cb89c9 cosmetics: rename GetBitContext gb to gbc
Originally committed as revision 11354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 20:47:22 +00:00
Justin Ruggles
005ab694ae remove unused context variable
Originally committed as revision 11353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-30 03:10:18 +00:00
Evgeniy Stepanov
f9a9b3509c export raw SSA tracks with their own codec ID (patch by Evgeniy Stepanov)
Originally committed as revision 11352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-29 20:49:03 +00:00
Ivo van Poorten
29e35482e7 remove forgotten debug statement
Originally committed as revision 11344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:12:47 +00:00
Ivo van Poorten
3c808d8cc4 Sort properly
Originally committed as revision 11343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:09:57 +00:00
Ivo van Poorten
d43df959d7 Sun Rasterfile decoder
Originally committed as revision 11342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 13:07:43 +00:00
Justin Ruggles
02c164c148 use cutoff frequency to adjust bandwidth in ac3 encoder
Originally committed as revision 11338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 06:13:55 +00:00
Justin Ruggles
08ac1e783e use bps instead of kbps for bitrate
Originally committed as revision 11337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 05:32:12 +00:00
Justin Ruggles
c135b520e7 Do not give advice for which bitrate to choose.
Originally committed as revision 11334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 03:12:24 +00:00
Justin Ruggles
678a7179b6 fix typo
Originally committed as revision 11333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 03:05:49 +00:00
Diego Biurrun
22170ec0b2 Remove mistakenly added multiple inclusion guards.
Originally committed as revision 11332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-28 01:42:58 +00:00
Diego Biurrun
35562dc962 Fix make checkheaders.
Originally committed as revision 11331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 12:56:49 +00:00
Diego Biurrun
3035cb6796 Add necessary #include, fixes the warnings:
ppc/h264_altivec.c: In function ‘put_h264_qpel16_mc00_altivec’:
ppc/h264_altivec.c:394: warning: implicit declaration of function ‘put_pixels16_altivec’
ppc/h264_altivec.c: In function ‘avg_h264_qpel16_mc00_altivec’:
ppc/h264_altivec.c:395: warning: implicit declaration of function ‘avg_pixels16_altivec’
ppc/h264_altivec.c: In function ‘dsputil_h264_init_ppc’:
ppc/h264_altivec.c:872: warning: implicit declaration of function ‘has_altivec’

Originally committed as revision 11330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 12:31:23 +00:00
Alexander Strange
d479d58cb6 Fix clicking sound in xa-adpcm.
patch by Alexander Strange, astrange ithinksw com
Subject: Re: [FFmpeg-devel] [PATCH] fix clicking sound in xa-adpcm
Date: Thu, 27 Dec 2007 03:20:24 -0500

Originally committed as revision 11329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 11:55:53 +00:00
Ivo van Poorten
91be76a662 remove useless cast
Originally committed as revision 11328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 11:49:28 +00:00
Michael Niedermayer
9f175aa075 Fix encoding wmv1 with -mbd 1.
fixes issue262

Originally committed as revision 11327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 03:03:45 +00:00
Ivo van Poorten
b4abe1d198 PC Paintbrush PCX image decoder
Originally committed as revision 11321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 22:17:46 +00:00
Ivo van Poorten
d6bb52acdc remove useless assignment
Originally committed as revision 11319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 16:24:49 +00:00
Ivo van Poorten
0fd0cae082 remove useless assignment
Originally committed as revision 11318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 16:24:04 +00:00
Ivo van Poorten
9a8d731832 remove useless casts
Originally committed as revision 11317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 16:23:25 +00:00
Reimar Döffinger
9c87b8f777 Check for avcodec_open codec parameter == NULL and return error in that case
Originally committed as revision 11316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-25 15:36:12 +00:00
Diego Biurrun
64bb7bd519 typo: begining --> beginning
Originally committed as revision 11312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 21:01:09 +00:00
Luca Barbato
9e052e8d28 Reindent
Originally committed as revision 11311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 19:07:21 +00:00
Luca Barbato
4049e0142d Minor fix
Originally committed as revision 11310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 19:06:33 +00:00
Luca Barbato
6b646b068e 10l do not load after the buffer...
Originally committed as revision 11308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-23 15:54:21 +00:00
Luca Barbato
08571377e6 Add C/B == 0 cases, 2% slower on CELL but should address Issue299 eventually
Originally committed as revision 11306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 23:10:02 +00:00
Luca Barbato
4159db8ca3 Reindent
Originally committed as revision 11304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:39:32 +00:00
Luca Barbato
e36b639f0f Partially address issue299, no performance change apparently
Originally committed as revision 11303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:17:46 +00:00
Luca Barbato
8d8d178dad Avoid a vec_add, directly start with sum
Originally committed as revision 11302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 03:39:53 +00:00
Luca Barbato
c7f66add4c Reindent
Originally committed as revision 11301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:53:36 +00:00
Luca Barbato
a75fe63d3e Factorize common code (almost cosmetic)
Originally committed as revision 11300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:46:32 +00:00
Luca Barbato
907fc60f31 Cosmetics
Originally committed as revision 11299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:35:33 +00:00
Christophe Gisquet
9fa3572903 add MMX version for put_no_rnd_h264_chroma_mc8_c, used in VC-1 decoding.
patch by Christophe GISQUET %christophe P gisquet A free P fr%
original thread:
date: Nov 25, 2007 12:35 AM
subject: Re: [FFmpeg-devel] MMX version for put_no_rnd_h264_chroma_mc8_c

Originally committed as revision 11298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 23:11:22 +00:00
Diego Biurrun
9fbd14acb8 Fix typo in macro name: WARPER8_16_SQ --> WRAPPER8_16_SQ.
Originally committed as revision 11296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 12:38:41 +00:00
Diego Biurrun
8bfb108b3e comment typo fixes
Originally committed as revision 11294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:50:18 +00:00
Michael Niedermayer
f315b39469 More consistent { placement.
Originally committed as revision 11292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:20:10 +00:00
Michael Niedermayer
76abb18ef5 indent
Originally committed as revision 11291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:17:25 +00:00
Michael Niedermayer
febdd0b9b4 ~15% faster h264_chroma_mc2/4_c() these also prevent some possible out
of array reads.

Originally committed as revision 11290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:16:22 +00:00
Michael Niedermayer
815c81c0a7 30% faster h264_chroma_mc8_c(), this also prevents a possible out of
array read.

Originally committed as revision 11288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:01:04 +00:00
Ivo van Poorten
91fd7398f4 typo ;)
Originally committed as revision 11287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 00:22:40 +00:00
Michael Niedermayer
ba66ae94a0 Document a few more structure change rules with relation to ABI/API.
Originally committed as revision 11283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:59:07 +00:00
Michael Niedermayer
252f17e292 Document structure change rules with relation to ABI/API.
Originally committed as revision 11281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:43:01 +00:00
Justin Ruggles
1408352ada Add option for user to scale the amount of dynamic range compression which is
applied by the audio decoder, and use that option in the AC3 decoder.

Originally committed as revision 11280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 00:55:08 +00:00
Reinhard Nissl
8293fea57e Fix problem with multithreaded decoding, introduced by r11214.
Patch by Reinhard Nissl: rnissl gmx de

Originally committed as revision 11275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 23:03:52 +00:00
Diego Biurrun
379374ea11 cosmetics: Sort some more entries.
Originally committed as revision 11265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 08:14:21 +00:00
Michael Niedermayer
0cd60abf7b A little more doxygenization.
Originally committed as revision 11263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 19:40:57 +00:00
Michael Niedermayer
9b4dd1b879 Document Motion_Est_IDs.
Originally committed as revision 11262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 19:40:08 +00:00
Michael Niedermayer
3e0b7b5627 Remove old variable with the next major version bump.
Originally committed as revision 11261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 14:51:55 +00:00
Baptiste Coudurier
0c39c38b14 add bitrate helper to choose all dnxhd variants
Originally committed as revision 11260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 13:52:07 +00:00
Baptiste Coudurier
86404ffba2 avoid infinite loop if pixel format conversion does not exist
Originally committed as revision 11259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 13:49:58 +00:00
Michael Niedermayer
1ba8f5ebac another comment ->doxy
Originally committed as revision 11257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:29:13 +00:00
Michael Niedermayer
bafc102b60 ME default does not belong to the ME type enum.
Originally committed as revision 11256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:26:11 +00:00
Michael Niedermayer
0e373b95b3 change some normal comments to doxy ones
Originally committed as revision 11255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:25:13 +00:00
Kostya Shishkov
b0797570df Correct spatial prediction mode in RV30/40 for vertical left direction
and add its version that does not rely on down left neighbour subblock.

Originally committed as revision 11252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 18:43:34 +00:00
Michael Niedermayer
5492209aa9 clarify FIXME
Originally committed as revision 11251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 18:23:18 +00:00
Reimar Döffinger
841f39a7f3 Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 17:41:24 +00:00
wg
3426d575bf Fix crash in PCM decoder when number of channels is not set.
Patch by "wg": video06 malloc de
See Issue298

Originally committed as revision 11249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 10:41:47 +00:00
Justin Ruggles
03726b7042 Skip dialog normalization. It shouldn't be used by the decoder, and there is
not currently a clean way to pass the value to the user.

Originally committed as revision 11246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 01:09:00 +00:00
Justin Ruggles
224bc440b2 Revert commit made in revision 11228. I'm getting some strange results in the
downmixed output that I can't quite figure out.

Originally committed as revision 11245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 01:03:19 +00:00
Aurelien Jacobs
407c50a024 move FLAC mmx dsp to its own file
Originally committed as revision 11244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 22:20:47 +00:00
Diego Biurrun
5d81d64175 cosmetics: comment typo fixes
Originally committed as revision 11232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 17:22:09 +00:00
Luca Barbato
c49e23e2a4 Make strict altivec parsers happy (gcc-4.3 and others)
Originally committed as revision 11231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 14:31:38 +00:00
Kostya Shishkov
6cd1500d39 RV40 decoder should use availability cache
Originally committed as revision 11230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 12:45:38 +00:00
Kostya Shishkov
a52ef6a894 RV30/40 decoding core
Originally committed as revision 11229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 12:44:25 +00:00
Justin Ruggles
b40211ff67 downmix before the IMDCT if no block switching is used
Originally committed as revision 11228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 04:25:50 +00:00
Reimar Döffinger
15c57ced2f Add 'l' suffix where it is necessary because type can not always be
inferred from arguments. Fixes compilation with Intel compiler

Originally committed as revision 11227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 23:08:15 +00:00
Andreas Öman
30dc554153 Add missing '\n' to log format text
Originally committed as revision 11224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 10:03:49 +00:00
Andreas Öman
79328e9cc7 Make DCA decoder honor avctx->request_channels in a more advisory way.
Originally committed as revision 11221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:01:33 +00:00
Andreas Öman
6708eefe55 Make AC3 decoder honor avctx->request_channels
Originally committed as revision 11220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:00:19 +00:00
Kostya Shishkov
626464fb53 Make fill_rectangle() available for other decoders
Originally committed as revision 11219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 06:06:16 +00:00
Jeff Downs
9a1feb8608 Fix brain-dead parts of r11216, specifically:
Actually unreference removed pics
And check for too many reference frames as originally intended, not equal
to max reference frames.

Originally committed as revision 11218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 22:49:30 +00:00
Jeff Downs
aeb59e839f Ensure that our total reference frame count does not exceed the SPS
max frame count, which is limited to less than the size of the
reference buffers, thereby preventing overflow.
Part of fix for issue 281.

Originally committed as revision 11216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 06:25:23 +00:00
Jeff Downs
41f7e2d11d Actually return with an error condition if we're being asked to deal with too
many reference frames. Also check max num ref frames against our internal
ref buffer sizes.
Part of fix for roundup issue 281

Originally committed as revision 11215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 05:48:27 +00:00
Jeff Downs
33e0073129 Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
Namely, that it should not be called if you are starting to decode a B
frame without any reference pictures.
Prevents an endless allocation cycle in MPV_frame_start that will end in
picture buffer overflow and abort.
Fixes roundup issue 216.

Originally committed as revision 11214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 05:37:23 +00:00
Reimar Döffinger
603972fc53 Add a missing break, before av_set_number would always return NULL for
FF_OPT_TYPE_RATIONAL options instead of the corresponding AVOption

Originally committed as revision 11213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-13 19:00:53 +00:00
Jeff Downs
36e097bce4 Fix non_zero_count_cache for deblocking in field pictures.
Based on original patch by Martin Zlomek martin.zlomek a email D cz
ffmpeg-devel thread: H264: Fix non_zero_count_cache for deblocking in fields
Fri, 30 Nov 2007 9:58:23

Originally committed as revision 11212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-13 00:50:47 +00:00
Aurelien Jacobs
1b77e87756 add required include to make this file self-contained
Originally committed as revision 11211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 22:45:03 +00:00
Måns Rullgård
a309073bf4 use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Michael Niedermayer
55b9e69a31 av_*_next() API for libavcodec
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:40:11 +00:00
Panagiotis Issaris
8540e8c3ec Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 11:52:27 +00:00
Diego Biurrun
571bf37f6d typo/clarification
Originally committed as revision 11201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-11 18:47:04 +00:00
Kostya Shishkov
3a18218e7b Enable 4x4 IDCT for FASTTX=0 mode in WMV3
Originally committed as revision 11199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 05:55:45 +00:00
Kostya Shishkov
91823a6efd Add 4x4 IDCT
Originally committed as revision 11198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 05:54:59 +00:00
Justin Ruggles
e2270b4e1e cosmetics: rename ac3 decoder variables
Originally committed as revision 11197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:28:10 +00:00
Justin Ruggles
e59cc20593 cosmetics: rename common ac3 variables
Originally committed as revision 11196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:27:14 +00:00
Justin Ruggles
8001d92345 cosmetics: vertical align after last commit
Originally committed as revision 11195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:25:42 +00:00
Justin Ruggles
5ce2134258 cosmetics: rename ac3 bit allocation variables
Originally committed as revision 11194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:23:04 +00:00
Justin Ruggles
66ecf18e38 cosmetics: rename ac3 tables
Originally committed as revision 11193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:21:33 +00:00
Aurelien Jacobs
59e6f60a99 add ff_ prefix to all simple_idct symbols
Originally committed as revision 11192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 21:21:11 +00:00
Kostya Shishkov
98f48ce157 Reindent after last commit
Originally committed as revision 11191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:46:09 +00:00
Kostya Shishkov
51ece6842f Update Altivec variant of vc1_inv_trans_8x4
Originally committed as revision 11190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:45:42 +00:00
Kostya Shishkov
8df7cfe97c Use IDCT functions when FASTTX=0
Originally committed as revision 11189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 10:50:50 +00:00
Kostya Shishkov
d2e45f33a4 Switch VC-1 decoder to output decoded residual immediately.
Originally committed as revision 11188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 10:41:18 +00:00
Kostya Shishkov
30ea307544 Rename some tables
Originally committed as revision 11187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 09:15:44 +00:00
Kostya Shishkov
4978618b6b Use existing function for VLC reading
Originally committed as revision 11185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:56:07 +00:00
Kostya Shishkov
b192e56461 Check decoded dimensions for validity
Originally committed as revision 11184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:52:27 +00:00
Kostya Shishkov
ea61e33a7f Intra types will be stored in int8_t array
Originally committed as revision 11183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:50:23 +00:00
Kostya Shishkov
52b917536d Add decoder flags
Originally committed as revision 11182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:48:34 +00:00
Kostya Shishkov
da71cdadc2 Replace table with its H.263 counterpart
Originally committed as revision 11181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:47:24 +00:00
Kostya Shishkov
dbf7150441 Update tables for RV40 decoder
Originally committed as revision 11175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:12:02 +00:00
Michael Niedermayer
1918057c8a prevent warnings about functions being possibly unused
Originally committed as revision 11174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 08:38:49 +00:00
Michael Niedermayer
9a3bb2b89c thank you for your efforts to keep my code clean, but i would like to
keep the functions below as they are usefull for debugging, testing,
experiments and development

revert
r11048 | diego | 2007-11-17 00:15:39 +0100 (Sat, 17 Nov 2007) | 4 lines

Remove unused functions, fixes the warnings:
snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used

Originally committed as revision 11173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 02:02:41 +00:00
Panagiotis Issaris
b17270878e Verify long_ref_count!=0. Fix issue 281.
Originally committed as revision 11171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 18:02:48 +00:00
Alexander Strange
bc2bc41bb8 Fix missing chroma in version 3 STR.
Closes issue 290
Patch by Alexander Strange: astrange ithinksw com

Originally committed as revision 11170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 13:11:18 +00:00
Michael Niedermayer
b180d9fe99 fix decoding of the first frame of gray.mov
Originally committed as revision 11169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 11:36:06 +00:00
Jeff Downs
cf653d0811 Initialize function pointers used by error resilience code before any
potential error return from decode_slice_header.

Fixes issue 284.

Originally committed as revision 11168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 05:24:54 +00:00
Kostya Shishkov
ae4ca617e3 RV40 decoder specific functions
Originally committed as revision 11163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-04 17:41:46 +00:00
Diego Biurrun
cedb83a671 colour --> color in variable names
Originally committed as revision 11159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:33:48 +00:00
Diego Biurrun
a660c52a7e cosmetics: comment spelling fixes
Originally committed as revision 11157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:01:53 +00:00
Diego Biurrun
f2c68f9c7e cosmetics: spelling fixes
Originally committed as revision 11155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 11:03:16 +00:00
Michael Niedermayer
3d86e370d8 make rc_buffer_size apply to audio as well
Originally committed as revision 11150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:02:26 +00:00
Kostya Shishkov
fda767bb4f Rename function to reflect its action
Originally committed as revision 11146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 06:59:48 +00:00
Michael Niedermayer
b81f2b3d2f simplify
Originally committed as revision 11141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 01:06:00 +00:00
Michael Niedermayer
24cdc39e9d make the AVOption code work with strings instead of crash
Originally committed as revision 11140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 01:03:54 +00:00
Reimar Döffinger
77777f0dd8 Some spelling fixes in comments
Originally committed as revision 11138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 22:04:21 +00:00
Reimar Döffinger
b639896915 Use the correct "const float *" type for variable instead of casting const away.
Originally committed as revision 11136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 21:12:43 +00:00
Reimar Döffinger
5db3c3bc03 Add missing const to last argument of decode_significance_8x8_x86.
Fixes "h264.c:5470: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type"

Originally committed as revision 11135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 21:11:43 +00:00
Baptiste Coudurier
c20d3ce255 indentation
Originally committed as revision 11134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 19:28:20 +00:00
Baptiste Coudurier
cc3a970857 dnxhd 720p encoding and decoding support
Originally committed as revision 11133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 19:27:19 +00:00
Baptiste Coudurier
df745b9ce6 cosmetics, encode_variance -> encode_fast
Originally committed as revision 11132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 19:22:38 +00:00
Baptiste Coudurier
78532b052d fix corner case when qscale 1 bits < frame bits but max bits with worst padding > frame bits
Originally committed as revision 11131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 19:20:46 +00:00
Kostya Shishkov
79cf2c7e86 RealVideo 3 decoder functions
Originally committed as revision 11130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 18:44:29 +00:00
Diego Biurrun
56cc85a068 Misc spelling fixes, prefer American over British English.
Originally committed as revision 11126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 15:43:08 +00:00
Diego Biurrun
d0b53d05c8 Fix some spelling mistakes.
Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 14:06:28 +00:00
Kostya Shishkov
74971185f3 RV30/40 common VLC tables
Originally committed as revision 11124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 06:24:34 +00:00
Vitor Sessak
f87d2632b3 Fix alignment broke by my last patch
Originally committed as revision 11123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:35:38 +00:00
Vitor Sessak
52b541ad79 spelling
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:21:04 +00:00
Kostya Shishkov
329851e032 TIFF may omit compression tag.
This fixes issue 276.

Originally committed as revision 11121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 15:41:35 +00:00
Diego Biurrun
7338d36808 succes --> success typo
Originally committed as revision 11120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 12:05:59 +00:00
Reimar Döffinger
892a4c2da8 Fix nodes[nb_codes*2-1].count being uninitialized and used to initialize
nodes[nb_codes*2-2].count (thus making that invalid as well) in
ff_huff_build_tree.
Might fix some (hard to reproduce) crashes in VP6 decoder.

Originally committed as revision 11119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 09:39:59 +00:00
Michael Niedermayer
5d702d6db2 senseless cast and ()
Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:21:43 +00:00
Michael Niedermayer
90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Reimar Döffinger
4c1e509c11 wma_decode_superframe always returns s->block_align, so make
sure we actually consume exactly that amount.
Fixes sound artefacts (mostly blips) that mysteriously disappeared
after e.g. remuxing with mencoder.

Originally committed as revision 11115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-30 21:51:34 +00:00
Diego Biurrun
2d4e0c1aa9 Fix make checkheaders, #include <inttypes.h> was missing.
Originally committed as revision 11114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-30 14:08:00 +00:00
Michael Niedermayer
0063c05c67 fix segfault with interlaced h.264
Originally committed as revision 11113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-29 15:09:24 +00:00
Ian Caulfield
6b493b2f2f MLP/TrueHD parser
Patch by Ian Caulfield, ian D caulfield <at> gmail D com
Thread: [PATCH] MLP/TrueHD decoder, 12 Oct 14:26

Originally committed as revision 11109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 14:27:53 +00:00
Stefano Sabatini
0fe93f07ba Clarify documentation for avcodec_encode_audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 11108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 12:41:35 +00:00
Aurelien Jacobs
bb6cc730e5 remove some unused ff_p* vars from dsputil
Originally committed as revision 11106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:57:26 +00:00
Aurelien Jacobs
dbb5fdbdc8 remove useless #ifdef around extern declaration
Originally committed as revision 11105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:56:15 +00:00
Aurelien Jacobs
7c35b55111 cosmetics: indentation
Originally committed as revision 11104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:54:46 +00:00
Aurelien Jacobs
51ac88228a convert some #ifdef CONFIG_ to if(ENABLE_
Originally committed as revision 11103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:54:18 +00:00
Aurelien Jacobs
5b67ce2afa build vc1dsp_mmx.c in its own compilation unit
Originally committed as revision 11102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:42:55 +00:00
Aurelien Jacobs
43de50659b use ff_ prefix for extern vars
Originally committed as revision 11101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:36:15 +00:00
Aurelien Jacobs
182f56cb0c make ff_p* vars extern so that they can be used in various *_mmx.c files
Originally committed as revision 11100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:23:34 +00:00
Aurelien Jacobs
713b0bffd6 10l: init_get_bits want size in bits, not bytes
Originally committed as revision 11099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 22:00:45 +00:00
Aurelien Jacobs
48b36ec24b cosmetics: alignment
Originally committed as revision 11098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 21:30:10 +00:00
Diego Biurrun
c47e20e621 spelling cosmetics
Originally committed as revision 11097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 15:38:54 +00:00
D Richard Felker III
de39d62c14 sync message with modern ffmpeg bitrate option syntax.
note: this message should probably be tweaked; i'm not sure that it's
a good idea for lavc to be recommending ffmpeg command line options
as it's a general-purpose library.

Originally committed as revision 11094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 05:32:04 +00:00
Aurelien Jacobs
28e7453c11 remove some empty close/init functions in avcodec
patch by Alex

Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-25 17:31:55 +00:00
Aurelien Jacobs
725d86bfd5 add pcm_s16le_planar support for electronicarts files
Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-25 16:32:47 +00:00
Aurelien Jacobs
4d4f59d750 split wmv2 encoder and decoder in their own files
Originally committed as revision 11091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-25 16:23:42 +00:00
Christophe Gisquet
ac40ce4244 Typo fix. Previous version had some picture error building up until next keyframe.
Now MMX version decodes 1:1 what the C version does
patch by Christophe GISQUET %christophe P gisquet A free P fr%

Originally committed as revision 11090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-25 09:43:35 +00:00
Kostya Shishkov
e082f4a89b Data tables for future RV30/40 decoder
Originally committed as revision 11089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 17:42:16 +00:00
Christophe Gisquet
d3a9c44e1d Strip debug stuff from vc1dsp_mmx.c, patch by Christophe GISQUET %hristophe P gisquet A free P fr%
Original thread:
date: Nov 24, 2007 3:09 PM
subject: [FFmpeg-devel] [PATCH] Strip debug stuff from vc1dsp_mmx.c

Originally committed as revision 11088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 14:34:25 +00:00
Diego Biurrun
f0a838e525 Add missing #includes to fix 'make checkheaders'.
Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 10:08:02 +00:00
Diego Biurrun
f8a80fd69d main() --> main(void)
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 00:52:56 +00:00
Christophe Gisquet
82821c913b add VC-1 MMX DSP functions, under MIT license.
patch by Christophe GISQUET %christophe P gisquet A free P fr%
original thread:
date: Jul 7, 2007 12:52 PM
subject: [FFmpeg-devel] [PATCH] VC-1 MMX DSP functions

Originally committed as revision 11074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 22:41:31 +00:00
Michael Niedermayer
e59d932826 cosmetic (x==NULL -> !x)
Originally committed as revision 11067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:33:25 +00:00
Michael Niedermayer
5b2052b38f cosmetic (place { consistently)
Originally committed as revision 11066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:30:00 +00:00
Michael Niedermayer
0dd954b1f0 cosmetic (remove != 0 / != NULL)
Originally committed as revision 11064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:26:35 +00:00
Michael Niedermayer
e1c48b7aae use sizeof in snprintf (note the changed code is all under #if 0)
Originally committed as revision 11063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:18:30 +00:00
Michael Niedermayer
2867ed9b1c check region depth for validity
(32/64/128 would crash at least due to 1<<depth allocation later,
and no i do not have a sample file)

Originally committed as revision 11062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:14:46 +00:00
Benjamin Larsson
289987e454 Use memcpy instead of for loop
Originally committed as revision 11051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 10:54:38 +00:00
Jeff Downs
e240f898ff Call mpegvideo flush routine on h264 flush. Needed in particular
to clear last_picture_ptr, next_picture_ptr for proper picture
management. Prevents crashes in error concealer following seeks.
Fixes Roundup issue 189.

Originally committed as revision 11049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-17 03:04:21 +00:00
Diego Biurrun
eb72cacb21 Remove unused functions, fixes the warnings:
snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used

Originally committed as revision 11048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 23:15:39 +00:00
Aurelien Jacobs
87246a01cf avoid some halfpel related #ifdef
Originally committed as revision 11041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 22:32:39 +00:00
Diego Biurrun
a0c013de34 Put halfpel_interpol under the same #ifdef as its usage, fixes the warning:
snow.c:4142: warning: #halfpel_interpol# defined but not used

Originally committed as revision 11035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 12:40:40 +00:00
Panagiotis Issaris
9bd51b9aab Attribute for specifying direction should come right after @param.
Originally committed as revision 11030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 10:28:12 +00:00
Christophe Gisquet
1a625dce18 Use put_signed_pixels_clamped where appropriate
Patch by Christophe GISQUET christophe.gisquet <whirlpool sign> fr(run of two 'e').(copy 2 bytes with offset -5)
Thread: [PATCH] Use signed version when putting and clamping pixels in VC-1

Originally committed as revision 11029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 06:25:20 +00:00
Alex Beregszaszi
0b77d7d642 Remove editor junk from the end.
Originally committed as revision 11027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 18:21:57 +00:00
Benjamin Larsson
2b992d0e88 Small simplification
Originally committed as revision 11026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 16:33:14 +00:00
Alex Beregszaszi
8e1b957cd4 Support 44.1kHz audio. Acked by Benjamin
Originally committed as revision 11024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 15:31:47 +00:00
Alex Beregszaszi
8ef4de4e11 Change the "report sample" message from AV_LOG_DEBUG to AV_LOG_ERROR.
Acked by Benjamin Larsson

Originally committed as revision 11023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 15:30:15 +00:00
Alex Beregszaszi
b64fa5b426 Make sine_window static. Acked by Benjamin Larsson
Originally committed as revision 11022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 15:21:42 +00:00
Stefano Sabatini
5b0b5ecf60 Fix nellymoser decode_tag return value, patch by Stefano Sabatini
Originally committed as revision 11018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 08:22:15 +00:00
Diego Biurrun
095c22ac45 Remove unused variable, fixes the warning:
ppc/vc1dsp_altivec.c: In function ‘vc1_inv_trans_8x8_altivec’:
ppc/vc1dsp_altivec.c:141: warning: unused variable ‘vec_5’

Originally committed as revision 11006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-13 00:48:24 +00:00
Diego Biurrun
1b04f3e065 cosmetics: Keep all OBJS entries on a line of their own.
Originally committed as revision 11005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-12 22:29:37 +00:00
Michael Niedermayer
02d361919a tring to workaround gcc 2.95 bug which causes random failures
Originally committed as revision 11003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-12 02:04:01 +00:00
Baptiste Coudurier
5118cae694 ogg muxer
Originally committed as revision 10999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 18:27:03 +00:00
Diego Biurrun
96e2fbf27b Add comments to some #endif directives.
Originally committed as revision 10998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 16:44:37 +00:00
Diego Biurrun
f073a3934a cosmetics: Fix vissual --> visual typo.
Originally committed as revision 10997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 16:39:54 +00:00
Stefano Sabatini
2e39d0cd5b Improve unsupported (pixel) format error message.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 16:25:44 +00:00
Diego Biurrun
8a43317e66 cosmetics: Fix spacial --> spatial typo in function names.
Originally committed as revision 10993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 12:24:02 +00:00
Diego Biurrun
c238beb5d7 misc spelling/grammar/wording fixes in comments
Originally committed as revision 10991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 11:51:56 +00:00
Kostya Shishkov
63d2bad846 X8 is supported now, so warning is incorrect
Originally committed as revision 10990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 08:23:01 +00:00
Reinhard Nissl
ce5d17f590 Provide top_field_first logic for h264
patch by: Reinhard Nissl rnissl a gmx d de

Originally committed as revision 10989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 06:10:46 +00:00
Aurelien Jacobs
ce038da040 make some tables static
Originally committed as revision 10987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 01:02:36 +00:00
Aurelien Jacobs
49e9a4bf7c add multiple inclusion guards
Originally committed as revision 10986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 23:12:31 +00:00
Michael Niedermayer
cb0d8a5f8f grammar
Originally committed as revision 10985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 22:15:46 +00:00
Michael Niedermayer
3358e879d2 indention
Originally committed as revision 10984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 22:05:29 +00:00
Michael Niedermayer
177c9583b6 remove useless #ifdef
Originally committed as revision 10983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 22:03:12 +00:00
Michael Niedermayer
dc6e492bb2 remove inline from non speed critical functions
Originally committed as revision 10982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:58:50 +00:00
Michael Niedermayer
b7f435b058 vertical align
Originally committed as revision 10981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:56:18 +00:00
Michael Niedermayer
149ad67792 indention
Originally committed as revision 10980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:55:53 +00:00
Michael Niedermayer
d25300b79f remove unneeded {}
Originally committed as revision 10979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:55:33 +00:00
Michael Niedermayer
732cb5fd5a add {} to make the else look a little more normal
Originally committed as revision 10978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:52:29 +00:00
Michael Niedermayer
dd2111bdb7 indention
Originally committed as revision 10977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:51:50 +00:00
Michael Niedermayer
8590bcc3cd indention
Originally committed as revision 10976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:49:41 +00:00
Michael Niedermayer
dfb32930df remove debug variable
Originally committed as revision 10975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:47:36 +00:00
Michael Niedermayer
cdcf24f87c remove #if 0 code
Originally committed as revision 10974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:44:37 +00:00
Michael Niedermayer
de12b9be6c cosmetic
Originally committed as revision 10973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:43:03 +00:00
Michael Niedermayer
2916025765 factorize
Originally committed as revision 10972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:40:36 +00:00
Michael Niedermayer
9abc7e0fdc intrax8 decoder patch by "someone"
Originally committed as revision 10971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 21:37:48 +00:00
Martin Lindhe
3240941b25 Move 2 defines from mpegaudiodec.c to mpegaudiodata.h to allow compilation
when DEBUG is defined.
Patch by Martin Lindhe: martin startwars org

Originally committed as revision 10955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 10:53:32 +00:00
Aurelien Jacobs
c16d6c5061 cosmetics: indentation
Originally committed as revision 10952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:42:24 +00:00
Aurelien Jacobs
cc6de104f8 split wmv2 in its own file
Originally committed as revision 10951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:41:39 +00:00
Jeff Downs
ad426590d8 Fix deblocking filter for field pictures by properly looking for first
row in bottom fields and preventing the use of "fast" deblocking for such.

Originally committed as revision 10950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:35:48 +00:00
Aurelien Jacobs
85f601ee7b rename some msmpeg4 symbols and make them non-static
so that they can be used in standalone wmv2.c

Originally committed as revision 10949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:23:35 +00:00
Diego Biurrun
b0bd01d68a Fix make checkheaders by adding missing #include.
Originally committed as revision 10948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:06:27 +00:00
Aurelien Jacobs
2b045c9caa split definition of PCM_CODEC into PCM_ENCODER and PCM_DECODER
Originally committed as revision 10946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 22:54:31 +00:00
Kostya Shishkov
12877faf7c Musepack SV8 demuxer and decoder
Originally committed as revision 10938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 05:35:46 +00:00
Jeff Downs
c0a8500015 Fix poc for field pictures. Prior to this, the poc of the second field
in decoding order would always be assigned to a field pair's poc.

Original thread: H.264: Fix poc for field pairs, 6 Nov 2007 17:41:02

Originally committed as revision 10937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 18:48:18 +00:00
Timofei V. Bondarenko
62b3415258 fix predictor initialization for adpcm-ima encoder not to lose first sample
in block in adpcm-ima decoder
Patch by Timofei V. Bondarenko: tim £ ipi, ac, ru
Original thread: [FFmpeg-devel] [PATCH] adpcm-ima-wav header and codec
Date: 10/15/2007 05:55 PM

Originally committed as revision 10933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 13:08:04 +00:00
Jeff Downs
84a8596d23 Correct assignment of interlaced_frame; was being set on output frames,
in display order, based on decoding information in decoding order. Now
set properly, immediately upon completion of decode.

Based on original patch from Reinhard Nissl,  rnisssl % gmx , de
Original Thread: [FFmpeg-devel] H.264 + PAFF: BBC HD recording shows
extreme interlacing artefacts, Thu, 01 Nov 2007 22:43:09

Originally committed as revision 10931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-05 18:16:42 +00:00
Diego Biurrun
f9def9ccc6 Remove libvorbis Vorbis decoding support. Our native decoder is complete
and has no known bugs, any remaining issues will hopefully be uncovered now.

Originally committed as revision 10924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 12:55:32 +00:00
Benjamin Larsson
f83579b1a6 Remove unused variable
Originally committed as revision 10922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 10:27:32 +00:00
Diego Biurrun
a045e5152f Move external library codec registration to a separate section after all
native codecs. This way native implementations are always preferred.

Originally committed as revision 10917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 01:25:21 +00:00
Josh Coalson
0cb2774a4a Add decoding support for variable block size FLAC files using the latest FLAC
specification. Patch by Josh Coalson.

Originally committed as revision 10916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 00:06:33 +00:00
Josh Coalson
e471443ab5 Add support for FLAC's new RICE2 entropy coding method. Patch by Josh Coalson.
Originally committed as revision 10915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 23:54:50 +00:00
Aurelien Jacobs
271b4095ad add Electronic Arts XAS ADPCM decoder
based on a patch from Peter Ross

Originally committed as revision 10913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 22:37:18 +00:00
Fabrice Bellard
eb1c687b1b Use the ffmpeg mdct function, patch by Fabrice Bellard. Thread: [FFmpeg-devel] NellyMoser transform bug, 10/25/2007 12:24 PM
Originally committed as revision 10909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 14:34:25 +00:00
Kostya Shishkov
24e649afe3 Split Musepack decoder into SV7 decoder and synth core
(for upcoming SV8 decoder)

Originally committed as revision 10905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-02 06:40:42 +00:00
Aurelien Jacobs
76c443c6d4 move adx.c to adxdec.c
Originally committed as revision 10904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 18:40:42 +00:00
Aurelien Jacobs
c31dea6136 split adx encoder in its own file
Originally committed as revision 10903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 18:38:15 +00:00
Aurelien Jacobs
4f95f80e2d remove useless debug func
Originally committed as revision 10902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 18:03:26 +00:00
Aurelien Jacobs
c4cc361099 cleanup and simplify adx_decode_header()
Originally committed as revision 10900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 17:58:03 +00:00
Aurelien Jacobs
6177c7efe1 remove useless initialization to 0 of adx context
Originally committed as revision 10899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 17:50:05 +00:00
Aurelien Jacobs
ad8df79b1d simplify dpcm decoders declaration using a macro
Originally committed as revision 10898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 16:04:30 +00:00
Aurelien Jacobs
e916de2c8d remove useless #undef
Originally committed as revision 10897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 15:55:50 +00:00
Aurelien Jacobs
c33ed2aaf9 remove unreachable code
Originally committed as revision 10896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 15:54:28 +00:00
Aurelien Jacobs
0137034996 cosmetics: alignment
Originally committed as revision 10895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 15:52:37 +00:00
Aurelien Jacobs
f6e2300fe7 don't register adpcm encoders which are not implemented
Originally committed as revision 10894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 15:51:51 +00:00
Aurelien Jacobs
7c032a369a cosmetics: sort
Originally committed as revision 10890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 00:17:18 +00:00
Michael Niedermayer
c5d99f2b79 prefer our native vorbis decoder over libvorbis
Originally committed as revision 10889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 22:39:10 +00:00
Michael Niedermayer
e14356c895 fix issue130
Originally committed as revision 10888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 22:36:06 +00:00
Peter Ross
fac84d3c18 EA IMA EACS decoder
original patch by Peter Ross

Originally committed as revision 10880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 23:20:26 +00:00
Peter Ross
7bb65d8964 EA IMA SEAD decoder
original patch by Peter Ross

Originally committed as revision 10879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 23:12:18 +00:00
Loren Merritt
90f0344165 remove a branch from an inner loop.
1% faster flac encoding.

Originally committed as revision 10865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-27 13:39:19 +00:00
Peter Ross
e758396268 EA ADPCM R1, R2 and R3 decoder
original patch by Peter Ross

Originally committed as revision 10856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 20:49:42 +00:00
Diego Biurrun
3a994ca43b Clarify comment block and rewrite in better English.
Originally committed as revision 10837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 15:13:10 +00:00
Kostya Shishkov
bf672ac73f Use simple IDCT for now
Originally committed as revision 10835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 10:23:38 +00:00
Kostya Shishkov
c6137a61f4 Remove incorrect and unneeded code
Originally committed as revision 10834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 10:22:36 +00:00
Kostya Shishkov
66f7679c62 Beam Software SIFF demuxer and video decoder
Originally committed as revision 10833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 06:01:38 +00:00
Aurelien Jacobs
a70a3f0b4d remove some useless initializations (the whole context is initialized to 0)
Originally committed as revision 10831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:44:05 +00:00
Aurelien Jacobs
c6e2f0831c remove unused context var
Originally committed as revision 10828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:16:28 +00:00
Kostya Shishkov
fe7e750fb5 New RM format deserves small version bump
Originally committed as revision 10827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:26:02 +00:00
Kostya Shishkov
63e6c1766c indentation after last commit
Originally committed as revision 10826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:23:07 +00:00
Kostya Shishkov
dd55d4a315 Make RV10/20 decoder work with new frame format
Originally committed as revision 10825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:22:37 +00:00
Aurelien Jacobs
f9a00ba8c1 ensure all compiled in codec/muxer are registered
Originally committed as revision 10808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:59:31 +00:00
Aurelien Jacobs
98942fb2c9 small simplification
Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:03:10 +00:00
Kostya Shishkov
bbfc038f09 WMV3 mode with FASTTX=0 seems to use standard IDCT instead of own 8x8 transform
Originally committed as revision 10782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 16:10:36 +00:00
Benjamin Larsson
ff4b050ab4 Unaligned memory access rcrash fix
Originally committed as revision 10781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 15:16:07 +00:00
Michel Bardiaux
59771f7191 Print pixel and display aspect ratios
Originally committed as revision 10778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 14:01:20 +00:00
Michael Niedermayer
3c11a27b44 replace (disabled by default) assert(0) by abort() if the picture buffer
overflows due to a buggy codec
note, ive not checked if such overflows could have been exploitable before this
commit

Originally committed as revision 10777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 11:11:33 +00:00
Diego Biurrun
24743a767f Rename LIB to LIBNAME for consistency.
Originally committed as revision 10774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 09:34:49 +00:00
Timofei V. Bondarenko
880de6b0be Remove unnecessary guarding &=0x0f around adpcm_ima_compress_sample().
patch by Timofei, tim ipi.ac ru
Date: Mon, 15 Oct 2007 19:55:29 +0400
Subject: [FFmpeg-devel] [PATCH] adpcm-ima-wav header and codec

Originally committed as revision 10773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 23:02:35 +00:00
Diego Biurrun
deb43f0bd8 Explain why there are no multiple inclusion guards in these header files.
Originally committed as revision 10771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 22:29:13 +00:00
Diego Biurrun
9b1f04b08b Clarify comment that explains why this header lacks multiple inclusion guards.
Originally committed as revision 10770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 18:23:11 +00:00
Aurelien Jacobs
ab54bff20a Remove wrong multiple inclusion guards.
Those files are really meant to be included several times.

Originally committed as revision 10766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 11:19:42 +00:00
Diego Biurrun
5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun
6a03549e8a Add a comment that explains why this header lacks multiple inclusion guards.
Originally committed as revision 10764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:34:48 +00:00
Diego Biurrun
31b2c1446f Add missing multiple inclusion guards.
Originally committed as revision 10763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:31:06 +00:00
Diego Biurrun
aeb6a69714 Fix #endif comment typo.
Originally committed as revision 10761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:21:52 +00:00
Diego Biurrun
52703a6459 Use filename as multiple inclusion guard.
Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:16:21 +00:00
Jeff Downs
2143b11853 Fix chroma mv offsets for PAFF in a way that is compatible with MBAFF by
setting Picture.reference to indicate parity for all Pictures in
reference list.

Patch by Jeff Downs, heydowns T borg O com

Originally committed as revision 10744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:17:39 +00:00
Aurelien Jacobs
f1bf85b8cf Cygwin don't like this function declaration.
So move this self-documentation into a comment instead.

Originally committed as revision 10743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 21:41:01 +00:00
Benjamin Larsson
636b13c5fc Nellymoser ASAO decoder
Originally committed as revision 10741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 16:26:02 +00:00
Martin Zlomek
44a7e65a51 Fix mix-up of values in r10690 (deblocking for PAFF).
Patch by Martin Zlomek, martin d zlomek a email d cz

Originally committed as revision 10738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 06:23:02 +00:00
Aurelien Jacobs
f28b10483a add support for VP6 with huffman encoded blocks
closes issue 104

Originally committed as revision 10737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 22:30:59 +00:00
Aurelien Jacobs
437c2079b7 moves fraps huffman decoder to its own file, making it more generic
Originally committed as revision 10736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 21:19:40 +00:00
Aurelien Jacobs
0cd05c0820 VP6A needs its Makefile rules too
Originally committed as revision 10728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 01:16:15 +00:00
Vladimir Voroshilov
3c3704d281 Fix MJPEG decoder for AMV files.
Since decoding is doing from the end and aligned by 16
previous code worked correctly only when picture height was dividable by 16,
otherwise it provides garbage in top lines and truncates bottom.
New code adjusts data[] pointers taking in account alignment issue.

Originally committed as revision 10727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 17:38:58 +00:00
Michael Niedermayer
4d570f94ba prevent infinite loop and memcpy of negative amounts
fixes issue194

Originally committed as revision 10726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 12:25:31 +00:00
Michael Niedermayer
211dd1e81f factorize code and add safety check to prevent memcpying negative amounts
Originally committed as revision 10722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 09:58:39 +00:00
Jeff Downs
0d43dd8c2d Simplify tests for field macroblocks
patch by Jeff Downs, heydowns a borg d com

Originally committed as revision 10721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 05:50:11 +00:00
Stefan Lucke
b8a9dfb7f6 Prevent infinite loop when buffer holds SEQ_END_CODE only. Fix for r9870
Patch by Stefan Lucke <stefan <at> lucke.in-berlin.de>
Subject: API breakage by r9870
Date: 2007-10-05 11:06:47 GMT
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/57467

Originally committed as revision 10720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 01:34:00 +00:00
Diego Biurrun
1084771ac0 10l: refill2() is not unused, it is used conditionally.
Fix the preprocessor directives to enable refill2() only when the
conditions under which it is used apply.

Originally committed as revision 10715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 09:38:34 +00:00
Jeff Downs
5e832bc28f Interlaced pictures (not just MBAFF) + spatial direct mode is not
implemented.

Patch by Jeff Downs, heydowns . borg @ com
Original thread: Enable PAFF decoding, 2007-10-09 11:04

Originally committed as revision 10714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 09:10:07 +00:00
Diego Biurrun
0f26eec23e Disable unused code; fixes several gcc warnings:
cabac.h:112: warning: ‘put_cabac_static’ defined but not used
cabac.h:158: warning: ‘put_cabac_terminate’ defined but not used
cabac.h:186: warning: ‘put_cabac_u’ defined but not used
cabac.h:221: warning: ‘put_cabac_ueg’ defined but not used
cabac.h:273: warning: ‘refill2’ defined but not used
cabac.h:811: warning: ‘get_cabac_u’ defined but not used
cabac.h:827: warning: ‘get_cabac_ueg’ defined but not used

Originally committed as revision 10713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 08:43:23 +00:00
Andrea Gualano
2a7feb18c4 Enable avpicture_deinterlace() for PIX_FMT_GRAY8.
Patch by Andrea Gualano, gualano T imavis O com

Originally committed as revision 10712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 22:31:08 +00:00
Shane
bdb273564c Fix intended order of operations for 4 assert() checks.
Patch by Shane, gnome42 T gmail O com

Originally committed as revision 10711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 22:18:38 +00:00
Ville Skyttä
645f7879ca Specify in documentation that avcodec_find_(en|de)coder* only searches for
registered entries
Patch by Ville Skyttä <ville dot skytta at iki dot fi>

Originally committed as revision 10710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 21:09:40 +00:00
Diego Biurrun
3ea7841120 warning fixes:
snow.c: In function ‘decode_header’:
snow.c:3668: warning: unused variable ‘absum’
snow.c: In function ‘decode_init’:
snow.c:4551: warning: unused variable ‘s’

Originally committed as revision 10708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 09:35:06 +00:00
Carl Eugen Hoyos
2fe279f9f9 Set pict->interlaced_frame if returned frame is MBAFF or PAFF.
Originally committed as revision 10703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 20:31:42 +00:00
Jeff Downs
03d3cab876 fix incorrect check for abs_diff_pic_num overflow
patch by Jeff Downs, heydowns a borg d com

Originally committed as revision 10700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 17:45:34 +00:00
Reimar Döffinger
9ba718e481 Allow to override zlib compression level in PNG encoder via avctx->compression_level
Originally committed as revision 10699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 15:33:19 +00:00
Andreas Öman
f6e3c4603d reindent
Originally committed as revision 10698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 15:09:51 +00:00
Baptiste Coudurier
45b8e9e507 better lambda search method
Originally committed as revision 10697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 14:15:03 +00:00
Carl Eugen Hoyos
d6c52130f7 Enable PAFF decoding
Originally committed as revision 10696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 12:28:17 +00:00
Aurelien Jacobs
bcf8eb116a oops... mpegvideo_enc also depends on motion_est and ratecontrol
Originally committed as revision 10695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 05:39:49 +00:00
Aurelien Jacobs
91ac0ab472 dnxhdenc depends on mpegvideo_enc (usage of ff_convert_matrix)
Originally committed as revision 10694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 04:49:12 +00:00
Jeff Downs
12d96de3ac Manage Picture buffers for fields as well as frames. Pair complementary fields into one MPV Picture.
Part of PAFF implementation.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 17:44:38 +00:00
Martin Zlomek
ac6b423b0c Fix deblocking for PAFF content
Patch by Martin Zlomek, martin d zlomek a email d cz

Originally committed as revision 10690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 17:39:34 +00:00
Baptiste Coudurier
2e85b344f7 dnxhd 36mbit support
Originally committed as revision 10689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 15:36:57 +00:00
Baptiste Coudurier
6cb1d36169 typo weigth->weight
Originally committed as revision 10687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:28:36 +00:00
Baptiste Coudurier
cd52a9ca9f preliminary 10 bit depth decoding support, still miss generic api to export picture, working on it
Originally committed as revision 10686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:23:00 +00:00
Baptiste Coudurier
5e301bbb70 merge
Originally committed as revision 10685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:14:43 +00:00
Baptiste Coudurier
a417d041f0 10l, check 'i' validity before using it
Originally committed as revision 10684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:11:19 +00:00
Baptiste Coudurier
42d1ffa3a2 fix 10 bit per comp detection
Originally committed as revision 10683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:08:42 +00:00
Baptiste Coudurier
fc4cbc1699 DNxHD (SMPTE VC-3) encoder
Originally committed as revision 10682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 11:27:18 +00:00
Baptiste Coudurier
69cea75f6b export convert_matrix and add ff_ prefix
Originally committed as revision 10681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 09:14:46 +00:00
Baptiste Coudurier
6180ade790 export DCT_common_init and add ff_prefix
Originally committed as revision 10680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 09:09:19 +00:00
Jeff Downs
5a421d538e Re-indent after PAFF MMCO implementation patch.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-07 23:46:51 +00:00
Jeff Downs
0ae969faed Augment MMCO execution to work with both fields and frames. Part of PAFF
implementation.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-07 23:32:42 +00:00
Jeff Downs
d3d8c02b78 Cosmetic renaming variable so that it makes more sense for forthcoming PAFF mmco patches.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:50:55 +00:00
Jeff Downs
12a09bfa39 Augment mmcodecoding process to work properly with fields. Part of PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:49:13 +00:00
Jeff Downs
8a11a96987 Edge emulation for fields. Part of PAFF implementation
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:47:02 +00:00
Jeff Downs
fa178ed2a4 Set Picture.poc for fields and field pairs. Part of PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:44:58 +00:00
Jeff Downs
f3e53d9fcd Modifies macroblock addressing and current macroblock y-position for field decoding.
Adds convenience definition for pictures that are field or mbaff based. Part of PAFF implementation.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 05:59:14 +00:00
Jeff Downs
949da388de Support function and changes to reference picture reordering for PAFF.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-05 13:54:11 +00:00
Jeff Downs
086acdd54b Reindent fill_default_ref_list after changes for PAFF
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-05 13:47:46 +00:00
Jeff Downs
11cc1d8c12 Support functions and changes to default reference list creation for PAFF.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-05 13:41:27 +00:00
Diego Biurrun
98753e9c9c license header consistency cosmetics.
Originally committed as revision 10668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 22:41:21 +00:00
Marc Hoffman
b9dc32799b blackfin optimized vp3 transform and infastructure for idct
Originally committed as revision 10667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 20:47:12 +00:00
Vladimir Voroshilov
94d9633a32 Replace "signed short" typecast with "int16_t" as suggested by
Mans Rullgard. Value at the right side is 16 bit length signed.
We can not know for sure that short is in fact 16 bits, even if
this virtually always is the case.

Originally committed as revision 10666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 15:13:42 +00:00
Jeff Downs
24231e4cf6 Reorganize long reference management to minimize code duplication in upcoming PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:53:12 +00:00
Jeff Downs
3a22d7fa1f Fix Picture.key_frame setting to be compatible with frame and field contexts. Part of PAFF implementation.
Contributed in part by Neil Brown.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:50:44 +00:00
Jeff Downs
f57e2af68b Fix h->curr_pic_num for field pictures. Necessary for proper PAFF support.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:43:58 +00:00
Jeff Downs
c58b747153 Rename variable to make sense in both field and frame contexts (support of PAFF implementation).
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:41:49 +00:00
Jeff Downs
47e112f872 Further modularize short reference list management for upcoming PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:38:58 +00:00
Jeff Downs
5a7b254c75 Re-indent unreference_pic.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:37:04 +00:00
Jeff Downs
8fd57a667b Modify unreference_pic implementation with PAFF in mind.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:35:46 +00:00
Jeff Downs
bbb3edb827 Partial PAFF implementation at macroblock level.
PAFF support disabled until implementation complete.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:33:26 +00:00
Vladimir Voroshilov
330194b9ce Fix audio clicks in ADPCM IMA AMV by casting predictor as "signed short"
Initialize step_index as int16_t (as multimedia wiki says).

Originally committed as revision 10657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 19:32:57 +00:00
Aurelien Jacobs
ba869f6b25 merge some #ifdef CONFIG_ENCODERS sections
Originally committed as revision 10656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:50:27 +00:00
Aurelien Jacobs
c70448148a remove alternative declaration of h263_encode_init()
It's never called in any code compiled without CONFIG_ENCODERS.

Originally committed as revision 10655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:47:41 +00:00
Aurelien Jacobs
30c23dc0b8 fix declaration name from MPV_common_init_ppc to MPV_common_init_altivec
Originally committed as revision 10654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:37:22 +00:00
Aurelien Jacobs
06a4304080 remove useless #ifdef
Originally committed as revision 10653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:35:28 +00:00
Diego Biurrun
f62a9a46e1 Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
AltiVec-specific now.

Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 14:01:42 +00:00
Diego Biurrun
b4fb08035e Fix compilation with AltiVec disabled, MPV_common_init_ppc is part of a file
that is only compiled when AltiVec is enabled.

Originally committed as revision 10651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 13:49:51 +00:00
Andreas Öman
9dceaa923e remove unused code, spotted by Jeff Downs, heydowns a borg d com
Originally committed as revision 10650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 20:04:39 +00:00
Reimar Döffinger
17c9628b57 Hopefully fix sparc compilation again, add incorrectly removed variable declaration
Originally committed as revision 10649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 19:51:18 +00:00