Commit Graph

2073 Commits

Author SHA1 Message Date
Mike Melanson
7daabccb5d move the 0x80 vector outside of the function, thus saving the compiler
the trouble of having to initialize each byte on the stack individually

Originally committed as revision 3083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 04:06:24 +00:00
Mike Melanson
f9ed9d8584 separate out put_signed_pixels_clamped() into its own function and
implement an optimized MMX version of the function

Originally committed as revision 3082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 03:58:06 +00:00
Michael Niedermayer
ae4b7d5947 H.263 MCBPC fix
Originally committed as revision 3077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 21:46:01 +00:00
Alex Beregszaszi
f4ae934a3b avoid macro conflicts
Originally committed as revision 3076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 09:43:55 +00:00
Alex Beregszaszi
d890d4aed1 disable hadamard for gcc below 3.3 - better fix awaited
Originally committed as revision 3075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:51:56 +00:00
Alex Beregszaszi
16f5ef9c70 use the AVV macro from gcc_fixes.h instead ifdefs
Originally committed as revision 3074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:48:28 +00:00
Alex Beregszaszi
d65f20b1ea 100l, and another one because it boils out with ICE under gcc 3.2.3
Originally committed as revision 3073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 08:30:56 +00:00
Mike Melanson
75b4f3c6d6 yes, that's nice...
Originally committed as revision 3072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 00:33:59 +00:00
Mike Melanson
116824d0aa reorganize and simplify the VP3 IDCT stuff
Originally committed as revision 3071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 00:20:29 +00:00
Michael Niedermayer
3c0da30c01 fix decoding with quant matrixes which contain elements <16
Originally committed as revision 3069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 19:03:35 +00:00
Michael Niedermayer
49f3806dd8 rv10 decoding fix
Originally committed as revision 3068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 16:14:13 +00:00
Mike Melanson
92a69cf868 move __align16 some place where non-MMX machines can see it
Originally committed as revision 3066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 04:06:09 +00:00
Mike Melanson
6186b94c13 hush...
Originally committed as revision 3065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:38:30 +00:00
Mike Melanson
38acbc3cb9 hook up support for SSE2-optimized VP3 IDCT
Originally committed as revision 3064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:33:30 +00:00
Mike Melanson
78a16bfec6 add selected SSE2 ASM macros
Originally committed as revision 3063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:30:19 +00:00
Mike Melanson
5f9379007c SSE2-optimized variant of VP3 IDCT
Originally committed as revision 3062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:29:10 +00:00
Mike Melanson
daae869903 correct MMX-optimized variant of VP3 IDCT, with comments (thank you
Perl!)

Originally committed as revision 3061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 03:26:24 +00:00
Michael Niedermayer
f20f8a8b0b support reusing mb types and field select values of the source file, but use motion vectors just as additional predictors
minor cleanup
segfault fix

Originally committed as revision 3060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 02:09:47 +00:00
Mike Melanson
7e56cd927b add the minimal documentation to make this decoder useful
Originally committed as revision 3059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 19:30:49 +00:00
James Morrison
0f12310fe2 License change and cpu detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:23:50 +00:00
James Morrison
bb476ff367 vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:16:23 +00:00
Sascha Sommer
2a86d50bd9 cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 11:51:38 +00:00
Michael Niedermayer
aacc6615f8 sanity checks
Originally committed as revision 3052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:43:43 +00:00
Michael Niedermayer
9964df63ee minor motion estimation cleanup
4mv motion vector passthrough

Originally committed as revision 3051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:36:37 +00:00
Sascha Sommer
5c668f4610 libavcodec Cygwin compilation failure (II) patch by (Sascha Sommer)
Originally committed as revision 3050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 03:02:40 +00:00
Roman Shaposhnik
cbdd9b5386 * Enabling UltraSparc stuff wit _SPARC64
Originally committed as revision 3049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 02:02:54 +00:00
Michael Niedermayer
44f54ceb30 VIS optimized motion compensation code. by (David S. Miller <davem at redhat dot com>)
ported to ffmpeg by (ja2morri at csclub dot uwaterloo dot ca (james morrison))
useable under LGPL with their agreement

Originally committed as revision 3048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 23:38:54 +00:00
Michael Niedermayer
1671083f55 sanity check
Originally committed as revision 3047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 21:17:31 +00:00
Michael Niedermayer
c8470cc173 h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:44:27 +00:00
Laurent Aimar
693399ba55 h264 hurry up fix and a tiny cabac clean patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:36:52 +00:00
Michael Niedermayer
f4f3223ffd reuse motion vectors/mb types/field select values of the source video, if the SSE for a macroblock which is predicted with these values is below me_threshold
currently works only with mpeg1/2 source or some luck
may need -sync 0 as otherwise framedrops could lead to extreemly long b frame sequences

