Commit Graph

1918 Commits

Author SHA1 Message Date
Michael Niedermayer
6b56c616d9 make convert_matrix() independant of MpegEncContext
Originally committed as revision 2441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-27 14:37:30 +00:00
James Klicman
14cabd4068 AltiVec optimized fdct patch by (James Klicman <james at klicman dot org>)
Originally committed as revision 2439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-26 10:14:05 +00:00
Michael Niedermayer
5c69a4fd68 fixing the remaning block-align checks
Originally committed as revision 2438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-26 09:56:21 +00:00
Assaf Yaari
ca1d62f45d block algn patch by ("Assaf Yaari" <assafy at mobixell dot com>)
Originally committed as revision 2437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-26 09:49:45 +00:00
Michael Niedermayer
6e0593e80b reorder table instead of wasting instructions to reorder the input to match the table
Originally committed as revision 2436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 21:59:28 +00:00
Michael Niedermayer
94789b9e59 10l
Originally committed as revision 2435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 19:44:37 +00:00
Michael Niedermayer
9b4b6e099b segfault fix
Originally committed as revision 2434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 19:30:14 +00:00
Mike Melanson
94fd9201ad support Cinepak files with funky (not divisible by 4) resolutions
Originally committed as revision 2433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 15:22:34 +00:00
Roman Shaposhnik
48b1f80012 * adding integer/floating point AAN implementations for DCT 2-4-8
Originally committed as revision 2430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 00:32:54 +00:00
Michael Niedermayer
99200baec4 optimizing
Originally committed as revision 2428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-24 21:57:04 +00:00
Panagiotis Issaris
1b245cc21c Fixes GCC 3.3.2 warnings patch by (Panagiotis Issaris <takis at lumumba dot luc dot ac dot be>)
Originally committed as revision 2427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-24 20:09:30 +00:00
Fred Rothganger
07bd15c3e9 rational.h not installed patch by (Fred Rothganger <rothgang at uiuc dot edu>)
Originally committed as revision 2426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-24 19:59:43 +00:00
Roman Shaposhnik
10acc47995 * introducing dct248 into the DSP context.
* simple/accurate implementation of dct248
   * DV encoding now supports 2-4-8 DCT
   * DV encoding gets a bit faster (but still miles away
     from what I think it could do)
   * misc. DV codec cleanups

Originally committed as revision 2425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-24 18:28:01 +00:00
Alex Beregszaszi
01a2ddaf85 1l
Originally committed as revision 2424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 23:24:38 +00:00
Michael Niedermayer
cf3bf5bbaa minor mmx2 optimization if the dct
Originally committed as revision 2423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 13:22:20 +00:00
Michael Niedermayer
1745173bc5 inline -> always_inline (842 -> 690 cpu cycles for dct_quantize() difference for the dct itself should be even bigger)
Originally committed as revision 2422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 12:59:21 +00:00
Michael Niedermayer
8d00c562e8 4.9-RC FreeBSD doesnt like lrint() so change to lrintf(), not that bsd supports that but we emulate it ...
Originally committed as revision 2421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 12:41:54 +00:00
Michael Niedermayer
b4c3816cfa optionally merge postscale into quantization table for the float aan dct
Originally committed as revision 2420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 09:11:56 +00:00
Michael Niedermayer
10becaaf12 10l
Originally committed as revision 2419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 08:31:26 +00:00
Alex Beregszaszi
369e2d5024 10l
Originally committed as revision 2418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 22:12:25 +00:00
Alex Beregszaszi
1ffb0091aa 100l
Originally committed as revision 2417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 22:10:22 +00:00
Michael Niedermayer
6f5cf8c50f oops forgot
Originally committed as revision 2416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 19:15:55 +00:00
Michael Niedermayer
65e4c8c919 floating point AAN DCT
Originally committed as revision 2415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 18:26:38 +00:00
Michael Niedermayer
9d9e31722a 112 bytes smaller MpegEncContext
Originally committed as revision 2414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 15:36:46 +00:00
Michael Niedermayer
45686da26d move blocks away MpegEncContext (7.4 -> 5.8k)
Originally committed as revision 2413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 12:01:21 +00:00
Michael Niedermayer
642ccefbc8 move mmx quantizer matrixes out of MpegEncContext (23k -> 7k) (no meassureable slowdown)
Originally committed as revision 2412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 11:23:39 +00:00
Michael Niedermayer
7e4995c388 move q_*_matrix out of MpegEncContext (40k ->23k) dct_quantize() is even slightly faster now, dont ask my why ...
Originally committed as revision 2411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 10:59:39 +00:00
Michael Niedermayer
b465449eb7 dynamic alloc of picture structs instead of putting them in MpegEncContext
Originally committed as revision 2410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 19:55:31 +00:00
Michael Niedermayer
33a6984b8c BSD doesnt have log2
Originally committed as revision 2407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 01:00:31 +00:00
Michael Niedermayer
5c9e4723e0 mpeg2 aspect ratio encoding fixed
Originally committed as revision 2406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 23:24:39 +00:00
Michael Niedermayer
5ed9f2e5aa use continued fractions to approximate a fraction if its numerator or denominator is too large
Originally committed as revision 2405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 22:33:53 +00:00
Michael Niedermayer
5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Michael Niedermayer
9dad924e22 bottom_field_first -> top_field_first
Originally committed as revision 2402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 10:33:13 +00:00
Michael Niedermayer
fa384dcc81 export mpeg2 active display area / pan scan
fix mpeg2 aspect_ratio for the rare case that active display area != AVCodecContext.width/height
decode sequence display extension & picture display extension

Originally committed as revision 2401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 09:52:02 +00:00
Dan Christiansen
dc7cb06ae0 gcc->C99 and warning fixes patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 2399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-19 21:05:41 +00:00
Dan Christiansen
cf9d24adf6 - Moving -Wall from the individual Makefiles to configure (and only
have it passed to GCC)
- Moving the usage in configure to the top of it, so you don't have to
wait needlessly
- Silence compiler output during configuration
- Add support for configuring with IBM XLC

patch by (Dan Christiansen <danchr at daimi dot au dot dk>)

Originally committed as revision 2397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 18:47:06 +00:00
Roman Shaposhnik
2744ca9ac9 * providing MPEG codecs with a generic fields in AVFrame to use.
* fixing YUV4MPEG format.

    * fixing a bug in DV codec where coded_frame was not set.

Originally committed as revision 2396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 03:19:44 +00:00
Michael Niedermayer
a573cc27f5 emu_edge checks simplification and avoid redundant checks for mpeg1/2 if emu_edge is set
Originally committed as revision 2395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-17 18:56:01 +00:00
Roman Shaposhnik
5c00fe4137 * original fix still didn't align lines on s_align when CODEC_FLAG_EMU_EDGE
was not set.

Originally committed as revision 2394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 18:27:48 +00:00
Roman Shaposhnik
00c28046e4 * fix for a trivial 100l declaration typo
Originally committed as revision 2393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 04:50:54 +00:00
Michael Niedermayer
6571e41dcd picture buffer cleanup, this fixes a assertion failure (if assertion checking was manualy enabled for utils.c) and a memleak at least
Originally committed as revision 2392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 00:21:54 +00:00
Michael Niedermayer
f0bbfc4a20 default_get_buffer() fixes
Originally committed as revision 2391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 21:59:08 +00:00
Michael Niedermayer
f539eb52fe align
Originally committed as revision 2389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 16:20:50 +00:00
Michael Niedermayer
bcc7125e1d fix "first frame is no keyframe" bug
Originally committed as revision 2388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 15:37:25 +00:00
Mike Melanson
fc38477715 activate the XA and ADX ADPCM codecs
Originally committed as revision 2385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:20:40 +00:00
Mike Melanson
f19af812a3 replace file to remove nasty DOS CRs and hard tabs
Originally committed as revision 2384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:14:14 +00:00
Mike Melanson
f127136608 this should be part of adpcm.c
Originally committed as revision 2383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:02:44 +00:00
Mike Melanson
e986b6e2c7 quiet
Originally committed as revision 2382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 02:59:03 +00:00
Mike Melanson
f561046686 added CRI ADX and XA ADPCM audio modules, courtesy of BERO
<bero -at- geocities.co.jp>

