Commit Graph

2474 Commits

Author SHA1 Message Date
Chris Flerackers
7f965c1c89 inttypes emulation cleanup patch by ("Chris Flerackers" <cflerackers at androme dot be>)
Originally committed as revision 2681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 18:00:31 +00:00
Steven M. Schultz
84f986c0f4 lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 23:51:23 +00:00
Michael Niedermayer
a1e257b231 optimize compute_antialias() and add a floating point based alternative (2x faster)
Originally committed as revision 2679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 21:08:57 +00:00
Michael Niedermayer
303aebf97a uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me

Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:44:36 +00:00
Michael Niedermayer
967be70050 memleak fix
Originally committed as revision 2676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:24:35 +00:00
Michael Niedermayer
620fe604a8 10l
Originally committed as revision 2670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 23:40:23 +00:00
Michael Niedermayer
622348f931 interlaced dct decision cleanup
function moved to dspcontext
  mmx&mmx2 optimized
  change SSE -> SAD as default (better quality)
vbv buffer size command line option in kbyte

Originally committed as revision 2669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 22:57:07 +00:00
Michael Niedermayer
51929fd312 simplify
Originally committed as revision 2668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 11:16:05 +00:00
Michael Niedermayer
b1b8f9fc58 gop timestamp fix
Originally committed as revision 2667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 22:13:14 +00:00
Michael Niedermayer
ac548c5d1d 10000l
Originally committed as revision 2665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 19:49:57 +00:00
Michael Niedermayer
96b73a2ada frame rate emulation "fix" by (Mean <fixounet at free dot fr>)
Originally committed as revision 2664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 17:43:28 +00:00
Michael Niedermayer
2e90b37c5e mpeg2 QP clamping fix
Originally committed as revision 2663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 17:29:51 +00:00
Michael Niedermayer
0982834b04 non YV12 vissualization fix by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 17:13:14 +00:00
Michael Niedermayer
5ac59c559b warn the user if we had to clip some dct coefficient due to a crappy format which doenst support the whole needed range (msmpeg4/wmv mostly but mpeg1 too to a lesser extend)
Originally committed as revision 2661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 14:43:52 +00:00
Michael Niedermayer
baaf3f467b SVCD scan offset stuff
Originally committed as revision 2660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 00:23:14 +00:00
Denes Balatoni
c953e7976e denoise_dct_sse2() patch by (Balatoni Denes <pnis at coder dot hu>)
Originally committed as revision 2659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-03 20:14:45 +00:00
Michael Niedermayer
783df5f347 denoise_dct_mmx()
Originally committed as revision 2657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 22:29:08 +00:00
Michael Niedermayer
fbb898067f more trellis quant optimizations
Originally committed as revision 2655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 19:22:00 +00:00
Mike Melanson
fafa0b75ee first pass at Sierra VMD A/V decoders; video looks great, audio is not
yet complete

Originally committed as revision 2652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 04:45:06 +00:00
Michael Niedermayer
34e0a29d36 cleanup
Originally committed as revision 2651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 03:02:34 +00:00
Michael Niedermayer
7485d118f2 optimizing (trellis) quantizer
Originally committed as revision 2650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 02:39:05 +00:00
Mike Melanson
2ad5d5a8c8 off-by-1 error in the never-before-tested embedded string code
Originally committed as revision 2649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 02:31:53 +00:00
Michael Niedermayer
e5771f4f37 put_pixels width comment fix
Originally committed as revision 2646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 18:02:30 +00:00
Michael Niedermayer
ae55b53303 dont show uninitalized motion vectors
Originally committed as revision 2645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 16:56:04 +00:00
Michael Niedermayer
273977d814 rate limit tips and checks
Originally committed as revision 2643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 15:13:44 +00:00
Michael Niedermayer
0368c72d83 print vbv buffer size & bitrate when decoding with -debug 1
Originally committed as revision 2641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 02:56:35 +00:00
Michael Niedermayer
7d67aa9b0f info about h and tpel
Originally committed as revision 2639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 19:19:45 +00:00
Michael Niedermayer
bb198e198a interlaced motion estimation
interlaced mpeg2 encoding
  P & B frames
  rate distored interlaced mb decission
  alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed

Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Michael Niedermayer
b846b231b3 100000l
Originally committed as revision 2637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 15:29:38 +00:00
Wolfgang Hesseler
0c9bbaec60 motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Michael Niedermayer
1031fabd14 picture number fixes
Originally committed as revision 2634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-29 22:25:08 +00:00
Michael Niedermayer
622eb8367b 10l (segfault fix)
Originally committed as revision 2633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-28 11:35:54 +00:00
Steven M. Schultz
1c004e5622 lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-22 19:42:28 +00:00
Michael Niedermayer
71c47d6e24 10l (forgot to copy top_field_first flag)
Originally committed as revision 2629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-22 19:06:01 +00:00
Michael Niedermayer
8135f8df52 rv20 / h263 b frame fix
Originally committed as revision 2628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-21 20:06:59 +00:00
Michael Niedermayer
bed1707c9c fix crash
Originally committed as revision 2627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-19 00:47:36 +00:00
Mike Melanson
4ff7c576f8 SVQ3 uses unrestricted motion vectors
Originally committed as revision 2626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-18 23:44:49 +00:00
Michael Niedermayer
9a41c2c747 svq3 fix
Originally committed as revision 2625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-18 21:35:02 +00:00
Michael Niedermayer
d60a8f85d7 vbv_delay
Originally committed as revision 2623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-17 19:53:05 +00:00
Fabrice Bellard
b84f2a3533 pts and dts support in parser API
Originally committed as revision 2619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 11:17:06 +00:00
Mike Melanson
ac3d5cac7b initial predictors are not sent to the output in QT IMA; fix stereo QT
IMA decoding

Originally committed as revision 2618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 01:17:58 +00:00
Fabrice Bellard
6e45e92856 added End Of File handling to return last picture for MPEG1/2/4
Originally committed as revision 2614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:40:37 +00:00
Michael Niedermayer
2393e65431 100l (forgot alpha & ppc)
Originally committed as revision 2611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 09:21:28 +00:00
Michael Niedermayer
31b1ec5d38 mv vissualization & field picture fix
Originally committed as revision 2610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 20:48:12 +00:00
Wolfgang Hesseler
fad05f523c cygwin fix and dont average interlaced MVs patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 17:47:23 +00:00
Michael Niedermayer
a4337a5130 10l (printing qscale before parsing it)
Originally committed as revision 2608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 16:15:32 +00:00
Michael Niedermayer
d50635cd24 split intra / inter dequantization
Originally committed as revision 2607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 02:57:00 +00:00
Michael Niedermayer
7ebfc0ea63 error concealment regression test
Originally committed as revision 2606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 01:42:00 +00:00
Michael Niedermayer
d55f7b6521 cleanup
Originally committed as revision 2605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-13 20:41:33 +00:00
Aurelien Jacobs
0c11692a1d Here are juste two added #ifdef CONFIG_ENCODERS to allow
libavcodec to compile without CONFIG_ENCODERS defined
patch by (Aurelien Jacobs <aurel at gnuage dot org>)