Originally committed as revision 3042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:06:30 +00:00
Michael Niedermayer
10f3005f51 RSHIFT(x,0) fix
Originally committed as revision 3041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 23:15:24 +00:00
Michael Niedermayer
25ef43bb28 corrupted field pictures segfault fix
Originally committed as revision 3040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 21:41:08 +00:00
Michael Niedermayer
6c08a05743 10l (segfault fix)
Originally committed as revision 3039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 20:56:29 +00:00
Romain Dolbeau
9007f51460 better hadamard8_diff16 in AltiVec, and more patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 13:21:59 +00:00
Michael Niedermayer
2750b827b3 motion estimation cleanup
replace ugly macros by always_inline functions, that way its much more readable and flexible as always_inline can simply be removed while the macros couldnt be
about 0.5 % speedup with default parameters

Originally committed as revision 3037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-22 03:31:29 +00:00
Michael Niedermayer
c4a1714826 hadamard8_diff8x8 in AltiVec, the 16bits edition by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-20 17:05:12 +00:00
Michael Niedermayer
7c4f71c428 exporting field_select/ref_index values
Originally committed as revision 3035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-19 03:33:23 +00:00
Michael Niedermayer
3803021453 fix y scale of mv vissualization of interlaced MVs
Originally committed as revision 3033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 18:30:05 +00:00
Michael Niedermayer
0c352cadb0 fix exported motion vectors
Originally committed as revision 3032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 17:46:52 +00:00
Michael Niedermayer
a4d36c1113 passing AVFrame instead of AVPicture around in ffmpeg, that way stuff like motion vectors can be passed from the decoder to the encoder
moving ref_index from Picture to AVFrame

Originally committed as revision 3028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 19:41:49 +00:00
Michael Niedermayer
14e2a9404e flv dropable p frame support
Originally committed as revision 3027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 13:36:21 +00:00
Michael Niedermayer
da63aac585 seems wmv8 doesnt use intra-inter prediction
Originally committed as revision 3024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 18:50:30 +00:00
Romain Dolbeau
a194762450 forgotten copyright & dct_quantize_altivec disabled patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 12:47:37 +00:00
Hauke Duden
0f5c3f2132 fixed buffering for low bitrates patch by (Hauke Duden <H.NS.Duden at gmx dot net>)
Originally committed as revision 3020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:48:05 +00:00
Michael Niedermayer
365e75f89b t/dprintf printf -> av_log
Originally committed as revision 3019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:29:35 +00:00
Michael Niedermayer
e4a1fdfdee segfault fix
Originally committed as revision 3017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:02:39 +00:00
Michael Niedermayer
137c8468e8 unify table indexing (motion_val,dc_val,ac_val,coded_block changed)
minor +-1 bugfix

Originally committed as revision 3016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-16 01:01:45 +00:00
Zdenek Kabelac
450420cee1 * removed config.h
Originally committed as revision 3012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-14 13:13:31 +00:00
Michael Niedermayer
6c205de244 assert(time_incr >= 0) so its clear that this MUST be the case
Originally committed as revision 3010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-13 13:17:35 +00:00
Laurent Aimar
9e5281141c progressive P frame CABAC support patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 16:28:31 +00:00
Allen Day
d8019eb5d8 verbosity patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 13:50:42 +00:00
Michael Niedermayer
19f82bc824 fixing alignment problems -> SSE2 support enabled again in libavcodec (from ffdshow / milan_cutka)
Originally committed as revision 2990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 16:32:49 +00:00
Matthias Fritschi
1c0e205fab writing corrupt files on MinGW patch by (Matthias Fritschi <choi at netlabs dot org>)
Originally committed as revision 2988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 15:04:51 +00:00
Michael T. Dean
1b8b121fb6 Missing LDFLAGS in libavcodec/Makefile patch by ("Michael T. Dean" <mtdean at thirdcontact dot com>)
Originally committed as revision 2987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 14:57:39 +00:00
Thomas Raivio
931c85d04a aac decoding patch by ("Thomas Raivio" <tjraivio at cc dot hut dot fi>)
Originally committed as revision 2986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 14:53:41 +00:00
Todd Kirby
1ff93ffcd4 padding support in ffmpeg patch by (Todd Kirby <doubleshot at pacbell dot net>)
Originally committed as revision 2982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 18:54:40 +00:00
Alex Beregszaszi
fd1467581c conversion to av_log
Originally committed as revision 2975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 13:26:47 +00:00
Alex Beregszaszi
6ce1a818e1 unknown format chars
Originally committed as revision 2974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 13:14:29 +00:00
Michael Niedermayer
a03cbe5f7f fix global header passing from demuxer to decoder
Originally committed as revision 2958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 17:55:59 +00:00
Michael Niedermayer
3f4993f19b pts hack (correct solution would be to pass the pts from the encoder to the muxer)
Originally committed as revision 2957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 17:06:30 +00:00
Michael Niedermayer
bbb77e7c2e remove function call from muxer->encoder and cleanly pass global headers
Originally committed as revision 2956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 15:19:20 +00:00
Michael Niedermayer
6d8f985ecf fix obnoxious ogg_packet passing from encoder to muxer
Originally committed as revision 2955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 14:39:20 +00:00
Michael Niedermayer
7d1bbcd42f time & (s)rand is forbidden
Originally committed as revision 2954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 11:46:01 +00:00
Michael Niedermayer
d76f581ff5 kill obnoxious ogg_packet passing from demuxer to decoder
Originally committed as revision 2953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 02:07:15 +00:00
Michael Niedermayer
8bfed902f3 remove spyware from ogg*.c
fix vorbis in ogg decoding

