Commit Graph

6245 Commits

Author SHA1 Message Date
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
Reimar Döffinger
d9a5dab2da Remove uses of SIGILL for CPU extension detection, that method is not acceptable
in a library.
Should not change anything for PPC, the autodetection is currently pointless due
to other code being compiled with -maltivec as well (and detection for OSX and
AmigaOS remains in place).
SPARC binaries built with VIS support can now only run on systems with VIS.

Originally committed as revision 10648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 18:18:35 +00:00
Jeff Downs
0d0447eae0 Rename MMCO stuff to prepare for h264/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 10646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 14:35:20 +00:00
Jeff Downs
bcc3476c98 Cosmetic preparations for h264/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 10645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 14:25:47 +00:00
Diego Biurrun
b1ef3dfd2b 100l: Revert accidental commit, restore previous version.
Originally committed as revision 10644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 13:14:37 +00:00
Diego Biurrun
1f3a990b3a cosmetics: Fix indentation after last commit.
Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:35:23 +00:00
Diego Biurrun
eee947487b Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
Blessed by Luca Barbato on IRC.

Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:34:43 +00:00
Diego Biurrun
6c05bab46d Merge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.
Originally committed as revision 10641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:16:33 +00:00
Luca Barbato
89523beea4 Sanitize altivec code so it can be built with runtime check properly
Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 11:39:32 +00:00
Diego Biurrun
a1d0b6a277 cosmetics: Fix AltiVec spelling.
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:34:57 +00:00
Diego Biurrun
6006a68989 cosmetics: Fix indentation after last commit.
Originally committed as revision 10638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:26:42 +00:00
Diego Biurrun
465c9fdeeb Remove pointless HAVE_ALTIVEC #ifdefs from a file that only contains AltiVec
optimizations and no general PPC optimizations. Instead make the file be
compiled conditional to HAVE_ALTIVEC.

Originally committed as revision 10637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:22:22 +00:00
Diego Biurrun
7fd7259a3f Remove const vector macro indirection that is useless and obfuscating
now that the Metrowerks workarounds are gone.

Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:23:36 +00:00
Diego Biurrun
cd195f14c6 Remove Metrowerks compiler workaround.
Originally committed as revision 10632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:16:07 +00:00
Diego Biurrun
dead9db83a Remove Metrowerks compiler workaround.
Originally committed as revision 10631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:10:49 +00:00
Loren Merritt
286127c5dd div -> mul
Originally committed as revision 10630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 05:56:30 +00:00
Loren Merritt
b8de342919 simplify lpc
Originally committed as revision 10628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 03:36:13 +00:00
Loren Merritt
d1a5c4216c 20% faster lpc, 6% overall flac decoding
Originally committed as revision 10627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 03:01:56 +00:00
Loren Merritt
08965b22e2 replace FIR with finite differences.
3x faster decode_subframe_fixed().
overall flac decoding: 10% faster if file was encoded with fixed predictors.

Originally committed as revision 10626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 02:12:03 +00:00
Loren Merritt
bfdd5bc1f1 unroll finite differences to avoid swapping registers.
1.5x faster encode_residual_fixed().
overall flac encoding: 3% faster at compression_levels 0-2.

Originally committed as revision 10625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 23:44:34 +00:00
Loren Merritt
a309dce75f encode_residual_fixed(): replace FIR with finite differences.
4x faster order 2, 3.5x order 3, 3x order 4.
overall flac encoding: 35% faster at compression_levels 0-2, no effect at higher levels.

Originally committed as revision 10624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 23:21:57 +00:00
Loren Merritt
6810b93a81 sse2 version of compute_autocorr().
4x faster than c (somehow, even though doubles only allow 2x simd).
overal flac encoding: 15-50% faster on core2, 4-11% on k8, 3-13% on p4.

Originally committed as revision 10621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 22:31:18 +00:00
Vladimir Voroshilov
8787d8377f AMV video decoder.
Patch by Vladimir Voroshilov (voroshil - gmail - com)

Originally committed as revision 10617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 15:20:22 +00:00
Ronald S. Bultje
55ffe9df2a Use emms_c() instead of ifdef
patch by: Ronald S. Bultje rsbultje a gmail d com

Originally committed as revision 10616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 15:09:34 +00:00
Vladimir Voroshilov
a449faeacb Add variables to prepare to the AMV decoder patch.
Patch by Vladimir Voroshilov (voroshil - gmail - com)

Originally committed as revision 10614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 12:52:56 +00:00
Loren Merritt
19b9c7cc66 was computing one more autocorrelation coefficient that was actually used
Originally committed as revision 10613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 07:43:52 +00:00
Loren Merritt
14bd2a9f25 replace brute force find_optimal_param() with a closed-form solution.
overall flac encoding: 4-15% faster.
output is not identical to the previous algorithm due to occasional rounding
errors, but the differece is less than .0005% bitrate.

Originally committed as revision 10612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 05:41:27 +00:00
Loren Merritt
f6215b1b06 gcc isn't smart enough to factor out duplicate stores
Originally committed as revision 10611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 01:54:25 +00:00
Ivan Kalvachev
551109d48a On bitstream error is_intra_more_likely() could use dsp.sad[0]() that will segfault when xvmc is in use.
Originally committed as revision 10610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 20:38:32 +00:00
Loren Merritt
28e968c4a4 2.5x faster compute_autocorr()
overall flac encoding: 15-50% faster on core2, 8-30% on k8, 2-20% on p4 (depending on compression_level)