Originally committed as revision 2604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-13 02:14:18 +00:00
Michael Niedermayer
864119b6ca mb type & qp vissualization
Originally committed as revision 2603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-13 01:33:52 +00:00
Michael Niedermayer
11dffbe1da stuffing to stay above min_bitrate
Originally committed as revision 2602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 21:30:47 +00:00
Michael Niedermayer
fb0666392c CBR improvements
Originally committed as revision 2601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 19:26:55 +00:00
Fabrice Bellard
7a0f9d7e7d fixed top_field_first support when encoding
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Fabrice Bellard
3e9d718ecb fill codec info
Originally committed as revision 2599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:55:12 +00:00
Michael Niedermayer
fa75ce9292 fixing h263p encoding without UMV
Originally committed as revision 2598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-11 16:14:27 +00:00
Michael Niedermayer
5814beaa87 set AVCodecContext.width/height before get_buffer()
Originally committed as revision 2596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-11 11:17:54 +00:00
Michael Niedermayer
dd5e90cd55 interlaced dct encoding fix
Originally committed as revision 2592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:05:41 +00:00
Fabrice Bellard
3ab5b8cc9a interlaced DCT support for MPEG2 encoding
Originally committed as revision 2591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:51:54 +00:00
Fabrice Bellard
db9b1b5eae fixed interlaced encoding
Originally committed as revision 2590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:49:20 +00:00
Michael Niedermayer
7f9b37b08e 10l (uninitialized var ...)
Originally committed as revision 2589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:20:28 +00:00
Fabrice Bellard
32e7b91af1 fixed potential problem if aspect_ratio_info == 0 for MPEG stream - fixed aspect ratio problem if CODEC_ID_MPEG2VIDEO is used to decode an MPEG1 stream (which is the recommended codec id for mpeg video)
Originally committed as revision 2587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 11:18:36 +00:00
Michael Niedermayer
26f548a7a6 MB_TYPE_INTERLACED info fix
Originally committed as revision 2586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 02:34:09 +00:00
Fabrice Bellard
248a189a7d fixed low delay decoding
Originally committed as revision 2583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 14:51:49 +00:00
Michael Niedermayer
feca25cc8b 100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l
Originally committed as revision 2582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 14:03:55 +00:00
Michael Niedermayer
0ed714a702 slice structured fixes
Originally committed as revision 2581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 13:47:08 +00:00
Michael Niedermayer
5ea4b18d9f motion_subsample_log2
Originally committed as revision 2580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 01:55:54 +00:00
Wolfgang Hesseler
8d7ec294c4 move motion_val & mb_type to AVFrame patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
cleanups & fixes by me

Originally committed as revision 2579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 01:49:56 +00:00
Alex Beregszaszi
f8830383a9 FF_DEBUG_PICT_INFO and CODEC_FLAG_GRAY support
Originally committed as revision 2577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 18:26:22 +00:00
Michael Niedermayer
fb07988399 AIC/MQ encoding fix
Originally committed as revision 2573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 17:42:20 +00:00
Alex Beregszaszi
60efb3e42d cosmetics
Originally committed as revision 2572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 11:35:09 +00:00
Alex Beregszaszi
3c3f113ec1 more correct header parsing
Originally committed as revision 2571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 11:32:06 +00:00
Michael Niedermayer
ecfc44e66e alternative inter vlc encoding fix
Originally committed as revision 2570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 02:23:22 +00:00
Michael Niedermayer
01e8ff27b4 slice flush / position fix
Originally committed as revision 2569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-07 02:10:30 +00:00
Michael Niedermayer
ba58dabc5c h263 slice structured mode
slice cleanup

Originally committed as revision 2568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-07 01:33:45 +00:00
Michael Niedermayer
a8380f44cf removing unused var & converting 64->32bit
Originally committed as revision 2567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 23:12:03 +00:00
Michael Niedermayer
2be9f03abb AVFrame.interlaced_frame fixes
Originally committed as revision 2566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 01:03:12 +00:00
Michael Niedermayer
c70f1716cf export top_field_first & interlaced_frame
Originally committed as revision 2564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 00:19:46 +00:00
Michael Niedermayer
ac49f3efac set has_b_frames correctly, fixes rv20 dr1 with mplayer
Originally committed as revision 2563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-04 19:15:37 +00:00
Michael Niedermayer
cdb4e730e4 cleanup
Originally committed as revision 2562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-04 18:46:49 +00:00
Michael Niedermayer
b40cd4e0e4 rv20 (h263) b frame decoding support
Originally committed as revision 2561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-04 18:34:47 +00:00
Mike Melanson
6952f12338 this should make the decoder safe for big-endian platforms
Originally committed as revision 2560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-04 14:14:43 +00:00
Michael Niedermayer
9a197a24c6 altivec.h bug workaround (untested)
Originally committed as revision 2559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 22:23:08 +00:00
Michael Niedermayer
554daa2402 cleanup
Originally committed as revision 2558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 16:47:17 +00:00
Michael Niedermayer
6beeb962a2 h263 modified quantization fix
Originally committed as revision 2557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 16:07:41 +00:00
Mike Melanson
9a4117d5a1 initial support for Duck TrueMotion v1 (think of it as On2 VP1); only
16-bit mode supported thus far

Originally committed as revision 2555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 04:22:15 +00:00
Michael Niedermayer
fcfee63b12 split ff_h263_decode_mb() into h263 and mpeg4 versions
Originally committed as revision 2554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 01:16:35 +00:00
Michael Niedermayer
3615e2be84 h263_h_loop_filter_mmx
Originally committed as revision 2553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-02 22:02:57 +00:00
Michael Niedermayer
359f98ded9 h263_v_loop_filter_mmx
Originally committed as revision 2552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-02 20:28:10 +00:00
Michael Niedermayer
e1f03acc42 h263 MV prediction doesnt match mpeg4, for some slices configurations (fixes RV20 MVs)
Originally committed as revision 2551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-01 20:04:14 +00:00
Michael Niedermayer
5b5404e32f 10l
Originally committed as revision 2550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-01 15:49:10 +00:00
Michael Niedermayer
332f9ac4e3 h263 loop filter
fixed h263 modified quantization
CODEC_FLAG_OBMC

Originally committed as revision 2549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-01 15:23:14 +00:00
Michael Niedermayer
248a1aa54c 4th frame type ...
Originally committed as revision 2547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-30 19:04:56 +00:00
Michael Niedermayer
473c7582a5 rv20 sub_id == 0x20200002 support
Originally committed as revision 2546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-30 18:08:35 +00:00
Michael Niedermayer
43dc0bfd2e cleanup
Originally committed as revision 2545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-30 17:30:18 +00:00
Michael Niedermayer
40a12840b8 rv10 fix
Originally committed as revision 2544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-30 17:22:51 +00:00
Michael Niedermayer
68b94c354d rv20 decoder
Originally committed as revision 2543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-30 14:35:35 +00:00
Michael Niedermayer
3e8a5124a2 forgot
Originally committed as revision 2542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 08:44:33 +00:00
Michael Niedermayer
dba019daba h263 alternative inter vlc support
Originally committed as revision 2541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 08:37:51 +00:00
Michael Niedermayer
68ca24e6db intra16x16 fix
Originally committed as revision 2539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 00:19:24 +00:00
Michael Niedermayer
8fc7c99369 10000l
Originally committed as revision 2538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 23:38:43 +00:00
Michael Niedermayer
d3985de709 cleanup
Originally committed as revision 2537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 22:09:09 +00:00
Michael Niedermayer
f7190f7399 h263 OBMC & 4MV support
cleanup

Originally committed as revision 2536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 21:31:20 +00:00
Michael Niedermayer
b68ab2609c dont read from b frames if draw_horiz_band==NULL
Originally committed as revision 2533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-27 13:38:00 +00:00
Roman Shaposhnik
e15c330246 * 3x encoding speedup. Finally we seem to be on par with libdv
in terms of time and we're doing slightly better w.r.t. to
     quality. I don't think there's much room for improvement
     left, but I'd like to try and vectorize a couple of things.
     Btw, any ideas on what may impact performance will be greatly
     appreciated.