Originally committed as revision 2952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 01:10:50 +00:00
Michael Niedermayer
8100cab9c6 nicer looking arrows for the motion vector vissualization
Originally committed as revision 2950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-03 01:55:24 +00:00
Michael Niedermayer
a3c22fbca6 rv20 (0x20201002) support
Originally committed as revision 2948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 21:04:56 +00:00
Michael Niedermayer
b44bdf7eec interlaced chroma MC divx-bug workaround
Originally committed as revision 2947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 19:54:33 +00:00
Michael Niedermayer
8680741006 skiped mbs in interlaced b frames fix
Originally committed as revision 2946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 19:48:20 +00:00
Michael Niedermayer
3f9d89c696 gmc segfault fix
Originally committed as revision 2945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 16:21:55 +00:00
Michael Niedermayer
2f996b8397 split stream into valid mp3 frames, at least flv & nut absolutely need this, but probably most other formats too
Originally committed as revision 2942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-01 17:07:06 +00:00
Michael Niedermayer
58c2182d72 fixing alignment, 2nd try
Originally committed as revision 2940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-29 00:29:27 +00:00
Michael Niedermayer
96d8b5a62c hmm av_log(..., get_bits());
Originally committed as revision 2939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 23:10:53 +00:00
Michael Niedermayer
5cce4dd761 ensure that the bitstream buffers for encoding partitioned frames are aligned
Originally committed as revision 2935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 21:58:55 +00:00
Michael Niedermayer
042e3bfe9d fix decoding of qp<6
Originally committed as revision 2933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 20:28:29 +00:00
Laurent Aimar
e5017ab870 h264 - progressive I frame CABAC support patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 2932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 19:35:53 +00:00
Michael Niedermayer
b73afeac30 huge vbv buffer size + CBR fix
Originally committed as revision 2929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 12:30:04 +00:00
Michael Niedermayer
046bee8620 always parse APP* as it sometimes contains startcodes which confuse the decoder otherwise
Originally committed as revision 2927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 02:06:34 +00:00
Roman Shaposhnik
901ee2bea3 * some significant clean-up of the dv_decode_ac (it looks real
simple now, take a look for yourself).

   * additional optimizations of the decoder. It runs at 55fps now
     on my desktop and it used to be ~45fps.

Originally committed as revision 2926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-25 01:46:40 +00:00
Falk Hüffner
7906085fcc warning patrol
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +00:00
Michael Niedermayer
8fe2c60e5f 1000l for iive
Originally committed as revision 2916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 20:54:04 +00:00
Michael Niedermayer
6b47b7300e Compile fix by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 2915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 12:07:02 +00:00
Michael Niedermayer
4e39ab4c97 1000l in av_mallocz_static()
less overallocation in av_fast_realloc() for small arrays

Originally committed as revision 2913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 11:00:51 +00:00
Michael Niedermayer
8d1f2ba5e1 static allocation rewrite (old code was plain a broken mess)
doesnt call realloc every time
 doesnt randomly overwrite memory after after 8-16 calls
 doesnt use ugly macro wraper
 fewer lines of code