Originally committed as revision 2376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 04:40:53 +00:00
Mike Melanson
764ef40015 disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 04:15:53 +00:00
Michael Niedermayer
a003ee9a44 fix the case where all vlc codes are 8 bits long (repeat=256)
Originally committed as revision 2374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 19:38:34 +00:00
Michael Niedermayer
7674347b64 alignment 10l
Originally committed as revision 2373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 18:17:58 +00:00
Michael Niedermayer
8470540344 mmx2 optimization of huffyuv median encoding
Originally committed as revision 2372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 17:27:30 +00:00
Michael Niedermayer
8c812d7317 10l
Originally committed as revision 2371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 14:37:04 +00:00
Michael Niedermayer
ac0c66382d dont check if the ac esc 3 could have been stored as vlc as this detects only very few errors allthough it detects several buggy encoders
Originally committed as revision 2370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 11:13:10 +00:00
Alex Beregszaszi
c58222c56c 10l
Originally committed as revision 2368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 08:02:46 +00:00
Michael Niedermayer
431f2172cd fix decoding if the aspect ratio changes
Originally committed as revision 2367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 21:32:58 +00:00
Alex Beregszaszi
ed7debda14 removed the obsolete and unused parameters of init_put_bits
Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 21:25:00 +00:00
Michael Niedermayer
bba3a09bb0 h263 GOB decoding fix
Originally committed as revision 2364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 19:18:37 +00:00
Michael Niedermayer
34790165dc intra dc treshold != 0 decoding fixed
Originally committed as revision 2363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 14:01:53 +00:00
Alex Beregszaszi
5e83dec46a Sunplus JPEG codec (SP5X) support
Originally committed as revision 2362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 21:49:10 +00:00
Alex Beregszaszi
91381201f0 theora comments skipping
Originally committed as revision 2361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 19:40:45 +00:00
Alex Beregszaszi
6cbff2f44a using av_abort
Originally committed as revision 2360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 17:48:49 +00:00
Alex Beregszaszi
f44ee2c34b theora decoding support (only keyframes for now, because by theora the frame isn't flipped so the motion vectors are getting screwed up)
Originally committed as revision 2359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 17:44:21 +00:00
Mike Melanson
a62a7323fa optimised versions of the get_pixels, diff_pixels, and bswap_buf
functions and support for 4 pixel high blocks in the put_pixels8_xxx and
avg_pixels8_xxx functions, courtesy of Robin Kay (komadori
at gekkou.co.uk)

Originally committed as revision 2358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 16:43:51 +00:00
Michael Niedermayer
c9319f2ea4 forgot to commit, i hope its correct
Originally committed as revision 2357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 09:11:15 +00:00
Michael Niedermayer
688cbabe2c recommit of
direct rendering support

Originally committed as revision 2356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:29:05 +00:00
Michael Niedermayer
11417deff9 recommit of
VOL != 0x120 support

Originally committed as revision 2355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:27:07 +00:00
Steven M. Schultz
3bbd2123d6 recommit (of patch, as cvslog msg didnt apply cleanly)
libavcodec/ppc compile errors patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

Originally committed as revision 2354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:25:23 +00:00
Michael Niedermayer
95831f48f8 recommit of
slightly cleaner width / height comment

Originally committed as revision 2353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:21:23 +00:00
Michael Niedermayer
49e17f8407 recommit of
#define DEBUG fix by (Glenn Maynard <g_sf at zewt dot org>)

Originally committed as revision 2352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:19:39 +00:00
Drew Hess
75917b887b recommit of
promote avpicture_alloc to public interface patch by (Drew Hess <dhess at ilm dot com>)

Originally committed as revision 2351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 08:18:05 +00:00
Roman Shaposhnik
86a7e11502 * recommiting change from SF CVS
Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 01:41:41 +00:00
Mike Melanson
b3a5d0039c support a few more types of VQA files
Originally committed as revision 2349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-11 01:11:29 +00:00
Michael Niedermayer
158c7f059c use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-07 11:32:40 +00:00
Mike Melanson
7238579835 This patch marks frames used in RPZA decoder as reference frames, from
Roberto Togni (rtogni at freemail.it)

Originally committed as revision 2347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-05 21:48:16 +00:00
Michael Niedermayer
e5021fffce mpeg1 + trellis quant segfault fix
Originally committed as revision 2346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-05 15:32:39 +00:00
Michael Niedermayer
8025405fcd 10l ?
Originally committed as revision 2345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 23:59:14 +00:00
Mike Melanson
cafa66af8e added solid color vectors; basic PAL8, 4x2-vector video (as in
Command & Conquer) looks great now; also added compressed codebook
support, but files using these (Lands of Lore) are not correct yet

Originally committed as revision 2344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 17:47:22 +00:00
Michael Niedermayer
29d48296a7 Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 09:53:34 +00:00
Mike Melanson
5a00941b06 instructions for using the decoder
Originally committed as revision 2340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-03 05:50:06 +00:00
Mike Melanson
4120a53a86 implemented Id Quake II CIN support
Originally committed as revision 2339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-03 05:43:03 +00:00
Michael Niedermayer
16c3c1ecb4 rd cbp + single coeff elimination fix
Originally committed as revision 2333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 08:52:37 +00:00
Mike Melanson
6955a88293 first pass at a VQA video decoder
Originally committed as revision 2332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 05:20:07 +00:00
Mike Melanson
ec59fd536f experimental half-pel motion compensation for C planes, courtesy of Dr.
Tim

Originally committed as revision 2331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 04:19:56 +00:00
Michael Niedermayer
ca7d05d56f optionally try to encode each MB with MV=<0,0> and choose the one with better RD
Originally committed as revision 2328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 00:24:34 +00:00
Roman Shaposhnik
4fa1c4fa8d * preAlpha DV encoding support -- there's still a truckload
of work to do, but it least people can try it out and share
      ideas. Please don't hesitate to give it a spin:

         $ ffmpeg -i file.avi file.dv

      is all you need.

    * fix for a deallocation bug in DV muxer

Originally committed as revision 2327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-01 23:34:46 +00:00
Michael Niedermayer
8d8c02942b ac prediction cleanup
rate distorted optimal ac prediction for mpeg4

Originally committed as revision 2325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-01 15:41:36 +00:00
Mike Melanson
2fdf638b0c New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
Video-1, Apple RPZA, Cinepak, Westwood IMA ADPCM

Originally committed as revision 2324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-01 04:39:38 +00:00
Michael Niedermayer
f2f6134b9e rate distortion optimal cbp support (h263/mpeg4 non intra only)
Originally committed as revision 2323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-30 22:18:43 +00:00
Roman Shaposhnik
7458ccbb02 * DV handling was streamlined for both muxing/demuxing and
decoding. All muxing/demuxing functionality is now available
     in libavformat/dv.[ch].

   * dv1394.c and avidec.c were hooked up with general DV demuxer.

   * DVAUDIO is dead! Long live pcm_s16le!

   * DV audio is now always recognized -- which means we can
     now hear all those ducks quaking in pond.dv.

Originally committed as revision 2319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 17:54:07 +00:00
Drew Hess
da64ecc3e7 avcodec const correctness patch by (Drew Hess <dhess at ilm dot com>)
Originally committed as revision 2318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 15:44:59 +00:00
Dan Christiansen
fe0f2a9719 PowerPC warnings & optimisations patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 2315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 22:53:25 +00:00
Michael Niedermayer
d663a1fdc0 AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
Originally committed as revision 2311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 20:34:11 +00:00
Michael Niedermayer
cd1f22f97e simpler
Originally committed as revision 2310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 20:27:56 +00:00
Michael Niedermayer
80de6a80a9 hurry_up fix?
Originally committed as revision 2306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-27 00:02:29 +00:00
Michael Niedermayer
8b76418a14 100l
Originally committed as revision 2305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-27 00:01:46 +00:00
Michael Niedermayer
7af75e6c65 h263 stuffing decode fix
Originally committed as revision 2304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-26 22:18:25 +00:00
Michael Niedermayer
2ecad8bd45 fixes levis.avi
dunno if this is correct ...

Originally committed as revision 2302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-25 12:19:26 +00:00
Michael Niedermayer
34f60ee61b slight quality improvement ( < +0.04 PSNR) for high bitrate videos with trellis quantization
Originally committed as revision 2300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-24 19:45:57 +00:00
Michael Niedermayer
98b0858e10 constraint_parameter_flag fix
Originally committed as revision 2299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-24 00:06:33 +00:00
Falk Hüffner
e4e70d2e2d Fix compilation with ccc
Originally committed as revision 2298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-22 20:29:58 +00:00
Mike Melanson
b10529b4c4 fix Interplay DPCM (frames are intracoded, predictors do not carry
forward to next block, initial predictors go to the output)

Originally committed as revision 2294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-19 04:41:02 +00:00
Mike Melanson
42e96409d3 MACRO-ize a bunch of redundant code blocks; fix 16-bit RGB modes (it's
RGB not RGG)

Originally committed as revision 2293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-19 04:00:32 +00:00
Mike Melanson
bf649a9d6d do away with all those naughty global variables
Originally committed as revision 2292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-19 01:13:53 +00:00
Mike Melanson
d86e8568e6 video looks beautiful now, many thanks to Alexander Belyakov
<abel at krasu.ru> for squishing bunches of bugs

Originally committed as revision 2290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-18 03:30:08 +00:00
Mike Melanson
7581685205 wrong, wrong, wrong...coded bits are read in the opposite direction
Originally committed as revision 2289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-17 05:17:31 +00:00
Fabrice Bellard
cf7412b58d use VC++ lib tool if available
Originally committed as revision 2286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:28:53 +00:00
Michael Niedermayer
05fbd0a2b0 scenechange_threshold
Originally committed as revision 2281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 11:25:29 +00:00
Fabrice Bellard
cb728d7902 correct DLL windows install
Originally committed as revision 2279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-15 22:27:43 +00:00
Michael Niedermayer
41338ac06f another non const static, maybe its thread save now
Originally committed as revision 2276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-15 19:18:28 +00:00
Mike Melanson
186447f8fe initial Interplay video decoder
Originally committed as revision 2275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-14 19:39:18 +00:00
Mike Melanson
6423d073c9 Ministry of English Composition fixes (courtesy of Diego Biurrun
<diego at biurrun.de>)

Originally committed as revision 2273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-14 16:52:34 +00:00
Mike Melanson
afb8d3f80d change pixel identifier conflict with AltiVec headers (patch courtesy of
Magnus Damm <damm at opensource.se>)

Originally committed as revision 2272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-14 16:11:01 +00:00
Falk Hüffner
f7728bf61c Use asms instead of builtins when compiling for generic Alpha. Less
ugly.

Originally committed as revision 2270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-13 10:07:46 +00:00
Mike Melanson
0f371e3e2a final word on RGBA byte order
Originally committed as revision 2268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-13 02:31:03 +00:00
Roman Shaposhnik
e7015b41e7 * patch for compile problem by "Steven M. Schultz" sms at 2BSD dot COM
Originally committed as revision 2267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-12 18:25:04 +00:00
Mike Melanson
ba118447d5 deploy palette control API
Originally committed as revision 2266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-12 03:48:14 +00:00
Fabrice Bellard
7b7d86f120 simplified version handling
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:51:05 +00:00
Mike Melanson
e9cc5211a4 copy & paste strikes again
Originally committed as revision 2261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 06:16:39 +00:00
Mike Melanson
6f4915ac83 xan_wc3 decoder now works correctly; added a bunch of output
colorspaces

Originally committed as revision 2260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 05:46:25 +00:00
Michael Niedermayer
541ae14095 AVI stream header FCC / more reliable detection of old xvid files
Originally committed as revision 2258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 23:40:55 +00:00
Michael Niedermayer
8fc6c2b537 detect old xvid with fourcc=DIVX
remove "this file was encoded with ..." stuff (use debug=4096 if u want to know that)

Originally committed as revision 2253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 11:28:18 +00:00
Michael Niedermayer
09770af869 detect avcodec_open() on an already opened AVCodecContext
Originally committed as revision 2251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 08:20:14 +00:00
Fabrice Bellard
b160941221 removed warnings
Originally committed as revision 2248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:59:16 +00:00
Fabrice Bellard
09b85c13a3 use const data - began to make code more portable
Originally committed as revision 2247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:56:25 +00:00
Fabrice Bellard
1df1df0b44 removed warnings
Originally committed as revision 2246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:50:44 +00:00
Fabrice Bellard
83586795a2 remove warnings
Originally committed as revision 2245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:48:19 +00:00
Michael Niedermayer
2523e73c77 --disable-risky fix by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 2243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 19:46:21 +00:00
Glenn Maynard
cddf3f452a Debug/optimization patch by (Glenn Maynard <g_sf at zewt dot org>)
Originally committed as revision 2240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 19:03:14 +00:00
Fabrice Bellard
98ce5991d7 update sub_id in mpegaudio decoding (might need same method as MPEG2VIDEO too ?)
Originally committed as revision 2238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:49:26 +00:00
Fabrice Bellard
80783dc2c2 CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:04:29 +00:00
Fabrice Bellard
dcedf58672 changed my mind about CODEC_ID_MPEGVIDEO - CODEC_ID_MP3LAME is absolete
Originally committed as revision 2231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:03:29 +00:00
Fabrice Bellard
742d87d633 removed os_support.h
Originally committed as revision 2227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:05:43 +00:00
Fabrice Bellard
ca4a77c5b3 removed os_support.h as most of libavcodec is os independant - most of the time only libavformat needs OS dependant features
Originally committed as revision 2226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:04:11 +00:00
Fabrice Bellard
56c4a18464 ctype.h is a common header
Originally committed as revision 2223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 19:58:34 +00:00
Mike Melanson
9937e686fe New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM
Originally committed as revision 2217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 04:10:59 +00:00
Alex Beregszaszi
8026c3b54c bump version numbers to 0.4.8
Originally committed as revision 2210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-05 14:41:53 +00:00
Michael Niedermayer
a17236c53c MingW patches by (Glenn Maynard <g_sf at zewt dot org>)
Originally committed as revision 2203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-04 08:21:27 +00:00
Michael Niedermayer
e91df37619 CODEC_ID_MPEGVIDEO
Originally committed as revision 2198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-02 08:34:29 +00:00
Mike Melanson
3ef8be2bfc initial commit for Id RoQ and Interplay MVE multimedia subsystems
Originally committed as revision 2195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-02 04:32:02 +00:00
Michael Niedermayer
77ee78bcdb 100l
Originally committed as revision 2193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 17:42:07 +00:00
Michael Niedermayer
67b04c1aef more fixes
Originally committed as revision 2192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 17:05:28 +00:00
Michael Niedermayer
bf5d0505c6 some fixes (still buggy though)
Originally committed as revision 2191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 16:40:25 +00:00
Mike Melanson
421e085903 skip preamble bytes
Originally committed as revision 2189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 15:53:01 +00:00
Michael Niedermayer
1149acdc17 asv2 encoding
Originally committed as revision 2187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 12:26:39 +00:00
Michael Niedermayer
9b56edf52a ASV2 decoder
Originally committed as revision 2186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 08:10:01 +00:00
Michael Niedermayer
cb231c4866 fixing unused f_code values
10l (forgot to update the regression test scores after the closed gop bit fix)

Originally committed as revision 2185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-30 19:40:30 +00:00
Michael Niedermayer
dc98fc8d17 10l (big vs. little endian)
Originally committed as revision 2184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-30 19:31:49 +00:00
Michael Niedermayer
12dccd4e60 bit_rate in mpeg1/2 should be 0x3FFFF for vbr or at least >= max_bitrate
Originally committed as revision 2180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 19:42:23 +00:00
Michael Niedermayer
69b0ff3acf 10l (closed gop bit)
Originally committed as revision 2178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 15:57:40 +00:00
Fabrice Bellard
8c5b5683ae fixed audio frame buffering problem (should correct problems on some streams) - faster synthesis filter - prototype 'parse_only' support
Originally committed as revision 2173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-28 13:38:06 +00:00
Fabrice Bellard
d99ce8d7de spelling fix
Originally committed as revision 2172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-28 13:30:03 +00:00
Michael Niedermayer
2d5e962b06 100l (forget to reset me.skip for b frames)
Originally committed as revision 2170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 22:26:18 +00:00
Roman Shaposhnik
47017dd870 * ffmpeg was *silently* rejecting to deinterlace NTSC DV. The problem
is generic for any video with yuv411. Seems like a trivial fix,
      but we really have to clean up all of the pix_fmt business a bit more.

Originally committed as revision 2169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 22:05:12 +00:00
Michael Niedermayer
22ddd60bc2 fixing CODEC_FLAG_GLOBAL_HEADER
Originally committed as revision 2167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 20:14:28 +00:00
Michael Niedermayer
922bc38d55 mpeg2 regression test
add mpeg2video_decoder, thats more consistant with the encoders, note, both mpeg1video and mpeg2video decoder will happily decode both mpeg1 and 2

Originally committed as revision 2166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 07:42:25 +00:00
Michael Niedermayer
e4eadb4b44 oooooops, having 2 Eterms open and doing cvs diff in one and cvs commit in the other sucks, especially if they are in different directories (MPlayer/main/libavcodec vs. ffmpeg/libavcodec)
Originally committed as revision 2165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-25 22:54:53 +00:00
Michael Niedermayer
029911d1c3 mpeg2 encoding
Originally committed as revision 2164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-25 22:47:32 +00:00
Michael Niedermayer
9b6a5b87a6 xvid edge bug (if i understand the mpeg4 spec correctly) autodetection
improved edge & padding bug detection for old files
tested with *.avi *.mp4 on my HD

Originally committed as revision 2163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-25 12:50:15 +00:00
Fabrice Bellard
802f454e5b removed unused variable
Originally committed as revision 2162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:28:41 +00:00
Fabrice Bellard
acaa20d7bd avoid warning
Originally committed as revision 2161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:21:06 +00:00
Fabrice Bellard
02c28fe629 avoid warning
Originally committed as revision 2160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:15:37 +00:00
Fabrice Bellard
df15903f27 removed unused variable
Originally committed as revision 2159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:13:48 +00:00
Fabrice Bellard
d9c533a521 removed unused variables
Originally committed as revision 2158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:08:22 +00:00
Fabrice Bellard
228ef9dde1 memmove fixes (Jon Burgess)
Originally committed as revision 2157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:01:33 +00:00
Fabrice Bellard
f5fe9d5f8c export int64_t_C as it is needed by libavformat.h
Originally committed as revision 2144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 16:00:34 +00:00
Fabrice Bellard
3519af27d8 when changing version, please keep my changes (win32 compile fix)
Originally committed as revision 2138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 13:57:42 +00:00
Michael Niedermayer
d6eb3c500a custom quant matrix encoding support
Originally committed as revision 2135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-22 22:18:08 +00:00
Michael Niedermayer
c3bf0288c9 PSX MDEC decoder, based upon some code from Sebastian Jedruszkiewicz <elf at frogger dot rules dot pl>
note: completly untested, no demuxer yet

Originally committed as revision 2134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-22 14:59:04 +00:00
Fabrice Bellard
9ee2c20e49 repeat_pict was never returned
Originally committed as revision 2132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-22 08:29:44 +00:00
Michael Niedermayer
743739d2c5 AC3 encoding patch ba (Ross Martin <ffmpeg at ross dot interwrx dot com>)
Originally committed as revision 2129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-20 07:57:00 +00:00
Michael Niedermayer
b928ec649c fixing chroma MC
minor cleanup
postprocessing support

Originally committed as revision 2128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-20 07:35:23 +00:00
Michael Niedermayer
a2f11b3c3a MC rounding fixed?
UMV
still not bugfree :(

Originally committed as revision 2127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-19 17:10:00 +00:00
Michael Niedermayer
8e39d4a744 fix AVFrame.reference (the frames are used for decoding future frames so it should be !=0)
fix some assert in utils.c (no bug but its saver if the released pointers are NULL)
fix double release_buffer() at the end

Originally committed as revision 2126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-19 16:18:48 +00:00
Michael Niedermayer
bd5a60201e use codec_tag for encoding too
Originally committed as revision 2125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-18 09:20:02 +00:00
Michael Niedermayer
f818862633 fixing thread safety, this may cause alignment problms (if it does than the stuff should be moved to MpegEncContext)
Originally committed as revision 2124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-15 19:58:27 +00:00
Roman Shaposhnik
36b58e850d * fixing a regression in mpeg encoder (not setting pix_fmt),
this is hardly the right way to do things, but it'll suffice for now.
   * patch from Gildas Bazin
                gbazin at altern dot org
   * fix for a 10l in configure
   * gcc 2.95.3 and Solaris build in general are not ready
     for -Werror in libavformat/Makefile

Originally committed as revision 2123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-12 18:20:29 +00:00
Mike Melanson
966df5b6b3 reverse earlier patch
Originally committed as revision 2121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-12 10:00:31 +00:00
Magnus Damm
b6e52719c6 Simplified and fixed altivec/altivec.h detection under Linux and Darwin (and others). Patch by Magnus Damm <damm@opensource.se>
Originally committed as revision 2120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-11 20:27:17 +00:00
Michael Niedermayer
62563c38d0 skip ext header missing message for msmpeg4v2
Originally committed as revision 2118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-10 21:11:45 +00:00
Mike Melanson
c965f94346 endian-conscious fix, courtesy of Sebastian Jedruszkiewicz
<elf -at- frogger.rules.pl>

Originally committed as revision 2107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 00:12:18 +00:00
Michael Niedermayer
6e23091277 check input pix_fmt
Originally committed as revision 2104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-05 14:08:28 +00:00
Michael Niedermayer
59c673d518 cleanup / fixes
Originally committed as revision 2103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-05 10:19:43 +00:00
Michael Niedermayer
769fc4660c clear bitstream buffers in AVCodec.flush()
Originally committed as revision 2101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-02 22:01:02 +00:00
Michael Niedermayer
6a686d58b4 FF_INPUT_BUFFER_PADDING_SIZE
Originally committed as revision 2100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-01 11:01:05 +00:00
Michael Niedermayer
ffba1dc02b make the h263 decoder more error tolerant
Originally committed as revision 2099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-01 11:00:03 +00:00
Ivan Kalvachev
302898fcbe Add GNU header, remove X includes, add more check for xvmc render packet
Originally committed as revision 2097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 14:15:28 +00:00
Michael Niedermayer
782b80d9dd namespace fix (triggered by gcc-alivec-bugfix + gentoo or so) by (Magnus Damm <damm at opensource dot se>)
Originally committed as revision 2096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 10:26:34 +00:00
Michael Niedermayer
f5ea4461ce patch for flv deblocking by (Garrick Meeker <gmeeker at theoryllc dot com>)
Originally committed as revision 2095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 09:58:47 +00:00
Michael Niedermayer
7d1c3fc1d6 rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c

Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 02:09:12 +00:00
Michael Niedermayer
80adda8efd debug stuff
Originally committed as revision 2093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 01:45:19 +00:00
Alex Beregszaszi
e7124ffc68 using av_abort instead exit
Originally committed as revision 2092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-28 16:35:42 +00:00
Alex Beregszaszi
c39c1dcae5 410p -> 411p
Originally committed as revision 2091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-27 20:45:09 +00:00
Alex Beregszaszi
3aff069b58 CLJR decoding support
Originally committed as revision 2090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-27 20:20:31 +00:00
Ivan Kalvachev
f23a68dff3 make MPV_frame_start fail on get_buffer failer
Originally committed as revision 2089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 23:31:13 +00:00
Ivan Kalvachev
4f1bb8a983 compile xvmc only when requested
Originally committed as revision 2088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 23:21:30 +00:00
Ivan Kalvachev
fb364ada4a initial XvMC support
Originally committed as revision 2087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 01:52:06 +00:00
Ivan Kalvachev
2e7b4c8442 initial XvMC support
Originally committed as revision 2085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 01:28:49 +00:00
Michael Niedermayer
ff862be5ed ati vcr2 uv swap
Originally committed as revision 2084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-26 00:49:46 +00:00
Alex Beregszaszi
0c938bd102 get_bits -> skip_bits
Originally committed as revision 2083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-25 13:36:08 +00:00
Alex Beregszaszi
669e5093f6 warning fixes
Originally committed as revision 2082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-25 13:15:16 +00:00
Michael Niedermayer
008f085172 vcr2 cleanup
Originally committed as revision 2081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 23:44:45 +00:00
Michael Niedermayer
e94bc1006f ATI VCR2 decoding support
Originally committed as revision 2079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 23:32:12 +00:00
Michael Niedermayer
14bc6e6371 fix
Originally committed as revision 2078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 21:52:41 +00:00
Michael Niedermayer
be3564edad ATI VCR1 decoder
Originally committed as revision 2076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 12:18:46 +00:00
Michael Niedermayer
17d71fb922 last frames & b frames encoding fix
Originally committed as revision 2075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-23 10:41:07 +00:00
Michael Niedermayer
e9174ba460 last frame decoding fix
Originally committed as revision 2074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-23 09:58:02 +00:00
Michael Niedermayer
a15e68deb6 bitstream changes to match JM7.2
Originally committed as revision 2073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-23 00:32:50 +00:00
Michael Niedermayer
3bb07d6165 default for slices is display order again
optional support for field slices & slices in coded order
and single component slices for svq1 (unfinished)

Originally committed as revision 2066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-20 14:48:05 +00:00
Michael Niedermayer
42928ccbc2 svq3 b frame slices fix
Originally committed as revision 2065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-18 11:47:14 +00:00
Michael Niedermayer
7a06ff148d AVCodec.flush()
ff_draw_horiz_band() in coded order / cleanup

Originally committed as revision 2064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 12:29:07 +00:00
Michael Niedermayer
cf48e6f8dc edge fix
Originally committed as revision 2053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-16 18:20:46 +00:00
Michael Niedermayer
6674a12696 fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy)
note, encoding wasnt affected by that

Originally committed as revision 2052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-16 18:12:14 +00:00
Michael Niedermayer
fa12b5469d fix qmin==qmax==1 && msmpeg4 && intra bug
Originally committed as revision 2051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-16 11:48:59 +00:00
Michael Niedermayer
e11530e780 flv1 fix
Originally committed as revision 2047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-15 20:22:22 +00:00
Michael Niedermayer
68a4889157 10l
Originally committed as revision 2042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-14 21:07:50 +00:00
Michael Niedermayer
ce3299529b 10l
Originally committed as revision 2041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-13 11:14:43 +00:00
Michael Niedermayer
d9e6a6c629 golomb rice code cleanup / simplify (~0.5% compression gain and slightly faster)
jpegls style golomb rice coder

Originally committed as revision 2040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-13 11:06:45 +00:00
Michael Niedermayer
25bd2349ed simpler
Originally committed as revision 2039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-12 22:15:11 +00:00
Michael Niedermayer
7e9e2b55c5 cleanup
Originally committed as revision 2038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-12 20:21:34 +00:00
Michael Niedermayer
ec0eeaa212 postprocessing support
fix duplicate frames bug?

Originally committed as revision 2031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 19:09:24 +00:00
Michael Niedermayer
dde384225e 1000l (forgot to commit)
Originally committed as revision 2030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 16:25:30 +00:00
Michael Niedermayer
e4748d63ea fix? flv escape codes
Originally committed as revision 2029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 10:24:47 +00:00
Mike Melanson
3d32b429d3 added the official VP3 IDCT (C implementation) as well as a grayscale
decoding mode

Originally committed as revision 2027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 05:16:25 +00:00
Michael Niedermayer
44a2950f72 flv cleanup / simplify
Originally committed as revision 2026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 00:15:27 +00:00
Garrick Meeker
d4f5d74a54 flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)
Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 23:10:59 +00:00
Romain Dolbeau
e45a2872fa 1) remove TBL support in PPC performance. It's much more useful to use the
PMCs, and with Apple's CHUD it's fairly easy too. No reason to keep useless
    code around