Originally committed as revision 2532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-27 01:40:13 +00:00
Roberto Togni
e1c2a5a0a8 - Add reget_buffer() function to AVCodecContext
- Add default reget_buffer implementation in libavcodec/utils.c
- Remove AVCodecContext.cr_available, no longer needed
- Remove CODEC_CAP_CR, no longer used
- Add img_copy() prototype to avcodec.h (function from imgconvert.c)
- Rename img_copy() to jpeg_img_copy() in libavformat/jpeg.c to avoid
conflict
- Updated msrle, msvideo1, rpza, smc to use reget_buffer

Originally committed as revision 2531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-26 20:57:15 +00:00
Michael Niedermayer
9bc8b38660 16x8 MV vissualization by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-25 00:35:18 +00:00
Michael Niedermayer
bc1e364666 10l
Originally committed as revision 2529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-24 21:53:32 +00:00
Alex Beregszaszi
105c3d2521 theora alpha3 support (with maintaining backward compatibility, maybe we should remove all backward compatibility codes after final theora release?)
Originally committed as revision 2527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-23 18:49:53 +00:00
Alex Beregszaszi
9a7ad92531 finally working with old theora bitstream (flipped image), the only sample I have is decoded successfully (theora.ogg)
Originally committed as revision 2526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-23 18:43:09 +00:00
Michael Niedermayer
bf63eb4bba av_d2q() documentation
Originally committed as revision 2522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-16 19:23:39 +00:00
Mike Melanson
42cad81aea yep, FLI support
Originally committed as revision 2519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-14 05:42:14 +00:00
Michael Niedermayer
ad0d17f1f8 qprd with b frames fix
Originally committed as revision 2518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 23:45:25 +00:00
Michael Niedermayer
dd3e415e06 qprd needs mbd=2
Originally committed as revision 2517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 23:22:06 +00:00
Zdenek Kabelac
4b813d5c5a * sys/types.h for size_t
Originally committed as revision 2516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 22:20:12 +00:00
Ivan Kalvachev
57489bc511 silence few warnings
Originally committed as revision 2514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 21:55:05 +00:00
Michael Niedermayer
9515c0c107 better fix
Originally committed as revision 2513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 22:06:15 +00:00
Michael Niedermayer
7d58735942 small mjpeg fix by (James Stembridge <jstembridge at users dot sourceforge dot net>)
Originally committed as revision 2512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 22:01:13 +00:00
Michael Niedermayer
30758048ef ac prediction with rate distorted qp fix
Originally committed as revision 2510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 13:03:51 +00:00
Michael Niedermayer
1f26c6f338 rate distored optimal lambda->qp support
Originally committed as revision 2509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 12:25:44 +00:00
Ivan Kalvachev
c512b303c2 mpegvideo is back
Originally committed as revision 2507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 01:19:36 +00:00
Fabrice Bellard
c6f353ff61 also parse extradata for MPEG4
Originally committed as revision 2493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:33:58 +00:00
Fabrice Bellard
8424cf505c new audio/video parser API
Originally committed as revision 2492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 15:29:20 +00:00
Fabrice Bellard
962d6ae6c5 exported mpa_decode_header for new parser API
Originally committed as revision 2491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 15:21:16 +00:00
Fabrice Bellard
8dbcc9f226 comment fix
Originally committed as revision 2490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 15:19:05 +00:00
Mike Melanson
11e29a4143 added Apple Graphics (SMC) decoder
Originally committed as revision 2488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 03:14:04 +00:00
Roberto Togni
aa39a62205 4bpp support
Originally committed as revision 2487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-09 21:54:49 +00:00
Roberto Togni
1dc1ed9933 8BPS decoder
Originally committed as revision 2486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-07 22:39:18 +00:00
Roberto Togni
e02c251e5a Set buffer hints, use cr where available
Originally committed as revision 2485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-07 21:21:36 +00:00
Roberto Togni
074c4ca7fd Add cr codec capability and buffer hints
Originally committed as revision 2484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-07 21:20:24 +00:00
Michael Niedermayer
598401ceea fix context=1
remove always_inline, gcc fails to inline other more important inline functions otherwise ...

Originally committed as revision 2483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-06 22:05:22 +00:00
Roberto Togni
1d768c3c16 100l: sometime palette was not copied to output frame
Originally committed as revision 2481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-05 23:27:23 +00:00
Roman Shaposhnik
19d053c5ba * fixes for broken builds on Solaris, OS2 and all bingendian
systems out there.

Originally committed as revision 2480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-04 19:35:43 +00:00
Michael Niedermayer
3d0ef6dd52 av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 18:06:54 +00:00
Michael Niedermayer
ea05d9c9c7 flush fix (untested)
Originally committed as revision 2473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 17:42:50 +00:00
Michael Niedermayer
89b9441aba only add prefix after \n
Originally committed as revision 2471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:58:26 +00:00
Michael Niedermayer
762357e63a 10l (fixes dct coeff noise reduction)
Originally committed as revision 2470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:31:02 +00:00
Michel Bardiaux
9b87956678 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:26:22 +00:00
Michael Niedermayer
821cb11f76 noise reduction of dct coefficients
Originally committed as revision 2468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-02 23:19:47 +00:00
Michael Niedermayer
432d84c395 10l ...
Originally committed as revision 2467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-02 22:56:47 +00:00
Roberto Togni
875efafac8 Moved to new palette API
Added check to aviod stride change between frames

Originally committed as revision 2466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-02 21:57:55 +00:00
Roberto Togni
2e99641b1a Fix some palette related defines, bump build number
Originally committed as revision 2464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-02 21:53:28 +00:00
Michael Niedermayer
2cbb7820c9 ffv1 rgb support
Originally committed as revision 2463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-01 17:38:25 +00:00
Roberto Togni
04939fb787 100l: free previous frame, not current one!
Set reference flag for frames.