Originally committed as revision 2912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-21 21:58:14 +00:00
Michael Niedermayer
53c05b1eac do loop filter immediatly after each macroblock is decoded instead of after a frame is decoded
Originally committed as revision 2910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-20 16:40:20 +00:00
Michael Niedermayer
3ebc7e04de h264 loop filter optimizations
Originally committed as revision 2909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-20 00:18:52 +00:00
Michael Niedermayer
980a82b70b h264 loop filter for progressive I&P frames by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 2908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-19 21:21:17 +00:00
Michael Niedermayer
204b5c9e08 h.263 ssm + aic fix by (Maarten Daniels <maarten dot daniels at student dot luc dot ac dot be>)
Originally committed as revision 2905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 22:45:37 +00:00
Roman Shaposhnik
5825425795 * removing casualties of battle of the wits and English language
Originally committed as revision 2902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 04:19:34 +00:00
Michael Niedermayer
7976241aef moving f/b_code init to where it should be
Originally committed as revision 2901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 17:27:03 +00:00
Michael Niedermayer
7813d6a307 1000000l (using uninitalized variable for initalizing bits per MV table)
Originally committed as revision 2900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:57:27 +00:00
Michael Niedermayer
3edcacde04 init cleanup
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:11:29 +00:00
Ivan Kalvachev
6fe1a1a55b use pan_scan to remove some weight, proper pan_scan offset reading
Originally committed as revision 2898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 15:38:40 +00:00
Ivan Kalvachev
5ac4768362 mpeg12 fix 10l of aspect calucalations, return gop perser to print debug info, and make mpeg1_seq_header hot overwrite height/width
Originally committed as revision 2897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 16:41:15 +00:00
Mike Melanson
6cc270c2ac update the API for the idct function
Originally committed as revision 2895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 01:21:01 +00:00
Ivan Kalvachev
a6b9ffbfc7 move MPV_common_init after parsing stream parameters, matrix rebuild
Originally committed as revision 2894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 00:08:24 +00:00
Roman Shaposhnik
6faa4645c5 * DV decoding/encoding now supports MultiThreading for up to 324 CPUs ;-)
Originally committed as revision 2893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 23:45:42 +00:00
Roman Shaposhnik
380fd6b1b4 * DV decoder simplifications. Now it looks to be 6% faster. At least
on my desktop.
     * Misc. DV cleanups and fixes.

Originally committed as revision 2892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 22:09:58 +00:00
Michael Niedermayer
37923cd32d alignment fix
Originally committed as revision 2890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 17:55:50 +00:00
Michael Niedermayer
67086c8552 width,height%16!=0 fix
Originally committed as revision 2889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 17:33:48 +00:00
Mike Melanson
ee59b4b680 don't fetch the size of SEQH unless SEQH was found
Originally committed as revision 2888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 15:04:21 +00:00
Mike Melanson
23fe14bb20 minor VMD system update; still not perfect, but should not crash either
Originally committed as revision 2887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:08:11 +00:00
Mike Melanson
3a278992bd remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG

Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:04:08 +00:00
Michael Niedermayer
8be014e027 removing broken mpeg_decode_gop()
Originally committed as revision 2883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 22:01:32 +00:00
Gildas Bazin
68951ecf0c fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 21:43:24 +00:00
Mike Melanson
ebcd2f9689 be smarter about the variable size of the extra SVQ3 data
Originally committed as revision 2881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 21:26:54 +00:00
Mike Melanson
14284f78c5 smarten up the SVQ3 extradata decoder without changing the external API
Originally committed as revision 2878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 20:07:38 +00:00
Mike Melanson
bda702fc4d credit update
Originally committed as revision 2877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 19:21:58 +00:00
Roman Shaposhnik
e7a18d5deb * moving some of the commonly used bit reading/writing functions
from common.c -> common.h so that they can be inlined.
         + performace gain ~1% (measured with DV decoding)
	 + code bloat 0.05%
      Looks like a win-win solution.

Originally committed as revision 2874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-12 23:39:38 +00:00
Michael Niedermayer
1da57984e6 10l
Originally committed as revision 2871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-11 13:22:39 +00:00
Michael Niedermayer
b98202a438 mb stuffing in partitioned frames fix
Originally committed as revision 2869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 23:13:43 +00:00
Michael Niedermayer
b056e73c80 h263+ custom pcf support
Originally committed as revision 2868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 22:11:49 +00:00
Michael Niedermayer
c276af0471 disable lames leading zero "feature", fixes a few more flv encoding issues
Originally committed as revision 2865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 00:43:24 +00:00
Michael Niedermayer
c7516a000c find_start_code() optimization (about 2x faster now) this may improve decoding speed with multiple threads
Originally committed as revision 2862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 15:23:14 +00:00
Zdenek Kabelac
148beec7e8 * missing opts for make dep
Originally committed as revision 2860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 12:18:40 +00:00
Mike Melanson
01456e8e86 use optimized VP3 functions where appropriate
Originally committed as revision 2857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:18:19 +00:00
Mike Melanson
67335dbce3 cut over to using new VP3 DSP functions and remove the old ones; bring
certain source code identifiers in line with official VP3 spec (well,
*my* VP3 spec, anyway)

Originally committed as revision 2856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:15:13 +00:00
Mike Melanson
44cb64ee89 seperated out the C-based VP3 DSP functions into a different file; also
ported the MMX-optimized versions of those functions