Originally committed as revision 10606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 06:06:18 +00:00
Panagiotis Issaris
9846cbdb13 cosmetics: typos
Originally committed as revision 10602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 11:29:21 +00:00
Panagiotis Issaris
93f0c0a4ca Remove redundant test.
Originally committed as revision 10601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 10:45:16 +00:00
Vitor Sessak
3a7f5d072a AMV audio decoder
Originally committed as revision 10598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:21:57 +00:00
Loren Merritt
815d96a65d oops, revert unrelated change
Originally committed as revision 10597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 03:16:25 +00:00
Loren Merritt
dc44d4ad64 unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending on lpc order.
Originally committed as revision 10596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 02:42:00 +00:00
Jeff Downs
2ddcf84bb7 h264/PAFF preparation: use DELAYED_PIC_REF to mark non-refs frames as held for delayed output
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 10592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 13:28:13 +00:00
Loren Merritt
0d2caa37c5 oops, potential overflow on really large blocks
Originally committed as revision 10587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:34:48 +00:00
Loren Merritt
bd49d4fd49 optimize decode_subframe_lpc()
50%/67%/43% faster on core2/k8/p4, making flac decoding overall 24%/25%/11% faster

Originally committed as revision 10586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:31:13 +00:00
Loren Merritt
f74471e043 optimize encode_residual_lpc()
37%/45%/90% faster on core2/k8/p4, making flac encoding overall 15%/17%/40% faster at compression_level>=8 (less at low levels).

Originally committed as revision 10585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:30:29 +00:00
Aurelien Jacobs
7ecae905b6 simplify
Originally committed as revision 10584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 22:33:31 +00:00
Aurelien Jacobs
d7af6a9de4 rename one variable to be consistent with the rest of the file
Originally committed as revision 10583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 22:31:00 +00:00
Aurelien Jacobs
442b145abb consistent spelling: plan => plane
Originally committed as revision 10582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 21:01:34 +00:00
Aurelien Jacobs
d3f9edbafa simplify
Originally committed as revision 10576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:22:47 +00:00
Aurelien Jacobs
f62a2b61f9 cosmetic: indent
Originally committed as revision 10575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:16:38 +00:00
Aurelien Jacobs
91fc2cf150 add a new vp6a codec (add alpha plan support to vp6)
Originally committed as revision 10574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:12:46 +00:00
Andreas Öman
58f66029b6 reindent
Originally committed as revision 10573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 08:43:49 +00:00
Diego Biurrun
e0a5d77132 Replace HAVE_BFIN with ARCH_BFIN. Blackfin is a CPU architecture, not an
instruction set extension and configure sets ARCH_BFIN, not HAVE_BFIN.

Originally committed as revision 10572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 07:30:22 +00:00
Aurelien Jacobs
247df384ec move all model related tables into their own struct
Originally committed as revision 10571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 22:29:11 +00:00
Diego Biurrun
1218a7e33d cosmetics: Sort CODEC_ID list.
Originally committed as revision 10570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 21:18:45 +00:00
Aurelien Jacobs
a7d70d88df rename vp56_b6to3 to vp56_b2p
Originally committed as revision 10569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 20:52:11 +00:00
Aurelien Jacobs
1457516f70 some simplifications and uniformisation
Originally committed as revision 10568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 20:43:47 +00:00
Kostya Shishkov
81fc2f37db Remove check for input buffer size as it does not guarantee that
decoder will not run out of output buffer bounds (and all suspected
decoders have their own checks now).

Originally committed as revision 10567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 16:50:32 +00:00
Aurelien Jacobs
b70335a28d add support for yuva420p colorspace (yuv420p + alpha)
Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:21:41 +00:00
Andreas Öman
1136d34a44 factor out dequant table lookup outside loops, gives a 1-2% speed-up
patch by Andreas Öman %andreas A olebyn P nu%
original thread:
Date: Sep 24, 2007 12:59 PM
Subject: [FFmpeg-devel] [PATCH] h264: factor out dequant table lookup outside loops

Originally committed as revision 10564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:01:15 +00:00
Kostya Shishkov
4783cf0d09 Do not try to decode more data than output buffer may hold
Originally committed as revision 10560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 03:32:24 +00:00
Diego Biurrun
8b505fc689 VIS-specific code should be enabled conditional to HAVE_VIS, not ARCH_SPARC.
Originally committed as revision 10559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:59:09 +00:00
Michael Niedermayer
ff193e6419 some experimental iterative quantization code
disabled as it is VERY slow
gain is 0.1-0.2 psnr at low qp

Originally committed as revision 10556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:11:36 +00:00
Diego Biurrun
8b03def65f Move VIS CFLAGS settings into configure.
Originally committed as revision 10555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:06:08 +00:00
Diego Biurrun
b146873c94 VIS-specific code should be compiled conditional to HAVE_VIS, not ARCH_SPARC.
Originally committed as revision 10554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:02:22 +00:00
Kostya Shishkov
ac14047927 Fix decoding of VMDs representing sprites (Last Dynasty, Woodruff).
Fixes issue 101

Originally committed as revision 10552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 16:11:07 +00:00
Reimar Döffinger
61858a76f2 Apply skip_loop_filter before checking if we can parallelize with the selected
loop filter