2) make the PPC perf stuff a configure option
3) make put_pixels16_altivec a bit faster by unrolling the loop by 4
patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 2022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 20:18:13 +00:00
Michael Niedermayer
0273ceebbd few more error checks
Originally committed as revision 2021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-08 22:12:17 +00:00
Michael Niedermayer
3f6f76afef the reference sw doesnt like some legal headers ...
Originally committed as revision 2020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-07 20:17:44 +00:00
Alex Beregszaszi
4b0e52f635 warning fix
Originally committed as revision 2019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-07 16:06:00 +00:00
Michael Niedermayer
05fd1577be mpeg 2 seeking fix
Originally committed as revision 2018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-07 11:25:31 +00:00
Alex Beregszaszi
bd7d1ea76b Optimized simple idct for arm by Frederic 'dilb' Boulay <dilb@handhelds.org>. Currently licensed under the GPLv2, but the author allowed to license it under the LGPL, feel free to change
Originally committed as revision 2017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-07 11:19:18 +00:00
Michael Niedermayer
e056044824 CODEC_FLAG_LOW_DELAY fix
Originally committed as revision 2016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-06 21:24:04 +00:00
Michael Niedermayer
27fc5352d0 merge U and V statistics, 33% reduction in memory requirement, compression rate better for some files worse for others, worst compression rate loss 0.05%
Originally committed as revision 2015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-05 14:18:07 +00:00
Michael Niedermayer
147e5200ca memleak fix by (Jake Page <jake at CS dot Stanford dot EDU>)
with minor fix by me