Originally committed as revision 2855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:13:45 +00:00
Michael Niedermayer
e82d912dba h263 framerate & aspect ratio fixes
Originally committed as revision 2854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-06 12:33:56 +00:00
Michael Niedermayer
c0a0170c16 fix motion compensation with (x+1/2,y+1/2) MVs
Originally committed as revision 2849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 18:44:04 +00:00
Michael Niedermayer
ca5b9f20b2 10l
Originally committed as revision 2848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 15:10:56 +00:00
Zdenek Kabelac
5f0f7713ad * more consts
Originally committed as revision 2847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:21:56 +00:00
Zdenek Kabelac
49a37411f3 * const warn elimination
Originally committed as revision 2846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:09:12 +00:00
Zdenek Kabelac
62c438a241 * const warn elimintation
Originally committed as revision 2845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:08:33 +00:00
Zdenek Kabelac
b0df362b11 * const
Originally committed as revision 2844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 14:07:33 +00:00
Ivan Kalvachev
494c56d36f silence warnings
Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-04 14:58:48 +00:00
Michael Niedermayer
399cec2f3e count > thread_count for execute()
Originally committed as revision 2842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 19:29:00 +00:00
Michael Niedermayer
4346539522 av_log() cleanup
null pointer segfaults
 dont print redundant spam
 dont print prefix if reference==NULL
 class -> av_class
 dont copy AVClass to every object, its a waste of memory and not a good idea at all

Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 17:53:55 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Michael Niedermayer
81c5f88748 macrofree av_freep()
Originally committed as revision 2839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 01:57:43 +00:00
Ivan Kalvachev
461cd5bfb5 add vlc for cbp=0 that is valid in 422,444
Originally committed as revision 2838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 18:39:25 +00:00
Michael Niedermayer
50c93f74a6 10l (segfault fix)
Originally committed as revision 2837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 17:21:55 +00:00
Michael Niedermayer
ed263031f6 100l (divx5 b frame + seeking + flush fix)
Originally committed as revision 2836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 03:18:03 +00:00
Ivan Kalvachev
4eaad9c028 forgot default chroma_format value
Originally committed as revision 2835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:40:18 +00:00
Ivan Kalvachev
197662a632 fix typo
Originally committed as revision 2834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:30:25 +00:00
Ivan Kalvachev
5e5c247a7c initial chroma_format changes,xvmc tweaks and codec_cap
Originally committed as revision 2833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 14:55:21 +00:00
Dmitry Baryshkov
3f1d4e9600 attribute_used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Originally committed as revision 2832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 12:46:20 +00:00
Michael Niedermayer
95d356c587 optimizing/cleanup of mpeg/qpel_motion()
Originally committed as revision 2831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:14:46 +00:00
Dmitry Baryshkov
5c0513bda7 attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Originally committed as revision 2830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:10:18 +00:00
Michael Niedermayer
fddae1c30f skip b frames before first i frame
Originally committed as revision 2829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 02:25:19 +00:00
Michael Niedermayer
c8a4ebbf27 simplify MPV_motion()
Originally committed as revision 2828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 02:08:28 +00:00
Michael Niedermayer
5ba326b5d4 interlaced mpeg4 + edge emu fix (fixes decoding of mermaid.avi)
related cleanup

Originally committed as revision 2827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 00:37:36 +00:00
Michael Niedermayer
4c9544d026 mpeg2 field pic decoding fix
simplifiations

Originally committed as revision 2826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 21:02:49 +00:00
Gael Chardon
2a24fe4ccc int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 16:41:23 +00:00
Michael Niedermayer
aab34ca0c5 Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)
Originally committed as revision 2823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 15:03:53 +00:00
Michael Niedermayer
259630df42 10l (vdpart fix)
Originally committed as revision 2822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 19:11:21 +00:00
Michael Niedermayer
8d52ec7eb0 AVCodec.supported_framerates
Originally committed as revision 2821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 18:29:39 +00:00
Michael Niedermayer
71141d771a INT64_MIN fix
Originally committed as revision 2820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 15:15:05 +00:00
Michael Niedermayer
9d5277ce32 10l
Originally committed as revision 2819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 13:42:17 +00:00
Michael Niedermayer
ae35f5e14e 100l (field picture decoding fix)
Originally committed as revision 2818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 02:48:07 +00:00
Wolfgang Hesseler
8289c6faa8 export DCT coefficients patch by (Wolfgang Hesseler <wolfgang.hesseler at imk dot fraunhofer dot de>)
Originally committed as revision 2816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:29:17 +00:00
Michael Niedermayer
5a815088d3 1l
Originally committed as revision 2815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:17:45 +00:00
Michael Niedermayer
9740beffc6 use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 17:35:52 +00:00
Steven M. Schultz
8ac5c1b2d3 av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 02:47:53 +00:00
Michael Niedermayer
e51f49487e set AVFrame.pts based upon framerate if its 0
detect & warn if the user prvides pts only for some frames, and try to guess the missing ones