Originally committed as revision 10549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 10:28:22 +00:00
Kostya Shishkov
a2085a7e9d Guard against output buffer overflows
Originally committed as revision 10548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 09:21:43 +00:00
Kostya Shishkov
675a0583b4 Do not decode more data than output buffer may hold
Originally committed as revision 10547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 09:09:47 +00:00
Baptiste Coudurier
32bbb99d0a HDYC fourcc, sample hdyc/Test2.avi
Originally committed as revision 10541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 18:23:46 +00:00
Andreas Öman
a27d6e714f Simplify H.264 decode_cabac_mb_cbp_luma(), giving a ~0.5% speedup.
patch by Andreas Öman, andreas olebyn nu
Date: Thu, 20 Sep 2007 12:59:19 +0200
Subject: [FFmpeg-devel] [PATCH] simplify h264's decode_cabac_mb_cbp_luma()

Originally committed as revision 10537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 00:26:31 +00:00
Aurelien Jacobs
dee15eceae allcodecs.h and allformats.h are not used anymore
Originally committed as revision 10536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:42:50 +00:00
Aurelien Jacobs
d999cff5a3 remove last dependencies on allformats.h and allcodecs.h
Originally committed as revision 10535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:36:15 +00:00
Ivan Kalvachev
ee28dedc86 Remove inline from function that is exported.
Issue noticed by Bernhard Rosenkraenzer.

Originally committed as revision 10529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 18:12:53 +00:00
Marc Hoffman
584a3ac907 blackfin vsad primitives
Originally committed as revision 10521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 13:23:16 +00:00
Marc Hoffman
56261c6150 properly tell the compiler that A0 and A1 are clobbered
Originally committed as revision 10520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 13:17:50 +00:00
Diego Biurrun
4981218420 Remove redundant ARCH_SPARC #ifdef, the file is compiled conditional to
ARCH_SPARC anyway.

Originally committed as revision 10517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 10:14:56 +00:00
Aurelien Jacobs
84a72b1675 remove obsolete and wrong extern declaration
Originally committed as revision 10512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 22:50:12 +00:00
Diego Biurrun
1fe2d0fd1a cosmetics: typo
Originally committed as revision 10507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 16:23:34 +00:00
Andreas Öman
50c21814b9 fix image corruption when with multi-threaded decoding.
dequant-tables were not correctly reinitialized in the slave
contexts when a PPS came with updated matrices.
Patch by Andreas Öman %andreas A olebyn P nu%
Original thread:
date: Sep 16, 2007 6:14 AM
subject: [FFmpeg-devel] Parallelized h264 image corruption bug

Originally committed as revision 10505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 10:37:07 +00:00
Kostya Shishkov
2a898132a2 Enable error resilience in WMV3/VC-1 decoder
Originally committed as revision 10502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 11:06:27 +00:00
Kostya Shishkov
a9d78ac51a HALFPQ should be used only for when PQUANT is selected
Originally committed as revision 10500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 09:24:53 +00:00
Kostya Shishkov
f7d2a43707 In case when any quantizer may occur, HALFPQ should be zero
Originally committed as revision 10499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 09:23:58 +00:00
Justin Ruggles
a135bea507 skip incomplete frames
Originally committed as revision 10497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 02:44:28 +00:00
Justin Ruggles
3df880934e better AC3 header error reporting
Originally committed as revision 10496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 02:41:24 +00:00
Justin Ruggles
d5b7144e1f fix random dithering of zero-bit mantissas
Originally committed as revision 10495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 00:43:40 +00:00
Justin Ruggles
bfcf690c68 cosmetics: rename variables. tbl->tab for consistency with other AC3 tables
Originally committed as revision 10494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 00:19:21 +00:00
Justin Ruggles
396a6ee50e fix decoding of DolbyNet AC3
Originally committed as revision 10493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 00:00:57 +00:00
Kostya Shishkov
f0dd9d4505 Check unp_size for possible overflows too
Originally committed as revision 10490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-14 06:01:29 +00:00
Diego Biurrun
b3e4d266f4 Pass correct CPU flags to compilation of sparc/simple_idct_vis.o.
based on a patch by Denes Balatoni, dbalatoni interware hu

Originally committed as revision 10486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 09:13:56 +00:00
Kostya Shishkov
e938637b2c Add checks on input/output buffers size for some audio decoders
Originally committed as revision 10485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 05:59:58 +00:00
Kostya Shishkov
bf4a1f17ee Monkey Audio decoder
Originally committed as revision 10484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 03:22:47 +00:00
Michael Niedermayer
f612801465 fix timestamps used for ratecontrol
these were wrong (in pts vs dts sense) when b frames were in use
they were also wrong if the average framerate was smaller than 1/timebase
resulting in totally wrong final bitrate

Originally committed as revision 10477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 22:46:41 +00:00
Michael Niedermayer
b9b7472eb5 cosmetic
Originally committed as revision 10465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 00:31:27 +00:00
Michael Niedermayer
8db1372814 make changing spatial_decomposition_count per frame work
Originally committed as revision 10464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 18:28:36 +00:00
Reimar Döffinger
ba430e0cfa dsputil must be initialized before calling rtjpeg init.
Originally committed as revision 10463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 18:14:11 +00:00
Michael Niedermayer
dbd6a1fee8 do not ignore return of decode_header()
Originally committed as revision 10461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 17:01:11 +00:00
Michael Niedermayer
b85bf991f6 do not force the halfpel filter coeffs to be retransmitted on every frame
if always_reset is set

