Commit Graph

1376 Commits

Author SHA1 Message Date
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