Originally committed as revision 2812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 02:05:50 +00:00
Steven M. Schultz
ed7b99bbe2 av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 21:18:29 +00:00
Michael Niedermayer
c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Steven M. Schultz
c0a2c42f59 av_log patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 16:07:30 +00:00
Michael Niedermayer
560ff8095f av_log()
Originally committed as revision 2808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 15:59:21 +00:00
Michael Niedermayer
310ffb8f26 c99
Originally committed as revision 2807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 21:22:47 +00:00
Michael Niedermayer
d705e4a6bb (f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get
Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 00:31:19 +00:00
Michael Niedermayer
16806499fc w32threads by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 20:29:26 +00:00
Ivan Kalvachev
530d574081 use get_format
Originally committed as revision 2802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 00:30:33 +00:00
Michael Niedermayer
5e7c25f0d1 simplify
Originally committed as revision 2801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 22:54:02 +00:00
Michael Niedermayer
9ab2717a9d auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)
Originally committed as revision 2800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 19:15:19 +00:00
Michael Niedermayer
fbf2284cd2 check if threads_count is too large
Originally committed as revision 2798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 16:26:16 +00:00
Michael Niedermayer
1e31d32c34 flac_flush()
Originally committed as revision 2797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 15:17:54 +00:00
Michael Niedermayer
0496a03413 simplify
only change context if frame header is error-free, as some fields may not be stored in the frame header and so a single damaged frame-header may trash them

Originally committed as revision 2796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 14:05:49 +00:00
Alex Beregszaszi
69f5de1855 avoid negative array indices
Originally committed as revision 2794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 12:49:30 +00:00
Michael Niedermayer
9d65611096 crc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf dot upol dot cz>)
less spam/av_log
fix synccode search
channel_order -> decorrelation_type (cosmetic i know, but the old name is too meaningless IMHO)
faster mid/side decorrelator based upon lifting transforms

Originally committed as revision 2793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 04:10:52 +00:00
Michael Niedermayer
4fd125984b remove residual array, it isnt really needed
Originally committed as revision 2792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 02:00:55 +00:00
Michael Niedermayer
ac2570a8b0 flac fixes:
fix data types of residual&decoded
fix twos complement bitfields
fix utf8 (no, utf8 is not the same as the simple and compact uvlc used in nut)
add truncated bitstream support, both ogg and flac demuxers in mplayer cvs provide incomplete frames, and furthermore it isnt possible to find frameboundaries in flac without decoding it completly
add escape-less golomb rice decoder (=flac style golomb rice) (ultra efficient, the longest vlc code is just 2^32-1 bits)
printf->av_log
fix bps for non independant channels
fix a few +-1 bugs
fix sample order for independant channels
fix data_size

Originally committed as revision 2791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 01:49:30 +00:00
Michael Niedermayer
4f52c3126b flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
Originally committed as revision 2790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 01:22:05 +00:00
Michael Niedermayer
da16b2043f noise reduction with threads bugfix
Originally committed as revision 2789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-17 18:57:50 +00:00
Michael Niedermayer
e6dc9c6f99 more error checks for the sequence header
Originally committed as revision 2788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-16 03:34:11 +00:00
Roberto Togni
e102fcf7f0 rle_code can overflow when multiplied by 4
(fixes Animation-256Greys.mov from mphq)

Originally committed as revision 2786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 18:12:36 +00:00
Roberto Togni
42608d6508 Use av_log
Originally committed as revision 2784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 17:11:46 +00:00
Michael Niedermayer
e9a4834a7d normalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka <makovick at kmlinux dot fjfi dot cvut dot cz>))
Originally committed as revision 2780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 13:37:58 +00:00
Michael Niedermayer
fafbc7c8c8 mpeg4 b frame + adaptive quantization assertion failure fix
Originally committed as revision 2779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 03:49:43 +00:00
Michael Niedermayer
3a1fa44759 multithreaded spatial complexity calculation for i frames
Originally committed as revision 2778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 03:21:03 +00:00
Michael Niedermayer
b6335c9f5b ff_copy_bits() optimization
Originally committed as revision 2777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 01:25:41 +00:00
Michael Niedermayer
a734250db6 activate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt working before because of a incorrectly used pbBufPtr()
Originally committed as revision 2775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 21:07:31 +00:00
Michael Niedermayer
cfbd16df75 replace a few pbBufPtr() by put_bits_count(), one of them was actually wrong
Originally committed as revision 2774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 20:59:48 +00:00
Michael Niedermayer
80ee9fc0e3 simplify MV availability check / dont use below last row MV which is always zero
Originally committed as revision 2773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 18:39:43 +00:00
Michael Niedermayer
9c3d33d67f multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Michael Niedermayer
7984082a08 ppc chroma mess workaround (real bug is that the motion compensation code assumes that 2*uvlinesize == linesize and fixing this would mean a slowdown)
Originally committed as revision 2771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-12 16:21:21 +00:00
Roman Shaposhnik
826ca10408 * gotta setup coded_frame for encoding. avcodec.h says that for decoding
lavc is supposed to set it up as well and I don't think I see any
      reason not to.