Originally committed as revision 10460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 16:54:00 +00:00
Michael Niedermayer
e559c30a20 allow changing of the spatial_decomposition_count and quantization tables
per frame (this is untested as the encoder does not use it yet)

Originally committed as revision 10458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 15:06:46 +00:00
Michael Niedermayer
4f90f33ab4 perform init after reading the values needed for init
fixes decoding of files with spatial_decomposition_count!=5

Originally committed as revision 10457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 13:47:25 +00:00
Michael Niedermayer
081c9d1d7b unneeded and impossible during init ...
Originally committed as revision 10455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:46:25 +00:00
Michael Niedermayer
32272f7e95 unused
Originally committed as revision 10454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:36:10 +00:00
Michael Niedermayer
014f9d233f allocate slice buffer after parsing the header containing needed parameters
argh i really wish i had never accepted these slice patches ...

Originally committed as revision 10453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:33:34 +00:00
Michael Niedermayer
ba8964db60 remove ()
Originally committed as revision 10452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:25:12 +00:00
Michael Niedermayer
61806e9fa7 spatial_decomposition_count != 5 bugfix
Originally committed as revision 10451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:24:45 +00:00
Michael Niedermayer
fa731ccd4e scaling obmc tables under #if 0 also by 4 (yes they where forgotten apparently)
this also requires a few entries to be ++ and -- to avoid a max of 256

Originally committed as revision 10450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:22:11 +00:00
Reimar Döffinger
1551e8e87f Properly handle nuv file with changing resolution
Originally committed as revision 10448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 10:20:47 +00:00
Reimar Döffinger
fd065d0593 Make sure rtjpeg quality is a valid value
Originally committed as revision 10444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 09:16:47 +00:00
Reimar Döffinger
6cf7e81f8c Fix extreme stupidity: buffer size check must of course be before buffer use!
Originally committed as revision 10443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 09:00:12 +00:00
Reimar Döffinger
048905a484 10l, add check forgotten in last commit
Originally committed as revision 10442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 08:52:53 +00:00
Reimar Döffinger
4f8a91c961 First ugly and slow attempt to fix nuv files with extra frameheader
and per-frame rtjpeg quality

Originally committed as revision 10441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 08:42:49 +00:00
Reimar Döffinger
c612b00d7e Simplify nuv: factor out LZO decompression
Originally committed as revision 10440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 08:22:07 +00:00
Michael Niedermayer
61d6e445b1 rename HTAPS -> HTAPS_MAX (later is correct after the previous change)
Originally committed as revision 10437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 14:52:21 +00:00
Michael Niedermayer
7d7f57d939 store halfpel filter coefficients in the header as well as the
flag for diagonal interpolation

the primary reason for this change is that previously MC up to 1/4 pel
matched H.264 exactly and that increases the risk of stumbling over
patents

secondly this allows 0.10 db or more quality gain by choosing a longer
filter and the filter could also be chosen optimally for each frame
though that of course would cause speed loss at the decoder and encoder
side ...

Originally committed as revision 10436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 14:51:13 +00:00
Michael Niedermayer
4770a97aae remove outcommented code
Originally committed as revision 10435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:16:24 +00:00
Michael Niedermayer
65dc0f532d indention
Originally committed as revision 10434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:15:42 +00:00
Michael Niedermayer
a68ca08e30 cleanup mc_block()
perform interpolation steps in such an order that halfpel interpolation
could be done per picture
this also makes mc_block() match h.264 for the 1/4 pel cases so that the
use of the h264 functions for some cases does not introduce a fantastic mess

Originally committed as revision 10433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:14:20 +00:00
Andreas Öman
7ae94d525c Indentation
patch by Andreas Öman

Originally committed as revision 10432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 19:19:49 +00:00
Andreas Öman
ec970c2187 Let H.264 decoder skip deblocking across slices
if running with multiple threads and CODEC_FLAGS2_FAST is set.
Thus, it may decode the slices in parallel to gain speed.

Patch by Andreas Öman: [andreas olebyn nu]

Originally committed as revision 10431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 18:27:13 +00:00
Limin Wang
75316e1dcc Set data_size to zero when DCA header parse failed
Patch by Limin Wang <lance('\\'>>1)lmwang>(0x24^'D')<gmail>('/' & 0xFE)<com>
Thread [PATCH] set data_size to zero if failed to parse dca header

Originally committed as revision 10423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 14:55:13 +00:00
Benoit Fouet
bdfae2a575 Add a bitstream filter for H.264.
Originally committed as revision 10422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 12:36:07 +00:00
Jeff Downs
088ed4d636 Avoid a crash when H264 MMC operation causes the short term reference
list to be emptied.
Patch by Jeff Downs: [heydowns borg com]

Originally committed as revision 10416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 20:04:09 +00:00
Andreas Öman
afebe2f7ca Add slice-based parallel H.264 decoding
Patch by Andreas Öman % andreas A olebyn P nu %
NB: depends on having a thread library activated at config time, and on
having a source encoded with multiple slices
Original threads:
date: May 18, 2007 11:00 PM
subject: [FFmpeg-devel] Parallelized h264 proof-of-concept
date: Jun 15, 2007 10:10 PM
subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)
date: Jun 25, 2007 7:02 PM
subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized

Originally committed as revision 10407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 16:18:15 +00:00
Tao Huang
005b683744 Fix put_*_xy2_arm bug and enable put_pixels16_arm and put_pixels8_y2_arm.
Speed up > 4%.
patch by Tao Huang, ulysses.huang gmail com