Originally committed as revision 2014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-05 08:31:08 +00:00
Alex Beregszaszi
aef3c69d8d moved frame_count to wmadeccontext
Originally committed as revision 2011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-04 20:32:04 +00:00
Alex Beregszaszi
f2899fb1ff uniformization (now it uses the same trace functions as h264, defined in common.h)
Originally committed as revision 2010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-04 20:26:04 +00:00
Alex Beregszaszi
2ca71015ef unwanted second definition of CHECKED_ALLOCZ
Originally committed as revision 2009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-04 17:16:53 +00:00
Romain Dolbeau
3efd4952df PPC fixes & clean-up patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 2008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-04 09:39:05 +00:00
Ivan Kalvachev
d55e93e48b Mpeg2 16x8 Patch by ("Ivan Kalvachev" <ivan at cacad dot com>)
Originally committed as revision 2006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 23:29:00 +00:00
Michael Niedermayer
aef95c8cb9 fix last_block_index<=0 bug
Originally committed as revision 2004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 22:35:39 +00:00
Michael Niedermayer
d9ced4ca4b cleanup / cosmetics
Originally committed as revision 2001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-02 16:50:20 +00:00
Michael Niedermayer
085565f71f 20% less memory needed for 8bit AC state (worst compression rate loss was 0.2%, all other files had <=0.1% loss)
Originally committed as revision 2000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-02 10:45:04 +00:00
Alex Beregszaszi
9085af0751 moved the tables into header files (and applied the 'static' patch). Nick: why do you like mergeing tables and code into one file, so making it unusable big?
Originally committed as revision 1999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-29 19:11:55 +00:00
Michael Niedermayer
a4adb60858 PPC970 patch + cpu-specific tuning support by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-29 00:39:57 +00:00
Sam Hocevar
2c094d6338 build error on Alpha patch by (Sam Hocevar <sam at zoy dot org>)
Originally committed as revision 1996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-29 00:23:30 +00:00
Michael Niedermayer
dc939fd588 fix CHECKED_ALLOCZ(0)
Originally committed as revision 1993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-28 22:51:42 +00:00
Michael Niedermayer
1e79606dd6 gcc 2.95 workaround
Originally committed as revision 1992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-28 19:19:00 +00:00
Mike Melanson
2e26c8d204 - fix PLANE_PRED8x8 prediction (H/V are swapped, this is correct!)
- fix B-frame motion compensation
- cleanup motion vector math and other blocks of common code