Originally committed as revision 2769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-10 20:48:09 +00:00
Michael Niedermayer
8a36717afc rv10/obmc fixes
Originally committed as revision 2768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-09 15:23:35 +00:00
Michael Niedermayer
99683a3077 2 byte shorter userdata for mpeg4
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)

Originally committed as revision 2767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-08 22:52:35 +00:00
Michael Niedermayer
6cf9d5ebd3 M$ ADPCM encoding & some simplifications
Originally committed as revision 2765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-08 02:16:48 +00:00
Michael Niedermayer
fc374fe299 segfault fix
Originally committed as revision 2764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 20:50:26 +00:00
Michael Niedermayer
eb5b0422b5 use clip() from common.h
ignore sample_rate==8000 limit if strict_std_compliance < 0

Originally committed as revision 2762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 15:33:00 +00:00
Roman Shaposhnik
e5966052ee * Initial implementation of the G.726 ADPCM audio codec.
Originally committed as revision 2759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 08:20:00 +00:00
Tinic Uro
747a0554ea - made --extra-cflags option work on darwin
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above
required) and made it default
- fixed broken mp3 support in swf file format
patch by (Tinic Uro <turo at macromedia dot com>)
cleanup by me

Originally committed as revision 2756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 23:56:37 +00:00
Michael Niedermayer
8cb5d4c060 h263 4mv encoding fix
Originally committed as revision 2755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 22:34:33 +00:00
Michael Niedermayer
04a59bfb8d segfault fix
Originally committed as revision 2754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 21:07:17 +00:00
Alex Beregszaszi
b46243ed1c get_bit_count -> put_bits_count
Originally committed as revision 2753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 17:51:58 +00:00
Alex Beregszaszi
fe455f3328 get_bit_count -> put_bits_count
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 15:27:31 +00:00
Michael Niedermayer
de7ff1f774 analyze the gradient of the error surface to avoid a few checks in the quantizing noise shaper
Originally committed as revision 2751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 03:56:05 +00:00
Michael Niedermayer
364a179749 quantizer noise shaping optimization
Originally committed as revision 2750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 02:12:37 +00:00
Mike Melanson
070ed1bc43 initial commit for Quicktime Animation (RLE) video decoder; bit depths
32, 24, and 16 are working; 8bpp is partially working; 4, 2, and 1 bpp
are not supported yet

Originally committed as revision 2748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-05 05:22:44 +00:00
Michael Niedermayer
a412a03bee remove incorect motion estimation table
Originally committed as revision 2747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-05 00:35:08 +00:00
Michael Niedermayer
8a1f657b28 cleanup ugly code (also appearently works around a bug gcc 3.4 which fails compiling it) by (mru at kth dot se (Måns Rullgård))
Originally committed as revision 2746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-04 16:03:10 +00:00
Michael Niedermayer
2caa92d935 fixes by Gildas Bazin <gbazin at altern dot org>
Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-04 15:49:55 +00:00
Mike Melanson
7d8379f2b7 added support for EA ADPCM and SMJPEG IMA ADPCM
Originally committed as revision 2744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-03 04:27:17 +00:00
Michael Niedermayer
deb7a6cdaf simplify
Originally committed as revision 2743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 14:59:43 +00:00
Michael Niedermayer
77ea0d4bdd quantizer noise shaping
Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 03:52:58 +00:00
Falk Hüffner
95ba2c8f43 tiny warning fix
Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-01 22:56:54 +00:00
Alex Beregszaszi
0a87c409cc changed includes
Originally committed as revision 2739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 22:58:32 +00:00
Alex Beregszaszi
fc929feebd not needed anymore
Originally committed as revision 2738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 22:47:48 +00:00
Michael Niedermayer
a62d75da98 segfault fix
Originally committed as revision 2737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 21:28:49 +00:00
Mike Melanson
fb85b027f6 vsad16_mmx2 only applies if encoders are turned on
Originally committed as revision 2736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 20:41:07 +00:00
Mike Melanson
7bf3261289 these functions (get_bit_count and align_put_bits) are referenced even
when CONFIG_ENCODERS is not defined

Originally committed as revision 2735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 20:37:46 +00:00
Mike Melanson
18a508c527 handle invalid buffer sizes
Originally committed as revision 2734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 18:17:38 +00:00
Mike Melanson
155aa4174d watch those hard tabs
Originally committed as revision 2733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 17:57:57 +00:00
Mike Melanson
df72754d03 handle 0-length buffers
Originally committed as revision 2732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 17:40:28 +00:00
Mike Melanson
c89c1d2542 handle 0-length buffers
Originally committed as revision 2731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-31 17:30:28 +00:00
Michael Niedermayer
2c8b796fa9 b frames + cbr fix
Originally committed as revision 2730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-29 15:50:54 +00:00
Michael Niedermayer
8fd19ab286 SSE2 fdct by (Balatoni Denes <pnis at coder dot hu>)
Originally committed as revision 2729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-29 01:15:25 +00:00
Michael Niedermayer
5a60360712 4mv + b frame encoding segfault fix
Originally committed as revision 2728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-28 00:36:58 +00:00
Michael Niedermayer
6ff6cff203 first coded vs. first displayed pts (segfault & pts fix if b frames are used)
Originally committed as revision 2727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-27 13:55:34 +00:00
Michael Niedermayer
ac806113fe 10l
Originally committed as revision 2726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-26 19:14:02 +00:00
Michael Niedermayer
9ff5f17543 int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-26 19:09:47 +00:00
Michael Niedermayer
11a8a71d4e mpeg4 pts fix
Originally committed as revision 2724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-26 19:04:32 +00:00
Roberto Togni
e40f5d3c6f Use reget buffer instead of copying from prev frame
Added buffer hints, replaced printf with av_log