Originally committed as revision 10402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 11:05:33 +00:00
Diego Biurrun
770202c3af Sort one more list alphabetically.
Originally committed as revision 10401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 10:38:59 +00:00
Guillaume Poirier
14c2634bcc Fix links to ARM documentation
Originally committed as revision 10399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 07:49:01 +00:00
Kostya Shishkov
c92a30bb06 Move H.264 intra prediction functions into their own context
Originally committed as revision 10397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 05:30:08 +00:00
Michael Niedermayer
2b48d8ba4a add a 8 taps filter for testing
Originally committed as revision 10394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:49:14 +00:00
Michael Niedermayer
c08bbe6c57 fix decoding of dracula.4xm before diego complains
Originally committed as revision 10393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:21:32 +00:00
Michael Niedermayer
f9f835ee89 fix segfault with dracula.4xm
closes issue132

Originally committed as revision 10392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:14:17 +00:00
Michael Niedermayer
71dce72bee Replace constants by HTAPS (half pel interpolation filter taps) where appropriate.
Originally committed as revision 10390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:49:09 +00:00
Michael Niedermayer
5be3a81871 code to do halfpel interpolation per frame (unfinished and under ifdef but it
should be faster when its finished)

Originally committed as revision 10293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:06:34 +00:00
Mike Melanson
f55f27ba98 Fix issue 123 (Support Magic-carpet fli version,
https://roundup.mplayerhq.hu/roundup/ffmpeg/issue123 ) by rearranging the bit depth

Originally committed as revision 10290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 17:31:25 +00:00
Carl Eugen Hoyos
5d3de5ad22 Silence warnings about NAL_SVC_NON_IDR in H.264.
patch by Carl Eugen Hoyos, cehoyos ag.or at

Originally committed as revision 10289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 14:48:39 +00:00
Benoit Fouet
0a1a0a805a add a close function to bitstream filter
Originally committed as revision 10288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 06:48:22 +00:00
Carl Eugen Hoyos
1c746a490d Remove error raising when explicitely skipping frame
patch by Carl Eugen Hoyos: [cehoyos ag or at]
original thread:
[FFmpeg-devel] [PATCH] Don't let ctx->skip_frame>0 produce errors
date: 08/30/2007 01:30 PM

Originally committed as revision 10286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 08:46:24 +00:00
Vitor Sessak
becc0ef95b Remove reimplementation of get_unary.
Based on a patch by Alex Beregszaszi.

Originally committed as revision 10279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 21:03:17 +00:00
Luca Barbato
9d14ffbcce Cosmetics
Originally committed as revision 10278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 14:00:47 +00:00
Aurelien Jacobs
c0fee8c985 add a warning message for unsupported kind of encoding
Originally committed as revision 10277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 13:04:25 +00:00
Vitor Sessak
11f81e6a07 Cosmetical: Empty line removal
Originally committed as revision 10275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 18:51:22 +00:00
Vitor Sessak
63ecfc1fe4 Comment about unsupported sample size
Originally committed as revision 10273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 15:05:40 +00:00
Marc Hoffman
1cc6bd4f10 renaming ARCH_BFIN to HAVE_BFIN
Originally committed as revision 10272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 14:58:44 +00:00
Diego Biurrun
a861e7e3b6 cosmetics: Add some whitespace for better readability.
Originally committed as revision 10270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:16:34 +00:00
Diego Biurrun
ea2c666b0e cosmetics: Sort bitstream filters.
Originally committed as revision 10269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:13:10 +00:00
Diego Biurrun
1e97ce4a31 cosmetics: Sort some lines, whitespace changes.
Originally committed as revision 10268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:11:24 +00:00
Diego Biurrun
d8dfda7e51 Use a consistent multiple inclusion guard.
Originally committed as revision 10267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 22:41:54 +00:00
Denes Balatoni
d9420d4df1 add simple_idct implemented in Sparc VIS
patch by Balatoni Denes % dbalatoni A interware P hu%

Original thread: Messages starting with:
[PATCH] SPARC VIS simple_idct *

Originally committed as revision 10266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 19:18:23 +00:00
Vitor Sessak
aa33d8096a Rename function
Originally committed as revision 10265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 16:40:51 +00:00
Vitor Sessak
321c313836 Replace two #define's by inline functions
Originally committed as revision 10264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 16:04:00 +00:00
Marc Hoffman
14da6549a7 Hooking bfin/mathops.h
Originally committed as revision 10263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 15:16:52 +00:00
Marc Hoffman
543a90d14a Blackfin 32bit multiplication primitives MULH MUL16
Originally committed as revision 10262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 15:15:48 +00:00
Reimar Döffinger
eafa1c90e5 Replace complicated and currently broken manual alignment code by
DECLARE_ALIGNED_16. Fixes crash in ff_snow_horizontal_compose97i_sse2

Originally committed as revision 10261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 11:41:58 +00:00
Luca Barbato
55bf7fb613 snow altivec is broken
Originally committed as revision 10256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-28 13:39:50 +00:00
Roberto Togni
b6f508bbcc Change 4xm demuxer and video decoder to pass the video format version in
extradata instead of codec_tag.

Originally committed as revision 10253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 21:58:39 +00:00
Michael Niedermayer
267b9479ac typo
Originally committed as revision 10250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 10:39:31 +00:00
Diego Biurrun
06b00c5f65 Simplify preprocessor directives.
Originally committed as revision 10249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:21:33 +00:00
Diego Biurrun
c97f54020d Change SYS_DARWIN preprocessor checks to __APPLE__, they are specific
to Mac OS X rather than to Darwin.

Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:17:03 +00:00
Aurelien Jacobs
ca1daf0ad0 add get_unary_0_33() to help gcc with inlining
Originally committed as revision 10242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:38:57 +00:00
Aurelien Jacobs
2407a7c10f cleanup get_unary()
Originally committed as revision 10241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:34:49 +00:00
Aurelien Jacobs
28296f9c9e move get_unary() to its own file
Originally committed as revision 10240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:33:48 +00:00
Diego Biurrun
a41f4eacd6 Do not wrongly mark Apple gcc workarounds as being specific to Darwin.
Originally committed as revision 10239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:06:40 +00:00
Guillaume Poirier
16dae5173b remove alignment correction of the destination pointers in luma_16x6
interpolations, since they are always 16-bytes aligned in practice.
Add asserts to ease narrowing down potential image corructions on exotic plateforms

Based on a patch by Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 1:07 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec

Originally committed as revision 10238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 21:47:58 +00:00
Ramiro Polla
7bcc1d5b66 CONFIG_7REGS has been renamed to HAVE_7REGS
Originally committed as revision 10237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 16:10:53 +00:00
Michael Niedermayer
90e9e94d0f workaround gcc bug, untested as my gcc is not complaining
Originally committed as revision 10236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 12:34:22 +00:00
Michael Niedermayer
cefa599953 optimize the first vertical lifting step, this also prevents another
overflow, the last known possible overflow

Originally committed as revision 10234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 11:16:23 +00:00
Michael Niedermayer
c90762766a optimize 1st horizontal lifting step
Originally committed as revision 10231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 08:31:55 +00:00
Michael Niedermayer
1104bf2b20 typo
Originally committed as revision 10230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 08:03:23 +00:00
Michael Niedermayer
8b5029295d get rid of totally senseless "m" + read in register we have enough
registers to keep everything in registers

Originally committed as revision 10229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 06:51:51 +00:00
Michael Niedermayer
bc1e78d896 simplify senselessly complex addressing
Originally committed as revision 10228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 02:02:14 +00:00
Michael Niedermayer
25bb359f73 cosmetics
remove brain amputated mmx wrappers around sse2 macros
fix name of ..._sub macro to match ..._add naming

Originally committed as revision 10227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 01:20:09 +00:00
Michael Niedermayer
629750290f avoid overflow in the 3rd lifting step, this now needs mmx2 at minimum
(patch for plain mmx support is welcome ...)

Originally committed as revision 10226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 01:11:02 +00:00
Michael Niedermayer
b696a4c91d avoid an overflow in the 1 horizontal lifting step
Originally committed as revision 10225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 19:04:33 +00:00
Michael Niedermayer
9caa1cccb9 prevent one overflow in the first vertical lifting step
Originally committed as revision 10224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 16:28:45 +00:00
Michael Niedermayer
3e0f7126b5 update mmx code to latest snow changes
note, the code likely can overflow and thus needs some more changes
sse2 updated too but disabled as it is untested

Originally committed as revision 10223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 15:20:56 +00:00
Diego Biurrun
273b0cd3c4 prettyprinting cosmetics
Originally committed as revision 10221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 09:23:17 +00:00
Michael Niedermayer
ff06e0677b cleanup (remove some old experimentation related code)
Originally committed as revision 10220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:19:39 +00:00
Michael Niedermayer
b5b88eb3b4 we only have 2 wavelets, the 3rd was just for experimentation ...
Originally committed as revision 10219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:04:13 +00:00
Michael Niedermayer
d593e32983 use 16bit IDWT (a SIMD implementation of it should be >2x faster then with
the old 32bit code)
disable mmx/sse2 optimizations as they need a rewrite now

Originally committed as revision 10218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:00:51 +00:00
Diego Biurrun
830bf1f20d whitespace/indentation cosmetics
Originally committed as revision 10217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 23:49:11 +00:00
Diego Biurrun
2722c98128 Remove HAVE_ALTIVEC preprocessor directives that are only compiled
when AltiVec is enabled anyway.

Originally committed as revision 10216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 23:01:50 +00:00
Diego Biurrun
f9edc2331d Fix trivial mixed declarations and code warning caused by a double semicolon.
Originally committed as revision 10212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:42:50 +00:00
Diego Biurrun
e4506f0c98 Remove SYS_DARWIN preprocessor directive that is just a duplicate of a
gcc-specific directive a few lines below.

Originally committed as revision 10211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:38:37 +00:00
Diego Biurrun
4b180bbd73 Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
directives are aimed at idiosyncracies of Apple's gcc version.

Originally committed as revision 10210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:18:41 +00:00
Diego Biurrun
b1312aa24d Merge __MWERKS__ preprocessor directives.
Originally committed as revision 10208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:08:46 +00:00
Diego Biurrun
8008a04325 Move Apple gcc AltiVec vector declaration syntax to libavutil.
Originally committed as revision 10207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:04:00 +00:00
Diego Biurrun
08f87a9c99 Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
directives are aimed at idiosyncracies of Apple's gcc version.

Originally committed as revision 10206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 14:57:46 +00:00
Michael Niedermayer
be693f956e int->uint8_t
Originally committed as revision 10205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 14:18:09 +00:00
Michael Niedermayer
50464a1e83 int->int8_t (no need for them to be int ...)
Originally committed as revision 10204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 14:02:02 +00:00
Reimar Döffinger
b1ec601f7f Add request_channels member to AVCodecContext so we now have a proper
way to tell the decoder how many output channels we would like.

Originally committed as revision 10199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 20:28:28 +00:00
Michael Niedermayer
b538791bc9 use more bits on the encoder side
negligible increase in quality

Originally committed as revision 10195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 10:49:14 +00:00
Luca Abeni
e02f7490da Initialize the "stc" variable before using it in ff_find_start_code()
Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 07:02:27 +00:00
Diego Biurrun
9d16f87ffd Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Michael Niedermayer
81717747ab simplify
Originally committed as revision 10186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 17:26:49 +00:00
Benoit Fouet
e2d0eeecf7 right filename in doxygen comment
Originally committed as revision 10185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 15:03:14 +00:00
Diego Biurrun
e9bfae45bb cosmetics: alphabetical order
Originally committed as revision 10184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:19:10 +00:00
Diego Biurrun
d55388d028 Simplify preprocessor directives.
Originally committed as revision 10181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:04:10 +00:00
Marc Hoffman
18b8b43b4f make clean bfin
Originally committed as revision 10180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:54:49 +00:00
Diego Biurrun
57b499c7da Identifiers starting with underscores are reserved.
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Aurelien Jacobs
5ab657079d parsers and bsfs declarations are not meant to be part of public API
Originally committed as revision 10173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 18:24:08 +00:00
Michael Niedermayer
ce611a27be Change rounding of the horizontal DWT to match the vertical one.
This allows some simplifications and optimizations and should
not have any effect on quality.

Originally committed as revision 10172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 16:29:40 +00:00
Aurelien Jacobs
289a723ce3 asv1.c directly uses Put/GetBitContext, so it should include bitstream.h
Originally committed as revision 10169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:48:08 +00:00
Michael Niedermayer
30cd3e66bd remove code which become unused by the previous changes
Originally committed as revision 10166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:05:30 +00:00
Michael Niedermayer
72dee89b5d Simplify and optimize the 4th vertical lifting step of the SSE2 code (untested)
This also reduces the needed headroom in that step by 1 bit

Originally committed as revision 10165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:03:18 +00:00
Michael Niedermayer
d0dae46a90 Simplify and optimize the 4th vertical lifting step of the MMX code
This also reduces the needed headroom in that step by 1 bit

Originally committed as revision 10164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 00:02:19 +00:00
Michael Niedermayer
1ffbbef217 Simplify and speedup code, reduce needed headroom by 2 bits in the 3rd
vertical lifting step of the SSE2 code (untested)

Originally committed as revision 10163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:59:20 +00:00
Michael Niedermayer
4bf1790421 simplify, speedup and reduce needed headroom by 2 bits in the 3rd
vertical lifting step

Originally committed as revision 10162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:54:49 +00:00
Michael Niedermayer
dd30437bbe replace <<1 by add for SSE2 (untested)
Originally committed as revision 10161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:11:05 +00:00
Michael Niedermayer
7e665a3943 replace <<1 by add
Originally committed as revision 10160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:09:39 +00:00
Michael Niedermayer
eee649d3b5 slightly change horizontal lift3 so it needs 1 bit less headroom
Originally committed as revision 10159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 23:02:59 +00:00
Michael Niedermayer
be3b22f9ca remove idiotc double subtraction from the sse2 code (untested, no sse2 here)
Originally committed as revision 10158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:41:47 +00:00
Michael Niedermayer
8510c519e7 fixme note
Originally committed as revision 10157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:34:42 +00:00
Michael Niedermayer
3a9f44d5d5 and of course the unneeded double subtractions were blindly put in the
mmx code
this also makes the affected code 4% faster

Originally committed as revision 10156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:29:21 +00:00
Michael Niedermayer
f29bd6fa71 more stupid double subtractions
Originally committed as revision 10155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:26:49 +00:00
Michael Niedermayer
49ca0e531a get rid of idiotc double subtraction
Originally committed as revision 10154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 22:18:26 +00:00
Benjamin Larsson
622d633260 Cosmetics, indentation.
Originally committed as revision 10145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:34:27 +00:00
Benjamin Larsson
1cbe9d6a78 Trellis quantization support for adpcm_swf.
Originally committed as revision 10144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 20:31:53 +00:00
Reimar Döffinger
7b07d3e8fe Use defines instead of raw hex numbers to specify CRC polynomials
Originally committed as revision 10143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 12:36:15 +00:00
Ramiro Polla
c8f9ef613e CONFIG_7REGS -> HAVE_7REGS
Originally committed as revision 10121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-15 21:19:13 +00:00
Marco Gerards
9df4ce5e5b Make the Golomb decoder work for Dirac
Originally committed as revision 10119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-15 12:59:27 +00:00
Alexander Strange
6d324c813f Statements like a = b = c = d = e; store from right-to-left, so if
you write them in the right order it comes out backwards.
This removes them from fill_rectangle().
patch by Alexander Strange %astrange A ithinksw P com%
Original thread:
Date: Aug 14, 2007 5:36 AM
Subject: [FFmpeg-devel] [PATCH] two small h264 optimizations

Originally committed as revision 10118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 22:28:09 +00:00
Ramiro Polla
f3a3c72e3c Introduce AVERROR_PATCHWELCOME
Originally committed as revision 10110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 22:55:04 +00:00
Diego Biurrun
9488b966c7 Move msmpeg4 tables from a header file to msmpegdata.c.
Originally committed as revision 10107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 17:57:06 +00:00
Ramiro Polla
5e4c7ca224 Add attribute that forces alignment of stack to functions that need it.
Necessary for systems that don't align by default to 16 bytes, required by some
SSE instructions.
Requires GCC >= 4.2.
Based on patch by Gaël Chardon.

Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 15:28:29 +00:00
Marc Hoffman
345bb2ad90 special handling for vp3 idct, use the c reference
Originally committed as revision 10105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 14:16:20 +00:00
Michael Niedermayer
07c02992b9 use bytestream_get_le*() this also fixes a big endian bug
Originally committed as revision 10104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 13:20:16 +00:00
David Bryant
a6ba65f7f2 Support for WavPack version 0x410 (false stereo chunks)
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name);
Thread [PATCH] handle WavPack stream version 0x410

Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:36:50 +00:00
Kostya Shishkov
11ead90e23 Rename flag for consistency with the next commit
Originally committed as revision 10100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:35:48 +00:00
David Conrad
42c71907cb Add av_get_bits_per_sample_format()
Originally committed as revision 10099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:23:38 +00:00
Michael Niedermayer
40802d36bc fix type 3 aka skipped blocks for old version
Originally committed as revision 10097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 01:06:04 +00:00
Michael Niedermayer
9ac34d947a fix motion vectors for old version
Originally committed as revision 10096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 01:05:19 +00:00
Michael Niedermayer
cf786021a6 set pix_fmt properly depending on version
Originally committed as revision 10095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:56:26 +00:00
Michael Niedermayer
70bbeb6fbf use version instead of some random 32bit value to switch between 16 and
32bit versions (this is more reliable, the old code failed on some files)