Originally committed as revision 1991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-27 15:05:29 +00:00
Mike Melanson
89ebf4e85e Fix third pixel motion compensation
Originally committed as revision 1990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-27 15:03:58 +00:00
Michael Niedermayer
8e937a4ad1 2x100l
Originally committed as revision 1989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-27 12:58:40 +00:00
Michael Niedermayer
cb482d2511 blinking blocks around thin vertical lines and dots bugfix
Originally committed as revision 1988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-26 11:31:34 +00:00
Ivan Kalvachev
1dff7d56ad DMV support patch by ("Ivan Kalvachev" <ivan at cacad dot com>)
Originally committed as revision 1985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-23 22:32:15 +00:00
Michael Niedermayer
2a250222e6 CONFIG_ENCODERS cleanup
Originally committed as revision 1984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-22 11:08:22 +00:00
Michael Niedermayer
4fb518c392 the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>)
Originally committed as revision 1983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-21 01:11:31 +00:00
Michael Niedermayer
daab329603 fixing concealment MVs prediction
Originally committed as revision 1982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-21 00:50:40 +00:00
Alex Beregszaszi
eb60dddc2e some warning fixes
Originally committed as revision 1977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 15:21:25 +00:00
Mike Melanson
a7d3e7729a don't step on the context
Originally committed as revision 1976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 02:38:29 +00:00
Mike Melanson
4e8eed2f3b 4, not 2
Originally committed as revision 1975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 02:22:25 +00:00
Mike Melanson
da3b975630 added support for B-frames and multiple slices
Originally committed as revision 1974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-19 01:44:44 +00:00
Mike Melanson
ccdaf63dc3 fix identifier to fix compilation
Originally committed as revision 1973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-19 01:25:48 +00:00
Michael Niedermayer
c009df3f86 make ff_emulated_edge_mc() independant of MpegEncContext
Originally committed as revision 1971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-18 22:00:23 +00:00
Nick Kurshev
cebe4432e9 optimization: merge phases 0 and 1
Originally committed as revision 1970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-18 06:37:23 +00:00
Michael Niedermayer
b1e6b355f7 lossless mjpeg encoding (planar yuv & RGB) and somerelated bugfixes
Originally committed as revision 1968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-17 22:48:51 +00:00
Nick Kurshev
c3b4e0eb15 to be more precise
Originally committed as revision 1967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-17 07:48:50 +00:00
Nick Kurshev
860208a400 finally works now
Originally committed as revision 1966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-17 07:22:31 +00:00
Alex Beregszaszi
971eb237b7 10l
Originally committed as revision 1965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 15:06:31 +00:00
Fabrice Bellard
855127bc92 fixed segfault if sequence header has not been found before slice decoding
Originally committed as revision 1964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 14:09:18 +00:00
Michael Niedermayer
63efe9a7e6 cleanup
pegasus "pseudo yuv" (=RCT) lossless decoding support
bigendian fix?

Originally committed as revision 1963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 13:19:30 +00:00
Alex Beregszaszi
1433e6c499 a bottle of coke (=0.5l)
Originally committed as revision 1962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 10:30:01 +00:00
Nick Kurshev
0b15bfe7cc some useful warning
Originally committed as revision 1961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 08:28:43 +00:00
Michael Niedermayer
e4d2b1f39a lossless jpeg decoding support
Originally committed as revision 1959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-15 00:15:57 +00:00
Michael Niedermayer
11e659c203 golomb rice codes
use gradients instead of prediction errors as context model
store independant quantization tables for each point
merge contexts with opposit sign

Originally committed as revision 1957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-13 21:31:28 +00:00
Zdenek Kabelac
2248dd89ae * removed redundant includes (they were even wrongly used)
Originally committed as revision 1953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-13 09:36:13 +00:00
Nick Kurshev
b8414bbd16 RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders. Author unknown, code from a mplayerhq (originally from public domain player for Amiga
at http://www.honeypot.net/audio)

Originally committed as revision 1952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-13 08:31:40 +00:00
Fabrice Bellard
a9722aa6e5 works with old gcc versions too
Originally committed as revision 1948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-10 22:45:43 +00:00
Michael Niedermayer
c2f1b2cb71 reducing memory consumption (reducing number of contexts and other stuff, no noticeable loss in compression rate)
Originally committed as revision 1942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-09 23:55:16 +00:00
Michael Niedermayer
7408ad05cc 10l
Originally committed as revision 1940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-09 19:11:50 +00:00
Michael Niedermayer
5e20f836b3 FFV1 codec (our very simple lossless intra only codec, compresses much better then huffyuv)
Originally committed as revision 1939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-09 02:24:51 +00:00
Michael Niedermayer
cd394651c9 more comments
Originally committed as revision 1938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-07 22:21:08 +00:00
Michael Niedermayer
8f8c0800f8 cleanup
Originally committed as revision 1932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-06 10:04:15 +00:00
Zdenek Kabelac
bc634f6fc2 * 3gp patch by Joca
Originally committed as revision 1931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-05 14:30:52 +00:00
Michael Niedermayer
4b465299f3 4xm adpcm
Originally committed as revision 1928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-03 13:58:44 +00:00
Michael Niedermayer
b60ad448de fix 4xm yuv->rgb565 transform
Originally committed as revision 1925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-01 10:56:36 +00:00
Michael Niedermayer
5be8a3737b 10l (array[-1] ...)
Originally committed as revision 1924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-01 10:13:29 +00:00
Michael Niedermayer
8809cfee0a 4xm codec
Originally committed as revision 1923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-01 00:56:05 +00:00
Mike Melanson
642d7e842e revising and fixing motion vectors, squished block unpacking bug that
led to memory stomps, added support for funky arbitrary dimensions

Originally committed as revision 1922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-31 07:56:58 +00:00
Michael Niedermayer
ba88675b1d rgb15 & rgb16 fix
Originally committed as revision 1921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-30 13:27:21 +00:00
Michael Niedermayer
61ccfcc009 (truncated) unary binerization
unary k-th order exp golomb binarization

Originally committed as revision 1920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-30 01:05:48 +00:00
Michael Niedermayer
cf713bb862 fix mpeg1/2 decoding if there are no 0 bytes after the bitstream
print mpeg1/2 startcodes support

Originally committed as revision 1919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-30 00:02:25 +00:00
Michael Niedermayer
4cdfaf8093 mpeg1 decoding fix
Originally committed as revision 1917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-29 21:34:25 +00:00
Michael Niedermayer
d592f67fb6 CABAC
note, this is just the CABAC (de)coder not complete h264-cabac support

Originally committed as revision 1915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-28 18:44:52 +00:00
Mike Melanson
e2a7bb282d placeholder IDs for 4xm A/V codecs
Originally committed as revision 1913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-28 02:40:09 +00:00
Michael Niedermayer
db6e779506 motion vector vissualization for mpeg1/2
mpeg1/2 cleanup/bugfix
error resilience bugfix

Originally committed as revision 1911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-27 12:31:03 +00:00
James Stembridge
ebc51331a8 set pix_fmt in rv10 patch by (James Stembridge <jstembridge at users dot sourceforge dot net>)
Originally committed as revision 1909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-26 21:40:58 +00:00
Mike Melanson
59fcece910 rework SVQ1 decoder to use more intuitive VLC tables as well as ffmpeg's
native VLC facilities; also added decoding of some more frame header
fields

Originally committed as revision 1907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-26 17:44:24 +00:00
Falk Hüffner
4cfbf61bf1 Warning and compatibility fixes.
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-24 18:48:30 +00:00
Michael Niedermayer
b534c7f92a some benchmarking code
Originally committed as revision 1901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-23 18:04:34 +00:00
Michael Niedermayer
9fe690c88f optimize
Originally committed as revision 1900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-23 16:04:24 +00:00
Michael Niedermayer
14b74d381a cleanup
Originally committed as revision 1899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-23 12:58:46 +00:00
Michael Niedermayer
d07f90433a truncated h263 decoding support / H263-ES "demuxer"
Originally committed as revision 1898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-22 14:12:22 +00:00
Michael Niedermayer
a9a07762b8 altivec gcc-3 fixes by (Magnus Damm <damm at opensource dot se>)
Originally committed as revision 1896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-21 17:50:57 +00:00
Zdenek Kabelac
31d8cb134d * compile fixes by Mitch at Bits.COM
Originally committed as revision 1894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-20 17:36:49 +00:00
Michael Niedermayer
6d50b2e673 cleanup
Originally committed as revision 1893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-20 01:03:40 +00:00
Wolfgang Hesseler
3859736446 CONFIG_ENCODERS patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 1892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-20 00:42:14 +00:00
Michael Niedermayer
3d2e8cce3a ASV1 codec
with postprocessing support :)

Originally committed as revision 1891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-19 13:30:59 +00:00
Mike Melanson
22493ab9cb fix subtle logic problem in block unpacker that leads to incorrect token
decoding which leads to segfaults