Originally committed as revision 2723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-25 16:43:09 +00:00
Alex Beregszaszi
e0c53ac889 freebsd fix for mpeg12.c (moving INT64_MAX to common.h)
Originally committed as revision 2722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-25 11:13:56 +00:00
Michael Niedermayer
65a24d0b39 optimization & bugfix extracted from the 4k line diff between ffmpeg 0.4.7 and http://www.alicestreet.com/ffh263.html
the other parts of the diff where
1. spelling fixes (rejected as only a small part of it could be applied automatically)
2. cosmetics (reindention, function reordering, var renaming, ...) with bugs (rejected)
3. rtp related stuff (rejetced as it breaks several codecs)
4. some changes to the intra/inter decission & scene change detection (quality tests needed first)

Originally committed as revision 2721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-24 23:47:33 +00:00
Michael Niedermayer
7a62e94a26 optimization
Originally committed as revision 2720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-24 22:22:42 +00:00
Michael Niedermayer
83f8c0c3c8 segfault fix
Originally committed as revision 2719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-23 12:30:31 +00:00
Michael Niedermayer
303e50e65b closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Chip
d398a27e0b inttypes.h patch by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 2717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 12:09:14 +00:00
Michael Niedermayer
403f10996d more tolerance for dc=0
Originally committed as revision 2716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-21 19:14:26 +00:00
Michael Niedermayer
20f155ed80 avcodec_flush_buffers() fix
Originally committed as revision 2715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-19 14:41:34 +00:00
Michael Niedermayer
40a3105d46 segfault fix
Originally committed as revision 2714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 21:57:32 +00:00
Michael Niedermayer
2c492e94fc removing broken framerate conversation hack in mpeg1/2
Originally committed as revision 2713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 21:41:44 +00:00
Michael Niedermayer
8e78482542 rv20 mv prediction in b frames fix
Originally committed as revision 2712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-18 02:59:01 +00:00
Michael Niedermayer
fb204d4bc1 xvid "packed" stuff support
Originally committed as revision 2708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-15 01:29:26 +00:00
Michael Niedermayer
237da0fa20 dont calculate stuff if its not used ...
Originally committed as revision 2699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 02:35:04 +00:00
Michael Niedermayer
a75b43fd73 fixing twice added offset bug, was triggered by 4mv + sub_cmp != mb_cmp
bug was introduced in version 1.75 (2003-12-30)
this may have lead to a small drop in quality of the 4mv mode, but should have only affected the mbd=0 case

Originally committed as revision 2698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 02:21:39 +00:00
Roberto Togni
6245598582 Right fix for older zlib version
Originally committed as revision 2696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-13 20:26:44 +00:00
Roberto Togni
ccbfd4ba96 Fix for older version of zlib
Originally committed as revision 2695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-13 19:46:37 +00:00
Michael Niedermayer
507a8e0d70 type fixes, found by Wolfgang Hesseler
Originally committed as revision 2694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-12 22:39:19 +00:00
Roberto Togni
a273bbfb03 MSZH and ZLIB decoder support
Experimental ZLIB encoder (not working yet)

Originally committed as revision 2693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-12 22:14:45 +00:00
Michael Niedermayer
909678c707 grayscale mjpeg decoding support based upon a patch by (Leon Bottou (leonb))
Originally committed as revision 2687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 19:54:12 +00:00
Michael Niedermayer
8f2ab83318 copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise
Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 16:04:55 +00:00
Michael Niedermayer
d2a9bdddd8 more sane inttypes emulation behavior if libavcodec is used outside ffmpeg
Originally committed as revision 2685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 12:53:07 +00:00
Michael Niedermayer
d94728c377 cleanup
Originally committed as revision 2684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 01:58:00 +00:00
Michael Niedermayer
c562c4da89 something unimportant ...
Originally committed as revision 2682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 23:43:57 +00:00
Chris Flerackers
7f965c1c89 inttypes emulation cleanup patch by ("Chris Flerackers" <cflerackers at androme dot be>)
Originally committed as revision 2681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 18:00:31 +00:00