Originally committed as revision 2460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 22:56:16 +00:00
Roberto Togni
bc0219fd95 Don't memcpy from unallocated memory
Originally committed as revision 2459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 22:28:19 +00:00
Roman Shaposhnik
ddaae6a9d1 * DV demuxer is now capable of decoding auxilary audio stream. So,
everybody who still uses second streo track for dubbing can
     now export it.

   * void* -> DVDemuxContext* change (per Fabrice's suggestion).

   * -dv1394 capture now works in all modes.

Originally committed as revision 2458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 22:26:26 +00:00
Michael Niedermayer
d43fb4e806 move identical code into its own function
intXY_t -> int_fastXY_t

Originally committed as revision 2455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 22:51:02 +00:00
Michael Niedermayer
237e49387a initalize various uninitalized variables and avoid coded_picture_number as its not always correct (later should be reversed after fixing the picture_number mess)
Originally committed as revision 2454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 21:05:00 +00:00
Michael Niedermayer
f259747bc7 100l (SAR is written as height/width instead of width/height in the MPEG1 standard)
Originally committed as revision 2453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 19:55:44 +00:00
Michael Niedermayer
5f1948111a pts fix and related fixes
Originally committed as revision 2452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 16:58:49 +00:00
Mike Melanson
2a2bbcb05f revised palette API, courtesy of Roberto Togni (rtogni at freemail.it)
Originally committed as revision 2451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 05:40:58 +00:00
Michael Niedermayer
9df1d2490d dumping funny numbers from first zygo i frame header
Originally committed as revision 2450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 17:30:13 +00:00
Alex Beregszaszi
43a13e7247 initial support for zygovideo
Originally committed as revision 2449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:54:45 +00:00
Fabrice Bellard
985180a1b8 added fake codec CODEC_ID_MPEG2TS of type CODEC_TYPE_DATA (needed for simpler handling of raw transport streams in ffserver and RTP - better solutions are welcomed)
Originally committed as revision 2445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:08:18 +00:00
Michael Niedermayer
13ba9ae499 linear blend 1 line shift fix
Originally committed as revision 2443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-28 09:23:26 +00:00
Ivan Kalvachev
a579db0c4f XvMC speedup by removing one memcpy and doing MB packing
Originally committed as revision 2442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-27 23:22:43 +00:00
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
Michael Niedermayer
d4c48e4869 get_vlc2() "docs"
Originally committed as revision 1599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 09:41:02 +00:00
Michael Niedermayer
8c031d1cbd round readed bits up to next 32bits, as orginal huffyuv cant handle less then 32bit blocks
Originally committed as revision 1598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 00:05:17 +00:00
Michael Niedermayer
df081b2f3b 32 vs. 64bit bugfix by (Dave Huang (dahanc))
Originally committed as revision 1596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-22 13:44:16 +00:00
Michael Niedermayer
b2a3fcb7e1 reverse incorrect stride < (width+7)&~7 fix
Originally committed as revision 1594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-20 17:30:51 +00:00
Nick Kurshev
8f3cf0f64c sync with mplayerxp. Fixes some 405.avi related flaws
Originally committed as revision 1593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-20 16:14:12 +00:00
Zdenek Kabelac
64094f3799 * using $(MAKE)
Originally committed as revision 1592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-18 19:10:57 +00:00
Michael Niedermayer
185fdc549f fixing 410 -> 420
Originally committed as revision 1591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-18 17:35:49 +00:00
Zdenek Kabelac
c947dec982 * sync with main liba52 sources
Originally committed as revision 1590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-18 11:48:57 +00:00
Zdenek Kabelac
ca390e727d * update cleanup rules (Steven M. Schultz)
* memaling check  (Steven M. Schultz)
* unused var removed

Originally committed as revision 1589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-18 09:33:21 +00:00
Wolfgang Hesseler
7604246d1a more #ifdef CONFIG_ENCODERS patch by (Wolfgang Hesseler <qv at multimediaware dot com>) with modifications by me (s/WOLFGANG/CONFIG_ENCODERS/ and some other fixes)
Originally committed as revision 1588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-16 23:05:38 +00:00
Michael Niedermayer
bba9b16c26 moving postprocess to ffmpeg/libavcodec
Originally committed as revision 1586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 9427 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Originally committed as revision 9428 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-14 21:27:25 +00:00
Michael Niedermayer
7d67e968a4 improving parsing of incomplete headers
Originally committed as revision 1585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-14 01:47:10 +00:00
Zdenek Kabelac
2720569a9a * prototypes at one place
Originally committed as revision 1579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:57:55 +00:00
Zdenek Kabelac
0c1a9edad4 * UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Michael Niedermayer
ae2d2d6c41 check for qscale==0 (fixes 1/0 on one corrupted stream)
Originally committed as revision 1574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 22:43:30 +00:00
Zdenek Kabelac
dce778e0ea * check for potentialy problematic field len
Originally committed as revision 1572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 10:45:41 +00:00
Zdenek Kabelac
f2598a19a2 * opts compilation
Originally committed as revision 1570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:41:44 +00:00
Zdenek Kabelac
fe1b62fb3e * still unfinished code for Options
* demo code - awating more comments

Originally committed as revision 1569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:40:23 +00:00
Zdenek Kabelac
97d96aaa76 * still unfinished code for Options
Originally committed as revision 1568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:38:38 +00:00
Zdenek Kabelac
5c91a6755b * static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:35:32 +00:00
Mike Melanson
c78f73c8c1 register cyuv with allcodecs.c
Originally committed as revision 1563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 16:58:47 +00:00
Fabrice Bellard
7e6d70d0b1 added paletted 8 bit format support
Originally committed as revision 1560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 16:20:25 +00:00
Michael Niedermayer
f70f7c6db2 Creative YUV (CYUV) decoder by (Mike Melanson <melanson at pcisys dot net>)
Originally committed as revision 1559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 00:37:50 +00:00
Michael Niedermayer
c40c34828a direct blocksize in bframes fix (might fix qpel+bframe bug)
Originally committed as revision 1557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 18:23:39 +00:00
Philip Gladstone
16e83cbbc4 Fix a bug in the conversion of rgba32->yuv420p. This resulted in garbage images
when this conversion was used. I suspect that the same bug may be lurking in
other conversions. [The assumption was that the linesize was equal to the width
for both the source and destination images. This turns out not to be true
in some cases.]

Originally committed as revision 1556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 15:34:25 +00:00
Michael Niedermayer
63b15e559a mpeg1 bframe encoding patch by (Raphaël LEGRAND) with some modifications by me
Originally committed as revision 1551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 12:00:57 +00:00
Michael Niedermayer
668154dfea b frame segfault fix (+-1 bug)
Originally committed as revision 1549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-07 16:44:48 +00:00
Michael Niedermayer
b739d6762f cliping MVs, i dunno if its correct but it looks better then without it
Originally committed as revision 1543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-04 01:32:25 +00:00
Michael Niedermayer
36df880581 divx503 decoding fix
Originally committed as revision 1538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 23:34:30 +00:00
Fabrice Bellard
4c7e861929 handle odd image sizes when using subsampled chroma (useful for JPEG images)
Originally committed as revision 1536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 19:53:01 +00:00
Fabrice Bellard
811b32ed69 dependencies are only build with make depend
Originally committed as revision 1531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 20:57:37 +00:00
Michael Niedermayer
475b46dad6 fix for ppc compile broken by (Romain Dolbeau <dolbeau at irisa dot fr> and Colin Leroy <colin at colino dot net>)
Originally committed as revision 1526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 00:18:50 +00:00
Michael Niedermayer
782c5984f1 100000l
Originally committed as revision 1524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 22:44:34 +00:00
Michael Niedermayer
69e1a1f26a bugfix
Originally committed as revision 1523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 15:50:07 +00:00
Michael Niedermayer
1d0d55daf4 --disable-risky support
Originally committed as revision 1522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 12:00:11 +00:00
Zdenek Kabelac
02d697aa5f * headers valid for C++ compilers
Originally committed as revision 1521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 20:20:38 +00:00
Fabrice Bellard
ea937d0141 win32: rint() does not seem to be defined with mingw32-gcc 2.95 - do you have a better solution ?
Originally committed as revision 1519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 14:50:26 +00:00
Fabrice Bellard
d44b50b0af win32: added vsnprintf
Originally committed as revision 1518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 14:37:44 +00:00
Michael Niedermayer
cb009a8cff 10l / 4mv segfault fix
Originally committed as revision 1517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 09:26:00 +00:00
Michael Niedermayer
c81f034988 optimizing av_log2
Originally committed as revision 1515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 20:39:29 +00:00
Fabrice Bellard
425ed6e223 DV audio decoder by Roman Shaposhnick
Originally committed as revision 1514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 09:21:30 +00:00
Michael Niedermayer
49c79e6c5a drawing cute arrows instead of lame lines for motion vector visualization
Originally committed as revision 1512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-26 23:11:08 +00:00
Michael Niedermayer
2ba8f6b817 feeding doxygen
Originally committed as revision 1511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-26 23:09:12 +00:00
Romain Dolbeau
3b991c54eb Altivec on non darwin systems patch by Romain Dolbeau
Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-26 22:29:47 +00:00
Fabrice Bellard
0d4c587854 removed warning
Originally committed as revision 1506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:18:42 +00:00
Fabrice Bellard
8e1e6f31c1 use av_malloc() functions - added av_strdup and av_realloc()
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:03:09 +00:00
Fabrice Bellard
ddedacfe98 undefine malloc macros
Originally committed as revision 1503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 22:59:06 +00:00
Michael Niedermayer
e78df69997 reversing my own stupidity ... (raw packed yuv422 files dont use YUY2 but UYVY)
Originally committed as revision 1494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 01:20:47 +00:00
Fabrice Bellard
a968e365c9 fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
Originally committed as revision 1488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-22 09:35:03 +00:00
Michael Niedermayer
b7a22d846b cleanup
Originally committed as revision 1487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-21 21:30:48 +00:00
Michael Niedermayer
68f593b484 GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops
Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-21 17:34:12 +00:00
Romain Dolbeau
fe50f38577 More AltiVec MC functions patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:50:14 +00:00
Max Krasnyansky
566986ee19 img_convert() (YUV to YUV) patch by (Max Krasnyansky <maxk at qualcomm dot com>)
Originally committed as revision 1484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:41:48 +00:00
Fabrice Bellard
69572401ad added gray<->RGB functions - fixed rgb<->yuv functions for non RGB24 case
Originally committed as revision 1483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:26:19 +00:00
Michael Niedermayer
f943e1383d trying to fix mb skip bug in mpeg1/2 if slices are not used
Originally committed as revision 1482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 20:37:24 +00:00
Michael Niedermayer
d0162d09d0 fixing yuv422 -> yuv420p (i need that for the vceq videos ...)
Originally committed as revision 1481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 20:33:08 +00:00
Zdenek Kabelac
2a743f633e * code for parsing options
now options have to be added...
  - see main for a simple usage example.

Originally committed as revision 1480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 19:04:39 +00:00
Nick Kurshev
56f7fda16b reverse
Originally committed as revision 1479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 18:43:31 +00:00
Nick Kurshev
bfbc8de9d8 Function renaming. Solves some namespace conflicts
Originally committed as revision 1478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 16:33:47 +00:00
Michael Niedermayer
76fbb0248a align
Originally committed as revision 1477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 20:04:35 +00:00
Romain Dolbeau
35e5fb067e PPC perf, PPC clear_block, AltiVec put_pixels8_xy2 patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 19:00:45 +00:00
Måns Rullgård
ef9f730675 C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 18:30:29 +00:00
Michael Niedermayer
6772518310 finetuneing thresholds/factors
nicer mb decission
a few minor improvements & fixes

Originally committed as revision 1472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 17:55:13 +00:00
Falk Hüffner
6b02692791 sse16_c is totally fucked up (unaligned loads, LONG_MAX is undefined,
uint32 array index -> segv), so let's just use a nice plain
unobfuscated version, which also happens to be faster for me.

Originally committed as revision 1470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 12:06:36 +00:00
Michael Niedermayer
1d0eab1dcc bugs
Originally committed as revision 1469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-18 01:37:42 +00:00
Arpi
e51d4defe0 - removed nonsense *.d dependancy stuff, there was already a better 'make dep' support in it
- enabled .depend generation by default, so no need to 'make dep' then...

Originally committed as revision 1468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 22:40:00 +00:00
Michael Niedermayer
db40a39aba AltiVec perf (take 2), plus a couple AltiVec functions by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-16 21:54:55 +00:00
Michael Niedermayer
0e15384d9d fixing DCTELEM != short
Originally committed as revision 1462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-15 19:21:21 +00:00
Michael Niedermayer
3a87ac948f more compare functions (rd & bit)
Originally committed as revision 1461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-15 18:05:23 +00:00
Michael Niedermayer
aaa1e4cd48 10l
Originally committed as revision 1460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-14 19:25:05 +00:00
Philip Gladstone
77b71ddc11 AUtomatic dependency generation. Runs on Linux (at least). Probably should
update .cvsignore (somehere) to exclude .d files

Originally committed as revision 1459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-14 15:30:42 +00:00
Michael Niedermayer
cb7c98d6e2 padding bug autodetection improvement 2nd try
Originally committed as revision 1458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-13 13:20:21 +00:00
Michael Niedermayer
650faac6de better padding/stuffing bug autodetection
Originally committed as revision 1457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-13 12:57:39 +00:00
Michael Niedermayer
741235ebe9 gmc1 segfault fix (found by kabi)
Originally committed as revision 1456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-13 12:55:05 +00:00
Michael Niedermayer
744ac4be05 dct_unquantize_h263_altivec by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
Originally committed as revision 1455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 13:29:24 +00:00
Michael Niedermayer
67309e49c0 /* align 16 */
Originally committed as revision 1454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 13:13:52 +00:00
Michael Niedermayer
9214855006 average motion vector rounding like the reference says and not what the standard says
Originally committed as revision 1453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 12:16:36 +00:00
Michael Niedermayer
a33c7159e1 get_format()
Originally committed as revision 1451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 00:48:29 +00:00
Felix von Leitner
2a006cd396 sse16 & pix_norm1 optimization patch by (Felix von Leitner <felix-ffmpeg at fefe dot de>) (with some modifications)
Originally committed as revision 1450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 22:32:56 +00:00
Felix von Leitner
d32ac509f6 add/diff_bytes bugfix patch by (Felix von Leitner <felix-ffmpeg at fefe dot de>)
Originally committed as revision 1449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 21:04:47 +00:00
Romain Dolbeau
e629ab68a7 altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
Originally committed as revision 1448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 20:51:03 +00:00
Slavik Gnatenko
f3ec2d46ba os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 20:34:38 +00:00
Fabrice Bellard
2a877875fa added missing formats in all functions - added monoblack, monowhite and gray8 support for most conversions
Originally committed as revision 1435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:54:38 +00:00
Fabrice Bellard
5915a6dc85 moved avpicture_xxx to imgconvert
Originally committed as revision 1434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:52:39 +00:00
Fabrice Bellard
2d1a4094a2 build update - avpicture_fill() returns the image size
Originally committed as revision 1433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:51:31 +00:00
Fabrice Bellard
0b2612b1cd changed BGRA32 to RGBA32. XXX: clarify expected behaviour on big endian cpu
Originally committed as revision 1432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:13:18 +00:00
Fabrice Bellard
524c6b6342 simplified code (need automatic testing) - added primitive new format support.
Originally committed as revision 1431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:08:48 +00:00
Fabrice Bellard
9bbffbb155 moved avcodec_get_chroma_sub_sample() to imgconvert.c
Originally committed as revision 1430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:07:06 +00:00
Fabrice Bellard
dab64ebc0d new image formats - suppressed ill defined formats (endianness, unless specified, is always the one of the CPU) - added avcodec_get_pix_fmt_name()
Originally committed as revision 1429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:04:36 +00:00
Falk Hüffner
1a02ea65e0 Implement sad8x8 and sad16x16 with pix_abs.
Originally committed as revision 1428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-10 13:35:15 +00:00
Michael Niedermayer
88e9ab1f82 typo (noticed by kabi)
Originally committed as revision 1427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 22:10:57 +00:00
Michael Niedermayer
db79495376 qpel fix
Originally committed as revision 1426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 20:42:37 +00:00
Michael Niedermayer
2826984994 fixed wmv2 slices
Originally committed as revision 1425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 11:37:08 +00:00
Michael Niedermayer
e5ab4fdd8e workaround dropable p frame after first frame bug
Originally committed as revision 1424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-09 01:43:31 +00:00
Fabrice Bellard
4013fcf4af altivec patches by Romain Dolbeau
Originally committed as revision 1423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-08 18:47:49 +00:00
Fabrice Bellard
e366e6795d suppressed getopt.h
Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 23:49:40 +00:00
Fabrice Bellard
9ebc63a967 tests link all libavcodec
Originally committed as revision 1421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 23:47:09 +00:00
Fabrice Bellard
0fe67fa74b suppressed pix_norm_altivec
Originally committed as revision 1420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 22:51:32 +00:00
Fabrice Bellard
f08ce7fe3b suppressed redundant math.h - suppressed M_PI redefinition
Originally committed as revision 1419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 22:43:16 +00:00
Fabrice Bellard
c4d82fea54 generic M_PI define
Originally committed as revision 1418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 22:38:25 +00:00
Fabrice Bellard
8d268a7d4c fft altivec by Romain Dolbeau - simplified patch, test it on PPC with fft-test and wma decoding
Originally committed as revision 1417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 18:15:48 +00:00
Fabrice Bellard
15e35d0d42 removed redundant includes
Originally committed as revision 1416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 18:15:14 +00:00
Fabrice Bellard
923ceff8ef enabled SSE fft (first code using GCC 3.2 vector builtins on x86 - please tell me if you have better ideas for intrinsic naming or Makefile support)
Originally committed as revision 1415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:48:14 +00:00
Fabrice Bellard
b35a02d527 align fixes for sse/altivec
Originally committed as revision 1414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:46:08 +00:00
Fabrice Bellard
bbbb6d6fc3 enabled SSE fft on x86
Originally committed as revision 1413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:45:24 +00:00
Fabrice Bellard
d9823692f5 use av_malloc instead of malloc
Originally committed as revision 1412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:44:21 +00:00
Fabrice Bellard
ea0f841a54 compile fixes
Originally committed as revision 1411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:43:50 +00:00
Fabrice Bellard
e1958604fd added define for builtins use - inverse fix by Romain Dolbeau
Originally committed as revision 1410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 17:41:43 +00:00
Michael Niedermayer
5a508a98e9 PIC / ebx fix
Originally committed as revision 1408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 13:00:38 +00:00
Michael Niedermayer
0b093b6fef more gcc bug workarounds
Originally committed as revision 1407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 11:59:34 +00:00
Michael Niedermayer
3df6fa7777 gcc 3.2.2 -O3 bug workaround (older gcc are very likely affected too but didnt check)
Originally committed as revision 1406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 11:07:15 +00:00
Fabrice Bellard
2f62e147ae oops : better error resilience - should fix most wma decoding problems
Originally committed as revision 1404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 22:47:42 +00:00
Zdenek Kabelac
87fb268fdc * avoid usage of next/last buffer after flush
(but there still something wrong when the first frame isn't keyframe)

Originally committed as revision 1403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 18:09:27 +00:00
Zdenek Kabelac
628d601b56 * first shot for generaly usable option parser for codecs
Originally committed as revision 1402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 18:06:51 +00:00
Michael Niedermayer
c296f66b54 1000l (push & esp) using mangle now ...
Originally committed as revision 1401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 09:55:52 +00:00
Michael Niedermayer
4a711c33cc b frame segfault fix
Originally committed as revision 1400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 01:20:37 +00:00
Michael Niedermayer
3178ee4cc4 qpel in b frames bugfixes
Originally committed as revision 1398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 20:59:29 +00:00
Michael Niedermayer
3643bd9c31 slowdown / gcc 2.95.* bug workaround (this should be reversed as soon as gcc 2.95.* support is droped)
Originally committed as revision 1397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 19:53:07 +00:00
Michael Niedermayer
f7b47594dc negative linesize support (so mplayer -flip works)
Originally committed as revision 1395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 17:59:26 +00:00
Thomas Jarosch
369fe5993f pts encoding fix patch by (Thomas Jarosch <tomj at simonv dot com>)
Originally committed as revision 1394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 17:17:14 +00:00
Michael Niedermayer
826f429ae9 qpel in mmx2/3dnow
qpel refinement quality parameter

Originally committed as revision 1393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 15:57:10 +00:00
Michael Niedermayer
70ac76c0eb mpeg4 header encoding bugfix
Originally committed as revision 1392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-03 23:21:52 +00:00
Michael Niedermayer
f931ff7b9f pre motion estimation cleanup/bugfix
Originally committed as revision 1390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-02 12:48:09 +00:00
Michael Niedermayer
f5fb6b34fd motion estimation pre pass
Originally committed as revision 1389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-02 01:29:35 +00:00
Michael Niedermayer
0a13093de8 bugfix
Originally committed as revision 1388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 16:47:31 +00:00
bubu
ccfddafbd9 warnings patch by (bubu <bubu at bubu dot net>)
Originally committed as revision 1386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 15:10:45 +00:00
Michael Niedermayer
b07a59805e shape adaptive diamonds for EPZS
user specified amount of MV predictors from the last frame
b frame MV predictor scaling fixed

Originally committed as revision 1384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 14:36:20 +00:00
Michael Niedermayer
c442d75c6e trellis quantization for mpeg1
rounding bugfix for mpeg1 (seems this was introduced during the ME changes)

Originally committed as revision 1382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-01 00:42:18 +00:00
Michael Niedermayer
9981dfc662 more optimized trellis quantizer
Originally committed as revision 1381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-31 22:58:41 +00:00
Michael Niedermayer
477ab036ad trellis quantization
Originally committed as revision 1380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-31 17:23:56 +00:00
Michael Niedermayer
41773b735e correcter mpeg4 headers
Originally committed as revision 1376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-30 00:28:42 +00:00
Michael Niedermayer
2bbf71777f removing PIX_FMT_ANY
Originally committed as revision 1373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-29 22:35:46 +00:00
Michael Niedermayer
5fe061a027 better set pix_fmt explicitly
Originally committed as revision 1372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-29 22:20:03 +00:00
Michael Niedermayer
a6a494fb2d xvid build 3 still has the padding wrong in 1/8 of the cases :(((((
having the padding right in 7/8 of the cases confuses the autodetection code too

Originally committed as revision 1371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-29 01:27:50 +00:00
Michael Niedermayer
1457ab5233 qpel encoding
4mv+b frames encoding finally fixed
chroma ME
5 comparission functions for ME
b frame encoding speedup
wmv2 codec (unfinished)
user specified diamond size for EPZS

Originally committed as revision 1365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-27 23:51:46 +00:00
Alex Beregszaszi
a46a7052bc disabled aspect code due to it is extra buggy
Originally committed as revision 1359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-22 22:34:42 +00:00
Mark Hills
c55427f8c8 fixes crash patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 1355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-21 15:54:21 +00:00
Zdenek Kabelac
f7696989d9 * fix for empty image queue
Originally committed as revision 1342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-19 18:59:45 +00:00
Michael Niedermayer
17a70fdeef mb qp limits
Originally committed as revision 1340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-18 10:09:43 +00:00
Michael Niedermayer
8fc698950b support dumping the qscale stuff to the screen
Originally committed as revision 1339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-18 09:23:24 +00:00
Michael Niedermayer
59b571c1e4 more debug output
Originally committed as revision 1338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-17 11:25:29 +00:00
Jürgen Keil
a8140ad5ab mlib fix patch by (Juergen Keil <jk at tools dot de>)
Originally committed as revision 1337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-15 22:42:59 +00:00
Michael Niedermayer
96d9cb220b fixing playback of DaveMatthews_Crash_PocketPC.avi
Originally committed as revision 1335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-11 08:56:28 +00:00
Zdenek Kabelac
4cb3ca724d * fill codec_id in codec_open
Originally committed as revision 1329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 18:54:09 +00:00
Michael Niedermayer
befaced573 100l
Originally committed as revision 1328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 14:33:20 +00:00
Michael Niedermayer
492cd3a920 AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 12:03:43 +00:00
Michael Niedermayer
4e00e76b3c cleanup / messup?
fixes 20% speedloss bug
removes redundant variables from MpegEncContext
release buffers in avcodec_flush_buffers() (untested)

Originally committed as revision 1325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 00:29:17 +00:00
Michael Niedermayer
f8af5cb5a4 correct mpeg4 vo type
Originally committed as revision 1324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 00:06:15 +00:00
Michael Niedermayer
86689eeb7a remove fake wmv2 codec
Originally committed as revision 1323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-08 21:29:37 +00:00
Michael Niedermayer
2b2719acff ump4 decoding fixed
Originally committed as revision 1322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-07 11:38:26 +00:00
Dieter
00a7d8d69c practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 17:58:21 +00:00
Michael Niedermayer
6c16199b43 fixing api-example
Originally committed as revision 1320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 17:39:32 +00:00
Michael Niedermayer
426b80615b aspect ratio encoding for mpeg1
Originally committed as revision 1319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 16:19:25 +00:00
Michael Niedermayer
945f15b740 mpeg1&2 aspect decoding
Originally committed as revision 1318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 16:04:30 +00:00
Michael Niedermayer
706fc4dea6 fixing aspect (hopefully, i couldnt reproduce the bug)
Originally committed as revision 1317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 15:01:48 +00:00
Michael Niedermayer
0d1e924668 fixing 2pass assert failure
better dynamic b frame selection, still not very good though allthough it works fine without 2pass now

Originally committed as revision 1316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 13:30:13 +00:00
Michael Niedermayer
32db2b1d47 missing "\" (found by nick)
Originally committed as revision 1315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-06 11:56:49 +00:00
Michael Niedermayer
032011465b better? scene change detection
Originally committed as revision 1314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 22:22:53 +00:00
Michael Niedermayer
5f3ed1653f fixing hq + adaptive quant
Originally committed as revision 1313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 19:18:13 +00:00
Michael Niedermayer
d9cb5429f2 drop b frames if there are no reference frames
skip b frames if hurry_up

Originally committed as revision 1312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 11:33:43 +00:00
Michael Niedermayer
aa388dba30 fixing files where the first frame isn a keyframe
Originally committed as revision 1309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 22:16:24 +00:00
Michael Niedermayer
140cb66321 new PSNR code (now works with chroma, b frames, ...)
rename *_TYPE to FF_*_TYPE for the external API
allow user specified pict_type

Originally committed as revision 1308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 21:13:02 +00:00
Michael Niedermayer
5b20b7328a print a warning if something allocates 0 bytes
Originally committed as revision 1307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 12:42:25 +00:00
Michael Niedermayer
b92be2af42 workaround old xvid bug
Originally committed as revision 1306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 12:36:18 +00:00
Michael Niedermayer
c8c437bc23 specific debug output support
Originally committed as revision 1305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 12:09:27 +00:00
Michael Niedermayer
ce3bcaeda1 fixing illegal 3. esc bug (the mpeg4 std only requires encoders to use unescaped symbols but not esc1 or esc2 if they are shorter than esc3, andjust beause its logical to use the shortest possible vlc doesnt mean encoders do that)
Originally committed as revision 1304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 11:47:24 +00:00
Michael Niedermayer
dc172cc13b use spatial error concealment if we dont have a previous frame
Originally committed as revision 1303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 11:25:53 +00:00
Michael Niedermayer
1e491e29c2 cleanup
adding AVVideoFrame
 moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
 removing obsolete variables in AVCodecContext
 skiping of MBs in b frames
 correctly initalizing AVCodecContext
 picture buffer cleanup

Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 10:04:03 +00:00
Zdenek Kabelac
855ea723b0 * two functions to handle allocation of static data more simple
av_mallocz_static - called for every static data table
  av_free_static - called when ffmpeg is no longer needed and should free
                   all static resources
* simple usage shown in mpegaudiodec.c

Originally committed as revision 1301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 19:40:35 +00:00
Alex Beregszaszi
1730832639 10l fix
Originally committed as revision 1300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 15:42:17 +00:00
Michael Niedermayer
843342efb7 100l (sad8x8_x2 had params in wrong order)
Originally committed as revision 1299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 11:07:41 +00:00
Michael Niedermayer
2571e3b62b 100l (mixing chroma & luma linesize)
Originally committed as revision 1298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 01:14:34 +00:00
Philip Gladstone
9e4e1659d6 Simplify an expression and eliminate a compile warning
Originally committed as revision 1293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:14:07 +00:00
Falk Hüffner
3354b0c9e5 Kludge around compilation failure on Alpha.
Originally committed as revision 1286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-27 01:20:42 +00:00
Francisco Javier Cabello Torres
7ca413b44a via c3 fix patch by (Francisco Javier Cabello Torres <fjcabello at visual-tools dot com>)
Originally committed as revision 1285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 16:26:58 +00:00
Michael Niedermayer
f78ebb51ec apiexample doesnt send complete frames to the codec
Originally committed as revision 1284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 16:16:04 +00:00
Brian Foley
404d2241ec altivec accelerated v-resample patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 1283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 09:21:01 +00:00
François Revol
0ea8f2be4e Avoid "unused variable 'c'" warning.
Originally committed as revision 1282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 08:58:24 +00:00
Michael Niedermayer
e4828c7d43 fixing h263+ slices if the padding at the end of the frame is >7 && <16 && there are no zero bytes afterwards
Originally committed as revision 1281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 08:56:10 +00:00
Philip Gladstone
35fedfc349 Add some rudimentary support for sparc64
Originally committed as revision 1279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 04:29:40 +00:00
Agent Smith
2aa29681c9 dont put flies in the stdout soup patch by (Agent Smith <asmith at wgz dot com>)
Originally committed as revision 1277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 00:54:27 +00:00
Francisco Javier Cabello Torres
57fc257642 via c3 detection patch by (Francisco Javier Cabello Torres <fjcabello at visual-tools dot com>)
Originally committed as revision 1275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 16:58:41 +00:00
Michael Niedermayer
525e51e8a3 10l
Originally committed as revision 1274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 09:57:58 +00:00
Michael Niedermayer
58b0b0dd93 fixing aspect
Originally committed as revision 1273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 09:23:19 +00:00
Michael Niedermayer
f8fd15e03f moving init of some variables (hurry_up,...) to MPV_frame_start()
Originally committed as revision 1271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-23 09:12:57 +00:00
Brian Foley
9c76bd48aa * altivec and pix_norm patch by Brian Foley
Originally committed as revision 1269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-22 07:53:06 +00:00
Mark Hills
3aca208a7b * Ogg/Vorbis patch by Mark Hills
Originally committed as revision 1268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-22 07:27:13 +00:00
Zdenek Kabelac
9a7b310d06 * remaining part of John Ryland's patch
Originally committed as revision 1267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-22 07:24:28 +00:00
Alex Beregszaszi
b135d9fb96 mjpegb support (need more samples)
Originally committed as revision 1258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 15:18:11 +00:00
Michael Niedermayer
5d3cea3a86 aspect ratio cleanup
Originally committed as revision 1254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 13:08:04 +00:00
Zdenek Kabelac
bb28568364 * cut&paste fix
Originally committed as revision 1249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 07:32:18 +00:00
Brian Foley
f2677d6b26 altivec optimizations patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 1240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 23:22:29 +00:00
Michael Niedermayer
deedfbdbca 10l
Originally committed as revision 1239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 23:04:07 +00:00
Zdenek Kabelac
5940262772 * oops fixed bad initialization of ff vals.
- put FF_LIBMPEG2_IDCT_PERM into CVS - so it will work for now

Originally committed as revision 1227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 10:08:31 +00:00
Zdenek Kabelac
d43b10ec7a * fixed prototype
Originally committed as revision 1226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 09:17:52 +00:00
Zdenek Kabelac
83f238cbf0 * compilation fix (ARM users please check)
Originally committed as revision 1225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 07:33:36 +00:00
Michael Niedermayer
58bfafbed9 hurry_up=5 support
Originally committed as revision 1219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-18 09:28:21 +00:00
Michael Niedermayer
7c5ab7b88d slices & encoding optim
Originally committed as revision 1217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 11:05:14 +00:00
Michael Niedermayer
22f3e8bea7 dr1
Originally committed as revision 1216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 00:07:06 +00:00
Michael Niedermayer
0626afe9b2 0.1l
Originally committed as revision 1215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:34:25 +00:00
Michael Niedermayer
152ba68cc9 YV12 support (warning this is experimental & wont work with offical huffyuv but there is a approx. 20% speed & compression gain)
10l flush_put_bits()

Originally committed as revision 1214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:25:20 +00:00
Joel Yliluoma
a32072d0e9 16-bit and 15-bit rgb/bgr patch by (Joel Yliluoma <joel dot yliluoma at w-create dot com>) (note, rare formats disabled)
Originally committed as revision 1212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:46:14 +00:00
Michael Niedermayer
11f18fafca huffyuv
Originally committed as revision 1211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:20:04 +00:00
Zdenek Kabelac
6a85ec8d9c * minor warning fix
Originally committed as revision 1209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:04:40 +00:00
Zdenek Kabelac
adb4328917 * not checking for get_buffer_callback - it would be user's error
* if DR1 is disabled in get_buffer_callback silently fallback to
  non-dr rendering

Originally committed as revision 1208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 18:43:49 +00:00
Michael Niedermayer
d6483a8e5c 1l found by kabi
Originally committed as revision 1207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 18:02:07 +00:00
Zdenek Kabelac
18f770162b * fixing some minor const warnings
Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 15:00:04 +00:00
Zdenek Kabelac
92ddb69283 * init for inv_zigzag_direct16 moved to init block
Originally committed as revision 1204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 10:05:21 +00:00
Zdenek Kabelac
5abd509acd * init table once
Originally committed as revision 1203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 10:01:27 +00:00
Zdenek Kabelac
4555345704 * using macros to shorten init part
* removing some unused/unneeded code
* unifing some function names

Originally committed as revision 1202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 09:47:14 +00:00
Zdenek Kabelac
34dfe896e3 * quick fix for bit exact setting
(FIXME - add this into context flags)

Originally committed as revision 1200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 21:44:27 +00:00
Michael Niedermayer
c9a2ebc4c0 100l for kabi (fixing qpel)
Originally committed as revision 1198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 16:17:25 +00:00
Zdenek Kabelac
af19f78f2f * using DSPContext - so each codec could use its local (sub)set of CPU extension
* these are untested - users/developers please check

Originally committed as revision 1197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 10:04:45 +00:00
Zdenek Kabelac
85bd552606 * using DSPContext - so each codec could use its local (sub)set of CPU extension
* fixing compiler warning about uninit level

Originally committed as revision 1196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:44:59 +00:00
Zdenek Kabelac
ec7e0bf0fd * using DSPContext - so each codec could use its local (sub)set of CPU extension
* I think IDCT needs some better generic solution

Originally committed as revision 1195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:43:43 +00:00
Zdenek Kabelac
eb4b3dd3c3 * using DSPContext - so each codec could use its local (sub)set of CPU extension
Originally committed as revision 1194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:40:17 +00:00
Zdenek Kabelac
fb602cd15e * useless commit - ignore
Originally committed as revision 1193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:37:40 +00:00
Zdenek Kabelac
c6af86c240 * avcodec_init could be removed I guess...
Originally committed as revision 1192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:31:17 +00:00
Zdenek Kabelac
2602c84635 * consts
Originally committed as revision 1191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:30:07 +00:00
Zdenek Kabelac
8350df9704 * added dsp_mask
* using frame_bits for wav bits_per_sample

Originally committed as revision 1190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:24:15 +00:00
Arpi
df1c67adda 10l - set pixelfmt (colorspace) _before_ calling get_buffer() callback
Originally committed as revision 1185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 18:45:36 +00:00
Michael Niedermayer
b8a78f419d reversing header game
MIN/MAX -> FFMIN/FFMAX

Originally committed as revision 1184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 11:46:59 +00:00
Michael Niedermayer
f11d3f2310 avoid duplicate ";" warnings (based upon a patch by mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 11:24:27 +00:00
Michael Niedermayer
347ae22ecf hurry_up>=5 -> skip everything except header & set pict_type&key_frame
Originally committed as revision 1182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-10 10:54:07 +00:00
Michael Niedermayer
c2d418f1e6 fixing -sameq with mpeg2
Originally committed as revision 1179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-09 13:57:54 +00:00
Michael Niedermayer
f01a189455 cleanup
Originally committed as revision 1178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-09 10:38:34 +00:00
Michael Niedermayer
d7425f59d5 cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED
add CODEC_CAP_TRUNCATED
add alpha plane to AVPicture
remove CODEC_ID_MSMPEG4
remove various unused stuff
support "truncated" mpeg4 streams

Originally committed as revision 1175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-08 18:35:39 +00:00
Michael Niedermayer
218baf10f8 cleanup
Originally committed as revision 1173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-06 11:59:17 +00:00
Michael Niedermayer
81ada1ce9d cleanup
Originally committed as revision 1172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-06 09:30:47 +00:00
Michael Niedermayer
3d71589f27 cleanup
Originally committed as revision 1171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 17:31:26 +00:00
Michael Niedermayer
95e2ce4aa0 lrintf detection (based upon a patch by François Revol <revol at free dot fr>)
Originally committed as revision 1162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 00:07:05 +00:00
Michael Niedermayer
b587a7cb2b vc++ sucks, found by ("csharprules" <csharprules at hotmail dot com>)
Originally committed as revision 1160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-04 20:57:08 +00:00
Zdenek Kabelac
b0397e0e00 * DR1 support
Originally committed as revision 1157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-04 18:03:10 +00:00
Alex Beregszaszi
145956deee fixed some bugs in app parser - some jfif and adobe jpgs fixed
Originally committed as revision 1153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 22:49:13 +00:00
Michael Niedermayer
9f9c322930 support forcing low_delay during decoding
Originally committed as revision 1150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 18:47:51 +00:00
Michael Niedermayer
05c4072b45 Altivec Patch (Mark III) by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 11:28:08 +00:00
François Revol
3f95e8434b added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
contribution by Laszlo Torok <torokl@alpha.dfmk.hu>
4CC 'MAC3' and 'MAC6' in Quicktime.
It works for mono streams, needs to be fixed for stereo when I get my hands on a stereo sample :)
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:39:22 +00:00
Michael Niedermayer
86f85dca30 cleanup
Originally committed as revision 1142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 08:55:46 +00:00
Arpi
288daa8452 handle init error in ffmpeg12
Originally committed as revision 1141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 01:43:19 +00:00
Michael Niedermayer
8671359bfc better padding bug detection
Originally committed as revision 1139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 00:05:06 +00:00
Michael Niedermayer
75460b0ce5 put MIN/MAX under ifndef MAX/MIN
Originally committed as revision 1138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-01 20:37:10 +00:00
Michael Niedermayer
6a70098ac6 fixing msmpeg4v3 with mb_height % slice_height != 0
Originally committed as revision 1137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-01 18:55:03 +00:00
Michael Niedermayer
f56dd362bd hopefully fixing sprite_warping_points==0
Originally committed as revision 1136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-01 13:25:22 +00:00
Zdenek Kabelac
f408fc67c0 * avoid negative numbers as well
Originally committed as revision 1134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 20:22:30 +00:00