Originally committed as revision 1890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-19 01:22:46 +00:00
Michael Niedermayer
6d71b38207 improving 3IV1 support (still far from perfect) note, disabled as it requires some checks in the inner loops which would slow things down a tiny bit
Originally committed as revision 1889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-18 00:07:17 +00:00
Michael Niedermayer
62cf114b59 seems i guessed correctly (last 411 chroma block isnt scaled but cut and reordered)
Originally committed as revision 1888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-16 21:47:02 +00:00
Michael Niedermayer
377ec88802 bigendian fix
Originally committed as revision 1887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-16 19:18:53 +00:00
Michael Niedermayer
4c701ac80d CODEC_CAP_DRAW_HORIZ_BAND
Originally committed as revision 1886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-16 10:14:25 +00:00
Michael Niedermayer
669ac79cf5 moving the svq3 motion compensation stuff to dsputil (this also means that existing optimized halfpel code is used now ...)
Originally committed as revision 1885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-15 23:30:03 +00:00
Falk Hüffner
3db320ea0c Warning fixes.
Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-15 01:34:47 +00:00
Michael Niedermayer
94d44f455c optimize
Originally committed as revision 1883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-15 00:43:43 +00:00
Michael Niedermayer
d8085ea727 cleanup
Originally committed as revision 1882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 23:08:01 +00:00
Michael Niedermayer
3bb10888ff libmpeg2 style bitstream reader 17 vs 16 bit bugfix
Originally committed as revision 1881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 22:38:58 +00:00
BERO
41fda91d09 aligned dsputil (for sh4) patch by (BERO <bero at geocities dot co dot jp>)
Originally committed as revision 1880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 17:46:55 +00:00
BERO
d4961b3523 fastdiv patch by (BERO <bero at geocities dot co dot jp>) with fixes & cleanup by me
Originally committed as revision 1879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 15:12:13 +00:00
Michael Niedermayer
b82cdc7278 make sh4 IDCT optional, so the user can choose
Originally committed as revision 1878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 12:32:17 +00:00
BERO
0c6bd2ea0a sh4 optimized idct & bswap patch by (BERO <bero at geocities dot co dot jp>)
Originally committed as revision 1877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 12:18:49 +00:00
joca@rixmail.se
891f64b339 AMR-NB audio support patch by (<joca at rixmail dot se>)
Originally committed as revision 1876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 11:40:16 +00:00
Michael Niedermayer
17fb5fd34e libmpeg2 style bitstream reader fixes
Originally committed as revision 1875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 10:55:59 +00:00
Michael Niedermayer
924311cd98 some libmpeg2 style bitstream reader fixes (no dv doesnt yet work with it)
Originally committed as revision 1874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 10:54:25 +00:00
BERO
05858889b2 decode motion & modulo optimize patch by (BERO <bero at geocities dot co dot jp>)
Originally committed as revision 1872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 01:08:02 +00:00
BERO
d8e00c0997 bitstream reader optimize patch by (BERO <bero at geocities dot co dot jp>)
Originally committed as revision 1871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 00:32:22 +00:00
BERO
7062fad6e9 small optimize mpeg12.c/get_qscale patch by (BERO <bero at geocities dot co dot jp>) and the return idea by arpi
Originally committed as revision 1870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-13 23:38:51 +00:00
Michael Niedermayer
f7a8c179a7 optimizations
Originally committed as revision 1869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-13 13:38:09 +00:00
Zdenek Kabelac
d04fdff161 * oops - reversed last commit
Originally committed as revision 1868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-13 08:21:35 +00:00
Michael Niedermayer
4704097a2b optimizations
Originally committed as revision 1867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-13 00:46:42 +00:00
Michael Niedermayer
f138f88364 100l (document buffer padding requirements)
Originally committed as revision 1866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 23:03:00 +00:00
Zdenek Kabelac
2def278a45 * sync
Originally committed as revision 1865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 17:59:26 +00:00
Zdenek Kabelac
445ad18d65 * link libfaad when needed
Originally committed as revision 1862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 12:32:33 +00:00
Zdenek Kabelac
aea22133c4 * quiet missing EOF \n warning
Originally committed as revision 1861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 12:31:02 +00:00
Zdenek Kabelac
280bd7b7de * support for AAC audio streams via libfaad
* could be complied with runtime linking of libfaad (CONFIG_FAADBIN)
* missing/untested support for raw AAC streams (maybe there will be
  just one entry for aac)
* missing configure check for libfaad/config option