Originally committed as revision 10094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:55:39 +00:00
Michael Niedermayer
a0d30cbcbf replace vlc_type by version and set that from codec_tag which contains the
4xm video version from the demuxer

Originally committed as revision 10093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:53:55 +00:00
Michael Niedermayer
b74fb935f8 support ifr2 from Toy-Story2_better-image-quality.4xa
Originally committed as revision 10091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 15:47:27 +00:00
Guillaume Poirier
3ca96802e2 use shorter types vec_"type" instead of the too long vector "type"
part 1 of h264 luma interpolation 8x8 for altivec contributed by
Mauricio Alvarez % lokifo A gmail P com %
Original thread:
Date: Jun 26, 2007 8:15 PM
Subject: Re: [FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec

Originally committed as revision 10090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 13:50:06 +00:00
Michael Niedermayer
62f68aa9bf add second vlc table
pfr* of Toy-Story2_better-image-quality.4xa are decoded now without
bitstream errors

Originally committed as revision 10089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 12:22:19 +00:00
Alexander Strange
880003bbb9 Don't check the return value of decode_cabac_residual since it always
returns 0. This leads to a 0.4% speed-up.
Patch by Alexander Strange  astrange at_ ithinksw dot com
Original thread:
Date: Aug 11, 2007 11:44 PM
Subject: [FFmpeg-devel] [PATCH] h264: don't check decode_cabac_residual return

Originally committed as revision 10084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:07:29 +00:00
Aurelien Jacobs
88e2d5882b more usage of av_clip()
Originally committed as revision 10082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:29:21 +00:00
Aurelien Jacobs
e4a50e6d2e one more simplification
Originally committed as revision 10081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:23:20 +00:00
Aurelien Jacobs
295f373792 various simplifications around recent av_clip_int16() usage
Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:17:03 +00:00
Michael Niedermayer
b0f3382873 fix decoding of samples.mplayerhq.hu/game-formats/idroq/demoEnd.roq
closes issue78

Originally committed as revision 10079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:09:28 +00:00
Aurelien Jacobs
aee481cebe use av_clip_int16() where it makes sense
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:48:55 +00:00
Michael Niedermayer
0701006e34 ensure that default_get_buffer() doesnt reuse images if the dimension or
pix_fmt changed
fixes heap overflow, possibly exploitable

Originally committed as revision 10064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 19:28:28 +00:00
Baptiste Coudurier
6aacfd22ab dnxhd 120 interlaced support
Originally committed as revision 10063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 19:23:14 +00:00
Roman Shaposhnik
905694d96e * renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64)
Originally committed as revision 10023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:01:15 +00:00
Alex Beregszaszi
3a5729eae1 use skip_bits where appropriate
Originally committed as revision 10005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 01:08:28 +00:00
Alex Beregszaszi
7ae7300ee3 use skip_bits where appropriate
Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:57:36 +00:00
Alex Beregszaszi
7f95d9f620 fix compilation with TRACE enabled
Originally committed as revision 10003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:54:41 +00:00
Justin Ruggles
222ae64c3d cosmetics: vertical alignment
Originally committed as revision 10002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:39:35 +00:00
Justin Ruggles
5066f51502 comments modification: add, clean up, Doxygenize, and reword
Originally committed as revision 10001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:36:49 +00:00
Alex Beregszaszi
b4d00c20dc use reget_buffer and remove internal copying of buffer - codec works again
Originally committed as revision 10000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:16:27 +00:00
Alex Beregszaszi
5fc32c275e use get_bits1(..) instead get_bits(.., 1)
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:13:31 +00:00
Roman Shaposhnik
67c1b32f3d * getting rid of code duplication
Originally committed as revision 9997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 23:58:23 +00:00