Originally committed as revision 1857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 10:55:19 +00:00
Mike Melanson
74c0ac1274 fix image buffer leak on keyframes, add more error condition checks
Originally committed as revision 1856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 04:28:35 +00:00
Roman Shaposhnik
affd55a132 * fixing a bug in avpicture_layout (PAL8 wasn't handled properly)
* adding regression tests for all pix_fmt conversions
   * making libavtest part of the default testsuite

Originally committed as revision 1855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 02:53:43 +00:00
Dan Christiansen
04431ca1c0 ranlib patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 1853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-11 11:26:35 +00:00
Michael Niedermayer
0549302188 more idct_permute docs
Originally committed as revision 1852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-11 10:19:05 +00:00
Mike Melanson
96a7e73b24 fix motion vector decoding bug and reinstate interframes
Originally committed as revision 1851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-11 04:47:45 +00:00
Mike Melanson
463d086bb5 get those permutations straight
Originally committed as revision 1850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-11 02:51:07 +00:00
Mike Melanson
892fc83e88 squashed a bunch of subtle array indexing bugs, fixed block mapping
added more error checking, added (and enabled, for the time being) a
keyframe-only mode

Originally committed as revision 1849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-10 21:46:17 +00:00
Michael Niedermayer
85ea6b2958 print obmc bug info only if avctx->debug&1
Originally committed as revision 1848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-10 21:35:29 +00:00
Mike Melanson
0433188259 dump the shady binary search logic (the part that binary searches
through unsorted data)

Originally committed as revision 1847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-10 16:06:33 +00:00
Mike Melanson
89a79364ed change the way the ImageDescription is passed to the decoder
Originally committed as revision 1846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-10 04:30:29 +00:00
Michael Niedermayer
8b82a95675 svq3 decoder by anonymous
Originally committed as revision 1845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-09 22:16:14 +00:00
Mike Melanson
a466e345e4 correct the custom coding mode alphabet, add some validation on the
motion vectors (which are not completely correct yet)

Originally committed as revision 1844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-08 02:01:17 +00:00
Michael Niedermayer
5fd74135ad more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 1843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 23:32:45 +00:00
Roman Shaposhnik
631670888d * introducing new public interface in imgconvert.c
+ avcodec_get_pix_fmt
         converts textual representation of pixel format into
	 the actual id. Complements avcodec_get_pix_fmt_name.
       + avpicture_layout
         serializes given picture into a flat array.
	 Complements avpicture_fill.

   * adding a new option -pix_fmt to the ffmpeg, in order to control
     pixel format for the codecs that do support it, like rawvideo,
     for example.

   * reducing complexity of the rawvideo codec by splitting it in two
     and making it more reliable via hooking up to the avpicture_layout.
     Plus adding new FourCC as described here: http://www.fourcc.org

   * A tiny fix for avienc.c that makes avih and video strf consistent
     regarding codec FourCC.

Originally committed as revision 1842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 19:01:45 +00:00
Mike Melanson
4e80eb21af looking better all the time! motion compensation is starting to work
Originally committed as revision 1841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 12:28:36 +00:00
Mike Melanson
44ae98ddef fixed buffer allocation logic (hopefully) so that decoder does not crash
most ffmpeg-enabled apps; added a bunch on motion compensation stuff
which is effectively disabled at the moment while details are worked out

Originally committed as revision 1840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 02:30:37 +00:00
Michael Niedermayer
e20c40697c release buffer cleanup
Originally committed as revision 1839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-06 20:43:37 +00:00
Mike Melanson
61873c4a44 fix decoder so that ffmpeg does not crash, at least not right away
Originally committed as revision 1838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-06 03:11:20 +00:00
Michael Niedermayer
814b648c75 Tiny patch for OpenBSD by (Björn Sandell <biorn at dce dot chalmers dot se>)
Originally committed as revision 1837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 23:22:56 +00:00
Michael Niedermayer
eb14c71360 doxy
Originally committed as revision 1832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 10:00:57 +00:00
Mike Melanson
d86053a416 first pass at a new VP3 video decoder
Originally committed as revision 1831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 02:54:15 +00:00
Arpi
9616355144 looks better (req. for mp-G2)
Originally committed as revision 1830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-03 19:26:52 +00:00
Roman Shaposhnik
ed543377a4 making it nicer to the client who doesn't expect errors messages in stdout
Originally committed as revision 1829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-01 22:45:09 +00:00
Roman Shaposhnik
880e8ba730 * fixing NTSC frame rate for DV streams
* let ffmpeg preserve 'aspect_ratio' for recoding.
  Do we want to make it tweakable from the command line ?

Originally committed as revision 1827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-29 01:51:38 +00:00
Michael Niedermayer
cfcff63685 10l
Originally committed as revision 1826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 13:44:01 +00:00
Michael Niedermayer
067ff8b1ee tired
Originally committed as revision 1825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 01:33:39 +00:00
Michael Niedermayer
bb463d8102 10l (returning negative number of consumed bytes if the first startcode of a frame was split between 2 buffers)
Originally committed as revision 1824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 01:11:26 +00:00
Michael Niedermayer
7c9375f15a 10l
Originally committed as revision 1823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 20:03:17 +00:00
Michael Niedermayer
a0c8317396 2pass stats fix (by ffdshow cvslog)
Originally committed as revision 1822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 19:46:00 +00:00
Michael Niedermayer
93d4546633 typo in a comment ...
Originally committed as revision 1821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 16:18:35 +00:00
Michael Niedermayer
d90cf87b90 fixing mixed dr1 + internal buffers
Originally committed as revision 1820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 00:29:48 +00:00
Michael Niedermayer
5755c27f47 doc fixes (forgot to commit)
Originally committed as revision 1819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 00:21:53 +00:00
Zdenek Kabelac
5d23497493 * more strict types
Originally committed as revision 1815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 08:56:14 +00:00
Michael Niedermayer
80097bbf71 cleanup mpeg1/2 bitstream parser
Originally committed as revision 1813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 13:55:12 +00:00
Zdenek Kabelac
5cd62665f0 * fixed initialization and some memleak
* filling more avcodecs variables
* extending/improving mov parsing (unfinished)

Originally committed as revision 1812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 08:36:39 +00:00
Fabrice Bellard
b5ff5e22e9 rgb555 alpha extraction fix
Originally committed as revision 1810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 22:37:39 +00:00
Fabrice Bellard
0469baf14f added img_get_alpha_info()
Originally committed as revision 1809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 21:20:46 +00:00
Fabrice Bellard
0a05e4940b fixed PIX_FMT_YUV422 conversions
Originally committed as revision 1806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 15:15:59 +00:00
Fabrice Bellard
0a9ad8d13d loss fixes (thanks to Daniel Serpell) - shrink22 fix
Originally committed as revision 1805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 15:01:37 +00:00
Fabrice Bellard
e352ff0895 added all missing UV conversions
Originally committed as revision 1803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 14:38:52 +00:00
Fabrice Bellard
7e7e594092 almost exhaustive image conversion support
Originally committed as revision 1802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 13:53:46 +00:00
Fabrice Bellard
c50c0bc88b accurate YUV to RGB and RGB to YUV conversions - added comments
Originally committed as revision 1801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 12:12:58 +00:00
Fabrice Bellard
b6147995ac YUV formats/gray formats are correctly defined - added format loss information - preliminary JPEG YUV formats support
Originally committed as revision 1800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 16:18:44 +00:00
Fabrice Bellard
59cf08ce90 fixed static init
Originally committed as revision 1799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 16:16:52 +00:00
Fabrice Bellard
fab219971e new YUV formats for correct JPEG YUV support - added automatic pixel format conversion guessing (minimize loss and size)
Originally committed as revision 1798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 16:15:43 +00:00
Fabrice Bellard
6d93f19449 rgba32 convert
Originally committed as revision 1794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-19 16:21:25 +00:00
Mike Melanson
a44f8ccbf8 code redundancy reduction, courtesy of suxen_drol -at- hotmail.com
Originally committed as revision 1790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-19 13:30:09 +00:00
Michael Niedermayer
68bf295e53 better? default thresholds, if this is worse for any files, then tell us ASAP
Originally committed as revision 1787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 12:50:00 +00:00
Michael Niedermayer
0426af3111 mpeg2 qscale flag
a few bugfixes for the C pp code
minor optimization

Originally committed as revision 1786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 12:45:34 +00:00
Michael Niedermayer
9534223539 segfault fix
Originally committed as revision 1784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-17 19:53:36 +00:00
Arpi
521221cf4b Compile a52 util functions too
Originally committed as revision 1781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-16 20:04:20 +00:00
Arpi
1a7c3c8562 Utility functions (CRC calc & float->int converters)
[imported from MPlayer, based on a52dec's libao]

Originally committed as revision 1780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-16 20:03:07 +00:00
Michael Niedermayer
6814a25c67 meanigfull dr1 comment
Originally committed as revision 1779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-16 19:57:57 +00:00
Roman Shaposhnik
6e023978cf Changes for SPARC/Solaris compatibility. Now it should be possible to
build and test ffmpeg on SPARC/Solaris 8+ out of the box.

Originally committed as revision 1778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-15 22:29:37 +00:00
Mike Melanson
deabd4fdde native Indeo3 decoder implementation
Originally committed as revision 1777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-15 10:12:38 +00:00
Michael Niedermayer
129dfab2c7 10l
Originally committed as revision 1774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 20:02:12 +00:00
Michael Niedermayer
9acbbd16b9 check validity of some flags
Originally committed as revision 1773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 14:06:21 +00:00
Michael Niedermayer
af6e2fed04 minor cleanup / some warning fixes
Originally committed as revision 1772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 13:44:38 +00:00
Michael Niedermayer
7db52b63da 10l (hadamard fix)
Originally committed as revision 1771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 09:58:16 +00:00
Michael Niedermayer
7d6e42792d 10l
Originally committed as revision 1770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 22:53:26 +00:00
Michael Niedermayer
30f73fc72e faster 8x8 & 16x16 plane prediction by skal (massimin at planet-d dot net)
Originally committed as revision 1769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 22:49:54 +00:00
Michael Niedermayer
487bce53eb 10l (use before malloc)
Originally committed as revision 1768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 15:00:32 +00:00
Michael Niedermayer
37b787f124 some checks to avoid segfaults if the decoder is feeded with junk
Originally committed as revision 1757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 22:53:03 +00:00
Michael Niedermayer
9c00c3af90 100l (mpeg2 decoding fixed)
Originally committed as revision 1756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 21:15:17 +00:00
Michael Niedermayer
2f5feea48b 10l (adaptve quant fix)
Originally committed as revision 1752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 09:20:45 +00:00
Sascha Sommer
b5e34cb1c1 #undef DATADIR before inclusion of windows.h patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 1749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 18:02:17 +00:00
Michael Niedermayer
8a3b6f92e0 10l
Originally committed as revision 1747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 14:07:18 +00:00
Michael Niedermayer
7bc9090a41 simplified adressing of most mb based arrays (mb_x + mb_y*s->mb_stride) now instead of mb_x + mb_y*mb_width and 1+mb_x + (1+mb_y)*(mb_width+2) and ... mixture
more direct use of the new mb_type stuff instead of codec specific stuff
runtime mb_type debug output h264/h263 variants/mpeg1/2/4
error concealment /resilience for mpeg1/2
various minor optimizations

Originally committed as revision 1746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 13:18:38 +00:00
Michael Niedermayer
84876d3677 b frames + slices bugfix
Originally committed as revision 1745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 08:47:08 +00:00
Michael Niedermayer
0aae3f43e4 fixing slice decoding, dunno why the regression tests didnt catch that ...
Originally committed as revision 1744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 01:39:53 +00:00
Michael Niedermayer
8b92b792d1 some checks to avoid segfault
Originally committed as revision 1740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-07 19:23:21 +00:00
Michael Niedermayer
9f2e61b6a3 pict_type & quality fix
Originally committed as revision 1739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-06 21:03:24 +00:00
Richard Hodges
be6784dc8a fix pts type in avcodec.h for WIN32 patch by (Richard Hodges <rh at matriplex dot com>)
Originally committed as revision 1738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-06 19:45:02 +00:00
François Revol
c8816e0167 Fix for buggy (?) g++ (bailling out for beosaudio.cpp)
Originally committed as revision 1736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-05 12:11:10 +00:00
Michael Niedermayer
95c2634838 #ifdef TRACE printf() -> tprintf()
Originally committed as revision 1735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-05 10:08:48 +00:00
Michael Niedermayer
1924f3ce36 multiple reference frames support
Originally committed as revision 1734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 20:59:50 +00:00
Michael Niedermayer
0da71265d8 H264 decoder & demuxer
Originally committed as revision 1732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 14:42:28 +00:00
Michael Niedermayer
6aafe463e5 support for DV aspect ratio and erroneous audio patch by (Dan Dennedy (dan at dennedy dot org) and Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 13:45:45 +00:00
Michael Niedermayer
5064357588 fixing mem corruption
Originally committed as revision 1729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 13:36:07 +00:00
Michael Niedermayer
2c19981a93 10l
Originally committed as revision 1725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-02 10:18:29 +00:00
Michael Niedermayer
4d2a48349d msmpeg4 2pass support & some related cleanup
Originally committed as revision 1724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-02 09:57:34 +00:00
Michael Niedermayer
1f9aea9b91 fixing msmpeg4v2 encoding
Originally committed as revision 1723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-01 15:38:01 +00:00
Michael Niedermayer
309522372c some static -> dynamic alloc & 16->8 bit
Originally committed as revision 1722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-31 11:13:14 +00:00
Sascha Sommer
8437bd7bc8 mangle on mingw32 patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 1721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-31 01:49:18 +00:00
Michael Niedermayer
9b8709d135 mpeg1 slice encoding support
Originally committed as revision 1720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-30 19:26:01 +00:00
Michael Niedermayer
5acaa5e1df simplify slice encoding (variance of packet size is practically identical)
Originally committed as revision 1719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-30 16:22:08 +00:00
Michael Niedermayer
99d33fa3e6 faster C linear blend & interpolate deinterlacers
Originally committed as revision 1716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-29 14:06:24 +00:00
Michael Niedermayer
134eb1e504 fixing cliping of c deinterlacers
5 tap lowpass deinterlacer

Originally committed as revision 1715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-29 13:31:12 +00:00
Roman Shaposhnik
deb0a292b0 AVI type 1 support patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-28 14:05:55 +00:00
Sebastien Bechet
e8b478c131 I420 patch by (Sebastien Bechet <s dot bechet at av7 dot net>)
Originally committed as revision 1710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 23:25:18 +00:00
François Revol
62790b9917 debug stuff only for DEBUG :)
Originally committed as revision 1708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 16:46:20 +00:00
Michael Niedermayer
8e0a3db735 faster hadamard transform
Originally committed as revision 1707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 11:29:45 +00:00
Michael Niedermayer
3b0da3f92f 10l
Originally committed as revision 1706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 10:39:34 +00:00
Nick Kurshev
3a694b0456 binary compatibility fix (workaround for r.147, r.148)
Originally committed as revision 1702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-24 08:52:32 +00:00
Michael Niedermayer
1984f6359e user setable quantizer bias
Originally committed as revision 1701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-22 12:09:02 +00:00
Michael Niedermayer
65f7062dfa binary compatibility fix
Originally committed as revision 1700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-22 07:59:36 +00:00
Michael Niedermayer
67116af9c2 10l
Originally committed as revision 1699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-22 00:00:53 +00:00
Michael Niedermayer
643389567e bitstream tracing support
Originally committed as revision 1698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-21 23:13:35 +00:00
Leon van Stuivenberg
5e0daa0ac5 new versions; put_pix's about 20% faster, get_pix 3.5x faster. patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 1697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-21 22:50:54 +00:00
Michael Niedermayer
d5a2117228 better non conformant divx packed bitstream detection, so unpacked (no b frames) divx MPEG4-ES streams can be read
Originally committed as revision 1695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-20 17:52:30 +00:00
Michael Niedermayer
46b4feec06 error resilience cleanup (its faster too...)
Originally committed as revision 1692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-20 01:00:57 +00:00
Leon van Stuivenberg
5031c5b47b clear_blocks_mmi() optimization by BroadQ (and patch by Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 1691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-18 20:08:57 +00:00
Michael Niedermayer
a05c8d7177 merging a small amount of the changes from BroadQ, the rest is either not clean / doesnt apply / or is PS2 specific (someone with a PS2 should merge/send a patch for the later)
Originally committed as revision 1690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-18 17:22:23 +00:00
Michael Niedermayer
c5a9ab69c2 qmin/qmax cleanup
Originally committed as revision 1689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-17 11:02:33 +00:00
Michael Niedermayer
6c949d129b 10l
Originally committed as revision 1688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-17 09:53:39 +00:00
Fred Rothganger
e8750b0076 rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 21:03:20 +00:00
Michael Niedermayer
b536d0aad2 field pic decoding cleanup
Originally committed as revision 1686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 20:22:22 +00:00
Michael Niedermayer
1c6dcb0f42 cleaner & more flexible edge bug workaround
Originally committed as revision 1685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-15 20:47:09 +00:00
Michael Niedermayer
d518aebdee halfpel MC doxy
Originally committed as revision 1684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-15 02:06:09 +00:00
Alex Beregszaszi
5beaa01b4a 10l
Originally committed as revision 1683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-14 11:21:19 +00:00
Zdenek Kabelac
c506fb40a8 * fixing cut&paste bug
Originally committed as revision 1682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-14 07:24:25 +00:00
Michael Niedermayer
e13f860ac8 oops
Originally committed as revision 1679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 23:12:23 +00:00
Michael Niedermayer
a4e8b58761 rvlc decoding support
Originally committed as revision 1678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 23:09:18 +00:00
François Revol
7fa140154f /me should really learn doxygen :)
Originally committed as revision 1677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 21:57:24 +00:00
Zdenek Kabelac
5d4ce4574b * added more options
Originally committed as revision 1675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 19:49:58 +00:00
Zdenek Kabelac
59e0ac8ea5 * cosmetic doc fix
Originally committed as revision 1674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 19:48:46 +00:00
Zdenek Kabelac
4a899dd689 * moved os_support.h into libavcodec
* added few more functions for os2

Originally committed as revision 1672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 18:57:33 +00:00
Michael Niedermayer
49313ba4c1 100l
Originally committed as revision 1667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:23:07 +00:00
Michael Niedermayer
14bea432f1 per context frame_rate_base, this should finally fix frame_rate related av sync issues
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Slavik Gnatenko
69db4e10f2 restoring OS/2 compatibility patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-11 12:09:13 +00:00
Zdenek Kabelac
a77146abfe * 'externaly' visible option list begins avoptions_ prefix
* fixed FLAG AVOption

Originally committed as revision 1661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-10 11:48:33 +00:00
Michael Niedermayer
161fe66e36 even more fixes
Originally committed as revision 1660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-10 11:24:10 +00:00
Zdenek Kabelac
e5247b5f57 * oooooops - sorry for this one - wrong logic
empty dsp_mask - no change
  FORCE - add,  no FORCE - enabled bits are masked out

Originally committed as revision 1659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-10 11:22:30 +00:00
Michael Niedermayer
c545ddcaac more fixes
Originally committed as revision 1658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-10 11:12:47 +00:00
Michael Niedermayer
8952804ccc more fixes
Originally committed as revision 1657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-10 10:40:26 +00:00
Michael Niedermayer
4a13cd77b3 bug workaround
Originally committed as revision 1656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-10 10:36:17 +00:00
Alex Beregszaszi
ce2749d2c4 simplified
Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-09 16:07:19 +00:00
Michael Niedermayer
7b3da20487 looks better IMHO
Originally committed as revision 1654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 23:43:34 +00:00
Michael Niedermayer
7004ffb3d7 merging fourcc with codec_tag
Originally committed as revision 1645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 01:40:52 +00:00
Zdenek Kabelac
63f6082633 * support FF_MM_FORCE
Originally committed as revision 1643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-07 13:49:10 +00:00
Zdenek Kabelac
bec89a840f * more generic avoption_parse
* reused help ptr for sub ptr

Originally committed as revision 1642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-07 13:48:02 +00:00
Max Krasnyansky
bdfcbbed79 Frame rate emulation patch by (Max Krasnyansky <maxk at qualcomm dot com>)
Originally committed as revision 1641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-07 12:37:49 +00:00
Michael Niedermayer
6486396546 more cosmetics so that doxygen output is readable ...
Originally committed as revision 1640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 15:56:56 +00:00
Michael Niedermayer
a1adf436cb typo
Originally committed as revision 1639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 14:42:07 +00:00
Michael Niedermayer
277f4827fc doxy / cosmetics
Originally committed as revision 1638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 14:37:37 +00:00
Michael Niedermayer
b304569aff doxy / cosmetics
Originally committed as revision 1637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 13:51:18 +00:00
Michael Niedermayer
1ab3d6691e typos & cosmetics
Originally committed as revision 1636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 13:22:51 +00:00
Michael Niedermayer
105645219a altivec compilation fixes by (Magnus Damm <damm at opensource dot se>)
Originally committed as revision 1635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 12:06:00 +00:00
Michael Niedermayer
983e3246b7 per file doxy
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:32:04 +00:00
Michael Niedermayer
d33c949cd3 doxy
Originally committed as revision 1633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:25:55 +00:00
Michael Niedermayer
77c92c2d9f cosmetics
Originally committed as revision 1632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 10:26:19 +00:00
Michael Niedermayer
3b8b687dad doxygen config file, so ppl just have to call doxygen in the libavcodec dir and a beatifull doxy is generated ;)
Originally committed as revision 1631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 10:21:57 +00:00
Michael Niedermayer
24641185c1 more dox
Originally committed as revision 1630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 10:08:15 +00:00
Michael Niedermayer
2a5700de18 more idiot proof dox
Originally committed as revision 1629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 02:04:54 +00:00
Michael Niedermayer
a9badb51bf ff_block_permute() dox
Originally committed as revision 1628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 23:55:52 +00:00
Michael Niedermayer
3c5ce6dc99 cleanup
Originally committed as revision 1627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 20:13:11 +00:00
Michael Niedermayer
640950c700 mpeg2 field pictures + sliced mode (doesnt work with mplayer though, dunno why)
Originally committed as revision 1626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 20:03:15 +00:00
Michael Niedermayer
1d98dca328 10l
Originally committed as revision 1625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 17:53:33 +00:00
Michael Niedermayer
dfb476cbe0 field picture decoding support (16x16 MC blocks only as i dont have any samples which use other modes ...)
Originally committed as revision 1624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 17:48:19 +00:00
Michael Niedermayer
21e59552d6 extended option for h263+ patch by (fixounet at free dot fr) with some minor modifications
Originally committed as revision 1622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 16:10:13 +00:00
Michael Niedermayer
3b4f73dc76 typo (fixes wmv1 regression test in c)
Originally committed as revision 1621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-04 13:05:14 +00:00
Zdenek Kabelac
6b9b85c165 * minor optimalization
Originally committed as revision 1618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-03 17:13:26 +00:00
Michael Niedermayer
b0368839ac MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup

Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-03 14:54:00 +00:00
Michael Niedermayer
a5dbb247af fixing inaccurate frame_rate
Originally committed as revision 1616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-01 00:16:00 +00:00
Michael Niedermayer
179386025e 10l
Originally committed as revision 1615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-28 16:06:40 +00:00
Michael Niedermayer
e51d6d27a6 h263(+) clenaup & bugfixes
Originally committed as revision 1614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-28 13:07:07 +00:00
Michael Niedermayer
d671e2feac fixing padding bug autodetection for some rare files, closes bug #647941
Originally committed as revision 1613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-28 01:59:56 +00:00
Roman Shaposhnik
948c3a1397 support for PAL 4:1:1 SMPTE 314M DV streams patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-27 23:26:31 +00:00
Michael Niedermayer
ebbcdc9ac0 user specified motion estimation range limit
h263 me range fixed (was smaller then needed)

Originally committed as revision 1610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-27 22:56:07 +00:00
Michael Niedermayer
2ec23b6d44 move repeat_pict field from AVCodecContext -> AVFrame (closes bug #683536)
Originally committed as revision 1608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-26 17:26:20 +00:00
Fabrice Bellard
e2f9490eab added DTG active format information
Originally committed as revision 1605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-25 09:56:56 +00:00
Zdenek Kabelac
ae39132d07 * using const buffers for reading
Originally committed as revision 1603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 13:41:57 +00:00
Zdenek Kabelac
24def10e19 * const arrays
Originally committed as revision 1602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 13:28:22 +00:00
Zdenek Kabelac
135ee03aae * fixed IMA WAV decoding (though still might not be fully correct)
* const arrays

Originally committed as revision 1601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 13:26:41 +00:00
Michael Niedermayer
676b385c5b huffyuv v1 tables, as they are essential and the only possible way for decding of v1 files they very likely cant be copyrighted ...
Originally committed as revision 1600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 09:49:37 +00:00