Commit Graph

8478 Commits

Author SHA1 Message Date
Michael Niedermayer
e7e2025a53 + (sign&1) -> -sign (1 instruction less)
Originally committed as revision 5253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:01:58 +00:00
Michael Niedermayer
ac2549b583 avoid hard to predict branch (idea by arpi)
Originally committed as revision 5252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 16:50:43 +00:00
Steve L'Homme
9296d45d29 warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
trailing whitespace and init=1 nonsense removed by me
AV_LOG_ERROR -> AV_LOG_INFO (yes steve even though many like you think its an error to use such a OS i cant apply that to cvs, sorry)

Originally committed as revision 5251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 13:06:24 +00:00
Luca Barbato
46641a135c Proper typecast for vector bool
Originally committed as revision 5250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 09:59:53 +00:00
Luca Abeni
5d6ed7c141 move enum PixelFormat from libavcodec to libavutil
----------------------------------------------------------------------

Originally committed as revision 5248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 16:24:38 +00:00
Michael Niedermayer
d30ba3bb34 reverting 1.31->1.33
fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
(by michael)
Init simplification and 2% faster wma_decode_block on amd64 with tables use
instead of pow(). (by banan)

the init simplifictaion is not correct its not binary identical
the pow optimization breaks decoding of http://klif-e.mos.net.au/videos/extr.wmv

Originally committed as revision 5247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:58:36 +00:00
Michael Niedermayer
1adc29eedb dont forget table_size in the decode_frame return value
Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:13:03 +00:00
Corey Hickey
1005f542b2 - Add new file internal.h for common internal-use-only functions.
- Add new function av_tempfile() for creating temporary files; contains
  workaround for MinGW.
- Make XviD stuff use av_tempfile().

Originally committed as revision 5245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 04:33:05 +00:00
Michael Niedermayer
60f3c0b8fc fix gcc 2.95 compilation
Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 21:11:57 +00:00
Luca Barbato
085065f0fd Cast cruft in order to support Apple gcc
Originally committed as revision 5242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 18:42:50 +00:00
Diego Biurrun
c6b1866b73 Ignore apiexample and test programs.
Originally committed as revision 5241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 11:01:17 +00:00
Diego Biurrun
dc9cc5ed85 EXTRALIBS already contains -lm, no need to add it explicitly.
Originally committed as revision 5240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 10:59:09 +00:00
Michael Niedermayer
b88a718a11 avoid if(i>=63) check at the end of decode_block()
Originally committed as revision 5239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:20:44 +00:00
Michael Niedermayer
415365d225 avoid i++ in decode_block()
Originally committed as revision 5238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:13:43 +00:00
Michael Niedermayer
7d2b787daa minor optimization of decode_block()
Originally committed as revision 5237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 08:41:53 +00:00
Michael Niedermayer
22dde0e955 optimizations by arpi
Originally committed as revision 5235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 01:59:24 +00:00
Reimar Döffinger
dfca23e361 NuppelVideo/MythTVVideo support, including rtjpeg decoder
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 22:22:50 +00:00
Luca Barbato
22b48b85b6 altivec support for snow
Originally committed as revision 5228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:51:19 +00:00
Luca Barbato
e62c29bf57 altivec support for snow
Originally committed as revision 5227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:45:27 +00:00
Benjamin Larsson
5b6638517f Use a more descriptive error message.
Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 17:07:02 +00:00
Kostya Shishkov
76fabb4579 Don't use get_vlc2() when tree is one symbol. This fixes audio decoding
artifacts (chirps instead of silence).

Originally committed as revision 5217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 15:37:08 +00:00
Loren Merritt
2ea392529a 10l in 1.199 (write_back_motion with B-pyramid + spatial)
Originally committed as revision 5215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 09:46:43 +00:00
Loren Merritt
5e8b787afa simplified and slightly faster h264_chroma_mc8_mmx
Originally committed as revision 5214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 08:41:14 +00:00
Steve L'Homme
dc2bf20e27 ST16 is undefined for non-GNU compilers.
Patch by Steve Lhomme <slhomme at divxcorp com>

Originally committed as revision 5206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 01:33:22 +00:00
Loren Merritt
e77ef2755a prefetch pixels for future motion compensation. 4-10% faster mpeg1/2/4 decoding (on an athlon-xp).
Originally committed as revision 5204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 21:54:46 +00:00
Loren Merritt
513fbd8e5a prefetch pixels for future motion compensation. 2-5% faster h264.
Originally committed as revision 5203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 20:16:36 +00:00
Loren Merritt
5e6a5c4daf 10l
Originally committed as revision 5201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 22:08:28 +00:00
Loren Merritt
fdd3057981 added mmx implementation of h264_chroma_mc2
Originally committed as revision 5200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 22:05:00 +00:00
Loren Merritt
53b19144e7 1.5x faster write_back_motion, 1-3% overall
Originally committed as revision 5198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 12:41:02 +00:00
Robert Edele
e8600e5edc add MMX and SSE versions of ff_snow_inner_add_yblock
Patch by Robert Edele < yartrebo AH earthlink POIS net >
Original Thread:
Date: Mar 22, 2006 3:24 AM
Subject: [Ffmpeg-devel] [PATCH] snow mmx + sse2 part 5

Originally committed as revision 5197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 12:08:35 +00:00
Robert Edele
2c9a0285d4 snow mmx+sse2 optimizations, part 4
Patch by Robert Edele, yartrebo <<at>> earthlink <<dot>> net

Originally committed as revision 5191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 21:51:07 +00:00
Kostya Shishkov
348efc1836 Smacker demuxer and decoder.
Originally committed as revision 5189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 17:27:47 +00:00
Måns Rullgård
d59518d45d since Michael prefers to keep dsputil.h private to libavcodec
(rather than installing it system-wide) this patch reverses the
mistake I made last month (mplayer was recently fixed accordingly).

patch from Nico Sabbi <nicola_sabbi at fastwebnet it>

Originally committed as revision 5186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 22:48:08 +00:00
Robert Edele
4567b4bdab Add the mmx and sse2 implementations of ff_snow_vertical_compose().
Patch by Robert Edele < yartrebo AH earthlink POIS net >
Original thread:
Date: Mar 20, 2006 5:54 PM
Subject: [Ffmpeg-devel] [PATCH] snow mmx + sse2 part 3

Originally committed as revision 5185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 22:27:59 +00:00
Robert Edele
561a18d3ba Snow mmx + sse2 part 2
Patch by Robert Edele,  yartrebo <<at>> earthlink <<dot>> net

Originally committed as revision 5184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 05:52:23 +00:00
Michael Niedermayer
1956e16653 fixing interlaced direct mode field select values
Originally committed as revision 5183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 01:18:56 +00:00
Michael Niedermayer
83378d0de5 various fixes for xvid_rc
Originally committed as revision 5182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-19 11:49:37 +00:00
Michael Niedermayer
5fe4cf7b9f fix frametypes with xvid_rc
Originally committed as revision 5180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 20:43:48 +00:00
Michael Niedermayer
0adba3d88b fixing bquant_offset
Originally committed as revision 5179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 02:46:39 +00:00
Michael Niedermayer
e70e7a4b17 segfault fix
Originally committed as revision 5178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 02:29:58 +00:00
Corey Hickey
022fad4833 make ff_rate_control_init() bail out if rc_strategy==1 and lavc wasn't
compiled with xvid support.

Originally committed as revision 5176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 16:40:10 +00:00
Oded Shimon
13c97a5a0a 10l: Only set *compose97i *add_yblock to dsputils context if we are building with Snow enabled
Patch by Oded Shimon < ods15 AH ods15 POIS dyndns POIS org >

Originally committed as revision 5175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 12:08:46 +00:00
Robert Edele
059715a41c First part of a series of speed-enchancing patches.
This one sets up a snow.h and makes snow use the dsputil function pointer
framework to access the three functions that will be implemented in asm
in the other parts of the patchset.
Patch by Robert Edele < yartrebo AH earthlink POIS net>
Original thread:
Subject: [Ffmpeg-devel] [PATCH] Snow mmx+sse2 asm optimizations
Date: Sun, 05 Feb 2006 12:47:14 -0500

Originally committed as revision 5172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-16 19:18:18 +00:00
Michael Niedermayer
fc8c49926c dont pass intra flag if its always 0
Originally committed as revision 5164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-14 00:22:05 +00:00
Michael Niedermayer
4cb8574dc8 fixing coverity warnig CID: 253 (reading over the end of the aspect_ratio array for illegal aspect ratios)
Originally committed as revision 5163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 23:46:47 +00:00
Michael Niedermayer
40c8602f64 fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
Originally committed as revision 5162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 23:29:00 +00:00
Loren Merritt
8f8ae4951e seed iterative_me with mvs from conventional search.
+15% speed, +.1 dB

Originally committed as revision 5158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 01:27:13 +00:00
Loren Merritt
07674d518c obey vqscale in 2nd pass
Originally committed as revision 5157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 01:26:06 +00:00
Michael Niedermayer
c1341a57f2 reset interlaced_dct flag
Originally committed as revision 5155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 19:55:52 +00:00
Kostya Shishkov
79d15fd4db 16-bit DPCM and stereo support for Sierra VMD
Originally committed as revision 5147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 04:26:55 +00:00
Michael Niedermayer
e7c8206e5c av_free -> av_freep
Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:19:32 +00:00
Michael Niedermayer
87f20c2f31 fix %8 != 0 w/h
Originally committed as revision 5144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:18:43 +00:00
Michael Niedermayer
8437ff75f8 asserts to check if assumed conditions really are true
Originally committed as revision 5143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 22:00:36 +00:00
Michael Niedermayer
3aeefb93c8 out of array read fix
Originally committed as revision 5142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 21:20:49 +00:00
Michael Niedermayer
5d9db9c4a9 out of array read fix
Originally committed as revision 5141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 20:58:42 +00:00
Michael Niedermayer
5430b070a8 cleanup picture / debug output code
Originally committed as revision 5140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 20:40:52 +00:00
Michael Niedermayer
003ebe100b fixing out of array access (only cosmetic, this should never have had a end user vissible effect)
Originally committed as revision 5139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 19:42:51 +00:00
Michael Niedermayer
eabb0ac38e add assert to clarify that we know what we are doing
Originally committed as revision 5138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 19:10:46 +00:00
Michael Niedermayer
cb666260a0 fixing uninitalized dc_pred_dir
this needs testing (no files with intra_dc_threshold and vissible ac_pred errors here)

Originally committed as revision 5137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:40:41 +00:00
Michael Niedermayer
9e801ee2fa very minor optimization
Originally committed as revision 5136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:37:18 +00:00
Michael Niedermayer
f7287c42b2 unused variable
Originally committed as revision 5135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:34:51 +00:00
Baptiste Coudurier
f2651e7a6c Fix cropping, depending on enc pix fmt
Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 13:55:48 +00:00
David S. Miller
bf4665eeec Alignment fixes, caused problems on SPARC.
patch by "David S. Miller" davem <<at>> davemloft <<dot>> net

Originally committed as revision 5130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-09 08:05:45 +00:00
Steve L'Homme
267f7edcd1 (f)printf --> av_log conversion
taken from a patch by Steve L'Homme

Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Benjamin Larsson
6f3dda9328 Init simplification and 2% faster wma_decode_block on amd64 with tables use
instead of pow().

Originally committed as revision 5126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 09:26:57 +00:00
Zuxy Meng
82eb4b0f1b 3DNow! & Extended 3DNow! versions of FFT
Patch by Zuxy Meng, zuxy <<dot>> meng >>at<< gmail <<dot>> com
Minor non-functional diff-related fixes by me.

Originally committed as revision 5125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 04:13:55 +00:00
Loren Merritt
548a1c8a35 h264_idct8_add_mmx
Originally committed as revision 5123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-07 22:45:56 +00:00
Loren Merritt
6da971f160 h264_idct_add only needs mmx1
Originally committed as revision 5122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-07 22:33:32 +00:00
Sam Hocevar
5f112e1f96 Proper mangling information for symbols in OS X Mach-O shared objects.
patch by Samuel Hocevar, sam ..at.. zoy ..dot.. org

Originally committed as revision 5120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 22:06:33 +00:00
Michael Niedermayer
b865838ea2 switch flac to av_crc
Originally committed as revision 5117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 15:09:04 +00:00
Michael Niedermayer
e027d0a81e switch ac3enc to av_crc
Originally committed as revision 5116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:53:13 +00:00
Michael Niedermayer
43a80ccee5 generic crc calculation code
Originally committed as revision 5115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:13:01 +00:00
Roman Shaposhnik
56419683b2 I still don't think this should be here. Note: without this code DV encoder
will accept incorrect pix_fmt's and such, but decoder will work much better
with containers not setting the same attributes. It seems like there will
be a generic mechanism for checking such constraints, but if not I can always
resurrect this check for *encoder* only.

Originally committed as revision 5114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 09:54:09 +00:00
Daniel Maas
0b297700b7 DVCPRO50 support.
Patch by Daniel Maas dmaas at maasdigital dot com

Originally committed as revision 5113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 08:54:33 +00:00
Zuxy Meng
2ffb22d2ad use xorps instead of mulps to toggle the sign of a float, as suggested by Software Optimization Guide for AMD64 Processors.
Patch by Zuxy Meng < zuxy POIS meng AH  gmail POIS com > OKed by Michael
Original thread:
Date: Mar 5, 2006 8:15 PM
Subject: [Ffmpeg-devel] [PATCH] Little optimization to fft_sse.c

Originally committed as revision 5112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 20:25:18 +00:00
Loren Merritt
d84f7c61ee gcc2.95 workaround
Originally committed as revision 5111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 19:02:35 +00:00
Baptiste Coudurier
980bbb13d6 Make faac_decode_frame return -1 on error and not 0 which avoids
stalling and infinite loop.
Patch by Baptiste COUDURIER <baptiste coudurier at smartjog com>

Originally committed as revision 5110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 12:32:24 +00:00
Loren Merritt
7a5b2fa812 remove some useless instructions
Originally committed as revision 5109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 19:56:01 +00:00
Diego Biurrun
14b005d009 Make -xy help output consistent, output an empty line before and after.
Originally committed as revision 5108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 17:34:17 +00:00
Loren Merritt
9e4cc776da keyframe flag was wrong if SEIs followed the keyframe
Originally committed as revision 5107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 03:57:33 +00:00
Michael Niedermayer
ae9e417358 PAL8 support (fixed BLUR8.AVI)
cleanup

Originally committed as revision 5105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-03 21:33:06 +00:00
Michael Niedermayer
b5c85991f6 fix segfault with BLUR8.AVI
Originally committed as revision 5104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-03 20:36:08 +00:00
Michael Niedermayer
d00bff20b2 fix infinite loop
Originally committed as revision 5102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 21:47:53 +00:00
Michael Niedermayer
8d359bbabe cleanup IMA-ADPCM WAV decoder
Originally committed as revision 5095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 13:55:49 +00:00
Loren Merritt
6a8eb0f45a 4% faster h264_qpel_mc
Originally committed as revision 5094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 08:21:08 +00:00
Zdenek Kabelac
289f999dab * bugfixing call reference
Originally committed as revision 5092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 23:19:04 +00:00
Michael Niedermayer
2669777981 fix decoding of mpeg2-trunc.vob
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:59:22 +00:00
Likai Liu
11c19637d2 use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)
Originally committed as revision 5079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 21:55:18 +00:00
Dan Maas
40116978de Assign class 2 to most macroblocks by default, instead of a more conservative
method defined by SMPTE

Patch by Dan Maas

Originally committed as revision 5074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 02:54:48 +00:00
Benjamin Larsson
79a32e3b95 64bit fixes for the tta decoder, sizeof(long) is 8 on amd64, 4 on x86, the patch
basicly just do a s/long/int32_t/. Patch tested on amd64 and x86.

Originally committed as revision 5072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 12:17:20 +00:00
Roman Shaposhnik
e5867e4d50 Not that we're that far from being an *initial* implementation, but
at least weighting got implemented thanks to Dan. ;-)

Originally committed as revision 5071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 05:04:05 +00:00
Dan Maas
2e52b44e50 AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
performance impact is less than 1%.

Patch by Dan Maas  (dmaas at maasdigital dot com)

Originally committed as revision 5070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 04:50:06 +00:00
Michael Niedermayer
0403f791b3 remove wrong assert()
Originally committed as revision 5067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 15:40:08 +00:00
Michael Niedermayer
d676478c8d replace for loop with 2 asserts()
Originally committed as revision 5066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 15:24:42 +00:00
Dan Maas
6df5f6ae51 size[0-3] are not initialized (and can get random negative trash
values), so the comparison with vs_total_ac_bits is messed up on the
first couple loop iterations, leading to AC underflows.

the b->prev[] pointers were not being maintained correctly. We
potentially have to update b->prev[] both before and after the area
whose VLC length is getting adjusted.

this also might fix the ppc regression failure?

patch by (Dan Maas <dmaas maasdigital com>)

Originally committed as revision 5064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:58:26 +00:00
Måns Rullgård
1bd8624697 kill some warnings
Originally committed as revision 5063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:41:31 +00:00
Loren Merritt
285b570fd2 fix a memory leak on seeking.
Originally committed as revision 5062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:15:24 +00:00
Michael Niedermayer
7bdb4f67bc 10l (forgot EOBs)
Originally committed as revision 5059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-24 09:16:26 +00:00
Michael Niedermayer
6661b2130d dont lowwer qnos of more blocks then needed
Originally committed as revision 5055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 13:05:37 +00:00
Antoine Cellerier
88d6903e23 Give a hint about what is the expected the data type of command line options.
Patch by Antoine Cellerier < dionoea AaH via pOiS ecp PoIs fr >
Original thread:
Date: Nov 1, 2005 7:41 PM
Subject: [Ffmpeg-devel] libavcodec help

Originally committed as revision 5054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 10:07:41 +00:00
Michael Niedermayer
d2d230a756 fixing dv_guess_qnos()
roman, dont hesitate to reverse this and solve it differntly if you want ...

Originally committed as revision 5053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 08:56:53 +00:00
Michael Niedermayer
fe78f7cdaa print a big warning if we mess up and run out of space ...
Originally committed as revision 5052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-23 00:16:45 +00:00
Loren Merritt
85ed1022b3 minor simplifications in cabac_mb_type
Originally committed as revision 5048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-22 05:59:44 +00:00
Luca Barbato
5cb9fda4b0 Fix AltiVec H.264 decoding on FSF gcc.
patch by Luca Barbato, lu_zero aatt gentoo ddoott org

Originally committed as revision 5046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 22:24:19 +00:00
Alex Beregszaszi
1319a77b01 added none/8bit/24bit audio formats and defaulting to s16 for now (once the system works like pix_fmt, the defaulting should be changed to SAMPLE_FMT_NONE)
Originally committed as revision 5045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 22:05:13 +00:00
Alex Beregszaszi
a1db1fc445 explain extradata and pass avctx to av_log's
Originally committed as revision 5042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 00:03:10 +00:00
Kostya Shishkov
b0ca57356e ZMBV 15-/16-/32-bit decoding. 24-bit mode is disabled because it's not
implemented in the DosBox/ZMBV codec either.
patch by Konstantin "Kostya" Shishkov

Originally committed as revision 5041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-20 23:22:02 +00:00
Erik Slagter
277fe2294f pass noise reduction option to x264
patch by Erik Slagter <erik at slagter name>

Originally committed as revision 5040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-20 19:01:29 +00:00
Erik Slagter
b0ec9efd7a Increase maximum number of B-frames, necessary for H.264 encoding.
patch by Erik Slagter, erik at slagter .... name

Originally committed as revision 5039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-19 22:44:35 +00:00
Michael Niedermayer
c2ca19d7f9 RMP4 ("xvid fork") decoding support
Originally committed as revision 5035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-19 10:20:27 +00:00
Falk Hüffner
1b137298fa Change license header to LGPL for consistency.
Originally committed as revision 5029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-17 19:48:11 +00:00
Mike Melanson
2637670144 complete AVS playback system (from Creature Shock computer game),
courtesy of Aurelien Jacobs <aurel at gnuage dot org>

Originally committed as revision 5028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-17 03:17:42 +00:00
Loren Merritt
db8a64cba0 don't arbitrarily limit delta_qp
Originally committed as revision 5026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-16 01:16:12 +00:00
Aurelien Jacobs
2433f24f60 add Creative 8 bits ADPCM schemes support
Originally committed as revision 5024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-16 00:09:23 +00:00
Loren Merritt
8b03135958 fix some crashes on negative nalsize.
Originally committed as revision 5022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-14 05:40:53 +00:00
Loren Merritt
171c407621 fix some crashes when missing frames
Originally committed as revision 5019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 18:13:13 +00:00
Måns Rullgård
8b2121e3de move common parts of makefiles into common.mak
Originally committed as revision 5015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 12:53:25 +00:00
Alex Beregszaszi
8170e5fb49 increase audio buffer to 1second of 48khz float audio
Originally committed as revision 5013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 12:00:27 +00:00
Mike Melanson
eff22cc98b add another set of zlib guards
Originally committed as revision 5008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 17:47:30 +00:00
Mike Melanson
1927cd41e0 make TSCC endian-safe, PPC testing courtesy of Diego B.
Originally committed as revision 5007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 16:56:06 +00:00
Mike Melanson
9c8d8e84e0 dosbox native ZMBV decoder, courtesy of Kostya
Originally committed as revision 5000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 08:53:29 +00:00
Mike Melanson
4e114829b1 complete American Laser Games MM playback system, courtesy of Peter Ross
(suxen_drol at hotmail dot com)

Originally committed as revision 4999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 06:49:40 +00:00
Alex Beregszaszi
a24c4a2ae4 tta decoder, tested with 44khz mono and stereo (for the latter use ffplay or change MAX_AUDIO_FRAME_SIZE)
Originally committed as revision 4996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 02:15:19 +00:00
Diego Biurrun
1a9150b194 Move libpostproc compilation to the top-level Makefile.
Originally committed as revision 4993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 21:42:11 +00:00
Diego Biurrun
26d469117f Quote all installation paths to protect against spaces in the path.
Originally committed as revision 4992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 20:54:40 +00:00
Diego Biurrun
a44a8bb818 libpostproc installs into a different directory that needs to be created.
Originally committed as revision 4991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 20:53:55 +00:00
Diego Biurrun
08842d13dd 100l typo: forgotten $
Originally committed as revision 4989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 20:40:01 +00:00
Jindřich Makovička
63a5b0b1ae - fix insufficient code length for exp_vlc
- move vlc tweaking parameters to one place

Originally committed as revision 4987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 19:39:05 +00:00
Diego Biurrun
dc2a1ce5c0 Simplify header installation.
Originally committed as revision 4986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 19:30:55 +00:00
Diego Biurrun
b12f8273fa Separate library install into static and shared installation.
Originally committed as revision 4983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 18:50:45 +00:00
Diego Biurrun
f29f3b5d9f Separate header file installation from the general install target.
Originally committed as revision 4981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 17:44:06 +00:00
Diego Biurrun
c86eb7ae86 Add installlib and install-headers targets like everywhere else.
Originally committed as revision 4977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 16:50:45 +00:00
Diego Biurrun
d9c2bab2f8 Install static libpostproc if CONFIG_PP is set.
Originally committed as revision 4976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 16:46:09 +00:00
Diego Biurrun
b1d2a364d7 Install libpostproc headers if CONFIG_PP is set.
Originally committed as revision 4975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 16:17:27 +00:00
Alexander Strasser
5c4b1b2538 Don't use pow/powf functions where we just need integer arithmetic.
approved by Benjamin

Originally committed as revision 4973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 11:59:38 +00:00
Loren Merritt
ef9d1d1575 h264: special case dc-only idct. ~1% faster overall
Originally committed as revision 4971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 06:55:25 +00:00
Måns Rullgård
100a74222b use get_bits1/skip_bits[1] in ac3 and aac parsers
Originally committed as revision 4969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 01:19:54 +00:00
Michael Niedermayer
ee7388c934 fix segfault on broken streams
Originally committed as revision 4966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 09:38:03 +00:00
Loren Merritt
4e295993ba 10l in 1.12
Originally committed as revision 4965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 02:43:23 +00:00
Loren Merritt
c0234aa44c slightly faster loopfilter
Originally committed as revision 4958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 07:04:32 +00:00
Måns Rullgård
4accd1fd18 bump version numbers and update docs for adts aac support
Originally committed as revision 4957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 01:11:48 +00:00
Måns Rullgård
86db37df52 create adts stream if CODEC_FLAG_GLOBAL_HEADER not set
Originally committed as revision 4956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 01:10:07 +00:00
Måns Rullgård
da46276ff8 adts aac parser
Originally committed as revision 4954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:50:22 +00:00
Måns Rullgård
79b0b66ba0 decode adts aac streams
Originally committed as revision 4953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:30:58 +00:00
Loren Merritt
6ee669732d 10l (x86_64)
Originally committed as revision 4952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 16:10:48 +00:00
Loren Merritt
e545f37527 18% faster put_h264_qpel16_mc[13]2_mmx2
Originally committed as revision 4951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 10:52:25 +00:00
Loren Merritt
c03ce51dfb 11% faster put_h264_qpel16_v_lowpass_mmx2
Originally committed as revision 4950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 07:35:03 +00:00
Loren Merritt
0331f09237 15% faster put_h264_qpel16_hv_lowpass_mmx2
Originally committed as revision 4949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-07 06:25:14 +00:00
Michael Niedermayer
8cb90572a2 1 goto 1 fix
Originally committed as revision 4946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:21:26 +00:00
Benjamin Larsson
2e9c78d354 Fix broken cosmetics commit and add a check for valid headers.
Originally committed as revision 4945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:21:10 +00:00
Benjamin Larsson
7f129a33b1 Small cosmetics and better variable names.
Originally committed as revision 4944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-06 11:03:37 +00:00
Steve L'Homme
68b51e58ce MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr

Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 13:35:17 +00:00
Alexander Strasser
04c669ba98 Correct the relation between floors of type 0 and block sizes.
Originally committed as revision 4941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 10:16:20 +00:00
Michael Niedermayer
809b2a30b2 simplify
Originally committed as revision 4940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 22:18:45 +00:00
Michael Niedermayer
82fcbc145d faster find_startcode()
Originally committed as revision 4939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 20:32:02 +00:00
Alexander Strasser
f9c5c13af5 Cosmetic: Fix indentation.
Originally committed as revision 4935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 10:04:13 +00:00
Alexander Strasser
536b48b258 10l (malloc check with the wrong pointer)
Simplification: I have to reconsider this trees and forest thing...

Also readded and documented the check i had in the beginning and removed
before applying. It avoids a possible div by zero.

Originally committed as revision 4934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 09:59:48 +00:00
Alexander Strasser
43eb59087b Added support for vorbis files containing floor type 0.
Originally committed as revision 4933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 08:55:34 +00:00
Michael Niedermayer
d8a91afd36 output last ac3 frame and simplify
Originally committed as revision 4926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 18:38:47 +00:00
Michael Niedermayer
e2a5fd2049 os2 thread, network and freetype2 support by (Paul Smedley | paulat a t smedleydot d o t info)
Originally committed as revision 4922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 13:07:30 +00:00
Luca Abeni
7d453f4500 Set interlaced_frame and top_field_first according to coded_frame.
patch by Luca Abeni, lucabe72 **at&& email ^^dot## it

Originally committed as revision 4919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 09:24:13 +00:00
Michael Niedermayer
81edbc1d49 list of supported pix_fmts
Originally committed as revision 4918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 02:36:27 +00:00
Michael Niedermayer
98ddcd3989 JPEG-LS codec by (Kostya | kostya.forjunk gmail com)
Originally committed as revision 4917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 02:28:33 +00:00
Diego Biurrun
b5bba45905 Fix silly typos.
Originally committed as revision 4915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-31 00:17:13 +00:00
Dieter
efce1a8fea add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 23:41:27 +00:00
Dieter
ceaf1909c1 add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 23:33:19 +00:00
Dieter
ed96aeea64 long is better than int for pointer differences
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 22:59:09 +00:00
Diego Biurrun
320d060ae9 On MinGW it is not possible to build shared and static libraries at once.
Add means to disable building the static libraries and fix a few issues
with the MinGW build.
All the hard work done by Alexander Strasser, minor changes by myself.

Originally committed as revision 4909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 00:22:41 +00:00
Diego Biurrun
c0af384013 Simplify LDFLAGS handling for MinGW.
Originally committed as revision 4907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-29 18:32:55 +00:00
Dieter
1b47fafd9f make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)
Originally committed as revision 4905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-28 16:05:06 +00:00
Loren Merritt
fdb52bccf6 fix crash on height < 16 pixels.
Originally committed as revision 4904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-28 00:57:59 +00:00
Corey Hickey
7e41c35436 Add a newline to b_frame_strategy error message.
Originally committed as revision 4903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-27 23:24:24 +00:00
Michael Niedermayer
07fc2b8278 fixing bframe strategy 2
bits vs. bytes factor of 8 error
  16 byte offset error
  some other minor things

Originally committed as revision 4902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-27 13:19:13 +00:00
Diego Biurrun
04c07634d6 Remove obscure Makefile.bak entry from distclean rules.
Originally committed as revision 4901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-26 23:42:30 +00:00
Diego Biurrun
f038fe8b4a warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 22:10:13 +00:00
Michael Niedermayer
1953105102 10l forgot #ifdef CONFIG_XVID
Originally committed as revision 4895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 02:16:27 +00:00
Michael Niedermayer
64b7c5b6f6 xvid ratecontrol support
Originally committed as revision 4894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-24 21:57:26 +00:00
Diego Biurrun
4f59b684a6 Remove all stray tabs and trailing whitespace, this time for good.
Originally committed as revision 4891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-24 10:33:14 +00:00
Baptiste Coudurier
c06e734a01 Mjpeg interlaced decoding fix, height was wrong while decoding (/2).
Patch by Baptiste Coudurier, baptiste _ coudurier at smartjog _ com.

Originally committed as revision 4885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-23 06:40:08 +00:00
Corey Hickey
39a64e3023 sc_factor support for encoding.
Here's the description I'll add to the mplayer man page:
---
Causes frames with higher quantizers to be more likely to trigger a
scene change detection and make libavcodec use an I-frame (default: 1).
1-16 is a sane range.
Values between 2 and 6 may yield increasing PSNR (up to approximately
0.04 dB) and better placement of I-frames in high-motion scenes.
Higher values than 6 may give very slightly better PSNR (approximately
0.01 dB more than sc_factor=6), but noticably worse visual quality.
---

Original idea from Michael; patch by me.

Originally committed as revision 4883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 20:54:52 +00:00
Reimar Döffinger
f53a2931cf faster copy functions for lzo decoder that also need padding
Originally committed as revision 4882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 19:10:12 +00:00
Måns Rullgård
62327e2852 native ac3 parser
Originally committed as revision 4878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 18:19:47 +00:00
Justin Ruggles
13c7145135 Implement audio cutoff frequency to the vorbis encoder.
Patch by Justin Ruggles jruggle earthlink net.

Originally committed as revision 4877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 17:09:23 +00:00
Loren Merritt
48d1b9a17c fix convergence of snow iterative_me
Originally committed as revision 4876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 02:35:03 +00:00
Loren Merritt
3de79d0dca revert 1.83 because it's not needed
Originally committed as revision 4875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 02:33:01 +00:00
Benjamin Larsson
82863d1e02 Silence warnings, these came when some tables got declared as const.
Originally committed as revision 4873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-20 23:06:35 +00:00
Måns Rullgård
806011f2ad place SPS/PPS in extradata if GLOBAL_HEADER flag is set
Originally committed as revision 4872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-20 21:20:46 +00:00
Loren Merritt
d3ac6ed667 detect when iterative_me fails to converge, and stop searching
Originally committed as revision 4868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-19 09:21:39 +00:00
Måns Rullgård
950c2790a2 interpret H264 VUI timing info correctly
work around bug in x264 build < 44

Originally committed as revision 4866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-19 00:19:15 +00:00
Loren Merritt
b104969fab obmc-aware 4mv
Originally committed as revision 4864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-17 08:27:39 +00:00
Diego Biurrun
98013cc16c Make clean/distclean consistent throughout all the Makefiles.
Originally committed as revision 4863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-16 14:59:54 +00:00
Reimar Döffinger
d3c71c5002 10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...
Originally committed as revision 4862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-15 21:33:06 +00:00
Diego Biurrun
29a10be0d4 Don't use 'rm -f *$(SLIBSUF)' in a clean rule, $(SLIBSUF) might be empty.
Remove all possible shared libs suffixes instead.

Originally committed as revision 4860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-15 00:28:36 +00:00
Diego Biurrun
69e9b2cf45 Define separate version number for libpostproc.
Originally committed as revision 4859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 18:17:19 +00:00
Diego Biurrun
ba64106a39 Remove redundant --enable-shared-pp configure option and make the PP code
use the standard --enable-shared option.

Originally committed as revision 4858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 18:07:36 +00:00
jwestfall@surrealistic.net
dd1a74d25d Off by one fix to prevent possible segfault. Patch by jwestfall at surrealistic dot net.
Originally committed as revision 4857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 17:43:22 +00:00
Diego Biurrun
4bdd05e76f Move library name generation to configure, simplifies build system a bit more.
Originally committed as revision 4856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 15:54:58 +00:00
Diego Biurrun
1c7a8c17ff Fix a bunch of spelling/grammar mistakes in doxygen comments and output.
Originally committed as revision 4855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 15:00:10 +00:00
Reimar Döffinger
a9318df2f8 get_byte may not return -1 on error, since it can lead to a negative backptr.
Originally committed as revision 4854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 14:59:11 +00:00
Reimar Döffinger
d66fbc14de Wrong state handling causing decompression errors in some cases
Originally committed as revision 4852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 12:55:20 +00:00
Diego Biurrun
f3b6010916 Create symbolic links for all library sonames and clean up Makefiles.
based on a patch by Luca Barbato < lu_zero -- at -- gentoo -- dot -- org >

Originally committed as revision 4851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 03:39:02 +00:00
Diego Biurrun
45e63d13d5 CamStudio video decoder
Originally committed as revision 4849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 01:33:17 +00:00
Diego Biurrun
fa30d08202 Change this Makefile to be consistent with all the others.
Originally committed as revision 4844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-13 00:53:36 +00:00
Diego Biurrun
dfd15b6e4f minor consistency fix
Originally committed as revision 4843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-13 00:47:16 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Michael Niedermayer
c8a596d210 bugs found by valgrind
Originally committed as revision 4841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 21:37:57 +00:00
Reimar Döffinger
517840c654 Our own LZO (1X) implementation, under LGPL and optimized for readability.
Tested on CamStudio sample files.

Originally committed as revision 4840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 17:52:41 +00:00
Loren Merritt
1015631b79 faster iterative_me: avoid duplicate mc of neighboring blocks.
Originally committed as revision 4839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 05:47:52 +00:00
Diego Biurrun
fb3d46da69 Move Darwin shared library build peculiarities to configure.
Originally committed as revision 4838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 00:00:00 +00:00
Luca Abeni
14f0c8e28a Parameter added for user to set the cutoff frequency when encoding with faac.
Patch by Luca Abeni - lucabe72 at email dot it.

Originally committed as revision 4837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-10 20:07:29 +00:00
Reimar Döffinger
e0f80bd744 CamStudio decoder, only 32 bit lzo mode is tested
Originally committed as revision 4836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 15:41:39 +00:00
Loren Merritt
e8b562087d tweak h264_biweight
Originally committed as revision 4835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 03:38:37 +00:00
Loren Merritt
70abb40759 tweak inlines.
Originally committed as revision 4834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 03:15:53 +00:00
Diego Biurrun
32504425d0 consistency cosmetics
Originally committed as revision 4833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 02:08:24 +00:00
Loren Merritt
8bf755d4ff 10l: bidir_refine didn't save the new mvs. also improve speed.
Originally committed as revision 4832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 02:08:12 +00:00
Jacob Meuser
62e60aed8d Make shared lib name handling consistent with the other Makefiles.
patch by Jacob Meuser <  jakemsr  ..@..  jakemsr  ...  com  >

Originally committed as revision 4831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 02:05:17 +00:00
Benjamin Larsson
946c113046 get_vlc -> get_vlc2 transition and get_vlc() removed from bitstream.h
Originally committed as revision 4829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 21:19:39 +00:00
Benjamin Larsson
fb9cb0b8c4 get_vlc -> get_vlc2 transition.
Originally committed as revision 4828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 19:31:21 +00:00
Benjamin Larsson
52fa37f17c get_vlc -> get_vlc2 transition.
Originally committed as revision 4827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 17:09:05 +00:00
Nico Sabbi
a305b82d42 install dsputil.h, that is used by many filters in mplayer
Originally committed as revision 4825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 14:53:37 +00:00
Michael Niedermayer
80e44bc3bf use h264 MC functions for 2xX Xx2 blocks in snow too
Originally committed as revision 4824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 01:50:34 +00:00
Benjamin Larsson
51bb91cb24 Incorrect check removed.
Originally committed as revision 4823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-07 23:38:17 +00:00
Michael Niedermayer
2692ceab8b use h264 MC functions for rectangular blocks too
Originally committed as revision 4821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-07 18:34:19 +00:00
Michael Niedermayer
39277cf949 10l (assertion failure)
Originally committed as revision 4819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-07 03:39:10 +00:00
Roman Shaposhnik
aa06658248 Moving dv_anchor back to the global scope. This creates a tiny memory
leak for cases like dlopening libavcodec.so and such, but I still
   don't know how to catch such events.

Originally committed as revision 4818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-06 19:19:39 +00:00
Diego Biurrun
faf824dfd1 Comment out WMV3 decoder for now, it crashes on every file and causes
bug report spam.

Originally committed as revision 4817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-06 13:18:31 +00:00
Benjamin Larsson
560b10a6c3 Dual mono stereo strems sound ok now, added sanity checks and removed
some unused variables and redundant memsets.
Patch by Benjamin Larsson

Originally committed as revision 4816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-06 12:41:57 +00:00
Mike Melanson
609009913d ugly, but necessary
Originally committed as revision 4814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-05 06:58:36 +00:00
Michael Niedermayer
3b6ab26c01 cleanup
fix 4mv playback distortions

Originally committed as revision 4813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 22:34:11 +00:00
Tom Joseph
ee0d2803ec H.263: more descriptive error message
patch by Tom Joseph < tom-lists @@ @ @@ jambon @@ dot @@ ll @@ dot @@ cx >

Originally committed as revision 4812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 17:07:30 +00:00
Michael Niedermayer
27c61ac53d 8x8 integer dct from x264 as cmp function (under CONFIG_GPL)
if this gives better quality then SATD then someone should port the x86 code too or maybe we could even just call it from libx264
the 4x4 one could be tried too ...

Originally committed as revision 4811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 16:31:23 +00:00
Benjamin Larsson
7022003581 Fix an out of array access and some minor cleanup of the code.
All available cook samples decode correctly now.
patch by Benjamin Larsson < banan ** at ** student ** dot ** ltu ** dot ** se >

Originally committed as revision 4810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 12:48:10 +00:00
Michael Niedermayer
1499e0bee9 av_freep() recommandition
Originally committed as revision 4809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 09:42:37 +00:00
Diego Biurrun
87f50d2733 Make all tables static const.
Originally committed as revision 4808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-04 03:01:05 +00:00
Diego Biurrun
bf3027c87b TrueSpeech compatible audio decoder by Konstantin Shishkov
Originally committed as revision 4803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-03 02:30:38 +00:00
Loren Merritt
ab2e3e2c80 fix asymmetric CQMs with pre-transposed DCT.
Originally committed as revision 4799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 14:14:38 +00:00
Loren Merritt
f23af3d825 CQM: fix fallback to JVT scaling lists
Originally committed as revision 4798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 13:20:24 +00:00
Loren Merritt
11d86c979c direct mvs in B_8x8 mbs were set too early.
Originally committed as revision 4797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 11:31:53 +00:00
Loren Merritt
f1f17e54ea fix direct_8x8_inference_flag with 4x4 mvs.
Originally committed as revision 4796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-31 10:11:37 +00:00
Loren Merritt
cec9395977 fix some potential arithmetic overflows in pred_direct_motion() and
ff_h264_weight_WxH_mmx2().

Originally committed as revision 4795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 23:47:41 +00:00
François Revol
003cd80df9 :%s/check_block_2p/check_block_inter/g
Originally committed as revision 4794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 22:41:32 +00:00
François Revol
52137f2f43 this fixes compilation with gcc 2.95 which seems to not like array casting... special case inline of check_block which makes the array and passes it
Originally committed as revision 4793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 21:05:44 +00:00
Michael Niedermayer
13705b69eb mem corruption fix
Originally committed as revision 4789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 15:12:02 +00:00
Michael Niedermayer
88e51e1fb5 second try of improved lambda/qp guessing for motion estimation RD in first pass
Originally committed as revision 4785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-29 15:46:23 +00:00
Robert Swain
58f7833e8e update x264 wrapper.
patch by Robert Swain.

Originally committed as revision 4784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-29 07:24:23 +00:00
Michael Niedermayer
d6f41eeddc 4mv + iter ME 10l fix (still not bugfree but better)
Originally committed as revision 4783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-29 02:17:51 +00:00
Michael Niedermayer
735f9f34fe 10l
Originally committed as revision 4782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-28 23:45:16 +00:00
Michael Niedermayer
51d6a3cf00 iterative overlapped block based motion estimation for snow
Originally committed as revision 4781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-28 15:43:53 +00:00
Reimar Döffinger
b6204677f6 Fix wma2 audio decoder
Patch by Reimar Doeffinger

Originally committed as revision 4779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-27 19:58:04 +00:00
Burkhard Plaum
c842aa378d Fix DV memory leak and allow multiple instances patch by (Burkhard Plaum?)
approved by Roman Shaposhnik

Originally committed as revision 4777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 22:38:21 +00:00
Michael Niedermayer
e8501c93b5 support downscaling frames for dynamic b frame decission
Originally committed as revision 4776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 18:34:02 +00:00
Michael Niedermayer
c9ab8df88a 10l (didnt remove option from old ones after converting to AVOption)
Originally committed as revision 4775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 17:43:52 +00:00
Michael Niedermayer
984b8e4de1 b frame strategy 2
Originally committed as revision 4774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 17:30:52 +00:00
Michael Niedermayer
aaaa6f1549 dont discard least significant bits
Originally committed as revision 4773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 16:34:12 +00:00
Michael Niedermayer
aacb6acc8a hmm did i mess the scaling of these up at some point?
anyway, this change decreases bitrate and increase PSNR by ~1.00 on my test file, other files also benefit significantly

Originally committed as revision 4771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-24 23:47:29 +00:00
Michael Niedermayer
b7c51ebc89 slightly better mv_penalty table
Originally committed as revision 4770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-24 03:12:07 +00:00
Michael Niedermayer
d4f0c2fcc3 10l (segfault fix)
Originally committed as revision 4769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-23 19:05:48 +00:00
Michael Niedermayer
316a2ec84c bidir refine support
Originally committed as revision 4768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-23 16:25:00 +00:00
Michael Niedermayer
377798d6bd minor typo
Originally committed as revision 4767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-23 00:40:52 +00:00
Michael Niedermayer
82b019cefd better f_code guessing in 2nd pass
Originally committed as revision 4766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 22:48:09 +00:00
Michael Niedermayer
50c6f6cd4c improved lambda/qp guessing for motion estimation RD in first pass
this only affects encoding with bframes and rate control

Originally committed as revision 4765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 14:17:54 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
64c968daaa Add some comments to #ifdef #else #endif blocks and fix wrong ones.
Originally committed as revision 4762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-21 17:50:40 +00:00
Michael Niedermayer
a2f3431fc4 also autodetect xvid idct if bitexact is used
Originally committed as revision 4761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-21 15:51:45 +00:00
D Richard Felker III
762b5cd50c 10l to michael for breaking gcc 2.95 compile :)
Originally committed as revision 4760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-20 23:07:25 +00:00
Michael Niedermayer
daba69b211 10l
Originally committed as revision 4758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-19 18:26:17 +00:00
Michael Niedermayer
8ed9f9ab32 use correct qp & lambda for ME on the second pass
Originally committed as revision 4757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-19 13:41:27 +00:00
Michael Niedermayer
2ceff404b5 forgot
Originally committed as revision 4756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-19 03:08:08 +00:00
Michael Niedermayer
71160c55e0 fix q=0 bug
Originally committed as revision 4754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 19:59:33 +00:00
Jindřich Makovička
9944fb97c4 new qscale type to distinguish H264
Originally committed as revision 4753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 13:29:09 +00:00
Michael Niedermayer
5639729bed unfinished jpeg-ls codec (feel free to finish it ...)
Originally committed as revision 4752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 13:17:44 +00:00
Michael Niedermayer
a42bed52ca typo
Originally committed as revision 4751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 11:41:32 +00:00
Michael Niedermayer
6baac1afd6 fix custom matrix permutation if xvid idct is autoselected and you have bad luck
Originally committed as revision 4750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 02:23:19 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
63d33cf439 bitstream related fixes from [PATCH] from DivX, Part 9: bitstream crashes by (Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 11:31:56 +00:00
Michael Niedermayer
725e38777f wrong sizes, part of [PATCH] from DivX, Part 9: bitstream crashes from (Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 11:29:34 +00:00
Mike Melanson
e84a047525 correctly deal with the alpha channel in 32-bit QT RLE (courtesy of John
Koleszar <jkoleszar at on2.com>)

Originally committed as revision 4743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-14 08:02:03 +00:00
Mike Melanson
0c3ee78f91 correctly handle very large Cinepak frames (courtesy of John Koleszar
<jkoleszar@on2.com>)

Originally committed as revision 4742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-14 00:19:01 +00:00
Måns Rullgård
4733abcbf3 use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Måns Rullgård
7e491fa5f9 remove unused variables
Originally committed as revision 4738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:42:06 +00:00
Loren Merritt
ab470fa73b recognize some more nal types
Originally committed as revision 4734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-11 02:16:21 +00:00
Benjamin Larsson
b7c24ff668 This patch adds some support for non-joint stereo streams. It also
removes some fixmes.
Patch by Benjamin Larsson

Originally committed as revision 4733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-11 00:56:39 +00:00
Guillaume Poirier
f6d1338cb5 Add the rest of missing Reg_* macros to support both AMD-64 style regs and IA32 regs.
Not used yet, but should be once the SIMD code to accelerate Snow decoding is merged.

Originally committed as revision 4731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-10 22:53:44 +00:00
Luca Barbato
5a872801d5 SONAME support for shared libs
patch by Luca Barbato < .. lu_zero .. @@ .. gentoo .. . .. org .. >

Originally committed as revision 4730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-10 17:14:24 +00:00
Benjamin Larsson
e0f7e32970 Cook compatibe decoder, patch by Benjamin Larsson
Add cook demucing, change rm demuxer so that it reorders audio packets
before sending them to the decoder, and send minimum decodeable sized
packets; pass only real codec extradata fo the decoder
Fix 28_8 decoder for the new demuxer strategy

Originally committed as revision 4726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-09 16:08:18 +00:00
Michael Niedermayer
60d76256cb psnr calculation with threads>1 fix
Originally committed as revision 4725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-07 18:21:16 +00:00
Roberto Togni
a4893bafd8 Support for samples with fft_order = 7
Fail init for unknown fft order, to prevent an array overflow
Output sound high-pitched compared to binary. Sample here
http://a1862.g.akamai.net/7/1862/14448/v1/esa.download.akamai.com/13452/qt/ESA_VenusExpress_110K_Stream.mov

Originally committed as revision 4724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-06 17:42:16 +00:00
Roberto Togni
db795a1c57 Remove duplicated fft init
Originally committed as revision 4723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-06 16:58:03 +00:00
Michael Niedermayer
4393e6392c check block_max_depth (fixes crash)
Originally committed as revision 4718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-03 14:20:03 +00:00
Michael Niedermayer
91aa4e3300 make selftest code compile again
Originally committed as revision 4717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-03 03:07:54 +00:00
Michael Niedermayer
c7622f9a28 default_get_buffer() cleanup
fixes probably exploitable heap overflow
heap overflow found by (Simon Kilvington <s D kilvington A eris D qinetiq D com>)

Originally committed as revision 4714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-02 00:12:37 +00:00
Måns Rullgård
9fa62f2aad BMP image decoder
Originally committed as revision 4711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-30 01:40:50 +00:00
Guillaume Poirier
348e52c91d Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
Original thread:
Date: Nov 20, 2005 9:25 PM
Subject: [PATCH] make dvdsub encoder depend on config variables

Originally committed as revision 4709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-21 20:03:35 +00:00
Ivan Kalvachev
31a78b718b Mark all 12 block unused when there are no coded blocks
Fixes 422/444 artifacts

Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-20 23:09:05 +00:00
Wolfram Gloger
689abe56fe dvbsub encoder, patch by Wolfram Gloger < wmglo AH dent POIS med POIS uni-muenchen POIS de >
Original thread:
Date: 8 Oct 2005 09:35:38 -0000
Subject: [Ffmpeg-devel] [PATCH] dvdsub encoder -- 2nd version

Originally committed as revision 4706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-14 22:17:29 +00:00
Alex Beregszaszi
52ceae0624 10l, left debugging on
Originally committed as revision 4705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 20:12:33 +00:00
Matthieu Castet
2da2ba037a Correctly skip unknown matrices (patch by Matthieu Castet) and disable comment reading
Originally committed as revision 4704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 20:06:31 +00:00
Alex Beregszaszi
7146d2c267 Fixing theora _again_. DONT BOTHER BREAKING THIS AGAIN. Added support for Theora 3.4 and stream created by Elphel cameras are decodable.
Originally committed as revision 4703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:59:21 +00:00
Alex Beregszaszi
dd36b66722 fixed long standing off-by-one bug (fixes playback on ppc)
Originally committed as revision 4702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:48:27 +00:00
Alex Beregszaszi
2b18752c28 mode_code_vlc_table size mismatch
Originally committed as revision 4701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:46:21 +00:00
Loren Merritt
ea15df8048 use sse16_sse2() in nsse
Originally committed as revision 4688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-12 05:23:25 +00:00
Reimar Döffinger
a0ed075b29 clear the whole vert_pred buffer for 24 bit decoding.
This is currently not needed since the decoder creates only half of the
pixels, but should reduce confusion for people fiddling with it *g*

Originally committed as revision 4687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 18:05:45 +00:00
Mike Melanson
4b7e4bedd6 improvements by Reimar Döffinger; 24-bit decoding is not perfect, only
the left half of the frame is painted, but the area that is painted
looks correct

Originally committed as revision 4686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 13:54:32 +00:00
Loren Merritt
3165e258b1 fix a crash on seeking to an invalid frame
Originally committed as revision 4685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 04:40:49 +00:00
Måns Rullgård
68dce79b00 revert incorrect change
Originally committed as revision 4683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 19:18:20 +00:00
Michael Niedermayer
af8aa846fa check MPV_frame_start() return value
Originally committed as revision 4682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 11:29:29 +00:00
Steven M. Schultz
3712092e76 s/log2/av_log2/
patch by Steven M. Schultz <sms at 2bsd com>

Originally committed as revision 4681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 08:50:55 +00:00
Fredrik Orderud
25f8db58ee Put double-quotes around the install path in the "install-headers" section
of the makefiles for libavcodec, libavformat and libavutil.
Fixes installing into paths with spaces in them, i.e. Windows.
patch by Fredrik Orderud < fredrik . orderud -- at -- idi . ntnu . no >

Originally committed as revision 4680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-07 01:32:29 +00:00
Kostya Shishkov
7c017693c9 Two tables in truemotion1data.h were slightly different from VpVision
source. This patch fixes decoding of some samples from Phantasmagoria 2
(they use delta tables N1, not N0 as the rest of files).
patch by the author, Kostya Shishkov
< kostya -- dot -- shishkov -- at -- gmail -- dot -- com >

Originally committed as revision 4679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 19:03:07 +00:00
Michael Niedermayer
a75a3ca429 frame skip fixes
fix 16pixel error in comparission
 fix vbv messup
 fix unlimited skip intervals, limited by GOP now

Originally committed as revision 4678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 00:16:03 +00:00
Roberto Togni
c555392a5b Place qdm2 and truemotion2 in ifdef block so that they can be disabled
Originally committed as revision 4676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 00:00:24 +00:00
Michael Niedermayer
ed57bb79e8 extradata endianness comment
Originally committed as revision 4674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-04 23:24:24 +00:00
Loren Merritt
1fd97d8c1a tidier cabac_intra4x4_pred_mode
Originally committed as revision 4673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-03 23:26:51 +00:00
Guillaume Poirier
d4de20d11c Typo fix
Originally committed as revision 4672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-02 09:18:32 +00:00
Måns Rullgård
c7ea4f1903 no mixing of code and declarations
Originally committed as revision 4670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 18:18:04 +00:00
Matthieu Castet
5b0e811a65 Make rle_code int everywhere instead of signed char.
Fixes playback of auth_generator-demo.mov, for rle_code == -128 the assignement
rle_code = -rle_code would overflow.
Patch by matthieu castet (castet matthieu (at) free fr)

Originally committed as revision 4669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 16:01:12 +00:00
Loren Merritt
0f72508c10 25% faster deblocking, 4-6% overall.
Originally committed as revision 4668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 06:37:32 +00:00
Loren Merritt
cd19c677cb fix a crash on dropped frames
Originally committed as revision 4667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-27 21:03:36 +00:00
Loren Merritt
a6624e21cb faster h264_chroma_mc8_mmx, added h264_chroma_mc4_mmx.
2-4% overall speedup.

Originally committed as revision 4666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-27 06:45:29 +00:00
Emiliano Parasassi
2c5ee47d84 avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
patch by Emiliano Parassassi < millallo AH tiscali -- it >
Original thread:
Date: Mon, 24 Oct 2005 13:03:01 +0200
Subject: [Ffmpeg-devel] [PATCH] avoid registration of decoders if only encoders are choosed

Originally committed as revision 4664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-26 12:51:10 +00:00
Loren Merritt
56edbd818a 10l: cqm weren't initialized in svq3.
Originally committed as revision 4662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-26 03:58:06 +00:00
Loren Merritt
239ea04ccf decode custom quant matrices.
based on a patch by anonymous, with optimizations by me.

Originally committed as revision 4660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-25 01:17:20 +00:00
Diego Biurrun
fe9a734c82 Add DTS_INC to the CFLAGS for DTS. This is only set by external configure
programs (such as the MPlayer one) and thus somewhat hackish.  We already
do this for things like MLIB_INC and IPP_INC so it should be acceptable.

Originally committed as revision 4659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-23 18:16:53 +00:00
Roberto Togni
291b3ef4fb Increase version because of QDM2 decoder addition
Originally committed as revision 4654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-20 20:04:45 +00:00
Steve L'Homme
065148e773 init_get_bits() requires size in bits, not bytes
Patch by Steve Lhomme ||| steve | lhomme >at< free | fr |||

Originally committed as revision 4653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-19 22:27:34 +00:00
Guillaume Poirier
9918aa24e4 revert useless patch that was supposed to fix DTS support (but the fix belongs to MPlayer, not FFmpeg)
Originally committed as revision 4652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-19 18:42:37 +00:00
Roberto Togni
3135258e19 QDM2 compatible decoder
Originally committed as revision 4650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-18 20:31:12 +00:00
Roberto Togni
d9b1c197e5 QDM2 compatible decoder
Originally committed as revision 4649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-18 20:16:43 +00:00
Mike Melanson
48fa22d747 chroma decoding fix by Kostya
Originally committed as revision 4647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-16 13:56:52 +00:00
Roberto Togni
e6885654eb Reverse patch 1.59->1.60, it break mp3 in ffplay and ffmpeg
Reversing approved by patch author

Originally committed as revision 4646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-15 16:29:58 +00:00
Mike Melanson
adeba28193 TM2 fixes by Kostya
Originally committed as revision 4645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-15 14:33:11 +00:00
Giacomo Comes
aa35d2647c Fix DTS support compilation issue. Patch by Giacomo Comes < comes AH naic POIS edu >
Original thread:
Date: Oct 6, 2005 4:27 PM
Subject: [Ffmpeg-devel] [PATCH] dts support compilation issue

Originally committed as revision 4644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-14 18:17:47 +00:00
Mike Melanson
670924fd9e gcc 2.95 fix, courtesy of Luca Abeni
Originally committed as revision 4641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-14 16:17:40 +00:00
Mike Melanson
515ae4760a support for FLX and DTA extensions in the FLIC format, courtesy of
Steven Johnson (mplayer -at- sakuraindustries.com)

Originally committed as revision 4639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:35:31 +00:00
Mike Melanson
64af6168f7 Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 4638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:31:55 +00:00
Alex Beregszaszi
e134e10f37 set_se_golomb can only write 16bits, add a note about this (ok, maybe it's brain dead using it with more than 16bits, but..)
Originally committed as revision 4635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:43:12 +00:00
Alex Beregszaszi
d10dc61682 sanity check whether dimensions are non-null
Originally committed as revision 4634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:40:10 +00:00
Alex Beregszaszi
83254e245c removed unused CONFIG_AUDIO_NONSHORT
Originally committed as revision 4633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:37:42 +00:00
Loren Merritt
b926572aa9 h264 mmx weighted prediction. up to 3% overall speedup.
Originally committed as revision 4630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-09 23:38:52 +00:00
Diego Biurrun
5539733bed Ignore AMR directories.
Originally committed as revision 4629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-06 12:13:25 +00:00
j@v2v.cc
c99dd23307 Move all definitions of external dependencies into configure instead of
defining it in configure and the Makefiles in a random fashion.
patch by j -- at -- v2v -- dot -- cc

Originally committed as revision 4628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-04 11:19:08 +00:00
Loren Merritt
5693c08356 sse2 16x16 sum squared diff (306=>268 cycles on a K8)
faster 8x8 mmx ssd (77=>70 cycles)

Originally committed as revision 4623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-30 02:31:47 +00:00
Loren Merritt
d90cbe5fe8 6% faster decode_cabac_residual
Originally committed as revision 4618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-27 05:12:13 +00:00
diane_cartman@gmx.de
ca3b0d2719 13% faster decode_residual (cavlc).
patch by diane_cartman at gmx dot de.

Originally committed as revision 4617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-27 04:46:45 +00:00
Diego Biurrun
4e159595b5 support for building dynamic libraries on Mac OS X
based on a patch by Lina Pezzella <J4rg0n -- at -- gentoo -- dot -- org>

Originally committed as revision 4616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-26 10:05:13 +00:00
Michel Bardiaux
399d84012f Fix some #ifdef to allow building amr_wb alone.
patch by Michel Bardiaux < mbardiaux -- dot -- mediaxim -- dot -- be >

Originally committed as revision 4615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-24 17:42:56 +00:00
Michel Bardiaux
288f1e6815 fix some pointer to intger without cast warnings (patch by Michel Bardiaux)
Originally committed as revision 4610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 23:18:52 +00:00
Aurelien Jacobs
62ab0b7822 fix unused variable warnings
Originally committed as revision 4609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 23:09:16 +00:00
Michael Niedermayer
12e9668119 replace a few mov + psrlq with pshufw, there are more cases which could benefit from this but they would require us to duplicate some functions ...
the trick is from various places (my own code in libpostproc, a patch on the x264 list, ...)

Originally committed as revision 4608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 21:17:09 +00:00
Gábor Kovács
dc9f52602f Just noticed there is a memory leak in h264.c with the usage of rbsp_buffer.
Here is a patch which frees the rbsp_buffer in decode_end().
patch by (Gábor Kovács | picard / demoscene \ hu)

Originally committed as revision 4607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 08:14:17 +00:00
Michael Niedermayer
8f196b14f5 changing a few options to AVOptions
Originally committed as revision 4603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 21:43:45 +00:00
Michael Niedermayer
9061be9fb3 precautionary checks
Originally committed as revision 4602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 18:51:12 +00:00
Michael Niedermayer
d2752a0ddf dont print NULL
Originally committed as revision 4600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 12:57:20 +00:00
Diego Biurrun
7df6545556 Move lrintf implementation from libavcodec/dsputil.h to libavutil/common.h
where it makes more sense.

Originally committed as revision 4599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-19 23:26:47 +00:00
Michael Niedermayer
0f88407075 set pts for h.263 decoding
Originally committed as revision 4598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-19 12:03:51 +00:00
Diego Biurrun
344b825ceb Rename put_string to ff_put_string to avoid a symbol clash on Mac OS X.
Originally committed as revision 4597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 21:21:01 +00:00
Michael Niedermayer
2118901192 print more time_base fps stuff if av_log level is at debug or above
print more likely correct fps
not sure if this is formated optimally ...

Originally committed as revision 4596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 14:45:17 +00:00
Reimar Döffinger
357a28430a check return value of decode_cabac_mb_dqp, it is INT_MIN on error.
fixes crash with http://stud4.tuwien.ac.at/~e0326863/ats/bbc-sample_small.mpg
and MPlayer's broken packetizer (but will not decode right of course).

Originally committed as revision 4595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-17 08:15:07 +00:00
Dario Andrade
18ae520b72 set more x264 encoding parameters
patch by Dario Andrade <dario at ip tv>

Originally committed as revision 4594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-14 21:05:24 +00:00
Michael Niedermayer
fac862c659 the people want lower case ...
Originally committed as revision 4592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 19:16:07 +00:00
Michael Niedermayer
6fd46414db dont include opt.h in avcodec.h
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 18:24:48 +00:00
Diego Biurrun
1471c6c2e8 CAREFULL --> CAREFUL typo fix
Originally committed as revision 4590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 16:30:47 +00:00
Michael Niedermayer
ec9127c4a4 converting a few more options to AVOptions
Originally committed as revision 4587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 12:07:08 +00:00
Michael Niedermayer
637b5326f3 convert some options in ffmpeg.c to AVOptions
Originally committed as revision 4586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 10:23:52 +00:00
Michael Niedermayer
a1689e2f19 avoid stdio.h
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 23:19:57 +00:00
Michael Niedermayer
c44a131dc7 missing include noticed by g0th
Originally committed as revision 4582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:39:33 +00:00
Michael Niedermayer
233f6f889e flags and named constants with type checking of course for AVOption
spliting AVOption specific stuff out of avcodec.h into opt.h

Originally committed as revision 4581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:22:42 +00:00
Michael Niedermayer
8bbf6db98b AVOption API improvments
support AVOptions for encoding in ffmpeg.c

Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 11:10:25 +00:00
Michael Niedermayer
434df899fe add xvid idcts to dct-test
Originally committed as revision 4576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 23:00:13 +00:00
Reimar Döffinger
cd7af76d9e Fix compile without CONFIG_GPL, misplaced #endif caused a missing }.
Originally committed as revision 4575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:30:40 +00:00
Michael Niedermayer
9f211bc6d7 remove unused table entries
change non portable table access

Originally committed as revision 4574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:03:37 +00:00
Michael Niedermayer
ddabdfefa8 select xvid idct for xvid files if possible
Originally committed as revision 4573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:09:54 +00:00
Michael Niedermayer
84740d5980 xvids mmx&mmx2 idcts
needed to decode xvid without some minor artefacts
under #ifdef CONFIG_GPL of course

Originally committed as revision 4572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:01:30 +00:00
Michael Niedermayer
96b6ace22e dont be so picky with .mp4 ... fixes Mr&MrsSmith.mp4
Originally committed as revision 4571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 01:13:10 +00:00
Alex Beregszaszi
8868d31065 use av_log in debug mode
Originally committed as revision 4570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-07 19:15:48 +00:00
Michael Niedermayer
3735e82f2d AVOption enumeration support and some flags to classify AVOptions
Originally committed as revision 4568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:32:18 +00:00
Måns Rullgård
79396ac685 Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:25:35 +00:00
Michael Niedermayer
d57d8cbc25 a few more raw yuv fourccs
Originally committed as revision 4565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 15:02:43 +00:00
Michael Niedermayer
860a40c8a7 AVOption first try
Originally committed as revision 4563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 12:51:56 +00:00
Loren Merritt
fbd312fd91 fix emulated edge motion compensation when resolution%16!=0
Originally committed as revision 4561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 17:07:52 +00:00
Michael Niedermayer
f79432a26e set a few variables correctly
Originally committed as revision 4560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 10:26:11 +00:00
Michael Niedermayer
1cef211dca AV_LOG_DEBUG vs. AV_LOG_ERROR
Originally committed as revision 4559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 09:28:46 +00:00
Michael Niedermayer
3723f01c14 fixme note
Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:04:52 +00:00
Michael Niedermayer
42661adfe6 pts must be in time_base units
Originally committed as revision 4556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:03:01 +00:00
Michael Niedermayer
b983a5c608 print fourcc in a readable form if possible
Originally committed as revision 4554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 20:36:24 +00:00
Michael Niedermayer
d3a9f79871 simplify (d&a) and (d&~a) calculation, hint by skal
Originally committed as revision 4552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 09:17:30 +00:00
Michael Niedermayer
b5b65df7a9 add consts (this was in my local tree, dunno where it came from, probably forgoten from some const patch)
Originally committed as revision 4551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 21:13:19 +00:00
Reimar Döffinger
6c0d606471 Document "us" parameter for PCM conversion functions.
Originally committed as revision 4550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 20:04:03 +00:00
Reimar Döffinger
b461b3bc4a Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Michael Niedermayer
16beae15f3 setting timebase in the encoder doesnt seem like a good idea
Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 17:12:16 +00:00
Justin Ruggles
1ff8f2b36a fixed quality / vbr encoding patch by (Justin Ruggles, jruggle, earthlink net)
Originally committed as revision 4546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 11:08:49 +00:00
Michael Niedermayer
4325ffd0a2 lowres support
Originally committed as revision 4545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 08:30:26 +00:00
Michael Niedermayer
473a200d93 error concealment fix
Originally committed as revision 4543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-01 00:15:12 +00:00
Michael Niedermayer
c619ff6daf optimizations
dc coeff rounding fix
class=3 num of bits fix
do interlaced check & idct only if CODEC_FLAG_INTERLACED_DCT

Originally committed as revision 4542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-30 20:03:19 +00:00
Michael Niedermayer
95ae72b7e0 Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
Originally committed as revision 4540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 19:05:44 +00:00
Burkhard Plaum
5b2bf94340 Fix for memleak in dv.c patch by (Burkhard Plaum; plaum, ipf uni-stuttgart de)
Originally committed as revision 4539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 15:41:28 +00:00
Michael Niedermayer
ba17363ff7 prevent assert failures and infinite loops with broken streams
Originally committed as revision 4538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-25 00:01:57 +00:00
Michael Niedermayer
5b28c8c355 time_base description by Rich Felker | dalias, aerifal cx
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:31:01 +00:00
Michael Niedermayer
cc884a3506 reducing minimum supported picture size
Originally committed as revision 4535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:17:41 +00:00
Justin Ruggles
c57c770db3 vbr audio encode patch by (Justin Ruggles: jruggle, earthlink net)
with changes by me
    int->float as video uses float too
    remove silent cliping to some per codec range, this should result in an error instead
    remove change to utils.c as its inconsistant with video

Originally committed as revision 4533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 20:27:00 +00:00
Burkhard Plaum
32fbf33e61 Call av_free_static automatically before DLL unload patch by (plaum:ipf uni-stuttgart de)
Originally committed as revision 4532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 19:50:22 +00:00
Michael Niedermayer
1cd89f276a segfault fix
Originally committed as revision 4531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 15:44:59 +00:00
Michael Niedermayer
a1043f9c50 automatically remove mess
Originally committed as revision 4529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-16 07:53:03 +00:00
Michael Niedermayer
7cbaa7bafa parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 15:58:21 +00:00
Mike Melanson
af9da83b0e automatically detect Cinepak data from Sega FILM/CPK files
Originally committed as revision 4525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 18:39:59 +00:00
Wolfram Gloger
f0ff20a197 minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:37:29 +00:00
Måns Rullgård
bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Ian Caulfield
bf01fb696d subs.diff fixes a couple of minor bugs in my DVB subtitle decoder, and also fixes a few
problems in the DVD decoder (the palette entries were being read
back-to-front, and the timing conversions were slighly off)
patch by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 01:15:27 +00:00
Michael Niedermayer
2eca4a44b1 set pix_fmt
Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 21:34:24 +00:00
Mike Melanson
ca16618b01 tinfoil patch: no array is written to in bulk before counts are
validated; do not free frames that are not allocated; removed all of the
output modes that no one uses and only PAL8 remains

Originally committed as revision 4517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 20:48:47 +00:00
Mike Melanson
485bb00108 removed a bunch of unused, sub-optimal code
Originally committed as revision 4516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:49:01 +00:00
Mike Melanson
8458dab185 tinfoil patch: be more diligent about checking array boundaries before
writing to them

Originally committed as revision 4515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:39:21 +00:00
Mike Melanson
b9029997d4 tinfoil patch: validate motion vectors and do not free frame on exit if
frame is NULL; also removed some ancient MC code that did not perform
half-pel C-plane MC

Originally committed as revision 4514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:25:17 +00:00
Mike Melanson
a06c7e07d7 tinfoil patch: make sure pixel_ptr never goes negative
Originally committed as revision 4513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:46:09 +00:00
Mike Melanson
6b892a4227 tinfoil patch: accept no widths that are no multiples of 4
Originally committed as revision 4512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:12:38 +00:00
Mike Melanson
3c8c94b403 tinfoil patch: make sure that pixel pointer does not go out of bounds
Originally committed as revision 4511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 16:59:01 +00:00
Måns Rullgård
a71a1dfc37 fix building in separate directory
Originally committed as revision 4509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 13:45:42 +00:00
Kostya Shishkov
f63166f8df security fixes
* check for writing to lines -1,-2,...
* check for motion compensation (copying from and to valid place)
patch by (Kostya: kostya shishkov, gmail com)

Originally committed as revision 4508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 09:12:09 +00:00
Edward Hervey
856170f752 DV video encoder/decoder doesn't set keyframe and picture type properties patch by (Edward Hervey:bilboed,gmail com)
Originally committed as revision 4503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-11 01:28:04 +00:00
Michael Niedermayer
77b854883e mkstemp on win32 workaround by (Ivan Wong: email, ivanwong info)
Originally committed as revision 4495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-06 09:46:04 +00:00
Steven M. Schultz
6987c58a0a liba52/crc.c fails to compile patch by ("Steven M. Schultz": sms, 2bsd com)
Originally committed as revision 4494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 23:25:35 +00:00
Alex Beregszaszi
23972d5a6c 10l
Originally committed as revision 4493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 19:15:34 +00:00
Michael Niedermayer
804b0dac58 segfault fix
Originally committed as revision 4491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-04 22:46:27 +00:00
Alexander Strasser
c11c2bc20b libavutil: Utility code from libavcodec moved to a separate library.
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:07:05 +00:00
Michael Niedermayer
0cc64d3d1c fix assertion failure for mpeg2 encoding
Originally committed as revision 4488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:01:41 +00:00
Michael Niedermayer
cdd106899f workaround 'colocated mv if colocated block is L1 predicted' bug in x264
Originally committed as revision 4487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 14:47:07 +00:00
Michael Niedermayer
5aa083eec1 A.B.C versions
Originally committed as revision 4486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:51:04 +00:00
Michael Niedermayer
e53222d19b try to check for nonsense time_base instead of setting fake one
Originally committed as revision 4485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:00:25 +00:00
Michael Niedermayer
efbc614de0 check time_base.den for mpeg4
avoid zero time_base.* for h263

Originally committed as revision 4483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-30 16:15:36 +00:00
Michael Niedermayer
2f300f8965 motion vector limit for mpeg2
Originally committed as revision 4482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 13:16:35 +00:00
Diego Biurrun
51fd379af2 Reduce verbosity.
Originally committed as revision 4478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 07:29:20 +00:00
Michael Niedermayer
8583bef871 fixing colocated mv if colocated block is L1 predicted for the temporal direct case
untested (none of the conformance streams laying around on my disk seems affected by this change)

Originally committed as revision 4477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 00:15:55 +00:00
Michael Niedermayer
4866bd2b82 fixing colocated mv if colocated block is L1 predicted
fixes "H.264 decoding bug in either lavc/JM"

Originally committed as revision 4476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-26 23:40:55 +00:00
Martin Boehme
acb22f9391 Fix for overflow issue in mpegvideo.c patch by (Martin Boehme: boehme, inb uni-luebeck de)
this integer overflow might lead to the execution of arbitrary code during encoding with threads

Originally committed as revision 4474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 23:07:27 +00:00
Michael Niedermayer
ddebfb15dc thread mess check for avcodec_open/close()
Originally committed as revision 4472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 14:35:01 +00:00
Michael Niedermayer
91d44ffc9a fix user data parsing code so it suppors pre1 and cvs
Originally committed as revision 4471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-24 09:28:24 +00:00
Michael Niedermayer
d9dd7a0d2c minor user data reading bugfix
Originally committed as revision 4467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-23 11:16:18 +00:00
Reimar Döffinger
cad4368af7 Add missing +1 in bounds check.
Originally committed as revision 4465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 09:01:47 +00:00
Reimar Döffinger
4eecd5bc66 reset restart_count when restart_interval is set and fill the
MJpegDecodeContext with 0 on init.

Originally committed as revision 4464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 08:48:00 +00:00
Michael Niedermayer
2e8f2c20c9 portable IEEE float/double read/write functions
Originally committed as revision 4458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:25:23 +00:00
Michael Niedermayer
ea4377de8c portable IEEE float/double read/write functions
Originally committed as revision 4457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 13:29:13 +00:00
Michael Niedermayer
4c1a012e9c dont pre allocate uselessly large buffer and dont ignore FF_INPUT_BUFFER_PADDING_SIZE
Originally committed as revision 4452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 12:56:56 +00:00
Michael Niedermayer
e33943728e verify len field validity in mjpeg_decode_com()
Originally committed as revision 4451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 11:27:00 +00:00
Michael Niedermayer
50e2450bc1 10l (forgot to commit this yesterday)
DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 09:22:51 +00:00
Michael Niedermayer
c6ec28b18c DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 00:28:12 +00:00
Michael Niedermayer
b194c327fc yamaha adpcm nibbles in the wrong order fix by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-16 11:18:42 +00:00
Vidar Madsen
2ff4524e72 Add Yamaha ADPCM encoding/decoding patch by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-15 06:51:36 +00:00
Michael Niedermayer
e0111b3243 more fine grained skip_frame
Originally committed as revision 4441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:57:22 +00:00
Michael Niedermayer
8c3eba7c62 skip_idct
skip_frame
skip_loop_filter

Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Michael Niedermayer
fec9ccb7e6 check for CODEC_CAP_DELAY in audio decoders too
Originally committed as revision 4439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 15:30:39 +00:00
Michael Niedermayer
46044471a0 ffmpeg version should be "CVS"
Originally committed as revision 4438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 14:34:39 +00:00
Michael Niedermayer
aa6ff39bb0 check len (should fix #1165694)
Originally committed as revision 4436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 23:39:47 +00:00
Michael Niedermayer
1a55810e87 fix segfault (bug #1165640)
Originally committed as revision 4435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:56:23 +00:00
Michael Niedermayer
472ea1284e fix infinite loop (suggested change by rjayne at convera dot com)
fixes bug #1160195

Originally committed as revision 4434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:34:34 +00:00
Michael Niedermayer
02fb0d7c72 fix decoding of (broken) files with f_code=0
fix segfault if the first P frames header is damaged

Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00
Michael Niedermayer
5b2ad9f520 segfault fix
Originally committed as revision 4430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 00:43:21 +00:00
Michael Niedermayer
337afd1420 patch from http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg-devel/files/patch-libavcodec::x264.c
(math.h needed for log2() at least)

Originally committed as revision 4426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-10 00:22:13 +00:00
Michael Niedermayer
32fe3ac0f9 Here is the patch suggested by: unkaggregate, users sf net
Main reason is: deltas in interframes need scaling by 3/4 before applying.
Detailed description is at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1222099&group_id=16082&atid=116082
He also mentioned some samples at:
http://www.nerdgrounds.com/indeo21_test/
patch posted to ffmpeg-devel by (Kostya: kostya shishkov, gmail com)

Originally committed as revision 4425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-09 21:39:29 +00:00
Alex Beregszaszi
41a33f51d2 100l - this has only worked on big endian
Originally committed as revision 4418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:43:23 +00:00
Alex Beregszaszi
19d9ac8169 parenthesing to avoid compiler errors in the future - compared asm outputs, behaviour didnt changed
Originally committed as revision 4417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:39:58 +00:00
Alex Beregszaszi
0ede2c556a print 'not working' message
Originally committed as revision 4416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:28:32 +00:00
Alex Beregszaszi
282152b133 1l
Originally committed as revision 4414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:10:30 +00:00
Sigbjørn Skjæret
4af5b6cdb0 Disable AltiVec IDCT for lowres decoding in lavc patch by (Sigbjørn Skjæret: cisc, broadpark no)
Originally committed as revision 4413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-01 09:37:35 +00:00
Michael Niedermayer
73480a1552 off by 1 error bugfix
avoid adding duplicate global headers to the bitstream

Originally committed as revision 4410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-29 08:41:01 +00:00
Gildas Bazin
eba9ae3cfc IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org)
Originally committed as revision 4409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 22:46:36 +00:00
Mark Weaver
ff547a52d2 WMA MAX_CODED_SUPERFRAME_SIZE too small patch by (Mark Weaver: mark-clist, npsl co uk)
Originally committed as revision 4407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 14:56:16 +00:00
Michael Niedermayer
3f46995ca5 support extracting sps/pps from bitstream and putting it in extradata
Originally committed as revision 4403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 08:13:23 +00:00
Michael Niedermayer
e679cd1ab0 fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0
Originally committed as revision 4402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 06:45:41 +00:00
Michael Niedermayer
6b53b87e20 check mb_y
Originally committed as revision 4401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 23:13:10 +00:00
Michael Niedermayer
3d15acf27b keep decoding nal units after an error
Originally committed as revision 4399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 09:37:16 +00:00
Michael Niedermayer
80581e9887 x86_64 + PIC fix by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:55:29 +00:00
Michael Niedermayer
90ad92b39d support changing in bitstream global headers into extradata style and back
Originally committed as revision 4395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:04:03 +00:00
Michael Niedermayer
718b27a7d0 tiny docs improvement which i apparebtly forgot to commit
Originally committed as revision 4394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-26 23:04:59 +00:00
Guillaume Poirier
ee8f719308 GCC4 fix
Originally committed as revision 4388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-23 20:24:25 +00:00
Michael Niedermayer
806bb93fe2 make decoder a little bit more tolerant to missing NAL units
Originally committed as revision 4385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-19 23:33:09 +00:00
Falk Hüffner
2fdf9cb2fb Communicate proper aliasing to gcc (needed for 4.1).
Originally committed as revision 4384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-19 21:46:14 +00:00
Diego Biurrun
bb628dae44 spelling fixes
patch by Peter Robinson pbrobinson @ at @ gmail . dot . com and myself

Originally committed as revision 4382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-17 15:02:53 +00:00
Loren Merritt
36940eca76 H.264 lossless mode
Originally committed as revision 4381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-17 08:24:35 +00:00
Ronald S. Bultje
7dc1bea30f non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net)
Originally committed as revision 4368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-09 20:01:02 +00:00
Loren Merritt
1b7576e785 typo in cabac tables
Originally committed as revision 4360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-08 00:40:41 +00:00
Michael Niedermayer
a7cc43047f apiexample fix by (Chip: szarlada, freemail hu)
Originally committed as revision 4357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 20:57:15 +00:00
Michael Niedermayer
59d8efb340 uint_fast64_t emulation by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 14:12:15 +00:00
Michael Niedermayer
8d204aa415 10l (dont read variables before they have been set)
Originally committed as revision 4355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-05 15:51:20 +00:00
Måns Rullgård
fb3ca6ba3e remove mixed code/declarations
Originally committed as revision 4353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-04 15:49:54 +00:00
Fabrice Bellard
240c1657dc subtitle codec type support
Originally committed as revision 4346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 13:59:38 +00:00
Loren Merritt
43efd19a88 decode H.264 with 8x8 transform.
deblocking is still incorrect with 8x8+cavlc

Originally committed as revision 4339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-02 21:15:20 +00:00
Loren Merritt
d2bb7db135 sort H.264 mmx dsp functions into their own file
Originally committed as revision 4338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-02 20:45:35 +00:00
Michael Niedermayer
c26ae41db2 adding a few const
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 21:19:00 +00:00
Michael Niedermayer
435b0720a8 100l for myself (breaking amd64)
Originally committed as revision 4336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 18:04:01 +00:00
Måns Rullgård
ca15919699 fix segfault if flush is called before the first frame
(I think that's it, and this fixes it)

Originally committed as revision 4335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 12:03:25 +00:00
Michael Niedermayer
6510f43cf3 merge a few asm blocks so gcc cant unoptimize it (658->631 dezicycles on duron)
Originally committed as revision 4334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 11:56:58 +00:00
Michael Niedermayer
987ae784e6 get rid of 2 movq (680 -> 658 dezicycles on duron)
Originally committed as revision 4333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 11:36:32 +00:00
Michael Niedermayer
e4b36d4434 avoid one transpose (730->680 dezicycles on duron)
Originally committed as revision 4332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 08:43:40 +00:00
Loren Merritt
85bbfcd4ee 10l (symbol mangling)
Originally committed as revision 4331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 04:51:46 +00:00
Michael Niedermayer
1f3dbc09b1 add rounding bias before the horizontal idct (765->730 dezicyles on duron)
Originally committed as revision 4330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 01:18:41 +00:00
Loren Merritt
1d62fc8560 MMX for H.264 iDCT (adapted from x264)
Originally committed as revision 4329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-31 22:48:33 +00:00
Michael Niedermayer
5a408f91e6 decrease V_NB_BITS if possible
Originally committed as revision 4327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 22:02:00 +00:00
Michael Niedermayer
f4e61cd194 more trivial optimizations
Originally committed as revision 4326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 20:34:05 +00:00
Måns Rullgård
568d4b810f enable x264 multi-threading
Originally committed as revision 4325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 20:34:02 +00:00
Michael Niedermayer
9a9d530126 maxdepth is supposed to be a constant, its faster if its too large then if its non constant
Originally committed as revision 4324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 19:14:50 +00:00
Michael Niedermayer
de312e51d0 optimizations
Originally committed as revision 4320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 15:03:06 +00:00
Michael Niedermayer
f56f96d80f faster float->short conversation
Originally committed as revision 4319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 00:07:52 +00:00
Michael Niedermayer
e19ca8451d ilog() -> av_log2()
Originally committed as revision 4318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 22:50:22 +00:00
Michael Niedermayer
13c2469d7f Vorbis sse fix by (Balatoni Denes: dbalatoni, programozo hu)
Originally committed as revision 4317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 22:11:05 +00:00
Loren Merritt
6d1feb028f decode h264 end-of-slice flag
Originally committed as revision 4316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 18:18:13 +00:00
Michael Niedermayer
3f3f8b2b75 cleanup
Originally committed as revision 4312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 14:40:20 +00:00
Bernhard Rosenkränzer
6ad1fa5a49 Better ARM support for mplayer/ffmpeg, ported from atty fork
while playing with some new hardware, I found it's running a forked mplayer
 -- and it looks like they're following the GPL.

 The maintainer's page is here: http://atty.jp/?Zaurus/mplayer
 Unfortunately it's mostly in Japanese, so it's hard to figure out any
  details.

  Their code looks quite interesting (at least to those of us w/ ARM CPUs).

  The patches I've attached are the patches from atty.jp with a couple of
  modifications by myself:
  - ported to current CVS
  - reverted their change of removing SNOW support from ffmpeg
  - cleaned up their bswap mess
  - removed DOS-style linebreaks from various files

patch by (Bernhard Rosenkraenzer: bero, arklinux org)

Originally committed as revision 4311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 14:32:46 +00:00
Michael Niedermayer
e18c1f19f6 AV_LOG_DEBUG is not a good default ...
Originally committed as revision 4307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 08:57:13 +00:00
Zoltán Hidvégi
3072f0cb2e MMX code for (put|avg)_h264_chroma_mc8
Originally committed as revision 4305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-25 08:05:41 +00:00
Mike Melanson
9c7154c7ae read loop filter limit values from Theora header, courtesy of Matthieu
Castet (castet.matthieu -at- free.fr)

Originally committed as revision 4304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-24 14:21:42 +00:00
Jacob Meuser
f39e56a84b ldconfig as config.mak variable patch by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 23:58:58 +00:00
Michael Niedermayer
bb4c2140c2 libgsm warper by (Alban Bedel: albeu, free fr)
Originally committed as revision 4302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 23:39:11 +00:00
Michael Niedermayer
ded8477def fix max b frames with b frame strategy 1
Originally committed as revision 4300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 22:20:26 +00:00
Michael Niedermayer
0775c88f4e START/STOP_TIMER for ppc32 by (Luca Barbato: lu_zero, gentoo org)
Originally committed as revision 4298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 21:37:07 +00:00
Mike Melanson
2935001c86 fix bugs in new loop filter code; also, refrain from filtering against
data that has yet to be rendered; still #if'd out, will revisit when
proper algorithm can be validated

Originally committed as revision 4297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 19:31:16 +00:00
Michael Niedermayer
14ee9d1539 remove unused vp3 related function pointers
Originally committed as revision 4293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 07:43:49 +00:00
Michael Niedermayer
720537282b disable broken loop filter optimization
melanson please test your optimizations before commiting!

Originally committed as revision 4292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 07:35:15 +00:00
Mike Melanson
f44b08a5a0 apply the loop filter to fragments as they are rendered into the final
output

Originally committed as revision 4291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 05:20:52 +00:00
Mike Melanson
dc4b78d9dd render by the slice rather than the plane
Originally committed as revision 4290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 04:43:36 +00:00
Mike Melanson
7dc9ed1155 clean up some warnings and dead code
Originally committed as revision 4288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 02:06:27 +00:00
Denes Balatoni
84a96d6a3d 1.) LGPL license mentioned
2.) Stack useage decreased by 64kb
3.) One more bug fixed
patch by (Balatoni Denes <dbalatoni.programozo@hu>)

Originally committed as revision 4287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 01:17:20 +00:00
Mike Melanson
7f9926a45e another bitstream extraction to optimize: fixed-length motion vectors
Originally committed as revision 4286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 01:12:41 +00:00
Mike Melanson
39922395d2 read Huffman tables from Theora header (patch courtesy of
Matthieu Castet <castet.matthieu at free.fr>)

Originally committed as revision 4284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 23:59:10 +00:00
Loren Merritt
ba4ffc2b48 memory leak
Originally committed as revision 4282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 19:11:40 +00:00
Måns Rullgård
2c57805831 accept old extradata format
Originally committed as revision 4281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 11:45:10 +00:00
Måns Rullgård
d381c5054a fix decoding of multi-channel vorbis streams
Originally committed as revision 4280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 11:41:41 +00:00
Michael Niedermayer
7beddb12d4 use O(number of non zero coeffs) instead of O(number of coeffs) storage for the coefficient colleting/reordering
Originally committed as revision 4279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 10:48:36 +00:00
Loren Merritt
29860cc88c fix crash on negative POC
Originally committed as revision 4278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 04:48:06 +00:00
Mike Melanson
d30769555f replace unpack_token() with a series of lookup tables
Originally committed as revision 4277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 02:43:21 +00:00
Aurelien Jacobs
def4272a03 install libav(codec|format).pc/libpostproc.pc for pkg-config (original patch from <j at v2v.cc>)
Originally committed as revision 4276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 00:17:50 +00:00
Michael Niedermayer
3b5ffe7a39 fix mpeg2 chroma_420_type
Originally committed as revision 4274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 19:42:42 +00:00
Mike Melanson
f4daf33ee8 fix 4MV MC and reinstate new MC VLC
Originally committed as revision 4273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 17:14:59 +00:00
Måns Rullgård
7919d97e6d fix shared libpostproc build
Originally committed as revision 4272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 14:05:17 +00:00
Loren Merritt
5cf08f2393 H.264 deblocking optimizations (mmx for chroma_bS4 case, convert existing cases to 8-bit math)
Originally committed as revision 4271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 09:17:22 +00:00
Michael Niedermayer
288774bbfc reduce size of Vp3Fragment from 32byte to 16byte
Originally committed as revision 4270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 09:07:26 +00:00
Michael Niedermayer
b5da363592 optimizing rle decoding loops a little
Originally committed as revision 4269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 08:48:11 +00:00
Michael Niedermayer
8aeadb903a disabling buggy optimizations
Originally committed as revision 4268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 07:59:07 +00:00
Mike Melanson
d8278bab79 replace get_superblock_run_length() with a VLC table
Originally committed as revision 4267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-18 00:11:49 +00:00
Mike Melanson
0ad72bdd5c use VLCs for in place of get_fragment_run_length(), get_mode_code(), and
get_motion_vector_vlc()

Originally committed as revision 4266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 23:39:23 +00:00
Mike Melanson
4935b1b9eb signature has an 'x'
Originally committed as revision 4265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 23:09:59 +00:00
Mike Melanson
b81f89490f Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
at users sf net>

Originally committed as revision 4264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 22:47:34 +00:00
Michael Niedermayer
6f7aa5891d some optimizations gcc should have done (10% faster loop filter)
Originally committed as revision 4263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 20:50:47 +00:00
Michael Niedermayer
ee408eadba SATURATE_U8 -> clip_uint8 (10% faster loop filter)
Originally committed as revision 4262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 20:30:22 +00:00
Michael Niedermayer
0bde73d907 Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
Originally committed as revision 4261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 19:02:43 +00:00
Michael Niedermayer
5773a74669 porting the mmx&sse2 (sse2 untested) vp3 idcts to the lavc idct API
Originally committed as revision 4260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 18:28:40 +00:00
Michael Niedermayer
1482fee88d remove duplicate zigzag tables
Originally committed as revision 4259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 11:36:07 +00:00
Michael Niedermayer
36af0c959e fix idct permutation
Originally committed as revision 4258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 11:31:57 +00:00
Michael Niedermayer
8b6103da0f porting vp3 idct over to lavc idct api
Originally committed as revision 4257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 11:12:04 +00:00
Michael Niedermayer
ea191e08d6 remove permutation done to quant tables and then undone during idct
move permutation from idct to unpack_vlcs

Originally committed as revision 4256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 09:18:49 +00:00
Michael Niedermayer
b178f758fa disabling vp3 mmx&mmx2 idcts, they must be ported over to the lavc idct API, ill port the vp3 c idct
Originally committed as revision 4255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 09:11:48 +00:00
Michael Niedermayer
36661afe02 fix last coeff
Originally committed as revision 4254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 08:46:40 +00:00
Michael Niedermayer
a2df5a50ae clear blocks after each idct instead of per picture
dont store the all zero coefficients of skiped blocks

Originally committed as revision 4253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 00:52:29 +00:00
Ivan Kalvachev
1cf9f514dc parse and save hrd_fullness and range_map
Originally committed as revision 4252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 23:11:38 +00:00
Michael Niedermayer
220a6f401d some benchmarking code
Originally committed as revision 4250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 21:49:18 +00:00
Michael Niedermayer
d5e188359e various 10l fixes for the loop filter
Originally committed as revision 4249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 17:22:36 +00:00
Ivan Kalvachev
42cc17f926 whitespace cosmetics
Originally committed as revision 4248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 14:55:22 +00:00
Michael Niedermayer
7bad42cf59 fix dequant matrix
Originally committed as revision 4246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 09:29:13 +00:00
Michael Niedermayer
0d175622d8 another try at decode_ref_pic_list_reordering()
Originally committed as revision 4245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-15 01:40:34 +00:00
Måns Rullgård
3f9d3777b9 work with latest svn of x264
Originally committed as revision 4244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 21:02:49 +00:00
Michael Niedermayer
89ba9eede9 preserve parse context
Originally committed as revision 4241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 15:34:49 +00:00
Michael Niedermayer
6ab8721198 fill missing reference pictures with something to avoid assertion failure
Originally committed as revision 4240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 00:04:11 +00:00
Michael Niedermayer
cf5c5c8f08 10l (%f vs. %Ld)
Originally committed as revision 4239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 23:11:32 +00:00
Matthieu Castet
ba7ee4a460 fix theora header parsing
patch by Matthieu Castet <castet dot matthieu at free dot fr>

Originally committed as revision 4238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 21:06:44 +00:00
Måns Rullgård
30344a83e0 remove/replace non-ascii characters
Originally committed as revision 4237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 21:04:16 +00:00
Måns Rullgård
ad2b531d3f change extradata format for vorbis
Originally committed as revision 4235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 18:10:23 +00:00
Michael Niedermayer
0444b02304 alignment fix by (Gábor Kovács >picard demoscene hu)
Originally committed as revision 4233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 12:00:12 +00:00
Michael Niedermayer
d2cc7468f3 10l (mb_type uninitalized and then changed and overwritten)
Originally committed as revision 4232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 08:17:25 +00:00
Michael Niedermayer
5cb46bc722 typo found by Chengji Zhao
Originally committed as revision 4231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 23:34:23 +00:00
Michael Niedermayer
5085d59ddc arm alignment fix
Originally committed as revision 4228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 18:54:03 +00:00
Ivan Kalvachev
25a0a0a58f few bistream fixes and verbosity tweaks
Originally committed as revision 4225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 15:13:19 +00:00
Michael Niedermayer
4ad8ecd136 sanity check
Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 10:15:19 +00:00
Michael Niedermayer
d9c780a8b7 some asserts()
Originally committed as revision 4223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 08:44:17 +00:00
Michael Niedermayer
bf873ee62a b_frame_strategy sanity check
Originally committed as revision 4222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 01:31:11 +00:00
Diego Biurrun
49d40989ff Add missing pp=ac to pp_help.
Originally committed as revision 4221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 23:51:44 +00:00
Michael Niedermayer
160147ccfc fixing decoding of AlanKay-245.asf
Originally committed as revision 4219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 17:13:42 +00:00
Måns Rullgård
aac064b5bd theora decoding using libtheora
Originally committed as revision 4218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 16:42:15 +00:00
Michael Niedermayer
ef56de328f support the LE reader, so it can be tested a little
Originally committed as revision 4216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 01:50:46 +00:00
Michael Niedermayer
cea27ac714 LE bitstream reader based upon a patch by (Balatoni Denes <dbalatoni programozo hu)
Originally committed as revision 4215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 01:46:13 +00:00
Michael Niedermayer
0de1318a29 typo
Originally committed as revision 4214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 21:02:20 +00:00
Roine Gustafsson
983ea0bc87 a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
Originally committed as revision 4213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 20:39:11 +00:00
Michael Niedermayer
33f725723f optimization
Originally committed as revision 4212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 19:54:38 +00:00
Michael Niedermayer
24dea064cc change macros to inline functions
remove redundant operations
remove silly 2 layer bswap_XX/ByteSwapXX system

Originally committed as revision 4211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-10 10:05:44 +00:00
Michael Niedermayer
9cd8179818 #defines for strict_std_compliance and split between inofficial extensions and non standarized things
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 20:15:42 +00:00
Michael Niedermayer
c998bdd9a0 fix PIC
Originally committed as revision 4204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 18:48:19 +00:00
Charles Yates
eb94aca926 support BUILDSUF patch by <charles dot yates at pandora dot be>
Originally committed as revision 4203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 15:04:59 +00:00
Michael Niedermayer
1c02a9732a fix block corruption caused by clear_blocks() optimization
Originally committed as revision 4202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 13:04:46 +00:00
Michael Niedermayer
6b51185c63 overflow fix
Originally committed as revision 4201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 09:58:41 +00:00
Michael Niedermayer
1192ce3707 complain about mpeg4 limits only if codec_id == MPEG4
Originally committed as revision 4200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 00:44:06 +00:00
Roine Gustafsson
44608ac7cd ff_reverse to utils.c patch by (Roine Gustafsson )roine users.sourceforge net)
Originally committed as revision 4199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 19:24:07 +00:00
Michael Niedermayer
bda1c56c47 minor optimization of the h264 loop filter
Originally committed as revision 4198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 16:35:24 +00:00
Michael Niedermayer
21be92bf4d reverse 1 hunk from 1.96->1.97, fixes decoding of (MR1_BT_A.h264 and MR1_MW_A.264)
Originally committed as revision 4197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 11:07:47 +00:00
Michael Niedermayer
b712fb6740 fix decoding of conformace streams AUD_MW_E.264 and BA1_FT_C.264 again (there where last correctly decoded with h264.c rev 1.96)
Originally committed as revision 4189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 17:04:03 +00:00
Michael Niedermayer
758082aff7 set time_base for variable fps too
Originally committed as revision 4187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 14:36:15 +00:00
Michael Niedermayer
02af2269c0 check for error
Originally committed as revision 4183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 20:05:41 +00:00
Kevin Baragona
893bc62480 Even More spelling errors. patch by (Kevin Baragona <kevinmb500 gawab com)
Originally committed as revision 4181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:34:47 +00:00
Kevin Baragona
3b66c4c59a More spelling errors patch by (Kevin Baragona (kevinmb500 gawab com>)
Originally committed as revision 4180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:17:28 +00:00
Justin Ruggles
132041f06f While adding stereo rematrixing, I came across something that needs to
be fixed even without adding the feature.  The output correctly uses 4
dummy values for the rematrixing flags in block-0, but the bit
allocation routine does not take these bits into account.  From what I
can tell, there was a patch in 2003 that corrected the output to make it
DVD and spec compatible, but it didn't correct the bit allocation.  It's
only 4 bits over the entire 6 blocks, so overflow errors would happen
rarely or never, but it's still worth fixing.  So here is a fix.

patch by (Justin Ruggles {jruggle earthlink net)

Originally committed as revision 4179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:10:52 +00:00
Michael Niedermayer
725de25c4c fix segfault with 'ffmpeg -i 1.avi -cmp 257 -4mv 2.avi'
Originally committed as revision 4178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 13:40:28 +00:00
Michael Niedermayer
5fddb9b382 GCC4 fix by (Keenan Pepper (keenanpepper gmail com)
Originally committed as revision 4177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 12:37:38 +00:00
Loren Merritt
a55f20bd9a fix storage of motion vectors for frames with more than 4096 macroblocks.
Originally committed as revision 4175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-03 21:49:18 +00:00
Loren Merritt
7c33ad19fd clear the DPB after seeking.
Originally committed as revision 4174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-03 06:53:59 +00:00
Michael Niedermayer
8b975b7ca5 put most codecs under ifdefs
Originally committed as revision 4173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-02 22:14:42 +00:00
Michael Niedermayer
422f4df8b2 #ifdefs around most register_avcodec
Originally committed as revision 4171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-02 19:26:18 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
82c0c4ba78 print pix_fmt if its known instead of if the raw codec is used
Originally committed as revision 4162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:41:38 +00:00
Michael Niedermayer
644a92626a PIX_FMT_NONE and related fixes
Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:29:06 +00:00
Yartrebo
66b32bf272 tighter snow slicing patch by (Yartrebo || yartrebo earthlink net)
Originally committed as revision 4159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 10:03:01 +00:00
Loren Merritt
42251a2a4f MMX for H.264 deblocking filter
Originally committed as revision 4158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 01:01:41 +00:00
Michael Niedermayer
dee6dde669 avoid unneeded clear_blocks()
Originally committed as revision 4157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 00:57:48 +00:00
Matthieu Castet
f9e0f2a206 extract from the subid the options
instead of doing a case where we should add lot's of versions.
patch by (matthieu castet {castet.matthieu free fr)

Originally committed as revision 4156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 00:10:11 +00:00
Michael Niedermayer
9786bd4d94 fixing broken_rv20_1mb_.rm
Originally committed as revision 4155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 22:08:31 +00:00
Loren Merritt
b80875c186 fix ref comparison in B-frame deblocker ('unused' and 'unavailable' were treated as different)
Originally committed as revision 4154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 21:06:22 +00:00
Mike Melanson
160d679c07 Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Kevin Baragona
dfb706da4d Spelling errors patch by (Kevin Baragona | kevinmb500 gawab com)
Originally committed as revision 4151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 11:13:49 +00:00
Michael Niedermayer
bd0854596a typo fix by ("Todd.Kirby" doubleshot pacbell net)
Originally committed as revision 4150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 11:08:07 +00:00
Michael Niedermayer
4719d1f381 Video-Galileo_small.rm fix by (matthieu castet # castet.matthieu free fr)
Originally committed as revision 4149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:27:03 +00:00
Michael Niedermayer
2de4ba7ff7 avoid clearing block[] if its not used at all
Originally committed as revision 4148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 21:23:22 +00:00
Loren Merritt
e2e5894a91 deblocking filter doesn't need to call fill_caches again. 1.4% faster decoding.
Originally committed as revision 4147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-21 20:38:42 +00:00
Michael Niedermayer
dff0f03546 mpeg2_fast_decode_block_intra()
Originally committed as revision 4146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 20:31:04 +00:00
Michael Niedermayer
8b39f75b8f simplify
Originally committed as revision 4144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 10:16:19 +00:00
Michael Niedermayer
ee572c5482 remove duplicate clip to 8bit function
Originally committed as revision 4143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 10:05:15 +00:00
Michael Niedermayer
f707a5ebba buffer overflows
Originally committed as revision 4142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 09:52:04 +00:00
Michael Niedermayer
856dbbff7f Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)
Originally committed as revision 4141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 09:42:47 +00:00
Michael Niedermayer
29df259923 optimizing non_intra ac coeff decode
Originally committed as revision 4140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 11:37:01 +00:00
Mike Melanson
6f921f3100 remove superfluous CONFIG_ENCODERS (entire function is already wrapped)
Originally committed as revision 4139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 04:29:11 +00:00
Michael Niedermayer
e91f4bf160 avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 20:07:48 +00:00
Michael Niedermayer
5bb8a0daa1 various fixes related to the non alt_bitstream_reader
Originally committed as revision 4136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 12:08:16 +00:00
Aurelien Jacobs
8230cf0210 add an AMD64 specific implementation of rdtsc()
Originally committed as revision 4135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 11:24:20 +00:00
Bret Hughes
6c618a263d gcc 4 compilation fix
patch by Bret Hughes <bhughes at elevating dot com>

Originally committed as revision 4134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 21:41:16 +00:00
Michael Niedermayer
4e492bf107 read 32bit instead of 64bit to avoid overreading and missalignments
Originally committed as revision 4133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 13:30:45 +00:00
Yartrebo
8c2515bbb9 fix overflow in mc_block() patch by (Yartrebo )yartrebo earthlink net
Originally committed as revision 4132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 09:27:53 +00:00
Michael Niedermayer
b44985ba12 store the number of runs to avoid storing the last run value
about 10% lower bitrate for -qscale 32 (forman & some music video)
worst case bitrate increase <0.1% (lossless or low qscale)
and now the bad news, even though this just adds a single subtraction and an if() into the medium sized unpack_coeffs() loop and the if() will only be false once per unpac_coeff() call, gcc produces 50% slower code, i didnt look at the generated asm yet, not sure if i want to ...

Originally committed as revision 4131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 13:24:30 +00:00
Loren Merritt
2cd340438a allow 2pass ratecontrol. also fixes psnr displayed by mencoder.
Originally committed as revision 4130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 05:54:47 +00:00
Michael Niedermayer
cbb1d2b161 replace complicated pointer dereference + index stuff by pointers in unpack_coeffs()
Originally committed as revision 4129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:54:03 +00:00
Michael Niedermayer
99cd59e58f minor optimization
Originally committed as revision 4128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:30:08 +00:00
Michael Niedermayer
3c096ac791 optimizing unpack_coeffs()
Originally committed as revision 4127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 18:33:26 +00:00
Yartrebo
86e59cc01d Snow segfault bug in revision 1.43 patch by (Yartrebo /yartrebo earthlink net/)
Originally committed as revision 4126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-13 01:57:19 +00:00
Måns Rullgård
f40487c282 s/u_char/uint8_t/
Originally committed as revision 4124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-12 22:20:02 +00:00
Michael Niedermayer
f5a719287d rescale coefficients during IDWT, that way the lifting steps are much simpler and faster
Originally committed as revision 4119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 14:21:53 +00:00
Michael Niedermayer
a0a74ad9f0 increasing precission of the quantization parameter
this is needed as the quantization stepsize for each subband is also in this precission and insignificant changes to the wavelet like scaling its coefficients slightly differently would lead to wildly variing PSNR and bitrate
note, a encoder could also simply choose to leave the least significant bits of the quantization parameters zero which would give the exact previous behaviour except a y very tiny number of bits in  the header

Originally committed as revision 4115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 22:15:48 +00:00
Michael Niedermayer
c97de57c39 fix QROOT != 8
Originally committed as revision 4114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 19:48:59 +00:00
Jindřich Makovička
a18ba90880 Fix upside-down picture for BGR24 images (fixes pig-loco-rgb.avi)
Patch by Jindrich Makovicka

Originally committed as revision 4112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-08 21:34:48 +00:00
Roberto Togni
76d6abc17c Fix colors for YV12 case (u/v planes are swapped)
Fixes locoRGBA.avi (the file is really YV12, even if it's called RGBA)

Originally committed as revision 4111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-07 22:02:28 +00:00
Loïc Le Loarer
debc2adb16 CABAC support for MBAFF I frames patch by (Loïc Le Loarer < lll+ffmpeg m4x org)
This patch corrects the support for I slice in CABAC and MBAFF mode.
This decodes correctly 6 more frames of the conformance suite.

Originally committed as revision 4109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 18:29:26 +00:00
Michael Niedermayer
538a38418c 10% faster unpack_coeffs
Originally committed as revision 4108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 17:59:05 +00:00
Michael Niedermayer
3cff4572ce fixing lossless snow
Originally committed as revision 4107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 09:37:43 +00:00
Loïc Le Loarer
826de46ea3 CABAC support for MBAFF I frames patch by (Loïc Le Loarer | lll+ffmpeg m4x org)
Originally committed as revision 4106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 01:35:22 +00:00
Benjamin Larsson
0979831511 printf -> av_log patch by (Benjamin Larsson <>banan student.ltu se)
Originally committed as revision 4105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 21:47:50 +00:00
Michael Niedermayer
565a45ace3 merge vertical lifting steps and a little cleanup
Originally committed as revision 4104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 21:35:18 +00:00
avcoder
a622dc4320 Typo errors patch by (QuickTime | ffmpeg gmail com>
Originally committed as revision 4103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 11:25:44 +00:00
Ivan Kalvachev
aa26aa789b reinitialize on aspect change,
required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 17:34:31 +00:00
Yartrebo
a0d1931c0e Snow Slicing patch by (Yartrebo) yartrebo earthlink net
Originally committed as revision 4101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 15:43:57 +00:00
Mike Melanson
589f82202c Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
Konstantin Shishkov

Originally committed as revision 4099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 05:02:08 +00:00
Kostya Shishkov
29846f4845 support some more color modes; patch by Kostya
Originally committed as revision 4097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-01 04:30:31 +00:00
Mike Melanson
5b225466ea free that last frame
Originally committed as revision 4095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 20:40:21 +00:00
Mike Melanson
034eeaa17f Westwood SND1 decoder, courtesy of Kostya
Originally committed as revision 4094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 18:05:25 +00:00
Michael Niedermayer
09c3e44e8a motion estimation bitrate penalty compensation
Originally committed as revision 4092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 12:19:59 +00:00
Loren Merritt
048bfeeb12 display deblocking strength in FF_DEBUG_PICT_INFO
Originally committed as revision 4091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 10:58:21 +00:00
Loren Merritt
171070658e allow 16 refs with B-frames
Originally committed as revision 4090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 10:54:16 +00:00
Loïc Le Loarer
6ba71fc467 This is the second patch for MBAFF support, this adds the deblocking
filter code for the I slice.

With this patch, 4 more frames are decoded correctly from the
conformance streams.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

Originally committed as revision 4088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 00:44:11 +00:00
Loïc Le Loarer
3bf3d666a7 The cvs version 1.103 of h264.c brokes 13 conformance streams, this
patch corrects this and decodes the same streams as version 1.102.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

Originally committed as revision 4087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 00:27:37 +00:00
Michael Niedermayer
083b80b53a replace custom bitstream reader with get_bits/vlc()
Originally committed as revision 4085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 23:51:13 +00:00
Michael Niedermayer
fcbc799cd3 make reverse[] non static
Originally committed as revision 4084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 23:50:14 +00:00
Mike Melanson
a8a15e9db2 Winnov WNV1 video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 4083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 20:32:55 +00:00
Michael Niedermayer
cec1f05fd7 check mb/me_threshold range, fixes assertion failure
Originally committed as revision 4082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 18:10:44 +00:00
Michael Niedermayer
71434945f2 more checks, fixes assertion failure
Originally committed as revision 4081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 17:01:49 +00:00
Michael Niedermayer
3ed4046fad create temporary file in current directory if it failed in /tmp
Originally committed as revision 4075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 19:19:59 +00:00
Diego Biurrun
3e0fdf3745 Replace stray spaces by a tab.
Originally committed as revision 4074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 14:10:22 +00:00
Michael Niedermayer
59fa3f96f4 support omiting various headers in mpeg4 as WMP seems to have difficulty with them
based upon 27_WMP_compatibility_with_ISOMPEG4.patch by (Calcium | calcium nurs or jp)
  indention fixed
  uses workaround_bugs instead of strict_std_compliancy as WMP is not the reference implementation

Originally committed as revision 4069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:39:38 +00:00
Calcium
1ba02582a5 04_AMR_no_debug_output.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-22 18:28:15 +00:00
Michael Niedermayer
02dc898338 alignment fix
Originally committed as revision 4059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 13:10:09 +00:00
Måns Rullgård
d4e87f79f0 indentation fix
Originally committed as revision 4058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 12:30:01 +00:00
Måns Rullgård
f9791751e3 B frames and CABAC/CAVLC selection by Erik Slagter (erik at slagter dot name)
Originally committed as revision 4057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 12:27:10 +00:00
Tuukka Toivonen
3da3c8d65e disable luma in postprocess filters patch by (Tuukka Toivonen |tuukkat ee.oulu fi)
fixed by myself

Originally committed as revision 4056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-19 03:01:13 +00:00
Víctor Paesa
078a8dd66d ogg has to be at the right of vorbis patch by ("Víctor Paesa" wzrlpy hotmail com)
Originally committed as revision 4055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-18 02:13:13 +00:00
Michael Niedermayer
8ca5d3bbf4 10l typo
Originally committed as revision 4053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 21:35:50 +00:00
Luca Barbato
cc973ecbe7 add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
Originally committed as revision 4050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 19:11:58 +00:00
Måns Rullgård
68c6d60fdf set constant QP from AVCodecContext.global_quality.
set key_frame flag on coded_picture correctly.

Originally committed as revision 4045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 13:09:30 +00:00
Loren Merritt
f9e6ebf7f9 slice-based idwt (10% faster decoding)
Originally committed as revision 4040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 21:05:34 +00:00
Loren Merritt
0149db6668 10l (compile fix)
Originally committed as revision 4032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-12 03:10:44 +00:00
Loren Merritt
4e4d983e8b Set keyframe flag only on IDR-frames (needed for reordering across I-frames).
Read vui bitstream restrictions (allows B-frame delay in advance, rather than waiting till we're out of order.)
Mark duplicate frames due to delay as duplicates.

Originally committed as revision 4028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-11 02:14:44 +00:00
Mike Melanson
6d021b00e2 replace custom bit-reading functions with FFmpeg's internal function;
roll alac_file data structure members into ALACContext

Originally committed as revision 4027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-10 05:34:10 +00:00
Michael Niedermayer
42ebf67d89 optimize & simplify
Originally committed as revision 4026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-09 23:48:17 +00:00
Måns Rullgård
7c653cc988 Oops patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-09 19:46:31 +00:00
Michael Niedermayer
6662ec29a5 H.264 encoding with x264 by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-09 03:04:56 +00:00
Michael Niedermayer
d8a57c6db9 (10l) supported pix_fmts forgotten
Originally committed as revision 4022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-08 20:35:27 +00:00
Michael Niedermayer
c1e292ea91 fixing playback of xvid pretending to be divx (sample_vop_nc.avi)
Originally committed as revision 4021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-08 14:39:58 +00:00
Loren Merritt
885e88d252 remove an assert that was breaking compilation on some gccs.
Originally committed as revision 4020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-07 09:05:33 +00:00
Michael Niedermayer
40c5fa2689 AVOption removial patch from (James A. Morrison >ja2morri csclub.uwaterloo ca>)
with minor changes from me

Originally committed as revision 4019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 23:20:53 +00:00
Loic Le Loarer
6867a90b41 MBAFF I slice no deblocking patch by (Loic >>lll+ffmpeg m4x org<<)
Originally committed as revision 4018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 23:02:25 +00:00
Michael Niedermayer
5df8a0c608 group audio codec ids
Originally committed as revision 4017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 22:49:46 +00:00
Michael Niedermayer
9e42e70cd6 indeo3 for bigendian patch by (demo-n <demo-n users.sourceforge net)
Originally committed as revision 4016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 20:07:41 +00:00
Michael Niedermayer
deb13e3c73 spam
Originally committed as revision 4015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 19:59:37 +00:00
Måns Rullgård
26165f99c6 improved detection of "AVC1" style H.264 patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 19:40:12 +00:00
Mike Melanson
fc90504b99 get rid of nasty exit()'s so the decoder will only warn the user before
it runs off the end of a buffer; eventually, this should be replaced
with FFmpeg's internal bit reader which is hopefully more robust

Originally committed as revision 4012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 14:48:50 +00:00
Falk Hüffner
647b610c6e -freduce-all-givs has been removed from gcc
Originally committed as revision 4011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 14:42:10 +00:00
Mike Melanson
f770ee038f decoder works fine now, when fed properly-sized chunks by the demuxer;
cleaned up some cruft for this commit

Originally committed as revision 4010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 07:00:24 +00:00
Mike Melanson
7ff85a81ed do not use a variable before proper initialization
Originally committed as revision 4009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 06:22:24 +00:00
Mike Melanson
6d6d7970e7 first pass at ALAC decoder from David Hammerton; while David's original
decoder works great, this decoder is not completely and seamlessly
integrated yet with FFmpeg

Originally committed as revision 4008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 00:43:55 +00:00
Torsten Martinsen
2a515c08f2 Support for AMR Interface Format 2 patch by ("Torsten Martinsen" <tma gatehouse dk>)
Originally committed as revision 4007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 11:44:25 +00:00
Michael Niedermayer
27ef18d12f typo
Originally committed as revision 4006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 03:37:19 +00:00
Michael Niedermayer
8c787559a2 mpeg-es bitrate parsing
Originally committed as revision 4005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 03:36:32 +00:00
Loren Merritt
a18030bb62 10l (fix reordering when B-frames are not present)
Originally committed as revision 4004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-05 00:14:21 +00:00
Loren Merritt
2f944356bf H.264: decode arbitrary frame orders and allow B-frames as references.
Originally committed as revision 4003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-04 12:47:38 +00:00
Loren Merritt
3622988f21 oops, other half of the vismv patch
Originally committed as revision 4001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 12:12:44 +00:00
Loren Merritt
b75e10d52c vismv didn't display 8x8 mvs in H.264
Originally committed as revision 4000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 07:21:23 +00:00
Loren Merritt
e21f398378 vismb: display 4x4 partition boundaries in H.264
Originally committed as revision 3999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 06:57:17 +00:00
Michael Niedermayer
ee89b2b9e7 04-vp3 fix(by matthieu castet).patch
Originally committed as revision 3998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-03 02:24:20 +00:00
Michael Niedermayer
f86f4481d8 cast to uint32 as the table is uint32_t, this also worksaround a gcc or libc bug related to frexp()
Originally committed as revision 3997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-02 20:46:06 +00:00
Mike Melanson
a54ea19a52 VP3 post-processing loop filter; disabled until the correct final step
is determined

Originally committed as revision 3996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-01 06:14:45 +00:00
Mike Melanson
9c7fb60816 go LOCO, courtesy of Kostya Shishkov
Originally committed as revision 3995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-01 02:24:58 +00:00
Loren Merritt
56b31a8ee2 10l (deallocated memory again)
Originally committed as revision 3994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-28 05:27:21 +00:00
Sebastian Jedruszkiewicz
cdb2c1cacb indeo3 for bigendian patch by (elf at frogger dot rules dot pl Sebastian Jedruszkiewicz)
Originally committed as revision 3990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-27 23:43:24 +00:00
Jindřich Makovička
655f688d54 support for negative strides
Originally committed as revision 3989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-27 08:56:26 +00:00
Michael Niedermayer
f52072e3f0 10l (shorten.o missing)
Originally committed as revision 3985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-26 03:40:29 +00:00
Michael Niedermayer
85ad569574 shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
Originally committed as revision 3984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-26 03:36:04 +00:00
Michael Niedermayer
8dd2a893dd set supported pix_fmts
Originally committed as revision 3982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-25 15:06:21 +00:00
Loren Merritt
19fe8b4100 In-loop deblocking for B-frames.
Originally committed as revision 3979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-25 07:40:29 +00:00
Måns Rullgård
88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Michael Niedermayer
53513831da -strict -1 comment fix
Originally committed as revision 3976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 16:39:03 +00:00
Nilesh Bansal
5c5dea3f0c 01-makefile_fix_updated.patch
Adds --enable-theora/--enable-vorbis/--enable-ogg to configure
   If compiled WITHOUT --enable-theora, native VP3 decoder is used
patch by (Nilesh Bansal <nileshbansal gmail com>)

Originally committed as revision 3975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 15:18:02 +00:00
Loren Merritt
738386a5ed 10l in implicit_weight_table
Originally committed as revision 3974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 09:27:46 +00:00
anonymous
8da75fb272 - renaming the AC coding set variable names to more meaningful ones
- removed old MB decoding functions, and moved around macros to be used in
the previously unused code, which match better msmpeg4.c/whole MPV
framework
- cleaned (not yet functionnal, lots missing) DC prediction
- trying to pass the proper coded status to block decoder
patch by anonymous

Originally committed as revision 3973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-23 17:24:17 +00:00
François Revol
3e459e39fa use av_free() instead of free() where it's meant to.
Originally committed as revision 3971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-22 11:37:03 +00:00
Alex Beregszaszi
659c369256 macromedia flavour adpcm decoding (used in flv and swf)
Originally committed as revision 3969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 19:27:32 +00:00
Alex Beregszaszi
58aa2b1d35 10l
Originally committed as revision 3967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:52:23 +00:00
Josh Varner
fe533bb3a7 removing --disable-risky patch by (Josh Varner <jlvarner gmail com>)
Originally committed as revision 3966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:50:48 +00:00
Loren Merritt
09f20d3786 Fix a crash when multiple metadata packets are present.
Originally committed as revision 3965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-20 23:21:50 +00:00
Milan Cutka
d6c80d3633 Fixed decoding of 410p ffv1 files patch by (Milan Cutka <cutka szm sk>)
Originally committed as revision 3964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-17 19:03:12 +00:00
Michael Niedermayer
ae2f1d4624 buffer overflows
one found by Milan Cutka
one by me

Originally committed as revision 3963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-17 19:00:42 +00:00
Michael Niedermayer
c2d57a34d0 memleak fix
Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-17 00:00:20 +00:00
Loic Le Loarer
e7e09b49b4 remove goto and reindent patch by (Loic Le Loarer <lll+ffmpeg m4x org>)
Originally committed as revision 3960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:18:06 +00:00
Matti Hamalainen
aabdc46187 Off-by-one bug in libavcodec/idcinvideo.c, caused
segfaults on all .cin videos from Quake II.
patch by (Matti Hamalainen <mhamalai ratol fi>)

Originally committed as revision 3956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 22:42:41 +00:00
Roberto Togni
d2a7718df9 Multichannel mp3 in mp4 support ISO/IEC 14496-3:2001/FPDAM 3 (MP3onMP4)
Derived from MPlayer patch by Larry Ruedisueli

Originally committed as revision 3955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-15 20:58:32 +00:00
Michael Niedermayer
a8d02f2bc9 buffer overflow
Originally committed as revision 3954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-13 23:36:04 +00:00
Martin Drab
4d9ae03b09 optimization and gcc 4.0 bug workaround patch by (Martin Drab >drab kepler.fjfi.cvut cz<)
Originally committed as revision 3945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 17:09:48 +00:00
Loic Le Loarer
6fbcaaa0ef INTRA PCM macroblocks support patch by (Loic )lll+ffmpeg m4x org)
This patch adds the support for INTRA PCM macroblocks in CAVLC and CABAC
mode, the deblocking needed a small modification and so did the
intra4x4_pred_mode prediction.

With this patch, the 5 streams of the conformance suite containing INTRA
PCM macroblocks now decode entirely, 4 are completely corrects, 1 is
incorrect since the first B slice because of deblocking in B slice not
yet implemented.

The code is not optimized for speed, it is not necessary IPCM
macroblocks are rare, but it could be optimized for code size, if
someone want to do this, feel free.

Originally committed as revision 3941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 00:10:28 +00:00
Michael Niedermayer
3f26d68aec emulate (idiotic) MS behavior for inconsistant dimensions
Originally committed as revision 3940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 18:43:06 +00:00
Michael Niedermayer
1b781f82c9 support skiping some bitstream encoding
Originally committed as revision 3939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 17:01:07 +00:00
Michael Niedermayer
09b0499f1b seperate bitstream encoding skip from PASS1 flag
Originally committed as revision 3938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 10:36:07 +00:00
Michael Niedermayer
db2fcbbdb3 10l (use of deallocated memory)
Originally committed as revision 3936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 11:53:35 +00:00
James A. Morrison
9a0a8d420d Build libpostproc out of source directory patch by (James A. Morrison >ja2morri csclub.uwaterloo ca>)
Originally committed as revision 3933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 03:29:50 +00:00
Loic Le Loarer
0bf796340a H.264 multiple slice support in CABAC patch by (Loic (lll+ffmpeg m4x org)
3 more streams of the conformance suite decode to the
end instead of failing on an assert (CABACI3_Sony_B.jsv,
CABAST3_Sony_E.jsv and CABASTBR3_Sony_B.jsv), they are still false since
the first B slice probably because of deblocking in B slices not yet
implemented.

Originally committed as revision 3932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 02:47:45 +00:00
anonymous
7cc84d241b - samples from mplayer ftp in the "adv" profile seem to have profile=2,
which isn't the advanced one; and indeed, using adv. profile parser fails.
Using normal parser works, and that's what is done
- attempt at taking care of stride for NORM2 bitplane decoding
- duplication of much code from msmpeg4.c; this code isn't yet used, but
goes down as far as the block layer (mainly Transform Type stuff, the
remains are wild editing without checking). Unusable yet, and lacks the AC
decoding (but a step further in bitstream parsing)
patch by anonymous

Originally committed as revision 3931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 02:20:38 +00:00
Michael Niedermayer
44f1698a38 merge a few shifts into the dequantization, faster and more accurate, lets hope it doesnt overflow
Originally committed as revision 3930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-03 03:28:27 +00:00
Michael Niedermayer
125d624610 optimizing imdct12
Originally committed as revision 3929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 22:38:28 +00:00
Michael Niedermayer
6e0d8c06c7 mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits
Originally committed as revision 3928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 19:33:48 +00:00
Christophe Massiot
957c743a23 Border processing adaptive quant patch by (Christophe Massiot |cmassiot freebox fr)
Originally committed as revision 3927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 18:49:04 +00:00
Johan Bilien
ebaa7e0315 rtp_callback: send number of mb patch by (Johan Bilien {jobi via.ecp fr)
Originally committed as revision 3926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 18:14:59 +00:00
Michael Niedermayer
ce4a29c066 optimize antialias
switch to integer antialias code as default as its faster now

Originally committed as revision 3925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 01:37:33 +00:00
Michael Niedermayer
d04728bb57 faster, simpler and more accurate l3_unscale()
Originally committed as revision 3924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 23:43:07 +00:00
Michael Niedermayer
711ae726f7 optimizing imdct36()
Originally committed as revision 3923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 21:27:18 +00:00
Michael Niedermayer
c342499df2 make keyframe default for AVFrames
Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 18:36:51 +00:00
François Revol
3c8e39f72d Stereo MACE fix by Burkhard Plaum <plaum AT ipf DOT uni-stuttgart DOT de>
Still doesn't work with our mov demuxer though...

Originally committed as revision 3919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 15:13:27 +00:00
Michael Niedermayer
8845e427a7 10l (array gets padded with 0 which is CODEC_ID_NONE -> parsers claim to support CODEC_ID_NONE)
Originally committed as revision 3918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 13:03:44 +00:00
Loïc Le Loarer
0d315f281c H.264 multiplce instance in reference list patch by (Loic <lll+ffmpeg m4x org )
With this patch, the streams CAWP5_TOSHIBA_E.264 and CVWP5_TOSHIBA_E.264
are completely decoded

Originally committed as revision 3917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 11:26:11 +00:00
Loïc Le Loarer
dc032f3332 correct long term picture management patch by (Loic <lll+ffmpeg m4x org>)
fixes decoding of MR2_MW_A.264

Originally committed as revision 3916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 11:12:53 +00:00
anonymous
bf2bc926f0 - a lot less overflows when decoding frames
- no more error with norm6 codes
- almost skipped frames (~110 bits) are not overflowed
However:
- there are very few bits left in those frames, so I wonder if enough MB
data is actually left
- NORM6/DIFF6 (4/5) bitplanes are a lot more present, which I don't find
obvious.
patch by anonymous

Originally committed as revision 3915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 10:03:55 +00:00
anonymous
2ce151f898 Documentation patch by anonymous
Originally committed as revision 3914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 09:51:49 +00:00
Roberto Togni
b2eef2f0ea Add 32bit RGB support
Originally committed as revision 3912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 22:34:02 +00:00
Michael Niedermayer
e993bc03ac 10000l vbr mp3 fix
Originally committed as revision 3911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 21:26:20 +00:00
Michael Niedermayer
a3a5f4d6c3 support 32bit output for the mpeg audio decoder
Originally committed as revision 3910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 12:16:21 +00:00
Michael Niedermayer
b696d2a676 more accurate dequant of near zero coefficients
Originally committed as revision 3909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 04:06:47 +00:00
Michael Niedermayer
84af4a7ee6 10l (missing overflow check)
Originally committed as revision 3908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-31 03:14:22 +00:00
Michael Niedermayer
9da235c803 100000l (typos in the #define for selecting the NORM6 method -> wasnt compiled, after fixing typos new method doesnt even compile -> swicth back to old until its fixed)
Originally committed as revision 3907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 22:28:11 +00:00
anonymous
5e424311dd - add another way to decode norm6 VLC; modify VLC_NORM6_METH0D define in
vc9data.h to select the behaviour
- modified decode_b_picture_primary_header so that
decode_bi_picture_header is no more required

Fixes:
- modifications for some more using of MpegEncContext
- fixed a bit frame type decoding
- switch from pointers to index for AC tables
- corrected P CBPCY decoding (p_cbpcy += 4)

patch by anonymous

Originally committed as revision 3906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 21:54:20 +00:00
anonymous
0d33db8a4d In that patch:
- avctx and gb elements were removed from VC9Context, hence a larger diff
- some code was added to h263dec.c regarding CODEC_ID_WMV3 (should apply to CODEC_ID_VC9 too)
- VLC tables and other related tables were made global whenever this seemed necessary; appropriate changes were therefore made to other parts of the code using those tables
- the change for the bitplane management to a struct (some of them should eventually be mapped to MpegEncContext arrays) wasn't associated with the proper frees; should be fixed now
patch by anonymous

better names for globalized tables by me

Originally committed as revision 3905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 16:34:57 +00:00
Michael Niedermayer
093c6e50c9 10l (didnt test code after cvs up ...)
Originally committed as revision 3904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 14:10:30 +00:00
Michael Niedermayer
a7a858996f dithering for the mpeg audio decoder
Originally committed as revision 3903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 14:04:56 +00:00
Michael Niedermayer
bd9ea6a462 fixing missaligned memory accesses in fill_rectangle()
Originally committed as revision 3901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-30 02:16:50 +00:00
Michael Niedermayer
4b9ac0b5f0 require a few valid and equal mp3 headers for resync
Originally committed as revision 3900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 23:59:32 +00:00
François Revol
f4ff1b92cc added a lock/unlock_lib pair to allow extern progs to serialize access to lavc.
Originally committed as revision 3899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 20:09:33 +00:00
Alex Beregszaszi
bf1f4da01f exported ff_mpa_synth_filter for upcoming qdm2 decoder
Originally committed as revision 3897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 19:54:10 +00:00
Michael Niedermayer
7d8b13b46b make decode012() static inline
Originally committed as revision 3895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 11:21:57 +00:00
Michael Niedermayer
edaf11e87a 10l (negative strides)
Originally committed as revision 3887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-26 17:04:34 +00:00
anonymous
0c040aacbe use dc tables from msmpeg4 instead of duplicating them patch by anonymous
Originally committed as revision 3886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-26 12:01:35 +00:00
Michael Niedermayer
a64a006e95 dont duplicate decode012()
Originally committed as revision 3884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-25 01:40:58 +00:00
Michael Niedermayer
6b250f09e8 check norm6 vlc validity as there are some bit sequences which dont corespond to any codeword, the other vlc tables all seem to be huffman tables though
Originally committed as revision 3883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-25 01:29:10 +00:00
anonymous
e5540b3fd3 Fixes:
- i/p/b_decode_mbs functions now checks the proper values (from
bitplane). I didn't find it very clear, but it seems "raw" = "to read at
the MB layer". I used a structure, but we could spare that indirection and
add a flag in the VC9Context for each array.
- Properly decode (or so I think) the CBPCY (as it is predicted)
- many more things
patch by anonymous

Originally committed as revision 3882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 23:01:18 +00:00
Michael Niedermayer
b299f0d907 more 10l typos
Originally committed as revision 3881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 01:56:53 +00:00
Michael Niedermayer
9c68c65adb norm-6 / diff-6 support (untested, parts of it just guessed as the spec is unclear)
Originally committed as revision 3880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 01:46:12 +00:00
Michael Niedermayer
d29f0cd9c1 fixing many bugs in bitplane_decoding()
spliting row/colskip cases into their own functions as these will be needed for NORM/DIFF-6

Originally committed as revision 3879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-24 00:35:18 +00:00
Michael Niedermayer
e902560005 dont use several 100 mb memory for a tiny 120 element table
remove redundant code related to av_free()
typo fix

Originally committed as revision 3878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 22:54:51 +00:00
Michael Niedermayer
bc399ae6a4 1000000000l typos
Originally committed as revision 3877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 22:49:41 +00:00
Michael Niedermayer
e25fa2136f mention table duplications, note, please avoid duplicating tables!
Originally committed as revision 3876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 22:10:55 +00:00
Roberto Togni
cca1a42653 Check pointers before writing to memory
Originally committed as revision 3874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 21:36:24 +00:00
Michael Niedermayer
4ae33c9b52 simplify
Originally committed as revision 3873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 19:11:02 +00:00
Michael Niedermayer
934982c4ac avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Michael Niedermayer
884182b383 more detailed error messages
Originally committed as revision 3871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 17:59:01 +00:00
Michael Niedermayer
9b21f0561b 10l
Originally committed as revision 3870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 16:18:10 +00:00
Michael Niedermayer
e8ea90123d framerate check
Originally committed as revision 3869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 14:07:25 +00:00
Michael Niedermayer
46f2f05f59 simplify deblock
Originally committed as revision 3868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 14:03:13 +00:00
Michael Niedermayer
91c56db64e use clip_uint8()
Originally committed as revision 3867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 11:08:18 +00:00
Michael Niedermayer
3b33943e9b simplify
reference list 1 swaping fix? seems its not used by any samples i found though

Originally committed as revision 3863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 03:49:36 +00:00
Alex Beregszaszi
4c12e8bee3 preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
Originally committed as revision 3862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 18:00:36 +00:00
Alex Beregszaszi
21aa398f3d preliminary vc9 bitstream decoder, committing to make syncing and team-work on it easier
Originally committed as revision 3861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 17:52:01 +00:00
Michael Niedermayer
4cfbbbde42 count errors instead of printing 2^31
Originally committed as revision 3857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 23:47:03 +00:00
Philipp Matthias Hahn
8b8e1c5580 Out-of-directory build patch by (Philipp Matthias Hahn <pmhahn titan.lahn de>)
preserve support for spaces in directories in case of in-tree builds by (James A. Morrison <ja2morri csclub.uwaterloo ca>)

Originally committed as revision 3855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 22:16:05 +00:00
Michael Niedermayer
dd4f8a04fe jpeg style yuv fixes
Originally committed as revision 3852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-20 00:30:20 +00:00
Loic Le Loarer
827c91bfb7 H.264 b ref pic list order and long term pictures patch by (Loic Le Loarer <loic.le-loarer polytechnique org>)
Originally committed as revision 3851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 17:35:51 +00:00
Michael Niedermayer
eed4ebd22c div by zero aspect fix
Originally committed as revision 3850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 13:24:43 +00:00
Michael Niedermayer
895345da9a svq3_get_se_golomb() fix
Originally committed as revision 3849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 13:03:38 +00:00
Loïc Le Loarer
61f040dd1a compile with TRACE define patch by (Loic <lll+ffmpeg m4x org>)
Originally committed as revision 3848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 12:58:34 +00:00
Michael Niedermayer
2c65638640 x86_64 pointer typecast fix by (Martin Drab <drab kepler.fjfi.cvut cz>)
Originally committed as revision 3845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-18 01:01:54 +00:00
Michael Niedermayer
80a4995853 simplify
benchmark

Originally committed as revision 3844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-17 18:25:32 +00:00
Matthieu Castet
d06c75a830 10l patch by (matthieu castet <castet.matthieu free fr>)
Originally committed as revision 3842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-16 22:11:47 +00:00
Michael Niedermayer
67e11730fc simplify
Originally committed as revision 3841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 20:04:41 +00:00
Michael Niedermayer
b349fde101 simplify, null pointer, selftest
Originally committed as revision 3840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 19:05:26 +00:00
Roberto Togni
1ede228a4f Decode MP3 in ADU format
Originally committed as revision 3839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 14:59:47 +00:00
Roberto Togni
f9c6d80e4e 1l, forgot to remove duplicated error message
Originally committed as revision 3838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 14:05:37 +00:00
Diego Biurrun
47d9182521 Mention the l5 pp filter in 'mplayer -pphelp' output.
Originally committed as revision 3837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 10:34:49 +00:00
Roberto Togni
3048af8350 Use avcodec_check_dimensions instead of custom hack
Originally committed as revision 3836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 00:07:38 +00:00
Michael Niedermayer
a9c3ff5b9e assertion about bits statistic and minor bits stat fix
Originally committed as revision 3835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-14 23:48:12 +00:00
Michael Niedermayer
30231f8169 10l (dont modify the input picture pts)
Originally committed as revision 3833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-13 11:59:19 +00:00
Kurosu
f41c1fac3c av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)
Originally committed as revision 3830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 18:25:48 +00:00
Michael Niedermayer
d5f121e2a5 10l (gcc 2.95 fix)
Originally committed as revision 3827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 11:14:12 +00:00
Michael Niedermayer
1f3f950799 disallow strcat
Originally committed as revision 3826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 01:44:02 +00:00
Michael Niedermayer
2fc8ea249f dissallow sprintf
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:59:42 +00:00
Michael Niedermayer
0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Diego Biurrun
f14d4e7e21 Quote path expression to take care of $(prefix) possibly containing spaces.
Originally committed as revision 3821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 08:16:04 +00:00
Michael Niedermayer
6041c21749 fixing selftest
Originally committed as revision 3820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 03:18:08 +00:00
Michael Niedermayer
eaba7c7fd6 picture heap corruption fix
Originally committed as revision 3819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-10 23:41:25 +00:00
Roberto Togni
c31b812166 Check pointers before writing to memory, fix possible integer overflows
Force alignement for mszh and zlib decoders

Originally committed as revision 3817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-09 23:39:32 +00:00
Gert Vervoort
9c6221ae62 10l (obmc_scratchpad not always initialize)
patch by (Gert Vervoort <gert.vervoort at hccnet dot nl>)

Originally committed as revision 3816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-09 00:48:37 +00:00
Loren Merritt
934b0821db 10l: scratchpad could be allocated before its size was known.
Originally committed as revision 3812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 08:56:18 +00:00
Loren Merritt
9f2d1b4ff5 H.264 weighted prediction.
Bidirectional weighting has not been tested for bitwise accuracy, but looks correct.

Originally committed as revision 3811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-07 05:56:07 +00:00
Michael Niedermayer
85df8f7cf0 print "D" instead of "P" for dropable frames in flv with -debug 1
Originally committed as revision 3810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 01:02:36 +00:00
Michael Niedermayer
3f05305d73 RV30/RV40 demuxing (untested)
Originally committed as revision 3809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 00:54:03 +00:00
Michael Niedermayer
f6d5112387 fixing decoding of http://mplayerhq.hu/~atmos4/ffrv20-crashing-atmos.rm
Originally committed as revision 3808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-05 02:36:10 +00:00
Michael Niedermayer
503a47255f fix decoding of http://mplayerhq.hu/~diego/problem.mov
Originally committed as revision 3806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-05 00:20:52 +00:00
Loren Merritt
1b2dcdc1e0 reduce stutter if we learn too late that the stream contains B-frames.
Originally committed as revision 3801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 10:26:47 +00:00
Loren Merritt
a4dae92b58 Sort B-frames into display order.
Originally committed as revision 3799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 01:12:48 +00:00
Gianluigi Tiesi
8ff53f5b07 Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)
Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 16:13:52 +00:00
Diego Biurrun
bf69c4e55f Make -pphelp output consistent with the other instances of -xxx help.
Originally committed as revision 3792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 00:36:26 +00:00
Michael Niedermayer
2d2651f821 WV1F support
Originally committed as revision 3790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-01 23:02:09 +00:00
Michael Niedermayer
53f0090dcc faster and slightly less accurate nearest neighbor resampler
Originally committed as revision 3789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 17:37:23 +00:00
Michael Niedermayer
17bfbd70ab 10l
Originally committed as revision 3788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 14:02:35 +00:00
Michael Niedermayer
6cb5dcb392 special case for filter_length==1
Originally committed as revision 3787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 12:58:46 +00:00
Loïc Le Loarer
579448a083 - correct several errors on the deblocking accross slice boundaries.
- add support for deblocking_filter_idc==2 which means no deblocking accross slice.
- correct MMCO with multiple slices.

5 more streams from H264 conformance suite are now correctly decoded.

patch by (Loic <lll+ffmpeg >< m4x dot org>)

Originally committed as revision 3786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 00:07:17 +00:00
Roberto Togni
f31ecffb4f Fix avc1 if there is nore than one nal per mov frame
Originally committed as revision 3785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 18:05:54 +00:00
Panagiotis Issaris
13160c0708 imgresample test cleanup patch by (Panagiotis Issaris <takis )( lumumba d0t luc d0t ac.be>)
Originally committed as revision 3784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 14:48:01 +00:00
Roberto Togni
4d4bb927ce Fix compilation when both amr_nb and amr_wb are enabled
Originally committed as revision 3782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 23:17:42 +00:00
Michael Niedermayer
caa336b4cc common.c -> bitstream.c (and the single non bitstream func -> utils.c)
common.h -> common.h/bitstream.h

Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 17:50:25 +00:00
Michael Niedermayer
6143607303 motion_val doxy
Originally committed as revision 3776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 12:14:14 +00:00
Loren Merritt
5ad984c997 implement B_DIRECT and B_SKIP macroblock types.
fix reference list sorting for B-frames.
fix mv caching for mixed list B-blocks.

Originally committed as revision 3775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 04:17:52 +00:00
Loren Merritt
650cec0c8c vismv for h264 displayed incorrect motion vectors.
Originally committed as revision 3765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-20 03:03:37 +00:00
Michael Niedermayer
f0b77c69c1 better motion_subsample_log2 docs
Originally committed as revision 3762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 12:26:54 +00:00
Sigbjørn Skjæret
0d00cf38c6 fixes transcoding to vorbis with ffmpeg on big endian machines patch by (Sigbjørn Skjæret {sskjer-1 broadpark no})
Originally committed as revision 3759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 16:20:42 +00:00
Loic Le Loarer
5175b9376f add multi slice support
for main profile H.264 streams. I have tested this on all H264
conformance streams and comparing the result with the current CVS
version, there is 8 streams which decode correctly more frames and 2
streams which are now completely correct with my patch.

This patch also correct some typo in comments.

patch by (Loic Le Loarer <lll+ffmpeg >at< m4x org>)

Originally committed as revision 3758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:49:07 +00:00
Drew Hess
a2c3bf82a7 fixes for PIC code on x86-64 patch by (Drew Hess <drew.hess gmail com>)
Originally committed as revision 3757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:07:15 +00:00
Michael Niedermayer
3c9ec07ef2 quantizer overflow warning + AAN dct fix
Originally committed as revision 3754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 20:17:23 +00:00
Michael Niedermayer
7984bbe2ce fix timestamp prediction for low_delay mpeg streams
Originally committed as revision 3751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 12:04:45 +00:00
Michael Niedermayer
e42a152bbc x86 cpu capabilities detection rewrite / cleanup
Originally committed as revision 3750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-13 16:11:38 +00:00
Michael Niedermayer
74679f5c1c another try at fixing rv20 ...
Originally committed as revision 3749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-13 11:41:59 +00:00
Michael Niedermayer
f48c0551ca flush remaining data from parser at EOF
Originally committed as revision 3748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-12 14:19:54 +00:00
Michael Niedermayer
732ce18eab warn the user if the quantization code could overflow with the selected custom matrix and qp limits
Originally committed as revision 3747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-11 18:33:18 +00:00
Michael Niedermayer
bf835aee11 uppercase codec_tag=AVC1 support
Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 22:04:15 +00:00
Michael Niedermayer
a979965313 out of buffer access fix
Originally committed as revision 3744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 01:01:11 +00:00
Michael Niedermayer
0fd6aea1f1 more flexible frame skip decission
Originally committed as revision 3743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 18:02:56 +00:00
Michael Niedermayer
bbf18b21b7 frame skip support
Originally committed as revision 3742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 11:46:16 +00:00
Michael Niedermayer
d0271e8a3a rv20 encoding
Originally committed as revision 3739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-07 13:14:37 +00:00
Michael Niedermayer
bc17df09d4 seeking in rm
Originally committed as revision 3737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 22:44:03 +00:00
Michael Niedermayer
18ade9543f rv10 thread safety fix / rv10 ffplay fix
Originally committed as revision 3733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 17:21:17 +00:00
Matthieu Castet
e7ddb0cf4c detect sse on athlon-xp patch by (matthieu castet <castet >.< matthieu >at< free >.< fr>)
Originally committed as revision 3729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:26:43 +00:00
Michael Niedermayer
423962dc01 next try at fixing rv20 decoding
Originally committed as revision 3728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:21:39 +00:00
Michael Niedermayer
9d2a069519 raw rgb flip fix
Originally committed as revision 3724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 21:50:16 +00:00
Loren Merritt
42dd22c4a5 fix interlacing check in v1 huffyuv.
Originally committed as revision 3721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 19:19:39 +00:00
Loren Merritt
f37b9768f6 split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00
Michael Niedermayer
17179d2d97 fix some codec_id values so that new ones can be added at the end of the subsets without breaking binary compatibility
Originally committed as revision 3719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 15:33:15 +00:00
Michael Niedermayer
6989963c1f 10l (dont use codec_id for error simulation)
Originally committed as revision 3718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 14:58:50 +00:00
Burkhard Plaum
073c2593c9 Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Loren Merritt
1108708609 new option: context_model
stores per-frame optimal huffman tables.

Originally committed as revision 3715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 03:54:18 +00:00
Michael Niedermayer
2554db9b5f fix for build on IRIX by (Michel Bardiaux {mbardiaux peaktime be})
Originally committed as revision 3713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:26:46 +00:00
Jeff Muizelaar
21d7e2ff40 fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>)
Originally committed as revision 3712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:17:27 +00:00
Luca Abeni
bac6516545 YUV420P to UYVY422 conversion patch by (Luca Abeni <lucabe72 >< email >< it>)
Originally committed as revision 3710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 22:54:16 +00:00
Loren Merritt
7d7f635dc0 Fixed typo which caused incorrect motion prediction in B-frames. patch by (Loren Merritt <lorenm ta u tod washington tod edu>)
Originally committed as revision 3709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 22:50:49 +00:00
Michael Niedermayer
6db2583c4f check num_entries too to avoid reading over the array end and dont check i>0 it must be >0 there
Originally committed as revision 3708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 00:15:49 +00:00
Loren Merritt
80516d720a Fixes a segfault when flushing delayed B-frames on the 2nd pass. patch by (Loren Merritt <lorenm.u@washington@edu>)
Originally committed as revision 3707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 23:58:54 +00:00
François Revol
2450cff2c3 BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS"
Originally committed as revision 3702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 18:04:56 +00:00
James A. Morrison
6813f1d5cf whitespace cleanup patch by (James A. Morrison <ja2morri>@<csclub>dot<uwaterloo>point<ca>)
Originally committed as revision 3699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 01:47:36 +00:00
Michael Niedermayer
55429b5534 workaround apps which dont provided correctly padded streams
Originally committed as revision 3695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 20:49:12 +00:00
Michael Niedermayer
9993064eec fixing rv20201002
Originally committed as revision 3694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 18:19:36 +00:00
Michael Niedermayer
35ef76b51c rv20103001 support
Originally committed as revision 3692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 16:57:47 +00:00
Michael Niedermayer
ec892563ae reset ref_index
Originally committed as revision 3690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 13:08:25 +00:00
Michael Niedermayer
e731697665 fix parser
Originally committed as revision 3689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 11:37:03 +00:00
Mike Melanson
acfd8f0fdb native QPEG video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-17 03:45:53 +00:00
Michael Niedermayer
096c3b7e90 overflow fix
Originally committed as revision 3685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-16 13:40:56 +00:00
Michael Niedermayer
dffcdbb5f6 extradata and FF_INPUT_BUFFER_PADDING_SIZE doc
Originally committed as revision 3684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-15 15:53:53 +00:00
Michael Niedermayer
b43ff7e2b0 attribute_used
Originally committed as revision 3682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 22:05:21 +00:00
Michael Niedermayer
fc0be57f66 plane predicted non-interlacd rgb decodeing fix
Originally committed as revision 3681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 15:46:34 +00:00
Michael Niedermayer
4940ed6ae1 automatic workaround for another padding bug
Originally committed as revision 3678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 01:05:12 +00:00
Michael Niedermayer
311c700878 merge pam_decode_frame() into pnm_decode_frame()
Originally committed as revision 3677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 23:38:43 +00:00
Michael Niedermayer
99f0623629 pnm parser
Originally committed as revision 3675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 22:55:29 +00:00
Milan Cutka
e20815b396 When bswap_32 is a macro, png images fail to decode properly, patch by (Milan Cutka <cutka>at<szm>dot<sk>)
Originally committed as revision 3672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 09:48:06 +00:00
Michael Niedermayer
788d7a8cac av_resample_compensate() doxy
Originally committed as revision 3671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 02:05:26 +00:00
Maarten Daniels
ccff9da62a H261 fixing and cleaning:
-corrected wrong value in mv data
 -set correct mb_type after adjusting index
 -don't use H263 loop filter when the loop filter flag is set but when
  using the H261 encoder
 -use the same unquantizer as H263 (which is optimized btw)
 -removed unused members in H261Context
patch by (Maarten Daniels <maarten.daniels >at< luc >dot< ac >dot< be>)

regression test checksum update by me

Originally committed as revision 3669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 01:21:34 +00:00
Michael Niedermayer
5b6d559680 move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 18:09:28 +00:00
Michael Niedermayer
6c3890b6d3 10l (CONFIG_ZLIB)
Originally committed as revision 3667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 10:33:11 +00:00
Michael Niedermayer
4eff7cf42d porting png support from -f image to -f image2
Originally committed as revision 3665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 23:31:46 +00:00
Michael Niedermayer
d07730ddd1 fix image stream copy
Originally committed as revision 3662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-08 23:36:32 +00:00
Michael Niedermayer
359fa0febc cbr audio muxing fix
Originally committed as revision 3661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-06 19:11:34 +00:00
Michael Niedermayer
d34a07466f switch ffv1 to the put/get_symbol() from snow
Originally committed as revision 3659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 12:22:00 +00:00
Michael Niedermayer
880eae9c50 switch ffv1 from CABAC to the range coder
Originally committed as revision 3658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 10:08:50 +00:00
Michael Niedermayer
9b41cb1c41 remove debug stuff
Originally committed as revision 3657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 02:51:39 +00:00
Michael Niedermayer
5d0e4cb87a segfault fix
Originally committed as revision 3656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 00:42:43 +00:00
Michael Niedermayer
2886975773 CABAC -> range coder
Originally committed as revision 3655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-30 02:16:27 +00:00
Michael Niedermayer
672a19aac2 range coder
Originally committed as revision 3654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-30 01:43:37 +00:00
Roberto Togni
9287acd197 Fix mjpeg-b (padding bytes can exist between end of sos and image data)
Originally committed as revision 3653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-29 20:45:47 +00:00
Michael Niedermayer
5bbad3eb53 cleanup
Originally committed as revision 3650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 18:42:31 +00:00
Michael Niedermayer
87b9e6b2dd simplify ff_h261_reorder_mb_index
Originally committed as revision 3649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 18:17:48 +00:00
Michael Niedermayer
1499a1f7df simplify
Originally committed as revision 3648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 17:34:14 +00:00
Michael Niedermayer
9740687b6b fix and cleanup h261 mb_type selection
Originally committed as revision 3647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 17:21:34 +00:00
Michael Niedermayer
13e5b1f684 cleanup
Originally committed as revision 3646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 12:12:33 +00:00
Michael Niedermayer
1c3990dbba H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 10:12:57 +00:00
Michael Niedermayer
d7e2f57f0e YUV420P to YUV422 conversion routine by (Danny Laarmans <dlaarmans at androme dot com>)
Originally committed as revision 3642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-27 21:42:26 +00:00
Mike Melanson
ab711b3c8d Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-27 04:30:48 +00:00
Michael Niedermayer
3237f73183 stride align cleanup
Originally committed as revision 3640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-26 12:47:56 +00:00
Michael Niedermayer
ec7eb8966c optimization
Originally committed as revision 3639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-26 03:12:21 +00:00
Michael Niedermayer
9297ddd32e type fix
Originally committed as revision 3638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-25 15:37:13 +00:00
Michael Niedermayer
0f242af274 type fix
Originally committed as revision 3637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-25 15:27:56 +00:00
Wolfram Gloger
ed2cea4290 fix -pixfmt mono[bw] patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-25 01:16:13 +00:00
Michael Niedermayer
8e6325b96b mjpeg parser
Originally committed as revision 3634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 22:37:29 +00:00
Bohdan Horst
cc044c1cc0 INT MIN/MAX patch by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 13:20:32 +00:00
Michael Niedermayer
db4d9faf8d optimzation
Originally committed as revision 3630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 02:59:36 +00:00
Michael Niedermayer
58897665ae optimization
Originally committed as revision 3629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 02:08:45 +00:00
Michael Niedermayer
7b89e963e8 fix CABAC+LOOP missmatch
Originally committed as revision 3628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 21:13:31 +00:00
Michael Niedermayer
3981c385cc cbp_table cleanup
Originally committed as revision 3627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 19:12:21 +00:00
Michael Niedermayer
9af1ec8e9a cleanup of decode_cabac_residual()
Originally committed as revision 3626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 15:59:01 +00:00
Michael Niedermayer
d6b0c1bbf8 decode intra cabac mb_type cleanup
Originally committed as revision 3625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-23 12:07:57 +00:00
Gildas Bazin
03393cb766 small typo patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 3624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 19:55:57 +00:00
Loren Merritt
d5af70c3b8 H.264 CABAC + B-frames patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 18:30:50 +00:00
Roman Shaposhnik
f02be79d61 * Introducing IIDC1394 grabbing interface.
Use it with -grab dc1394

   * Introducing yet another packed pix_fmt in order to support some of
     the IIDC1394 modes: uyvy411 (Cb Y0 Y1 Cr Y2 Y3).

Originally committed as revision 3621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 02:04:30 +00:00
Michael Niedermayer
6e225de2fe user selectble cutoff frequency
Originally committed as revision 3619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-21 21:07:40 +00:00
Michael Niedermayer
4e255822e5 100l (dont reset the sample position at the block end)
Originally committed as revision 3618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-21 20:01:32 +00:00
Michael Niedermayer
ed861c6bd2 make most resample filter parameters selectable at runtime
Originally committed as revision 3617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-21 03:11:34 +00:00
Michael Niedermayer
f25ba8b393 optimization
Originally committed as revision 3616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-20 19:06:29 +00:00
Michael Niedermayer
51a880208a make filter size, int32/int16 and a few other things selectable at compiletime
Originally committed as revision 3615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-20 18:02:34 +00:00
Michael Niedermayer
2ac615da82 10l
Originally committed as revision 3614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-20 12:04:08 +00:00
Michael Niedermayer
7494cac0fd fix constrained parameters flag
Originally committed as revision 3609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 23:07:18 +00:00
Michael Niedermayer
15862411e6 infinte recursion fix
Originally committed as revision 3606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 03:02:48 +00:00
Aurelien Jacobs
8b4d077fc9 gcc 3.4.3 preversions do not appreciate invalid instruction and operand combinations anymore patch by (Aurelien Jacobs <aurel at gnuage dot org>)
Originally committed as revision 3604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-17 20:27:11 +00:00
Michael Niedermayer
45cb4767bc xvid fake divx version workaround
Originally committed as revision 3595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 11:48:50 +00:00
Michael Niedermayer
035817727f support strictly enforcing gop size
Originally committed as revision 3594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 02:37:04 +00:00
Michael Niedermayer
9efc77c86f fix forcing of individual frame types
Originally committed as revision 3593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-14 12:24:16 +00:00
Mike Melanson
b3bfb29980 Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 12:47:49 +00:00
D Richard Felker III
4471e59b24 1000l
btw what is the sense in all these nonsense REAL_* macros?
the extra level of indirection seems to help nothing...
can we reverse that and commit a sane replacement?

Originally committed as revision 3587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 07:16:14 +00:00
Roine Gustafsson
b1d041c15c missaliged clear_blocks() and h264 not complied but referenced fix patch by (Roine Gustafsson <roine at users dot sourceforge dot net>) and me
Originally committed as revision 3584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 22:47:09 +00:00
Aurelien Jacobs
053dea12f2 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64 patch by (Aurelien Jacobs <aurel at gnuage dot org>)
Originally committed as revision 3578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 02:19:29 +00:00
Michael Niedermayer
ac8b03c0a8 lowres 4mv
Originally committed as revision 3576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-09 12:02:19 +00:00
Michael Niedermayer
5f6c92d40c h.261 loop filter fix
closes bug #1033108

Originally committed as revision 3574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 22:57:39 +00:00
Michael Niedermayer
8c7aaf5b6d nonsense removial
Originally committed as revision 3573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 21:45:29 +00:00
Milan Cutka
125af02243 Quantizer noise shaping crashes on SSE2 machines patch by (Milan Cutka <cutka at szm dot sk>)
Originally committed as revision 3571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 10:37:45 +00:00
Zdenek Kabelac
7fea94ce4a * fixing a few of gcc 'clean-code' warnings
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 08:50:46 +00:00
Richard van der Hoff
a319bbac5c segfault in amr decoder fix patch by (Richard van der Hoff - richvdh0)
closes #1037380

Originally committed as revision 3562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-05 19:44:26 +00:00
Chip
6933900993 Altivec test on AmigaOS4 patch by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 3561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-05 18:36:15 +00:00
Frantisek Dvorak
91378af4b2 Build process: libpostproc patch by (Franti?ek Dvo?ák <valtri at users dot sourceforge dot net>)
Originally committed as revision 3559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-05 17:43:10 +00:00
Loren Merritt
0bc42caddf h.264 ref list reordering bugfix patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 22:01:21 +00:00
Michel Bardiaux
96cc9e5c61 Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 14:38:32 +00:00
Michel Bardiaux
65d1bea201 Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 13:32:13 +00:00
Michael Niedermayer
9fe5a7b831 do not call (av_)abort()
Originally committed as revision 3543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 12:31:11 +00:00
Zdenek Kabelac
669484b49e * these vars could be either static or extern (compilation fix gcc-3.5)
Originally committed as revision 3541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-30 15:02:07 +00:00
Michael Niedermayer
d1fb157dd7 broken mess removial
Originally committed as revision 3539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-29 23:12:16 +00:00
Michael Niedermayer
cfeae977a7 10l (wrong variable)
Originally committed as revision 3537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 23:31:59 +00:00
Michael Niedermayer
80e8528865 dont just resample half of the data sometimes
Originally committed as revision 3535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 21:11:09 +00:00
Michael Niedermayer
a5cd3c48fb 100l (signed vs. unsigend)
Originally committed as revision 3530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 05:38:36 +00:00
Mike Melanson
d08d7142fd support for Sierra Online audio files and Apple QuickDraw codec,
courtesy of Konstantin Shishkov

Originally committed as revision 3529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 03:09:49 +00:00
Mike Melanson
98772cbf7b if audio is PCM, push it through (sync is not perfect yet)
Originally committed as revision 3528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 03:04:36 +00:00
Michael Niedermayer
e4a185ac14 10l forgot to commit
Originally committed as revision 3525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 21:09:41 +00:00
Michael Niedermayer
0fa8158d3e move h264 idct to its own file and call via function pointer in DspContext
allow h264 idct to be used for lowres=1

Originally committed as revision 3524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 19:47:17 +00:00
Michael Niedermayer
40028f8f6e dont print "vop not coded" by default
Originally committed as revision 3523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 17:46:07 +00:00
Michael Niedermayer
21adafec2a lowres width/height cleanup 3rd try
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 11:50:56 +00:00
Michael Niedermayer
0b2346d38c lowres fixes for the parser
Originally committed as revision 3521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 10:06:10 +00:00
Michael Niedermayer
8b392ae2e7 10l (segfault)
Originally committed as revision 3520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 03:19:24 +00:00
Michael Niedermayer
f1cc95f0e9 10l
Originally committed as revision 3519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 03:17:26 +00:00
Michael Niedermayer
4f8a831994 set AVCodecContext.width/height to the picture width/height instead of the one stored in the bitstream (that only matters if lowres!=0)
Originally committed as revision 3518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 02:39:55 +00:00
Michael Niedermayer
718455951c lowres chroma fix
Originally committed as revision 3517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 23:01:42 +00:00
Michael Niedermayer
0f74857497 lowres slice fix
Originally committed as revision 3516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 21:28:31 +00:00
Michael Niedermayer
f06afd698b porting optimizations from 4x4 dct to 8x8
Originally committed as revision 3515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 17:36:53 +00:00
Michael Niedermayer
affbf0435a optimizing 4x4 idct
Originally committed as revision 3514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 16:33:39 +00:00
Michael Niedermayer
af2a9e8fdb lowres slice fix
Originally committed as revision 3513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 13:03:43 +00:00
Michael Niedermayer
da9c9637ae low resolution interlaced support
Originally committed as revision 3512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 11:05:35 +00:00
Michael Niedermayer
1aa8c57b4a 1/8 resolution decoding
Originally committed as revision 3511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 10:01:40 +00:00
Michael Niedermayer
6aeb03d887 low resolution decoding fix
Originally committed as revision 3510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 09:00:37 +00:00
Michael Niedermayer
9ca358b951 1/4 resolution decoding
Originally committed as revision 3509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 00:18:12 +00:00
Michael Niedermayer
178fcca848 1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:18:58 +00:00
Michael Niedermayer
792bb815e3 assertion when playing AVC/H.264 streams fix by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 10:06:31 +00:00
Michael Niedermayer
5cbb0e70a0 H.264 max reference pictures fix by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 09:59:36 +00:00
Michael Niedermayer
15c5fa7b7f trellis quantization for h263(p)
Originally committed as revision 3503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-24 20:35:59 +00:00
Michael Niedermayer
d7d51926dd unused
Originally committed as revision 3502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-24 18:12:43 +00:00
Michael Niedermayer
3c00436b3e 100l
Originally committed as revision 3501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-24 17:30:04 +00:00
Roberto Togni
61cef29379 Zlib encoder: fix image orientation (was flipped), 100l in deflate error
check, put right codec type in extradata

Originally committed as revision 3500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-23 22:20:17 +00:00
Michael Niedermayer
715a97f0c0 merge predict_plane() with DWTELEM->8bit conversation (21% faster)
Originally committed as revision 3499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-23 12:20:41 +00:00
Michael Niedermayer
b43b426a8b segfault fix by (Kostya <cannonball at bw-team dot com>)
Originally committed as revision 3497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-23 09:42:25 +00:00
Jeff Muizelaar
21e1913175 * simplification patch by Jeffrey Ryan Muizelaar
Originally committed as revision 3491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 05:04:18 +00:00
Michael Niedermayer
034aff036f 8 -> FRAC_BITS
Originally committed as revision 3489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 23:10:10 +00:00
Alex Beregszaszi
be441a9eee Decoding to bgr15/16 from 16bit input. Decoding of 24bit input added, not yet finished, but at least the picture can be recognized
Originally committed as revision 3488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 17:37:28 +00:00
Alex Beregszaszi
f970a8e682 greyscale decoding (option to skip u,v planes) support
Originally committed as revision 3487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 17:31:46 +00:00
Michael Niedermayer
9ebb8e1124 check if the user specified timestamps are strictly monotone
timestamp guess code 10l fix

Originally committed as revision 3483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-20 13:47:47 +00:00
Michael Niedermayer
1f0182250a av_rescale with user specified rounding
Originally committed as revision 3481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 16:38:54 +00:00
D Richard Felker III
aa25a462b6 consistent use of types patch by (D Richard Felker III <dalias at aerifal dot cx>)
Originally committed as revision 3480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 14:43:09 +00:00
Loren Merritt
7c2425d239 simplify getsymbol patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 23:51:36 +00:00
Michael Niedermayer
d925c516e4 huffyuv writes to AVCodecContext.stats_out only once every 32 frames,
presumably to reduce the size of the log file.
However, it doesn't clear stats_out on the other 31 out of 32 frames.
So the application (ffmpeg and mencoder) writes each stat line 32 times.

bugfix by (Loren Merritt <lorenm at u dot washington dot edu>)

Originally committed as revision 3475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 11:21:52 +00:00
Michael Niedermayer
8dfc1aefca warning the user about possible incompatibilities
Originally committed as revision 3474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 11:17:17 +00:00
Loren Merritt
ee598f7ba4 (non)interlaced huffyuv patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 10:57:57 +00:00
Romain Dolbeau
a6a12a8a5c h264 qpel mc, size 16 patch by (Romain Dolbeau <dolbeau at caps-entreprise dot com>)
Originally committed as revision 3472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 19:05:22 +00:00
Loren Merritt
1140139fe2 10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 17:36:39 +00:00
Mike Melanson
d0a0bbd22c IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 03:31:41 +00:00
Michael Niedermayer
48cb67c62a 10l
Originally committed as revision 3466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 12:23:45 +00:00
Michael Niedermayer
bd368b565b per picture psnr
Originally committed as revision 3465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 01:55:04 +00:00
Michael Niedermayer
b100eab869 changing size segfault fix
Originally committed as revision 3463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 00:35:18 +00:00
Michael Niedermayer
d32064c0f7 comment fix
Originally committed as revision 3462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-14 18:35:03 +00:00
Michael Niedermayer
2d3601b564 qprd + mpeg2 segfault fix
Originally committed as revision 3461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-14 17:17:12 +00:00
Roman Shaposhnik
0bae10ccec * I was finally convinced. And besides, if err it's better to err with
everybody else around ;-)

Originally committed as revision 3460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-14 06:58:24 +00:00
Roberto Togni
4770b1b4fb AVC (H264 in mp4 files, fourcc avc1) support
Originally committed as revision 3459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-13 21:20:55 +00:00
Michael Niedermayer
c08a01a6b9 pre_cmp fix
Originally committed as revision 3458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-13 12:37:39 +00:00
Maarten Daniels
49e5dcbce5 H.261 decoder improvements
- GOB's can exist of only MBA_STUFFING codes: it crashed before, but it is fixed now
- Clearer code
- Some extra checks so the decoder is more resilient against errors
patch by (Maarten Daniels <maarten dot daniels at student dot luc dot ac dot be>)

Originally committed as revision 3457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-13 03:27:53 +00:00
Michael Niedermayer
d92b58073e 100l (forgot to set the 8x8 mc functions, so ME did use the mpeg ones ...)
Originally committed as revision 3456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 23:09:54 +00:00
Michael Niedermayer
ec69758781 use h264 MC code if possible
50% faster predict_plane() if mmx2/3dnow is available
0.1% bitrate increase

Originally committed as revision 3455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 21:32:36 +00:00
Michael Niedermayer
0fd847a168 10l (gcc 2.95 compilation)
Originally committed as revision 3454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 17:35:54 +00:00
Michael Niedermayer
3924dac4c8 use pointer arithmetic in mc_block(), 25% faster
Originally committed as revision 3452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-12 10:51:02 +00:00
Michael Niedermayer
a6c01275ad get/set_sr_golomb() cleanup
Originally committed as revision 3451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 19:40:55 +00:00
Michael Niedermayer
c32b14bb9c mess cleanup
Originally committed as revision 3449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 18:54:02 +00:00
Alex Beregszaszi
d58a6d8537 put the warning to the right place to avoid crashes
Originally committed as revision 3448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-10 15:38:14 +00:00
Michael Niedermayer
e69538fa60 h264_qpel8_hv_lowpass_mmx2/3dnow
Originally committed as revision 3446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 18:49:12 +00:00
Michael Niedermayer
e772bb8a82 h264_qpel4_hv_lowpass_mmx2/3dnow
alignment fixes

Originally committed as revision 3445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 18:25:45 +00:00
Alex Beregszaszi
4579adb00c new signed golomb routines
Originally committed as revision 3444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 17:59:22 +00:00
Alex Beregszaszi
b2a1c77162 try to select w/h from tables
Originally committed as revision 3443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 17:57:25 +00:00
Michael Niedermayer
7b37a6e984 10l (wrong coded_picture)
Originally committed as revision 3441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 10:07:08 +00:00
Michael Niedermayer
56d8bd5659 optimization
Originally committed as revision 3440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-08 00:52:49 +00:00
Michael Niedermayer
a6e39f45a2 optimization
Originally committed as revision 3439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-07 22:56:50 +00:00
Michael Niedermayer
ed8ffdf46c optimization
Originally committed as revision 3438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-07 17:22:37 +00:00
Michael Niedermayer
437525c473 h264 luma motion compensation in mmx2/3dnow
Originally committed as revision 3437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-07 01:48:45 +00:00
Michael Niedermayer
0c62d34341 useless
Originally committed as revision 3436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-06 10:32:47 +00:00
Michael Niedermayer
d6af6b0350 10000l fix and use more mmx2/3dnow code for mpeg4 qpel which has been written and commited long time ago but appearently never used, qpel motion compensation is 5% faster
now

Originally committed as revision 3435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-06 03:17:31 +00:00
Michael Niedermayer
ff158dc95d 20% faster predict_plane()
moion vector max/min fix

Originally committed as revision 3434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-05 21:46:16 +00:00
Alex Beregszaszi
cc078b9e09 more decorrelation types
Originally committed as revision 3433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-04 11:19:37 +00:00
Loren Merritt
952b32c0ad Always write VOL control parameters, needed by old xvid patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-03 02:32:39 +00:00
Michael Niedermayer
3cb018726c typo
Originally committed as revision 3431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 18:46:41 +00:00
Michael Niedermayer
628b210f40 optional non spec compliant optimizations for mpeg1
Originally committed as revision 3430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:46:03 +00:00
Michael Niedermayer
6fc5b059b8 optional non spec compliant optimizations
Originally committed as revision 3429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:30:46 +00:00
Loren Merritt
d89dc06a96 h264 deblocking crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 10:49:54 +00:00
Michael Niedermayer
19aa028dc5 10l (keyframes and context resets)
Originally committed as revision 3426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-31 16:28:49 +00:00
Michael Niedermayer
39c61bbbd3 cleanup
Originally committed as revision 3425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 14:24:48 +00:00
Michael Niedermayer
fff6d4ea4e 10l
more benchmarking code
inline

Originally committed as revision 3424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 14:08:50 +00:00
Mike Melanson
229daca7a2 8-bit mode corrections
Originally committed as revision 3423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-28 12:28:53 +00:00
Michael Niedermayer
ea7d9cd4bc merge decode_subband() and dequantize()
Originally committed as revision 3422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 21:16:51 +00:00
Michael Niedermayer
ff76515933 11% faster decode_subband()
Originally committed as revision 3421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 20:33:16 +00:00
Michael Niedermayer
0cea8a037c 5% faster decode_subband()
a little cleanup

Originally committed as revision 3420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 20:15:32 +00:00
Michael Niedermayer
7b49c30974 46% faster decode_subband()
Originally committed as revision 3419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 19:52:32 +00:00
Michael Niedermayer
3c1adccd1c 50% faster decode_subband()
Originally committed as revision 3418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-27 01:06:58 +00:00
Michael Niedermayer
07140e398c yuv median encoding 10l fix
Originally committed as revision 3417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-26 22:46:15 +00:00
Michael Niedermayer
155ec6edf8 quad tree based motion compensation (currently only 16x16 & 8x8 OBMC blocks, but can be extended to other block sizes easily)
different intra block coding (previous was just an ugly hack)
1.8% bitrate reduction -0.01PSNR (foreman@352x288 qscale=8)
1.5% bitrate reduction +0.05PSNR (foreman@352x288 qscale=1)

Originally committed as revision 3416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-26 20:04:54 +00:00
Michael Niedermayer
714872547d typo fix by (Marcin 'Morgoth' Kurek <morgoth6 at box43 dot pl>)
Originally committed as revision 3415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-25 22:35:04 +00:00
Michael Niedermayer
64886072f5 edge bugfix
1-1.3% lower bitrate and +0.01 PSNR (foremen@352x288 qscale=1,8)

Originally committed as revision 3414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-25 00:26:01 +00:00
Bohdan Horst
ad730459ed bsd patch by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-25 00:01:34 +00:00
Michael Niedermayer
91d6655aa7 lrintf emulation improvments
Originally committed as revision 3412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-24 16:33:55 +00:00
Michael Niedermayer
26efc54e4a 4x4 SSE compare function
wavelet based compare functions
make epzs_motion_search() more flexible so it can be used for a wider range of block sizes
make get_penalty_factor() independant of MpegEncContext

Originally committed as revision 3410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-22 17:16:03 +00:00
Alex Beregszaszi
ef859ca33f ffmpeg short conversion got fixed somewhere, no need to workaround it - fixes amplitude bug
Originally committed as revision 3408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-22 12:40:57 +00:00
Alex Beregszaszi
54f5fd22ea new opensource lossy/lossless audio codec based on speech compression techniques (actually based on bonk)
Originally committed as revision 3405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-21 19:19:35 +00:00
Alex Beregszaszi
02da1f0d71 new copyrights
Originally committed as revision 3404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-21 19:18:45 +00:00
Diego Biurrun
b4396f36e5 k6 pop fix patch by (Diego Biurrun <diego at biurrun dot de>)
Originally committed as revision 3403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-19 19:01:40 +00:00
Todd Kirby
eab895aae0 enrtries for PIX_FMT_XVMC_MPEG2_MC and PIX_FMT_XVMC_MPEG2_IDCT patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-19 10:55:48 +00:00
Michael Niedermayer
b1114f189d copy & paste bug
Originally committed as revision 3401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-18 22:10:39 +00:00
Michael Niedermayer
0722ccdbc0 more untested bigendian fixes
rgb32 plane predictor decoding bugfix

Originally committed as revision 3398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-17 10:41:15 +00:00
Michael Niedermayer
3ad7dd8cda big endian fix (untested)
Originally committed as revision 3397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-17 09:57:56 +00:00
Michael Niedermayer
b3067ac197 cleanup
Originally committed as revision 3395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 22:51:18 +00:00
Måns Rullgård
ec587a50c7 Get H.264 frame rate from SPS/VUI patch by (Måns Rullgård <mru at kth dot se>)
Originally committed as revision 3394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 22:48:05 +00:00
Michael Niedermayer
8a515d2d9c get_bits(32) fix
Originally committed as revision 3393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 01:25:52 +00:00
Mike Melanson
6d45cb7219 build++
Originally committed as revision 3392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 22:51:24 +00:00
Michael Niedermayer
bb22e8b175 10l (lrintf(a)+b vs. lrintf(a+b))
Originally committed as revision 3391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 15:18:49 +00:00
Mike Melanson
9d53d58ea7 TechSmith Camtasia (TSCC) video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 15:08:09 +00:00
Michael Niedermayer
8b69867f2e Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)
Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 15:30:42 +00:00
Michael Niedermayer
1765920791 minor optimization
Originally committed as revision 3386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 14:40:33 +00:00
Michael Niedermayer
baced9f598 user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 13:59:28 +00:00
Michael Niedermayer
6d24231e50 give the user a chance to override codec_tag
Originally committed as revision 3382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-12 23:36:48 +00:00
Michael Niedermayer
1477ec35dd 10l (dont store 2 different things at the same place ...)
Originally committed as revision 3380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-11 19:32:34 +00:00
Michael Niedermayer
46c281e8c1 cleanup
Originally committed as revision 3377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-03 02:34:50 +00:00
Michael Niedermayer
7440fe839d segfault fix
Originally committed as revision 3376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-03 01:50:52 +00:00
Michael Niedermayer
fa2522d700 10l (segfault)
Originally committed as revision 3375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-03 01:07:19 +00:00
Michael Niedermayer
93fbdb5ac5 lossless support
Originally committed as revision 3374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 19:09:28 +00:00
Michael Niedermayer
3bb9f096d4 cleanup
Originally committed as revision 3373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 18:01:03 +00:00
Michael Niedermayer
0635cbfc32 improved magnitude coding, 0.2% lower bitrate (foreman@352x288 qscale 1 and 8)
Originally committed as revision 3372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 17:53:57 +00:00
Michael Niedermayer
9b434875f1 fix one file, will probably break some others but i cant find any samples which need this ...
Originally committed as revision 3371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 13:03:58 +00:00
Jeff Muizelaar
e44cad5291 simpler delta decreasing algorithm patch by (Jeff Muizelaar <jrmuizel at student dot cs dot uwaterloo dot ca>)
Originally committed as revision 3369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 10:42:21 +00:00
Michael Niedermayer
bc68bfdde0 cleanup
Originally committed as revision 3367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 01:06:55 +00:00
Michael Niedermayer
4f4e963383 various subband encoders (all either worse or complicated so they are commented out)
different 0-context encoding, 1.2% lower bitrate (foreman@352x288 qscale=8) no significant change at qscale=1

Originally committed as revision 3366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 01:03:52 +00:00
Michael Niedermayer
e30174cda7 raise build number for the snow
Originally committed as revision 3364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-30 11:12:47 +00:00
Michael Niedermayer
7a04636485 svq1 mv array size fix
Originally committed as revision 3361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 10:13:45 +00:00
Michael Niedermayer
620ab797f0 1/0 fix
Originally committed as revision 3357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 01:35:29 +00:00
Michael Niedermayer
2ff9ff5bdf dont segfault without -strict -1
Originally committed as revision 3356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 00:09:03 +00:00
Michael Niedermayer
da66b6313e optimize quantizaton (about 3x faster)
further opt is easily possible but could lead to overflows depening upon coefficient range, so this wont be done yet as it would make the code somewhat less flexible

Originally committed as revision 3354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:38:53 +00:00
Michael Niedermayer
a8d73e56e6 cleanup
remove ugly and slow vertical scaning code
0.1% bitrate increase (foreman@352x288 qp=1)
0.3% bitrate increase (foreman@352x288 qp=8)

Originally committed as revision 3353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:02:31 +00:00
Michael Niedermayer
7848640356 use parent sample to predict significance & magnitude
1% bitrate reduction (foreman@352x288 qscale 1 & 8)

Originally committed as revision 3352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 13:40:16 +00:00
Michael Niedermayer
c07a22fb9f realloc(NULL) fix
Originally committed as revision 3351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 11:09:41 +00:00
Michael Niedermayer
e071139a96 log2() & bsd
Originally committed as revision 3350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 09:44:57 +00:00
Mike Melanson
c5c3a92674 well that does not need to be there anymore
Originally committed as revision 3349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 02:52:16 +00:00
Michael Niedermayer
6b2f664691 better context model (0.2-1% lower bitrate)
a tiny bit cleanup

Originally committed as revision 3348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 01:30:44 +00:00
Michael Niedermayer
9dac77a7aa argh
Originally committed as revision 3347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:49:00 +00:00
Todd Kirby
3dc10d4742 Add UYVY support to libavcodec/raw.c patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:39:01 +00:00
Michael Niedermayer
c5c97a8d13 libdts support improvements by (Aurelien Jacobs)
Originally committed as revision 3345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:36:36 +00:00
Michael Niedermayer
0187e9030a TIMER dummies for non-x86
Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 15:52:55 +00:00
Michael Niedermayer
de890c9bd1 typo
Originally committed as revision 3342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 13:31:48 +00:00
Michael Niedermayer
791e7b83c3 my experimental wavelet codec
note, this is far from finished, dont expect todays encodings to be decodeable with cvs tomorrow ...

Originally committed as revision 3341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 23:36:44 +00:00
Todd Kirby
ebb177ddef UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 10:01:36 +00:00
Roman Shaposhnik
510eae8bae * patch from James Morrison (getting rid of broken code)
Originally committed as revision 3336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-23 20:10:44 +00:00
Michael Niedermayer
ef9c5d84be make comments doxygen compatible
Originally committed as revision 3333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-22 18:55:36 +00:00
Chris Flerackers
7344c87aa9 - Support empty GOB's (no mb's) and skip all mb's
- Mb's were not skipped at the end of a GOB
- One value too much was used in iDCT
- Chroma_qscale was not updated for mquant
patch by ("Chris Flerackers" <cflerackers at androme dot be>)

Originally committed as revision 3332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-22 10:23:28 +00:00
Michael Niedermayer
627c50b7fc raw rgb support
Originally committed as revision 3330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-21 01:21:06 +00:00
Christophe Massiot
f1dc14a9fa miscalculation of header_bits when using the -thread option bugfix, patch by (Christophe Massiot <cmassiot at freebox dot fr>)
Originally committed as revision 3329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-20 17:13:08 +00:00
Adam Thayer
1ddadfa9e3 XviD Support patch by (Adam Thayer <krevnik at comcast dot net>)
Originally committed as revision 3325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 19:48:30 +00:00
Wolfram Gloger
6cfe51d9da Avoid segfault on ffmpeg "buffer flush" in mpeg12.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 18:36:39 +00:00
Michael Niedermayer
6206f8c920 10l and better MMX/SSE detection for VIA1000
Originally committed as revision 3323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 01:54:07 +00:00
Michael Niedermayer
1260756d2b moving Doxyfile from ffmpeg/libavcodec to ffmpeg
Originally committed as revision 3318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 15:14:13 +00:00
Michael Niedermayer
5c07b9e914 more comments
Originally committed as revision 3317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 14:06:39 +00:00
Benjamin Zores
a708785f2e remove dts_internal.h
avoiding code redundance
license copy paste fix
patch by (Benjamin Zores <ben at geexbox dot org>)

Originally committed as revision 3315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 20:23:35 +00:00
Michael Niedermayer
5f63d108eb simplify
Originally committed as revision 3314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 18:23:49 +00:00
Michael Niedermayer
bb0b93ba81 more info about why init failed
Originally committed as revision 3312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 02:53:42 +00:00
Michael Niedermayer
23c9925329 libdts support by (Benjamin Zores <ben at geexbox dot org>)
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 01:32:14 +00:00
Falk Hüffner
ab35de18cb Don't include config.h from assembly, because the mplayer developers
decided it was a great idea to put some (bogus, of course) C function
prototypes there and it doesn't seem worth bothering working around
that since all we wanted is HAVE_GPROF.

Originally committed as revision 3304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-10 23:22:47 +00:00
Brendan Kehoe
06983da7ee buglet in libpostproc Makefile patch by (Brendan Kehoe <brendan at zen dot org>)
Originally committed as revision 3303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-10 16:24:11 +00:00
Michael Niedermayer
5bb994e255 1000000l
Originally committed as revision 3301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-09 22:29:08 +00:00
Michael Niedermayer
8dab64b6c1 field pic timestamp fix
Originally committed as revision 3300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-09 21:55:10 +00:00
Michael Niedermayer
c79b801159 update version for next release
Originally committed as revision 3297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-09 12:49:55 +00:00
William Juwono
d88443ae89 av_resample_close in avcodec.h patch by ("William Juwono" <william.juwono at sensestream dot com>)
Originally committed as revision 3295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-08 10:46:28 +00:00
Michael Niedermayer
bba8334965 overread fix
Originally committed as revision 3294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-08 00:53:21 +00:00
Michael Niedermayer
61b3b639e7 dc_precission=11 fix
Originally committed as revision 3291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 12:27:36 +00:00
Michael Niedermayer
1ac3176044 ugly missing lrintf workaround by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 3289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-05 19:19:04 +00:00
Loren Merritt
4994af2fbd shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-05 02:21:38 +00:00
Michael Niedermayer
9ff18a7089 10l
Originally committed as revision 3282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-01 12:33:07 +00:00
Michael Niedermayer
77e6c403e7 10l (fixes delayed frames during encoding)
Originally committed as revision 3278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 23:12:21 +00:00
Michael Niedermayer
68b3ba0dfa 1000l
Originally committed as revision 3277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 22:39:01 +00:00
Michael Niedermayer
b9d2085ba1 various resampling fixes
Originally committed as revision 3271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 14:15:31 +00:00
Michael Niedermayer
2d48edddf7 forgotten
Originally committed as revision 3270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 14:10:17 +00:00
Michael Niedermayer
c77a9a0e26 timestamp duplication bugfix
Originally committed as revision 3269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 12:05:35 +00:00
Roberto Togni
f7a7c75c3d Ignore palette for grayscale files, all my samples are inverted with
default qt grayscale palette.

Originally committed as revision 3264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 16:06:15 +00:00
Roberto Togni
dab1c4c612 Paletted cvid support
Originally committed as revision 3263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 14:46:02 +00:00
Roberto Togni
d99fbbf4d7 Force alignement for rpza and smc
Originally committed as revision 3262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 11:07:05 +00:00
Roberto Togni
4460289911 fix for width or height not multiple of 4
Originally committed as revision 3261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 11:06:30 +00:00
Alex Beregszaszi
92e09c5dd0 unused
Originally committed as revision 3260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 15:00:26 +00:00
Alex Beregszaszi
ed0219a69f altivec workaround
Originally committed as revision 3259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:35:55 +00:00
Alex Beregszaszi
491c4a1005 warning fix
Originally committed as revision 3258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:09:58 +00:00
Alex Beregszaszi
d967e3b8a5 some debug
Originally committed as revision 3257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:09:42 +00:00
Alex Beregszaszi
41aecb13f3 skip_utf8, unused yet
Originally committed as revision 3256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:09:19 +00:00
Alex Beregszaszi
0c2a9d56d4 make the tables static
Originally committed as revision 3255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 10:08:49 +00:00
Alex Beregszaszi
b442a92f85 10l, non-x86 fix
Originally committed as revision 3254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 09:52:16 +00:00
Michael Niedermayer
0dfd33c3f1 support skiping of mb rows during decoding
Originally committed as revision 3253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-26 02:20:38 +00:00
Michael Niedermayer
ee0c00d3b4 use libmpeg2 idct to decode xvid videos unless the user forced some other idct
Originally committed as revision 3251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 19:14:23 +00:00
Michael Niedermayer
0ff93477be optimization
Originally committed as revision 3249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 14:11:44 +00:00
Michael Niedermayer
4c99f2cdbe transmeta crusoe mmx detection by "Nobody/Anonymous - nobody" / sf feature request tracker
Originally committed as revision 3248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-24 22:13:44 +00:00
Michael Niedermayer
6f82497728 flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Michael Niedermayer
f2e92ef291 increase size of crop table
Originally committed as revision 3243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-21 01:01:44 +00:00
Roberto Togni
c2ab696add 100l fix codebook usage for v1 vectors
Originally committed as revision 3242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-20 19:13:07 +00:00
Michael Niedermayer
cbf5374fc0 1000l to myself for FFMIN(...,0) instead of ...,6)
some more checks

Originally committed as revision 3238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 01:25:02 +00:00
Michael Niedermayer
cceb990ef9 1000l to the ffsvq3 author, our default bitstream reader is only guranteed to be able to read 25bit at a time
Originally committed as revision 3237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 01:14:13 +00:00
Michael Niedermayer
6258c7e674 segfault fix
Originally committed as revision 3236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 00:10:21 +00:00
Michael Niedermayer
7b1fa7db0a 100l
Originally committed as revision 3234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 13:11:15 +00:00
Michael Niedermayer
dca97cbe01 10l
Originally committed as revision 3231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 02:45:09 +00:00
Michael Niedermayer
08f7073a6f avoid useless normalization and 10l fix
Originally committed as revision 3229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-17 16:34:46 +00:00
Michael Niedermayer
aaaf1635c0 polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample filters
Originally committed as revision 3228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-17 15:43:23 +00:00
Mike Melanson
13b4c18eb8 cut-n-paste error slipped through the cracks... thanks to DJ Hartman for
the report

Originally committed as revision 3226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-16 02:53:12 +00:00
Michael Niedermayer
caacc47ff9 coefficient saturation fix
Originally committed as revision 3224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-14 23:41:41 +00:00
Michael Niedermayer
0da6315a70 fewer overflows
Originally committed as revision 3222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-14 16:18:04 +00:00
Mike Melanson
3f1899a834 warning vigilance
Originally committed as revision 3221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-13 23:40:54 +00:00
Mike Melanson
975af7a992 the ongoing struggle for encoding conditionals
Originally committed as revision 3220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-13 00:10:07 +00:00
Ivan Kalvachev
715731a32b better cbp handling and small speedup in mpeg12
Originally committed as revision 3219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-12 16:51:15 +00:00
Michael Niedermayer
dbc56b3914 chroma me fix
Originally committed as revision 3216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 21:12:46 +00:00
Ivan Kalvachev
ffdff4d7e8 mpeg2 chroma422/444 support, may be slower, may be faster for other codecs
Originally committed as revision 3215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 07:59:12 +00:00
Mike Melanson
364ec9dcb6 fix initialization bug in which execution overwrites essential data
tables which causes trouble on subsequent runs if decoder is not
disposed first

Originally committed as revision 3214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 02:24:08 +00:00
Michael Niedermayer
ae1dbde1cf clip input motion vectors
be somewhat more tollerant on invalid input
return INT_MAX instead of -1 for unuseable mv/mb types as that ensures nicely that they arent used
initalize limits earlier for b frames
a few more asserts to check for out of picture vectors

Originally committed as revision 3213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-10 22:56:43 +00:00
Mike Melanson
9eda2f94c7 attempt to create some separation in the FLAC system with respect to
demuxer and decoder layers by enabling the FLAC decoder to decode data
without needing the entire file, from start to finish

Originally committed as revision 3211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-10 04:13:43 +00:00
Chip
f777e5de84 make ffmpeg/libavcodec/liba52/crc.c compile on systems where no inttypes.h patch by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 3210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-09 01:57:47 +00:00
Michael Niedermayer
69de449af6 gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>)
Originally committed as revision 3208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-08 17:01:17 +00:00
Michael Niedermayer
78421be13d hadamard/AltiVec: fix to compiler fix, again by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-08 02:41:41 +00:00
Michael Niedermayer
1ec4df0fa8 sse8 and nsse in mmx
Originally committed as revision 3206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-08 02:13:44 +00:00
Michael Niedermayer
d4c5d2adf3 nsse weight
Originally committed as revision 3205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-07 17:30:02 +00:00
Michael Niedermayer
e6a2ac3474 noise preserving sum of squares comparission function
Originally committed as revision 3204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-07 03:23:31 +00:00
Michael Niedermayer
2b647ac8c9 fix normalization
Originally committed as revision 3203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 20:15:53 +00:00
Michael Niedermayer
23854cadec sanity checks
Originally committed as revision 3202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 19:44:05 +00:00
Michael Niedermayer
fdce4f3132 cubic filter instead of truncated sinc
looks much better for upscaling & scaling where src and dst size are quite similar

Originally committed as revision 3201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 13:46:50 +00:00
Michael Niedermayer
305fa26445 Building with faad2-cvs fix by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 3200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 03:52:42 +00:00
Michael Niedermayer
da9b170c6f optional and disabled by default memalign hack for SSE/SSE2 on that alternative OS
Originally committed as revision 3199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-06 03:45:53 +00:00
Luca Abeni
940aed50ed sample_rate and channels in aac audio patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:36:43 +00:00
Michael Niedermayer
f4bd8cf0b1 mini-fix for compatibility with other compilers by (Hauke Duden <H.NS.Duden at gmx dot net>)
Originally committed as revision 3197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:33:47 +00:00
Michael Niedermayer
2a5a1bdac9 avg_pixels8_xy2_altivec in AltiVec, enabling avg_pixels8_altivec, hadamard fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:29:37 +00:00
Michael Niedermayer
3cf1e291f8 hadamard/AltiVec: fix to compiler fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:26:03 +00:00
Romain Dolbeau
af05c29a1f remove AltiVec.linux warning patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 22:23:55 +00:00
Michael Niedermayer
a1e07d39be qscale + qprd fix
Originally committed as revision 3192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 18:10:23 +00:00
Michael Niedermayer
0e9d4a67f4 change qscale -> lambda for the motion estimation
finetune bit/distortion weighting factor used in motion estimation, the old coeffs where finetuned relative to incorrect mv_penalty tables which where then fixed later but the coeffs where not
this _may_ fix the long standing blocking artifacts, but may also introduce mudding artefacts theoretically, so please tell us if u stumble across any so we can either fix them or export this variable so the user can change it

Originally committed as revision 3189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-03 19:29:47 +00:00
Michael Niedermayer
676e61c7bb infinite loop fix
Originally committed as revision 3188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-03 14:17:59 +00:00
Michael Niedermayer
fc3e9b148d remove stupid YV12-huffyuv warning
Originally committed as revision 3185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-01 11:53:03 +00:00
Michael Niedermayer
6bc7981995 10l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 23:44:02 +00:00
Roberto Togni
8b408dbf0f Add support for qtrle4 (16 colors/gray levels)
Originally committed as revision 3183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 20:18:08 +00:00
Michael Niedermayer
bb8140f29d h261 dequant fix
Originally committed as revision 3180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 00:42:55 +00:00
Michael Niedermayer
b658ecfeb8 removing h263 specific code
Originally committed as revision 3179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 22:29:15 +00:00
Michael Niedermayer
b37e98c8a2 simplify
Originally committed as revision 3178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 21:39:38 +00:00
Michael Niedermayer
fdbbf2e0fc rewrite h261 loop filter
no malloc(64) memcpy free stuff
no filter1 A->B then filter2 A->B (yes not B->A)
no incorrect rouding after the 1d filter

Originally committed as revision 3177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 21:21:13 +00:00
Michael Niedermayer
c6148de232 h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
Originally committed as revision 3176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 20:37:15 +00:00
Romain Dolbeau
20646267cd Another (final?) patch for libpostproc.
This one replace horizClassify by a
transpose/(use Vert)/transpose sequence.
This add LowPass and DefFilter for "free".
I also fixed the header in postprocess.c
and special-cased some of the well-aligned
cases (all horiz stuff is well-aligned).

patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 01:53:43 +00:00
Michael Niedermayer
5751815562 export low_delay for encoding too
Originally committed as revision 3170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 15:16:52 +00:00
Romain Dolbeau
a7b2871cd1 Newer version, using a vectorized version of the
new organisation of code in doVertLowPass. it
seems to be faster in AltiVec also...

Also includes a compile fix for the new do_a_deblock
when using AltiVec.

patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 3167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-28 13:31:38 +00:00
Michael Niedermayer
39d89b6966 per line lowpass filter in mmx
Originally committed as revision 3166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-28 13:23:53 +00:00
Michael Niedermayer
792a5a7c6a mmx optimized version of the per line/accurate deblock filter
vertical default mmx deblock filter fix

Originally committed as revision 3165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-27 21:42:00 +00:00
Michael Niedermayer
8c8bbd10e0 faster c lowpass filter
Originally committed as revision 3164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-27 16:16:09 +00:00
Michael Niedermayer
12eebd26ae accurate/slow (per line instead of per block) deblock filter spport which is identical to what is recommanded in the mpeg4 spec
Originally committed as revision 3163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-27 15:57:20 +00:00
Michael Niedermayer
b0ac780ac5 altivec optimizations and horizontal filter fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 20:15:15 +00:00
Michael Niedermayer
12013f67c4 10l fixes by ("Debabrata Banerjee" <davatar at comcast dot net>)
Originally committed as revision 3161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 20:04:49 +00:00
Michael Niedermayer
b876b5c5f7 10l (interlaced b frame decoding fix)
Originally committed as revision 3160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 19:42:00 +00:00
Mike Melanson
8b58ed6384 rpza resolution fix, courtesy of Todd Kirby (doubleshot at pacbell.net)
Originally committed as revision 3159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-26 02:42:41 +00:00
Michael Niedermayer
50071f0b48 avcodec_find is in no header file, and appearently not used or very usefull so lets make it static ...
Originally committed as revision 3157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-25 18:17:25 +00:00
Michael Niedermayer
4df8ca9df2 warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-25 18:07:25 +00:00
Michael Niedermayer
a62aecce2c mpeg audio timestamp fix
Originally committed as revision 3150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 01:10:15 +00:00
Michael Niedermayer
e8733cc4d9 more data_size=0 cleanup
Originally committed as revision 3147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:40:35 +00:00
Michael Niedermayer
53db1cae1c data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Michael Niedermayer
5da42be192 oops, forgot to commit that change from the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:29:25 +00:00
Michael Niedermayer
3a56975147 forgotten prototypes
Originally committed as revision 3144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 13:44:03 +00:00
Chris Flerackers
a7fcb3ea5c rtp callback context patch by ("Chris Flerackers" <cflerackers at androme dot be>)
Originally committed as revision 3141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 17:23:49 +00:00
Michael Niedermayer
e96682e6f4 some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 17:09:46 +00:00
Roman Shaposhnik
a8eb52a8c3 * reimplementation using mutexes and condition variables.
Originally committed as revision 3138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 01:53:43 +00:00
Michael Niedermayer
2b5296d26b mention avcodec_align_dimensions()
Originally committed as revision 3136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-13 19:08:39 +00:00
Michael Niedermayer
cc77b9435b removing unused encoding code
Originally committed as revision 3133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 21:34:38 +00:00
Michael Niedermayer
fcee016467 automatic pixel format selection
Originally committed as revision 3131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 16:00:44 +00:00
Michael Niedermayer
270f878447 segfault fix
Originally committed as revision 3128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 02:50:48 +00:00
Michael Niedermayer
3178a86584 support skiped blocks in SVQ1
Originally committed as revision 3127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 02:19:12 +00:00
Michael Niedermayer
5e13a73006 motion estimation for SVQ1
Originally committed as revision 3126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 02:03:24 +00:00
Michael Niedermayer
caa50878f4 UINT64_MAX fix
Originally committed as revision 3125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-11 12:24:42 +00:00
Michael Niedermayer
1f202b0d46 moving motion estimation specific variables from MpegEncContext -> MotionEstContext
Originally committed as revision 3124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-11 01:38:46 +00:00
Michael Niedermayer
af4091f194 reduce dependancy between motion estimation and MpegEncContext
this is practically just a s/s->me./c->/

Originally committed as revision 3123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-11 00:58:08 +00:00
Michael Niedermayer
ca8ad84767 dummy avcodec_thread_init() to avoid linking issues
Originally committed as revision 3122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-10 23:38:53 +00:00
Michael Niedermayer
ec6d8af5aa p frame encoding, only with 0,0 motion vectors yet though
Originally committed as revision 3121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-09 15:50:08 +00:00
Michael Niedermayer
0d8e09f8bf using pointers so the code could eventually be used for P frames
a few const modifiers to make gcc happier

Originally committed as revision 3120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-08 14:15:45 +00:00
Michael Niedermayer
bab97b2f6c width height %64 != 0 fix
print average RD score at the end
precalculated codebook vector mean tables

Originally committed as revision 3119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-08 11:54:55 +00:00
Roberto Togni
2a0dbb1efc buffer hints, use reget_buffer, removed copy from previous frame
Originally committed as revision 3117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 21:34:33 +00:00
Michael Niedermayer
14aa9da3d6 color and 10l
Originally committed as revision 3116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 21:10:52 +00:00
Michael Niedermayer
fa2ae82206 rate distorted intra only encoding
still grayscale, still no real ratecontrol ...
use -qscale x to set the quality
not optimized yet ...

Originally committed as revision 3115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 20:30:52 +00:00
Michael Niedermayer
5e502c3ff7 10l
Originally committed as revision 3114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 14:57:05 +00:00
Mike Melanson
3b64893dae first pass at a Sorenson Video 1 (SVQ1) encoder
Originally committed as revision 3113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 03:10:11 +00:00
Michael Niedermayer
4ccde216cd support decoding mpeg4 with buggy dc clipping
Originally committed as revision 3108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 19:53:40 +00:00
Michael Niedermayer
a7137a0452 mpeg4 dc prediction simplification
dc cliping fix

Originally committed as revision 3107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 00:14:22 +00:00
Michael Niedermayer
4c263142c5 use AVInteger in av_rescale() so it can finally do 64*64/64 instead of just 64*32/32
Originally committed as revision 3106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-04 02:58:30 +00:00
Michael Niedermayer
29adde838c arbitrary precision integer support
+ - * / % << >> log2 compare are supported
and dont fear, no bloated lib, just 130 lines of c code

Originally committed as revision 3105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-04 02:51:18 +00:00
Roberto Togni
ce5b6f63c5 Add buffer hints, enable DR1
Originally committed as revision 3104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-02 20:01:39 +00:00
Michael Niedermayer
c172913a24 cleanup
Originally committed as revision 3103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-02 19:18:20 +00:00
Michael Niedermayer
77d0e165b1 mmx dct optimization
Originally committed as revision 3100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 19:53:54 +00:00
Michael Niedermayer
3116cb14d1 AMV bug workaround
Originally committed as revision 3099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:56:33 +00:00
Michael Niedermayer
d01dbeb800 simplify
Originally committed as revision 3097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:11:34 +00:00
Michael Niedermayer
1545aceaaf dont missuse assert()
Originally committed as revision 3096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:09:24 +00:00
Michael Niedermayer
eea8c08fa8 cleanup & memleak fix
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 17:42:58 +00:00
Michael Niedermayer
60f41d13ef 10000l
Originally committed as revision 3094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 16:06:20 +00:00
Michael Niedermayer
bf266e195a intra_dc_precission>0 encoding support
Originally committed as revision 3093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 13:44:29 +00:00
Michael Niedermayer
844ce49d12 10l
Originally committed as revision 3090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 01:35:45 +00:00
Ivan Kalvachev
d1700ead3b cola test
Originally committed as revision 3089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 23:20:46 +00:00
Michael Niedermayer
000a9c02db 10l
Originally committed as revision 3088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 22:12:29 +00:00
Michael Niedermayer
e4cb187db8 remove duplicated find_frame_end() code
move codec specific code from parser.c -> <codecname>.c as far as its easily possible

Originally committed as revision 3087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 14:21:33 +00:00
Michael Niedermayer
20da31792b >2 channels decoding fix
Originally committed as revision 3086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-29 03:33:34 +00:00
Michael Niedermayer
8aedc51d2b simplify
Originally committed as revision 3085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 13:50:41 +00:00
Mike Melanson
7daabccb5d move the 0x80 vector outside of the function, thus saving the compiler
the trouble of having to initialize each byte on the stack individually

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Originally committed as revision 2693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-12 22:14:45 +00:00
Michael Niedermayer
909678c707 grayscale mjpeg decoding support based upon a patch by (Leon Bottou (leonb))
Originally committed as revision 2687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 19:54:12 +00:00
Michael Niedermayer
8f2ab83318 copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise
Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 16:04:55 +00:00
Michael Niedermayer
d2a9bdddd8 more sane inttypes emulation behavior if libavcodec is used outside ffmpeg
Originally committed as revision 2685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 12:53:07 +00:00
Michael Niedermayer
d94728c377 cleanup
Originally committed as revision 2684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 01:58:00 +00:00
Michael Niedermayer
c562c4da89 something unimportant ...
Originally committed as revision 2682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 23:43:57 +00:00
Chris Flerackers
7f965c1c89 inttypes emulation cleanup patch by ("Chris Flerackers" <cflerackers at androme dot be>)
Originally committed as revision 2681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-09 18:00:31 +00:00
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
Nick Kurshev
dd3be2c97e 10l
Originally committed as revision 1133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 18:22:15 +00:00
Nick Kurshev
b8e6ad84e5 reverse first hunk
Originally committed as revision 1132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 18:17:25 +00:00
Nick Kurshev
d08070e653 fixed debug compilation
Originally committed as revision 1131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 18:08:19 +00:00
Michael Niedermayer
bbed9259cc put a few large tables under #ifdef CONFIG_ENCODERS or dynamically allocate them
Originally committed as revision 1130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 16:11:03 +00:00
Michael Niedermayer
6bb925f47d dont call emms_c() for each MB
Originally committed as revision 1127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 12:11:53 +00:00
Michael Niedermayer
0aa7875a73 cleanup
Originally committed as revision 1126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 11:47:58 +00:00
Alex Beregszaszi
f9745d55e6 fixed 10l
Originally committed as revision 1124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 09:24:25 +00:00
Michael Niedermayer
af27aea922 fixing another assert q>0.0 issue caused by variance < 0, this fix allso changes the inter/intra decission very slightly -> all regression checksums need to be updated
Originally committed as revision 1122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 00:48:05 +00:00
Fabrice Bellard
4707cb07e1 fixed nb_block_sizes detection - fixed codec_id test (avctx->codec_id does not need to be initialized)
Originally committed as revision 1121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 00:07:13 +00:00
Michael Niedermayer
0bfacb95de fixing q>0.0 assert failure caused by overflow of variance for b frames
Originally committed as revision 1120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 22:55:07 +00:00
Michael Niedermayer
6b72ac6323 exporting the internal qscale table, this allso fixes the ordering
Originally committed as revision 1116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 20:41:40 +00:00
Alex Beregszaszi
6234d753a9 NetBSD fix by Bernd Ernesti <mplayer@lists.veego.de>
Originally committed as revision 1115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 20:31:04 +00:00
Fred
5981f4e693 1) Add MMX deinterlace code.
2) "Fix" first and last line deinterlace.  I had second-thoughts that this might be some image filtering algorithm that someone cleverer than I created.
3) Add in-place deinterlace functions (only used when src == dst).
patch by (Fred <foohoo at shaw dot ca>)

Originally committed as revision 1113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 09:09:34 +00:00
Fabrice Bellard
bc42388648 use lrintf to avoid double conversion
Originally committed as revision 1107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:39:11 +00:00
Fabrice Bellard
9d85cbd93a added lrintf for non ISOC libcs (fixme: find a better test)
Originally committed as revision 1106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:38:21 +00:00
Fabrice Bellard
ab253fe3c5 avoid name clash - fixed again block size selection
Originally committed as revision 1105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:27:30 +00:00
Fabrice Bellard
82696beed3 avoid name clash
Originally committed as revision 1104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-29 22:26:01 +00:00
Alex Beregszaszi
f3a3444721 FOURCC removed, using ff_get_fourcc instead (should be big-endian safe), workarounded a restart interval bug (Spectralfan.mov) (rst support should be rewritten and moved from decode_sos)
Originally committed as revision 1094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 16:29:40 +00:00
Fabrice Bellard
64c133898a fixed block size selection
Originally committed as revision 1093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 01:42:05 +00:00
Fabrice Bellard
6d2abd6b3e added new fft/mdct code - added fft-test program
Originally committed as revision 1091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:51:48 +00:00
Fabrice Bellard
bc8d1857fb added wma decoder
Originally committed as revision 1090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:48:55 +00:00
Fabrice Bellard
6107fa87b4 preparing integration of new AC3 decoder
Originally committed as revision 1089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:39:05 +00:00
Fabrice Bellard
bb6f569072 new generic FFT/MDCT code for audio codecs
Originally committed as revision 1088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-28 00:34:08 +00:00
Michael Niedermayer
1c0a593ac8 get_vlc2()
Originally committed as revision 1084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 21:02:47 +00:00
Arpi
055317a74c 3rd 10l - don't let it read data beyond the end of frame
Originally committed as revision 1083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 19:20:02 +00:00
Alex Beregszaszi
9d3748bed3 2nd 10l (noticed by arpi)
Originally committed as revision 1082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 19:11:06 +00:00
Alex Beregszaszi
7b5c80f6bb minor speedup noticed by arpi
Originally committed as revision 1081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 19:01:00 +00:00
Alex Beregszaszi
97d4469a74 10l
Originally committed as revision 1080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 18:03:42 +00:00
Alex Beregszaszi
109362cbf4 reworked decode_frame marker searching, fixes many non-working samples
Originally committed as revision 1079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 17:59:35 +00:00
Michael Niedermayer
060f89b328 mergeing inter & intra rl_length tables (50% smaller & no meassureable difference in filesize/quality)
Originally committed as revision 1078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 12:20:58 +00:00
Michael Niedermayer
f3c09da19f 75% smaller rl_length table
Originally committed as revision 1077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 12:09:25 +00:00
Leon van Stuivenberg
a09907d988 dsputil mmi cleanup patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 1076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 09:20:48 +00:00
Michael Niedermayer
d6db1c9c6a handle direct rendering buffer allocation failure
Originally committed as revision 1075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-27 00:02:23 +00:00
Jürgen Keil
384855eebf segfault fix patch by (Juergen Keil <jk at tools dot de>)
Originally committed as revision 1073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-26 18:56:43 +00:00
Michael Niedermayer
917f58279d fixing decoding of streams with no keyframe at the start
Originally committed as revision 1072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 16:06:32 +00:00
Michael Niedermayer
50eb9cbc44 idct_permutation_type variable, so the permutation type can quickly be identified
Originally committed as revision 1071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 13:39:47 +00:00
Michael Niedermayer
6e2d5f1aea regression test for H263+
Originally committed as revision 1070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 10:50:02 +00:00
Michael Niedermayer
945eeee15e slice encoding cleanup
Originally committed as revision 1069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-25 00:08:32 +00:00
Michael Niedermayer
c42612f1b4 clip MVs for direct mode
Originally committed as revision 1068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-24 00:51:17 +00:00
Michael Niedermayer
7801d21d13 optimize block_permute()
optimize dct_quantize_c()
dont permute s->q_inter/intra_matrix

Originally committed as revision 1067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-23 15:11:07 +00:00
Michael Niedermayer
4a3d7fbcbc fixing interlaced MC & edge-emu
Originally committed as revision 1066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-23 08:14:12 +00:00
Michael Niedermayer
8d0e42cad0 more defaults
Originally committed as revision 1065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-22 23:43:25 +00:00
Michael Niedermayer
7da71a5c68 xvid qpel bug autodetect
Originally committed as revision 1064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-22 19:48:52 +00:00
Michael Niedermayer
03e93d35b0 xvid qpel bug workaround
Originally committed as revision 1063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-22 18:55:20 +00:00
Michael Niedermayer
fc48cbad5b fixing msmpeg4v3 encoding at bitrates <128k
Originally committed as revision 1052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-20 17:02:41 +00:00
Michael Niedermayer
35aa136a77 fixing h263 slice decoding (again)
Originally committed as revision 1051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-19 23:48:08 +00:00
Michael Niedermayer
49943a18d0 fixing interlaced dct with 4mv
Originally committed as revision 1050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-19 11:03:13 +00:00
Michael Niedermayer
8b32880cc9 fixing h263 decoding (did segfault)
Originally committed as revision 1049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-19 01:31:26 +00:00
Michael Niedermayer
fb8a9e2f37 fixing interlaced dct + hq mode
Originally committed as revision 1048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-18 18:32:50 +00:00
Michael Niedermayer
9fee1e234e init flags before using it (found by arpi)
Originally committed as revision 1047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-16 22:18:41 +00:00
Michael Niedermayer
073b013d00 complete mpeg4 GMC decoding support
Originally committed as revision 1046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-16 19:55:49 +00:00
Michael Niedermayer
46fd0de8a7 fixing alt_scan for the first frame (variable was reset)
Originally committed as revision 1045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-16 17:23:18 +00:00
Michael Niedermayer
d2975f8d4f warning fixes
Originally committed as revision 1044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-15 15:24:08 +00:00
Michael Niedermayer
a61f82653e better padding bug detection
Originally committed as revision 1039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 19:53:04 +00:00
Fabrice Bellard
ec6a375248 removed warnings
Originally committed as revision 1038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 18:25:58 +00:00
Fabrice Bellard
4f891f53b3 removed invalid header include
Originally committed as revision 1037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 18:01:32 +00:00
Michael Niedermayer
b704e7420b mpeg4 header parser clenup (needed for parsing of VOL header in avctx->extradata)
Originally committed as revision 1032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 12:21:54 +00:00
Michael Niedermayer
26893f6bd4 fixing wmv1 slice decoding
Originally committed as revision 1031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-13 19:53:32 +00:00
Michael Niedermayer
4d2858deac better/cleaner error resilience (done in a 2nd pass after decoding)
h263/mpeg4 out of order slice decoding

Originally committed as revision 1030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-13 13:16:04 +00:00
Falk Hüffner
8b313a4787 Move Alpha optimized IDCT to own file. Based on a patch by Måns
Rullgård <mru@users.sourceforge.net>.

I've left out the idctCol2 part, because W4 has recently been decreed
to be 16383, and also I doubt it will give a noticeable speedup.

Originally committed as revision 1029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 23:01:16 +00:00
Fabrice Bellard
18f4e34ff6 removed unused variables
Originally committed as revision 1027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 13:49:16 +00:00
Fabrice Bellard
a5e880583c corrected pixel format display
Originally committed as revision 1025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 09:16:35 +00:00
Fabrice Bellard
4bfad53561 added two pass info
Originally committed as revision 1022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-10 17:12:55 +00:00
Michael Niedermayer
4973397975 mpeg1 2pass encoding
Originally committed as revision 1019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-09 17:18:24 +00:00
Fabrice Bellard
9c89585ad4 resample fix by Petros Tsantoulis
Originally committed as revision 1018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-09 14:16:31 +00:00
Fabrice Bellard
d017ab70f4 support buffers containing more than one frame
Originally committed as revision 1016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-09 12:35:22 +00:00
Fabrice Bellard
1c05e11d02 fixed NTSC end of line bug
Originally committed as revision 1014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-08 17:54:02 +00:00
Fabrice Bellard
789587d595 minimum support for YUV411P (new combined scaler/converter will handle that better...)
Originally committed as revision 1013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-08 17:42:33 +00:00
Jürgen Keil
47fa9c203a 16x{8,16} {avg,put}_pixels support patch by (Juergen Keil <jk at tools dot de>)
Originally committed as revision 1012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-08 12:09:23 +00:00
Arpi
9e39878252 10l - MMX/FPU state was not restored, causing nonsense fpu behaviour in caller (mplayer)
Originally committed as revision 1011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-07 23:08:42 +00:00
Arpi
e9feea594a DV ntsc support, 411P colorspace added
Originally committed as revision 1010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-07 21:28:33 +00:00
Falk Hüffner
acd2e05c47 * Fix dct_unquantize_h263_axp for changed block_last_index indexing.
* Set qadd to 0 for intra with h263_aic (whatever that may be).

Originally committed as revision 1009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-07 02:03:21 +00:00
Michael Niedermayer
0298af4887 set low_delay on encoding if no b frames
Originally committed as revision 1007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-06 17:46:22 +00:00
Michael Niedermayer
676e200cff trying to fix the non-x86 IDCTs (untested)
Originally committed as revision 1006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-06 15:27:01 +00:00
Falk Hüffner
6c38306600 Make compilable again after DCT cleanup. It gives wrong results,
though, so I disabled it for now. Anybody knows offhand what might be
the reason?

Originally committed as revision 1005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-05 00:57:42 +00:00
Falk Hüffner
e447d7d65f Some nifty stuff for upcoming patches.
Originally committed as revision 1004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-05 00:12:58 +00:00
Falk Hüffner
3565eeaaaa Fix for source dir != build dir. Patch provided by Måns Rullgård.
Originally committed as revision 1003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 23:32:40 +00:00
Alex Beregszaszi
defdfc9aa0 moved dct init out from mpv_common_init to dct_common_init (for less-uglier way for dv)
Originally committed as revision 1002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 20:59:29 +00:00
Fabrice Bellard
7be166e4ea simplified parsing - added MMX idct support
Originally committed as revision 1000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 07:49:00 +00:00
Fabrice Bellard
020fcc94e0 added DV support
Originally committed as revision 999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-04 07:16:50 +00:00
Fabrice Bellard
5d2231ee8f first working version of DV video decoder
Originally committed as revision 998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 21:07:39 +00:00
Fabrice Bellard
652f019786 in fact IDCT248 needs to be normalized as I suspected
Originally committed as revision 997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 21:03:59 +00:00
Leon van Stuivenberg
5917d17cb7 ps2 optimizations update patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 20:57:19 +00:00
Fabrice Bellard
a46a3ce416 added IDCT248 testing
Originally committed as revision 995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 19:49:23 +00:00
Fabrice Bellard
9bf71516b1 first version of IDCT248 for DV decoding support
Originally committed as revision 994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 13:41:33 +00:00
Michael Niedermayer
3a3d3a42c2 fixing custom quantizer matrix decoding
minor optimizations

Originally committed as revision 993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 22:56:58 +00:00
Michael Niedermayer
3994623df2 optimization
Originally committed as revision 992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 17:07:39 +00:00
Michael Niedermayer
ce5b7c5e11 sliced mode for mpeg1/2
Originally committed as revision 991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-02 16:36:43 +00:00
Michael Niedermayer
acf44abb8c move scantable init from block-decode to header parser
Originally committed as revision 990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 23:47:04 +00:00
Michael Niedermayer
3729c91296 optimizing mpeg2 decode block stuff
Originally committed as revision 989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 23:11:40 +00:00
Michael Niedermayer
144f062500 rv10 cleanup (de)muxer still needs to be cleaned up (still searching volunteer for that ;) )
Originally committed as revision 988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-01 19:29:10 +00:00
Michael Niedermayer
4c2bc159bd fixing rv10, this isnt the cleanest solution (parsing the packet header in the codec & creating it in the muxer) but it was that way before things broke, and its the simplest solution
Originally committed as revision 986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 21:36:43 +00:00
Michael Niedermayer
a02017367b optimizing mpeg1_decode_block()
Originally committed as revision 985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 16:14:14 +00:00
Michael Niedermayer
8e1652dc9d forgot zigzag_direct[] behind #ifdef DEBUG (found by Klaas-Pieter Vlieg <vlieg at eurescom dot de>)
Originally committed as revision 984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 10:06:17 +00:00
Michael Niedermayer
cc7ac88830 convert only needed matrixes in convert_matrix() (mjpeg calls it for every frame)
Originally committed as revision 983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-30 09:19:54 +00:00
Michael Niedermayer
9b59c92f47 indenting preprocessor stuff, as its completly unreadable otherwise
Originally committed as revision 982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 23:39:30 +00:00
Michael Niedermayer
23e54f6927 renaming variable
Originally committed as revision 981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 23:21:13 +00:00
Michael Niedermayer
2ad1516a6c idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code

Originally committed as revision 980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 22:44:22 +00:00
Falk Hüffner
f9bb4bdffc Add Alpha assembly for pix_abs16x16. Optimized for pca56, no large win
on ev6.

Originally committed as revision 979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 15:14:28 +00:00
Falk Hüffner
ea689c8eb7 An easy way to speed up encoding by 6%.
Originally committed as revision 978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-28 02:18:34 +00:00
Falk Hüffner
7ffbb60ee7 Minor warning fix.
Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-28 01:49:37 +00:00
Michael Niedermayer
a9c6830605 minor optimization of h263_encode_motion()
Originally committed as revision 976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-27 15:38:54 +00:00
Michael Niedermayer
202ef8b819 ff_get_fourcc() & XVIX support
Originally committed as revision 975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-27 10:27:57 +00:00
Michael Niedermayer
0c2dd16eb6 autodetect UMP4 (by adding a fourcc field to AVCodecContext)
Originally committed as revision 974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 23:27:22 +00:00
Michael Niedermayer
7f2bdb62d4 automatically detect broken opendivx codec and workaround, so bug=1 shouldnt be needed anymore for mpeg4 files, if there still are files which need bug=1 then tell me ...
Originally committed as revision 973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 22:37:33 +00:00
Michael Niedermayer
5482970b4b h263_dc_scale() cleanup
Originally committed as revision 972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 09:16:23 +00:00
Michael Niedermayer
fcb48651f4 mpeg4 interlaced dct encoding
Originally committed as revision 971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-26 00:22:25 +00:00
Leon van Stuivenberg
b560f4b656 ps2 idct bugfix patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 23:57:17 +00:00
Michael Niedermayer
9e4c69485b adaptive quantization for h263
Originally committed as revision 969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 15:07:44 +00:00
Michael Niedermayer
d87c0267e3 adaptive quantization for mpeg1
Originally committed as revision 968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 12:33:37 +00:00
Michael Niedermayer
5e746b9995 darkness masking (lumi masking does only bright stuff now)
Originally committed as revision 967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 10:53:59 +00:00
Michael Niedermayer
9960903667 fixing ac prediction encoding with adaptive quantization
Originally committed as revision 966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-24 09:15:46 +00:00
Michael Niedermayer
693b0e1d66 fixing variance scaling for b frames (messed adaptive quants up)
cliping too long MVs in b frames instead of setting them to 0

Originally committed as revision 965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-23 15:16:09 +00:00
Michael Niedermayer
c5d309f2d5 adaptive quantization (lumi/temporal & spatial complexity masking)
Originally committed as revision 964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-23 14:56:11 +00:00
Leon van Stuivenberg
d46aba2642 ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
Originally committed as revision 963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-23 08:44:24 +00:00
Michael Niedermayer
084c726ba3 pix_sum16_mmx()
Originally committed as revision 961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-20 10:03:01 +00:00
Arpi
3f09f52adf fdct_mmx -> ff_fdct_mmx (renamed to avoid namespace conflict with xvid)
[found by Kim Minh Kaplan]

Originally committed as revision 960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 22:14:53 +00:00
Michael Niedermayer
b3a391e8b8 fixing i_quant_factor, this should finally fix the bitrate bug with ffserver hopefully
Originally committed as revision 959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 20:22:39 +00:00
Michael Niedermayer
e8b62df6e4 fixing apiexample
Originally committed as revision 958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 18:24:52 +00:00
Michael Niedermayer
b71901e6ee documenting most stuff in AVCodecContext
Originally committed as revision 957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 17:44:54 +00:00
Falk Hüffner
0af65aac18 * Remove -finline-limit=8000 (not supported by gcc 2.95)
* Hack to force correct gcc arch flags for motion_est_alpha.c

Originally committed as revision 956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 16:06:25 +00:00
Michael Niedermayer
590d3f81b7 fixing *pixels_tab stuff (hopefully, as its untested ...)
Originally committed as revision 955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 10:26:49 +00:00
Michael Niedermayer
a949d72e0e avcodec_alloc_context()
Originally committed as revision 954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 09:13:43 +00:00
Michael Niedermayer
947ac25a44 10l (forgot to commit)
Originally committed as revision 953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-18 18:30:31 +00:00
Michael Niedermayer
6a1f7e7b6b better min/max rate handling
cleanup

Originally committed as revision 952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-18 18:28:11 +00:00
Michael Niedermayer
946c8a1281 fixing
fixing max_rate/min_rate

Originally committed as revision 951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-18 09:08:03 +00:00
Michael Niedermayer
8f2b21a80f fixing memalign
Originally committed as revision 949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-15 10:02:15 +00:00
Michael Niedermayer
5596c60cce dont store version for bit-exact tests
Originally committed as revision 948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 22:07:35 +00:00
Michael Niedermayer
b7c27ee601 alignment info
Originally committed as revision 947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 19:00:09 +00:00
Michael Niedermayer
a172cae62e interlaced b frames fix
Originally committed as revision 946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 17:18:26 +00:00
Michael Niedermayer
1e7bfebe7f fixing qpel 4mv
Originally committed as revision 945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 12:36:54 +00:00
Alex Beregszaszi
85bf478ed9 complete aspect support
Originally committed as revision 944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 12:30:48 +00:00
Michael Niedermayer
590a635884 interlaced qpel mpeg4 fixed
Originally committed as revision 943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-14 10:11:05 +00:00
Falk Hüffner
8c7b533e8b Synthesize pixels16 functions from pixels functions.
Originally committed as revision 942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 23:27:01 +00:00
Alex Beregszaszi
050fe8bab5 aspect (ext. par too) support for h263 and mpeg4 (inc. build becouse of new vars)
Originally committed as revision 941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 19:31:32 +00:00
Falk Hüffner
60286c8a37 Fix for h % 8 == 4 in put_pixels_axp_asm.
Originally committed as revision 940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 15:44:53 +00:00
Michael Niedermayer
e3bd83f874 10l (field select readed at the wrong place ...)
Originally committed as revision 939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 11:47:57 +00:00
Michael Niedermayer
fc97db6435 interlaced b frames cleanup
Originally committed as revision 938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 11:24:58 +00:00
Falk Hüffner
a343d33ed6 Due to version renumbering, Alpha builtins aren't supported in thegcc
3.2 release.

Originally committed as revision 937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 10:56:51 +00:00
Michael Niedermayer
bea669e57c interlaced mpeg4 b frame decoding
Originally committed as revision 936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 09:45:32 +00:00
Falk Hüffner
1c73a3fbf2 Adapt to new 8/16 table scheme.
Originally committed as revision 935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 09:28:45 +00:00
Michael Niedermayer
2276785cfa fixing 1/0 if the headers are incomplete (like what M$ encoder generates)
Originally committed as revision 934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-13 07:46:06 +00:00
Michael Niedermayer
b9d2bb5b2f fixing interlaced mpeg4 decoding
Originally committed as revision 933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 18:28:17 +00:00
Michael Niedermayer
f3cfadd52f parsing resync header extension support
Originally committed as revision 931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 15:22:14 +00:00
Michael Niedermayer
33cbc6052a vbv parameter parsing (more skiping actually ;) )
Originally committed as revision 930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 15:02:47 +00:00
Michael Niedermayer
7727783512 avoid nonsense frame-skip messages
Originally committed as revision 929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 15:00:09 +00:00
Michael Niedermayer
dae9ffc440 uninitialized var ...
Originally committed as revision 927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 14:43:44 +00:00
Michael Niedermayer
66370d3fca statistics for forw & back p-MBs instead of just one counter for both
Originally committed as revision 925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 12:26:09 +00:00
Michael Niedermayer
7866eeff46 m4v input support
return the correct number of bytes consumed for decding h263 like formats (needed for reading raw streams) this could break some divx files with b frames, so please tell me ASAP if u notice any problems

Originally committed as revision 924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 11:10:33 +00:00
Michael Niedermayer
15415af418 export pts from stream if available
store pts in stream if available (otherwise use frame_rate)

Originally committed as revision 923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 10:54:53 +00:00
Philip Gladstone
02ac31361b Change abort() calls to av_abort() calls.
Originally committed as revision 922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 02:34:56 +00:00
Michael Niedermayer
208d3ddf96 set pict_type & key_frame on decoding too
Originally committed as revision 918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 00:27:08 +00:00
Michael Niedermayer
b318477992 put/avg_pixels16
fixing 2 small qpel bugs

Originally committed as revision 915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-11 12:39:53 +00:00
Michael Niedermayer
6b460aa387 reducing sizeof MpegEncContext to avoid stack overflow on crap M$ windo$
Originally committed as revision 914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-11 07:26:43 +00:00
Nikolai Zhubr
0eaec10550 fixing overflow in 16->8 bit conversion, patch by (Nikolai Zhubr <s001 at hotbox dot ru>)
Originally committed as revision 913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-07 10:57:51 +00:00
Michael Niedermayer
3db48188df optimizing mpeg4_encode_block(), generates allso slightly shorter bitstream as some codes can be represented as esc1 and esc2 and esc2 is shorter for a few of them
Originally committed as revision 911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-07 00:16:30 +00:00
Michael Niedermayer
14207b27b5 support decoding of the last mpeg "packet" even if no startcode is immedeatly afterwards (fixes bugs with mpeg in avi)
new behavior is only activated if CODEC_FLAG_NOT_TRUNCATED is set

Originally committed as revision 909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-06 22:30:16 +00:00
Michael Niedermayer
0b61920aa7 fixing rv10 encoding (ffmpeg can at least decode its own rv10 files now)
Originally committed as revision 907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-05 13:23:11 +00:00
Michael Niedermayer
cfda33cbad apiexample needs EXTRALIBS
Originally committed as revision 906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-05 10:06:20 +00:00
Michael Niedermayer
6acce86bdd fixing tests
Originally committed as revision 905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-05 08:48:34 +00:00
Michael Niedermayer
9db99069bd fixing segfault
Originally committed as revision 903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-03 20:15:34 +00:00
Michael Niedermayer
b59f574753 10l (compilation if defined ARCH_ALPHA)
Originally committed as revision 902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 17:08:40 +00:00
Michael Niedermayer
1a684b3d53 fixing encoding at high QPs (was broken after the dct accuracy increase due to too small inverse table)
Originally committed as revision 901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 16:56:29 +00:00
Michael Niedermayer
be7109c12b ar -s -> ranlib
Originally committed as revision 900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 16:48:40 +00:00
Henry Mason
ecfd40b390 new vbv calculation patch by (Henry Mason <talus25 at speakeasy dot net>) with slight modification by me
Originally committed as revision 899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 09:51:52 +00:00
Brian Foley
ab6c65f693 altivec build tidyup patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-02 08:48:12 +00:00
Michael Niedermayer
004c18ee9c higher accuracy
Originally committed as revision 897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 20:54:38 +00:00
Mark Hills
81e0d0b412 oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 18:07:56 +00:00
Michael Niedermayer
ad324c9351 dct cleanup
more accurate mmx dct (dont discard bits for fun)
fixing mmx quantizer bug for qscale%2==1 (bias was slightly wrong)

Originally committed as revision 895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 16:52:33 +00:00
Michael Niedermayer
86748dbc61 dct-test update
test simple-idct and ijg int DCT too
 do tests with random & sparse matrixes
 print systematic error matrixes

Originally committed as revision 892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 09:33:05 +00:00
Lennert Buytenhek
5bd11e314e dont discard first frame patch by (Lennert Buytenhek <buytenh at math dot leidenuniv dot nl>)
Originally committed as revision 890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:40:31 +00:00
Lennert Buytenhek
1565dabc1a be less verbose patch by (Lennert Buytenhek <buytenh at math dot leidenuniv dot nl>)
Originally committed as revision 889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:26:43 +00:00
Michael Niedermayer
ab6d194a38 croping patch by (talus25 at speakeasy dot net) with fixes from atmos & me
Originally committed as revision 888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:19:38 +00:00
Michael Niedermayer
e7fce5e9fb bitexact hack for the simple mmx idct
Originally committed as revision 886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-31 14:17:51 +00:00
Martin Olschewski
c7e079314b sun solaris compilation bugfix, patch by (Martin Olschewski <olschewski at zpr dot uni-koeln dot de>)
Originally committed as revision 882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 18:17:20 +00:00
Michael Niedermayer
471d7dc3d0 undefined M_PI / M_E fix
Originally committed as revision 881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 16:16:30 +00:00
Heliodoro Tammaro
a43bd1d715 patch by Heliodoro Tammaro <helio at interactives dot org>
- configures/builds on all darwin versions
- ffserver builds on darwin (if you have the extra libraries)
- builds correctly (again) on non-darwin ppc (no -faltivec in gcc-3.2)

Originally committed as revision 880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 00:05:28 +00:00
Michael Niedermayer
28db7fce02 slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG)
per context DCT selection

Originally committed as revision 878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-29 23:55:32 +00:00
Michael Niedermayer
255b3ac27d use extradata for h263_long_vector mode detection
Originally committed as revision 876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 21:47:28 +00:00
Brian Foley
59925ef204 first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 13:14:36 +00:00
Michael Niedermayer
68bd11f5de working around undefined behavior of get-vlc if the vlc s invalid
more debug output by default for errors (so we can see immedeatly whats wrong on bugreports)
guess long_vectors mode

Originally committed as revision 874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 12:23:12 +00:00
Michael Niedermayer
ee3b2be65d fixes rv10 decoding crash
Originally committed as revision 873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 09:19:28 +00:00
Dominik Mierzejewski
0778718635 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
Originally committed as revision 872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-28 08:15:30 +00:00
Michael Niedermayer
fd7db0fddf mpeg4 interlaced decoding support (not completly implemented/tested due to lack of samples)
Originally committed as revision 870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-27 16:28:19 +00:00
Alex Beregszaszi
e769f0535e added aspected_width/height for EXTENDED_PAR
Originally committed as revision 869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-26 20:45:01 +00:00
Michael Niedermayer
4dd0e44f14 fixing some 64bit bugs
Originally committed as revision 867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-26 16:10:41 +00:00
Michael Niedermayer
405469cefd forgot the const bits in 2pass curve matching (patch (with rounding removed) by Rémi Guyomarch <rguyom at pobox dot com>)
Originally committed as revision 866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-26 08:14:36 +00:00
Michael Niedermayer
c695ca3bce fixing qmin==qmax && qsquish==1
Originally committed as revision 865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 23:49:50 +00:00
Rémi Guyomarch
d0d816d8bf NAN doesnt exist on FreeBSD patch by (Rémi Guyomarch <rguyom at pobox dot com>)
Originally committed as revision 864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 22:54:43 +00:00
Michael Niedermayer
ce980a9576 new ratecontrol code
sadly there are no (unsigned) int left in AVCodecContext so this breaks shared libavcodec libs :(

Originally committed as revision 863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 21:41:57 +00:00
Michael Niedermayer
3aa102be84 new ratecontrol code
Originally committed as revision 862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 21:19:50 +00:00
Michael Niedermayer
7806197db2 error concealment needs the mbintra_table so it should allways be allocated
Originally committed as revision 861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-24 13:24:43 +00:00
Michael Niedermayer
f36db5dfd3 faster ff_sqrt()
Originally committed as revision 859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-22 19:41:39 +00:00
Michael Niedermayer
1fb4890b51 better scene change detection
Originally committed as revision 858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-22 19:41:06 +00:00
Michael Niedermayer
90cee0c351 darwin patches by Heliodoro Tammaro <helio at interactives dot org>
Originally committed as revision 857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-21 19:18:02 +00:00
Michael Niedermayer
9f36153415 dont trash mm0, its still used in the next iteration of the loop (fixes strange horizontal lines on some blocks in b frames on mmx only cpus)
Originally committed as revision 855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-20 19:23:06 +00:00
Michael Niedermayer
c9178d868a same dc skip behavior for chroma & luma elimination, its confusing otherwise imho
Originally committed as revision 854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-18 00:42:58 +00:00
Michael Niedermayer
f5866a0340 skip blocks with small chroma dc too (if the user wants it) needed to avoid IDCT(input coeffs !=0) == 0 problems which cause catastrophic error accumulation at qp=1
Originally committed as revision 853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-17 20:10:27 +00:00
Volker Moell
c1325d18ff patch by (Volker Moell <volker-ml at die-moells dot de>)
creating $(prefix)/bin and $(prefix)/lib
  improved linking libavcodec.so -> libavcodec-$(VERSION).so
  ldconfig does not rise an error on not beeing root when installing

Originally committed as revision 852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-13 18:51:11 +00:00
Zdenek Kabelac
3625e88ab7 * resync without endless loop
Originally committed as revision 849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-09 10:43:02 +00:00
Michael Niedermayer
62959862df faster vlc table selection
Originally committed as revision 848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-09 00:13:54 +00:00
Michael Niedermayer
87f8cab45b mpeg4 mpeg quantizer encoding
Originally committed as revision 844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-06 23:51:15 +00:00
Michael Niedermayer
508abacadb 4mv + bframe decoding bugfix
Originally committed as revision 843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-05 21:36:14 +00:00
Michael Niedermayer
f255af5d93 fixing level overflow check for qp=1
Originally committed as revision 842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-05 19:05:02 +00:00
Michael Niedermayer
159d10fc2c hopefully fixing unreprodceable segfault when overreading the end if error_resilience==-1 (it didnt overread here though)
Originally committed as revision 841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 19:28:27 +00:00
Michael Niedermayer
0a6baf39cb fixing slices which start at mb_x>0
Originally committed as revision 840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 18:19:09 +00:00
Michael Niedermayer
5507833249 supporting rare overflow mess even with error_resilience>=0
Originally committed as revision 839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 16:46:18 +00:00
Michael Niedermayer
44273f1951 making some error checks optional
Originally committed as revision 838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 16:21:41 +00:00
Michael Niedermayer
b7adc711fa last_picture should be never == NULL (it was with dr1) this might fix a segfault with error concealment
Originally committed as revision 837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-04 16:05:05 +00:00
Michael Niedermayer
d930ef19ea fixing mpeg4 mpeg quantizers
Originally committed as revision 836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-02 20:27:46 +00:00
Michael Niedermayer
fc2bb4f44d fixing normal mmx idct
Originally committed as revision 835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-02 11:58:02 +00:00
Michael Niedermayer
32b9092155 10l found by Rémi Guyomarch <rguyom at pobox dot com>
Originally committed as revision 834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-01 23:23:48 +00:00
Michael Niedermayer
a10678da8a max_b_frame=4 bugfix
Originally committed as revision 833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-01 11:01:07 +00:00
Michael Niedermayer
5efa265074 b frame direct mode bugfix (bug found by CM <chenm001 at 163 dot com>)
Originally committed as revision 832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-31 08:01:29 +00:00
Falk Hüffner
57d2bce188 MVI optimizations for motion estimation.
Originally committed as revision 831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-29 23:14:51 +00:00
Michael Niedermayer
38274ea268 dump bits per frame / qp / frame complexity support
Originally committed as revision 827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 14:48:44 +00:00
Leon van Stuivenberg
d6afa9c671 handle DRI/RST markers patch by Leon van Stuivenberg <leonvs at iae dot nl>
Originally committed as revision 826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 08:27:02 +00:00
Philip Gladstone
b71472eb62 Add conversions to and from RGBA32 and BGRA32.
Originally committed as revision 824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 03:08:04 +00:00
Michael Niedermayer
b5a093b3a9 different edge positions fixed with edge emu / dr1
Originally committed as revision 814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 20:22:36 +00:00
Fabrice Bellard
917e06c81b added proposed API for parse_only mode to extract compressed frames from compressed streams
Originally committed as revision 810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:25:36 +00:00
Bohdan Horst
a5f0696948 this include isn;t longer need and now generate a lot of warnings patch by Bohdan Horst <nexus at hoth.amu.edu.pl>
Originally committed as revision 789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-23 09:44:34 +00:00
Alex Beregszaszi
ce23c668f1 moved codebooks to svq1_cb.h
Originally committed as revision 788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 20:51:26 +00:00
Michael Niedermayer
05174fd411 fixing bitrate vs. kbitrate in header
fixing wmv1 decoder (was broken during some optimizations ...)
inter-intra prediction encoding

Originally committed as revision 786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 08:15:27 +00:00
François Revol
889c522492 adpcm encoding patch by François Revol <revol at free dot fr>
Originally committed as revision 785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 01:44:08 +00:00
François Revol
6742d95d59 YUV410P to YUV420P patch by François Revol <revol at free dot fr>
Originally committed as revision 783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 07:54:53 +00:00
Michael Niedermayer
3e6a20a0cd minor optimizations
fixing numbers.avi
 fixing ac prediction between MBs with different QP

Originally committed as revision 782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 01:34:05 +00:00
Michael Niedermayer
4afeaec92f pix_abs mmx2 isnt bit-exact ...
Originally committed as revision 781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 00:48:50 +00:00
François Revol
0147f19856 beos/mov/adpcm patch by François Revol <revol at free dot fr>
* Some BeOS fixes:
- errno stuff
- nanosleep() replacement
- added a doc/README.beos

* mov reader still has problems with most videos (skips many chunks),
- It should now read .mov files with zlib-compressed moov headers (aka cmov)
- added SVQ1 support.
- removed mapping 'raw ' and 'yuv2' to h263, was my mistake.
- added IMA4 support. (tested)
- fixed frame rate (it reported 0 fps or something before)
- extended file probing ('wide' and 'free' atoms)
- improved .mov/.mp4 detection (or so I think)

* adpcm
* added zlib support, with header file and lib check

Originally committed as revision 780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-20 20:05:50 +00:00
Michael Niedermayer
e1707f52d5 BeOS patches by "shatty" <shatty at myrealbox.com>
1. errno's are negative on beos, so negating them gives positive values.
2. the -shared flag is -nostart on beos.
3. building the shared lib on beos requires -fomit-frame-pointer
4. beos doesn't have oss support

Originally committed as revision 779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-19 22:23:40 +00:00
Roy Sigurd Karlsbakk
eddbd7e5a0 largefile support patch by Roy Sigurd Karlsbakk <roy at karlsbakk.net>
Originally committed as revision 778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-18 20:27:09 +00:00
Michael Niedermayer
79c0c7858d use edge emu for encoding of width or height %16!=0 files
Originally committed as revision 776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 23:32:31 +00:00
Michael Niedermayer
9022797ba2 fixing NULL reference frame with dr1
Originally committed as revision 775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 17:50:42 +00:00
Michael Niedermayer
9ac7ecd698 hmm ABS(dc-diff) > 512 fix
printing some error messages if some error occurs

Originally committed as revision 774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 15:54:56 +00:00
Michael Niedermayer
9be42dba97 larger edge emu buffer (might have been too small)
Originally committed as revision 773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 13:25:01 +00:00
Michael Niedermayer
5499377432 fixing gmc with emu edges
Originally committed as revision 772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 12:42:50 +00:00
Michael Niedermayer
4c9ede2e4b interlaced mpeg2 fix ... replacing linesize>>1 by uvlinesize brainlessly wasnt a good idea
Originally committed as revision 771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 11:04:26 +00:00
Michael Niedermayer
cc504d3c3c low_delay / has_b_frames fix
Originally committed as revision 770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 10:30:31 +00:00
Michael Niedermayer
1a013246fb fixes fire.avi & subtitles.avi
Originally committed as revision 769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-17 09:15:14 +00:00
Michael Niedermayer
fe072fb4ee exporting mbskip_table after it has been allocated
Originally committed as revision 768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 11:45:14 +00:00
Michael Niedermayer
bc6d7776d8 hurry up support
returning buf_size insetad of 0

Originally committed as revision 767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 10:29:07 +00:00
Michael Niedermayer
22b13d5b4c grayscale only decoding
Originally committed as revision 766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 10:19:00 +00:00
Michael Niedermayer
3cf33c37e7 dr1
Originally committed as revision 765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 01:24:02 +00:00
Michael Niedermayer
94aec31fa0 dr1
Originally committed as revision 764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-16 00:48:29 +00:00
Michael Niedermayer
760acb18a3 direct rendering for SVQ1
MpegEncContext->opaque MUST NOT be used by the codec, its for the parent program
 using standart values for pict_type
 using (uv)linesize
 handling dropable p-frames like b-frames

Originally committed as revision 763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 21:19:37 +00:00
Michael Niedermayer
0fd90455ec uvlinesize
export has_b_frames
mb_skip with more than 2 ip buffers

Originally committed as revision 762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 14:15:10 +00:00
Nick Kurshev
cd141f4c22 1001L
Originally committed as revision 761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 07:43:22 +00:00
Michael Niedermayer
225f9c44cf 4mv & qpel edge emu
Originally committed as revision 760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-15 00:25:53 +00:00
Michael Niedermayer
93a21abde5 direct rendering method 1 support
Originally committed as revision 759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-14 18:37:35 +00:00
Michael Niedermayer
4f68b0847e rl vlc table optimization (not yet used)
Originally committed as revision 758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-14 18:36:24 +00:00
Michael Niedermayer
02e0aa20a8 faster get_bit_cache
Originally committed as revision 757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-14 14:05:10 +00:00
Falk Hüffner
d200cab674 Force inlining on get_vlc2.
Originally committed as revision 756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 19:31:15 +00:00
Michael Niedermayer
c03a717274 rl decoding optimization
Originally committed as revision 755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 17:30:43 +00:00
Falk Hüffner
e3e98d3c23 Remove support for variable BSIZE and INCR, as sub_pixels_* is no
longer needed.

Originally committed as revision 754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:29:11 +00:00
Michael Niedermayer
a349467945 get_vlc -> get_vlc2
Originally committed as revision 753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:23:02 +00:00
Falk Hüffner
f5abd9fd1a * Improve xy2 routines slightly
* Mark MC pointer arguments as restrict

Originally committed as revision 752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:17:38 +00:00
Michael Niedermayer
8ed2ddb2c2 optimization (get_vlc() -> get_vlc2())
Originally committed as revision 751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 16:10:27 +00:00
Michael Niedermayer
edcf989073 optimization (get_vlc -> get_vlc2)
Originally committed as revision 750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 15:45:52 +00:00
Michael Niedermayer
71529954c6 return buf_size again, i hope kabi is finally happy now ;)
Originally committed as revision 749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 15:03:47 +00:00
Michael Niedermayer
45a82edbdd rl vlc decoding optimizations
Originally committed as revision 748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-13 14:55:12 +00:00
Falk Hüffner
6b765cd276 Warning fix.
Originally committed as revision 747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-12 12:41:32 +00:00
Arpi
d85c5979d0 don't exit decoder after decoding first field -> fixes angels.avi interlacing
Originally committed as revision 746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 23:34:06 +00:00
Falk Hüffner
14ac09bfab Tweak Alpha compiler flags.
Originally committed as revision 745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:55:19 +00:00
Nick Kurshev
361e7cade9 10L
Originally committed as revision 744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:54:10 +00:00
Nick Kurshev
861dfbb551 Add Arpi to list of porters.
Originally committed as revision 743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:16:17 +00:00
Nick Kurshev
365777216b Change licence to LGPL since there are no objections from side of original author
Originally committed as revision 742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 15:03:41 +00:00
Michael Niedermayer
6300c80a88 dont trash table in GET_VLC
Originally committed as revision 741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-11 12:42:20 +00:00
Falk Hüffner
5ea6f10f72 Remove some cruft.
Originally committed as revision 740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 22:06:04 +00:00
Marko Kreen
adc09b2eab adding ff prefix to avoid global name conficts with xvid (patch by Marko Kreen <marko at l-t.ee>)
Originally committed as revision 739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 21:01:45 +00:00
Michael Niedermayer
9d07682305 returning the number of consumed bytes (2nd try)
Originally committed as revision 738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 20:21:00 +00:00
Michael Niedermayer
08dce7b02f get_vlc() optimizations
Originally committed as revision 737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 20:05:42 +00:00
Nick Kurshev
63e0d4ac59 Applied patch of Felix Buenemann
Originally committed as revision 736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 17:39:16 +00:00
Michael Niedermayer
cceabc8656 get_vlc() optimization
Originally committed as revision 735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 17:32:59 +00:00
Nick Kurshev
82dd7d0dec * prefixication (due Kabi's request)
* generic optimization:
  - enable ALT and ALIGNED stream
  - move "if(const)" out from loops
  - supress duplicated computing
* first attempt to fix problem with strides

Originally committed as revision 734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 16:37:08 +00:00
Zdenek Kabelac
f197d19a21 * clean compiler warning
Originally committed as revision 733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 14:34:06 +00:00
Michael Niedermayer
ebd62a2402 return the number of consumed bytes instead of 0 or buf_size
Originally committed as revision 731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-10 10:25:11 +00:00
Michael Niedermayer
ef5e74bbfd c std doesnt like negative shifts -> use asm
Originally committed as revision 730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 19:22:50 +00:00
Zdenek Kabelac
df595131bb * declare av_free
Originally committed as revision 729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 18:38:07 +00:00
Felix Bünemann
c60a6560a1 warning fix patch by atmos
Originally committed as revision 728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 18:14:59 +00:00
Michael Niedermayer
55cb1ae6fc gcc3 bug workaround
Originally committed as revision 727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 17:41:51 +00:00
Nick Kurshev
be8ffec9cd new codec: Sorenson v1
Originally committed as revision 726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 16:08:43 +00:00
Michael Niedermayer
8db1a1dde0 new bitstream reader API (old get_bits() based one is emulated and will still be supported in the future cuz its simpler)
minor optimizations to get_vlc

Originally committed as revision 725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 10:35:10 +00:00
Michael Niedermayer
de0f2f4cca wmv1 slice_height != mb_height support
encoding of slice_height != mb_height
1bit shorter wmv1 headers if bit_rate<50 !? ROTFL M$ is even more stupid than i thought
using dc of non intra blocks for dc prediction of wmv1 if bitrate < 129 && res < 320x240

Originally committed as revision 723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-07 08:34:46 +00:00
Falk Hüffner
0a12d6fdfd Implement clear_blocks_axp.
Originally committed as revision 722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-05 19:16:26 +00:00
Falk Hüffner
02da51ec60 * Move "restrict" fallback to common.h
* Don't include config.h in dsputil.c

Originally committed as revision 721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 13:41:27 +00:00
Falk Hüffner
c13e1abdec * Detect "retrict" keyword
* Use "restrict" in some dsputil routines (yields large speedup)

Originally committed as revision 716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-04 01:47:32 +00:00
Falk Hüffner
2dbe7ec87c Make dct_unquantize_h263 work on systems without MVI extension.
Originally committed as revision 715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 23:30:32 +00:00
Falk Hüffner
e0580f8c68 Update and activate dct_unquantize_h263_mvi. Thanks to Måns Rullgård
for some improvements.

Originally committed as revision 714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 03:01:06 +00:00
Falk Hüffner
dde3f77dbc Use updated motion compensation routines.
Originally committed as revision 713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-03 01:09:44 +00:00
Falk Hüffner
3530320dbf Activate ALT_BITSTREAM_READER by default on Alpha, since it seems to
be a noticeable win (at least for me :)

Originally committed as revision 712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-02 02:22:46 +00:00
Falk Hüffner
494e409255 Assembly version of put_pixels. This is currently the function that
takes the most time, and it allows for more efficient unaligned access
and better control over memory latencies.

Originally committed as revision 711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 23:47:01 +00:00
Falk Hüffner
d13c54cdc0 Add profiling support.
Originally committed as revision 710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 23:02:36 +00:00
Falk Hüffner
bb7d4939ba Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
allows better scheduling of the memory accesses, and is portable among
all compilers.

Originally committed as revision 709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-01 04:26:07 +00:00
Zdenek Kabelac
d859228038 * turned into debug message - it's annoying when watching mjpeg files
Originally committed as revision 707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-27 13:21:16 +00:00
Michael Niedermayer
a406617f2a init dc_scale tables to defaults (fixes mjpeg sig11)
Originally committed as revision 706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-25 10:15:42 +00:00
Falk Hüffner
db42e13bfb Ugly hack to make the assembler accept MVI instructions.
Originally committed as revision 705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 22:22:39 +00:00
Falk Hüffner
b210c96c0c * Fixed constraints
* Support ccc
* Support gcc 3.2 builtins

Originally committed as revision 704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 22:21:30 +00:00
Falk Hüffner
3155c994b6 Reintroduce lost idctSparseCol for Alpha. Sorry for adding even more
code duplication, I'm currently working on the put/add variants, but I
did not get them to be as fast as the old method yet...

Originally committed as revision 703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 21:17:22 +00:00
Michael Niedermayer
f10bd870bf 4mv bugfix
Originally committed as revision 702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-24 15:02:52 +00:00
Michael Niedermayer
bd5e1c72f8 fixing wmv1 bugs, it was foolish to belive that m$ would use the same dc prediction as mpeg4 just cuz they changed it a bit from msmpeg4v3
Originally committed as revision 700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-22 15:52:25 +00:00
Michael Niedermayer
0151a6f546 wmv1 support
Originally committed as revision 697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:50:20 +00:00
Michael Niedermayer
f5957f3fe2 wmv1 support
dc scale optimisation
better ac table selection for msmpeg4

Originally committed as revision 696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:49:00 +00:00
Michael Niedermayer
8f8402e49c dc scale simplification/optimization
Originally committed as revision 695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 00:46:02 +00:00
Fabrice Bellard
8fd5fe9429 use #ifdef
Originally committed as revision 694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-17 08:29:03 +00:00
Fabrice Bellard
4fd6044859 reverted to inttypes.h since it gives problems on some unixes
Originally committed as revision 690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-13 23:36:30 +00:00
Fabrice Bellard
ce992c6932 moved code to mem.c and allcodecs.c
Originally committed as revision 689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:45:17 +00:00
Fabrice Bellard
915bbac681 fixed one mpeg decoder memory leak
Originally committed as revision 688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:44:14 +00:00
Fabrice Bellard
6d4985bbdf move unaligned access macros to dsputil.h - added unaligned 32 bit store
Originally committed as revision 687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:43:27 +00:00
Fabrice Bellard
544eb99cbf memory functions are exported
Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:42:18 +00:00
Fabrice Bellard
771b9a7045 put codec registering in another file so that the user can install the codecs he wants
Originally committed as revision 685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:41:41 +00:00
Fabrice Bellard
d01fe86dac put memory functions in a separate file so that the user can redefinite them without modifying the library
Originally committed as revision 684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:41:01 +00:00
Fabrice Bellard
773cefc602 added installlib target to install static libraries and includes
Originally committed as revision 683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:39:47 +00:00
Fabrice Bellard
96707bb783 do not export internal functions - use stdint.h
Originally committed as revision 682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:38:54 +00:00
Michael Niedermayer
6282185e82 grayscale only encoding
Originally committed as revision 679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 14:04:36 +00:00
Michael Niedermayer
0398717356 passing avctx->flags so that grayscale only decoding works with mpeg1/2 too
Originally committed as revision 678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 13:43:53 +00:00
Michael Niedermayer
b50eef3ae0 grayscale only decoding
Originally committed as revision 677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-09 13:35:56 +00:00
Felix Bünemann
800d7cebb6 in libavcodec/Makefile there is in line 110: "distclean: clean<binary char>"
this binary char corrupts the makefile and should be removed.
patch by Felix Buenemann <atmosfear@users.sourceforge.net>

Originally committed as revision 676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-07 22:01:03 +00:00
Fabrice Bellard
d81c598383 fixed multiple allocation bug
Originally committed as revision 675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-06 14:31:18 +00:00
Fabrice Bellard
9f4f81ed17 fixed case where abs_level > MAX_LEVEL
Originally committed as revision 674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-06 14:25:44 +00:00
Michael Niedermayer
0f440e0214 optimizing MPV_decode_mb
Originally committed as revision 673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 23:43:56 +00:00
Fabrice Bellard
8ee14970d6 added ff_idct_put/add
Originally committed as revision 672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:48:07 +00:00
Fabrice Bellard
d36a246675 added inlined put/add functions
Originally committed as revision 671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:46:25 +00:00
Fabrice Bellard
ad31c904b2 use ff_idct_put/add()
Originally committed as revision 670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:36:03 +00:00
Fabrice Bellard
ee4b748b7f use ff_idct_put()
Originally committed as revision 669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 18:35:28 +00:00
Fabrice Bellard
412ba501b1 removed unused code - began to merge alpha specific stuff - added mac macros for suitable CPUs
Originally committed as revision 667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 14:25:06 +00:00
Michael Niedermayer
dd536160cd run1 can be <0 bugfix (found by fabrice)
Originally committed as revision 661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 18:35:31 +00:00
Fabrice Bellard
03c94ede93 avoid name clash with libjpeg - added missing externs
Originally committed as revision 660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:58:40 +00:00
Fabrice Bellard
c3aea5c424 added missing externs (we were lucky that commons are used)
Originally committed as revision 659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:56:04 +00:00
Fabrice Bellard
6d5bf5343c added missing externs
Originally committed as revision 658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:53:11 +00:00
Zdenek Kabelac
39825f315f * reimplemented remaing avg_ pixel functions
* modified PAVGB mmx macro to select mmx register with FE constant

Originally committed as revision 657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 17:35:35 +00:00
Zdenek Kabelac
d3cd07425a * implemented remaing avg_ pixel functions (these are not used offen)
Originally committed as revision 656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 17:31:46 +00:00
Falk Hüffner
e7650becc6 Revert previous bogus warning fix.
Originally committed as revision 655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 14:44:37 +00:00
Falk Hüffner
20695ec921 Minor warning cleanup.
Originally committed as revision 654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 11:16:11 +00:00
Nick Kurshev
8696b63645 use qstride instead of fixed constants
Originally committed as revision 653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 07:58:35 +00:00
Nick Kurshev
ae72cda62b new field for communicating with external postprocessing
Originally committed as revision 652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-03 07:01:42 +00:00
Michael Niedermayer
4136dd2437 100l divx501+ seeking bugfix
Originally committed as revision 651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 22:08:04 +00:00
Felix Bünemann
bc45bca372 gcc 3.1 warning fix (patch by Felix Buenemann <atmosfear at users.sourceforge.net>)
Originally committed as revision 650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 16:06:41 +00:00
D Richard Felker III
90864f2712 10l found&patch by D Richard Felker III <dalias at aerifal.cx>
Originally committed as revision 649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 15:49:21 +00:00
Michael Niedermayer
333547be44 typo (found by Bohdan Horst <nexus at hoth.amu.edu.pl>)
Originally committed as revision 648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 15:31:30 +00:00
Michael Niedermayer
2a052693dd divx5 bug workaround
Originally committed as revision 647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 13:31:48 +00:00
Michael Niedermayer
1f6b6e50ce single coefficient elimination
error concealment / error resilience
b_quant_offset (unfinished, should be 0 for now)

Originally committed as revision 646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:25:54 +00:00
Michael Niedermayer
9effc0c71b b_quant_offset (unfinished, should be 0 for now)
Originally committed as revision 645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:24:26 +00:00
Michael Niedermayer
5bb6fbb351 data partitioning
Originally committed as revision 644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:23:22 +00:00
Michael Niedermayer
287229e554 msmpeg4v1 decoding
Originally committed as revision 643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:22:30 +00:00
Michael Niedermayer
7f2fe444a3 single coefficient elimination
prequantization
more readable malloc & check if NULL
error concealment / error resilience
b_quant_offset (unfinished, should be 0 for now)
data partitioning

Originally committed as revision 642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:20:39 +00:00
Michael Niedermayer
0d21a84605 dont double check vectors
more correct EPZS implementation
much faster halfpel ME
simplifications / reducing duplicate code
4MV in LQ mode

Originally committed as revision 641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:18:18 +00:00
Michael Niedermayer
6733417a5f error concealment / error resilience
merging s->first_gob_line & s->first_slice_line

Originally committed as revision 640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:16:28 +00:00
Michael Niedermayer
92073d01ca error concealment / error resilience
data partitioning encoding/decoding
resync marker encoding
more correct headers
merging s->first_gob_line & s->first_slice_line

Originally committed as revision 639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:15:17 +00:00
Michael Niedermayer
c9b5489c08 fixing get_bits_count at the end
Originally committed as revision 638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:13:09 +00:00
Michael Niedermayer
7fd08ac1d1 sqrt
MAX, MIN

Originally committed as revision 637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-02 12:11:44 +00:00
Michael Niedermayer
ab00685a75 bugfix
Originally committed as revision 636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-01 23:18:44 +00:00
Fabrice Bellard
8155233413 fixed layer1/2 overflow if very loud sound - fixed broken free format decoding to pass all mpeg audio standard decoding tests (please avoid patching the parser without having all test streams available - contact me if necessary)
Originally committed as revision 634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-01 14:34:29 +00:00
Zdenek Kabelac
fca0f0e59f * removed MANGLE from macros for setting constants
* using MOVQ_WONE/MOVQ_BFE as two instruction instead of static memory value access
  as its always faster
* PAVGB_MMX macro is using now mm6 -> mm7 is unmodified
* replaced original pixels_xy2_mmx with new faster and equal implementation
* replaced usage of mm7 for other then ZERO contstant in _rnd & _avg file with mm6

Originally committed as revision 632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-30 15:14:56 +00:00
Zdenek Kabelac
ff9657069a * using unrolled loops seems to help to MMX Celerons
* calculating average in parallel to use two MMX units
* disabled xy2 put code - it's producing rouding errors

Originally committed as revision 626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 20:00:10 +00:00
Zdenek Kabelac
6aa6ea8e11 * reenabled original xy2 put routine - rounding error is really bad with
the new code
* added PAVGP macros for parallel processing to safe few more cycles on
  celerons

Originally committed as revision 625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 19:57:21 +00:00
Zdenek Kabelac
91abb473fb * code with new PAVGB for MMX only CPU splited into separate file
and being compiled in the same way as _avg.h
* PAVG_MMX macros accept also output parameter
* implemented faster put_pixels_xy2, but it has slightly smaller precission.
  But there is not visible difference in the image quality - might be eventualy
  easily switched back (#if 0 #endif)- please check

Originally committed as revision 624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 17:16:22 +00:00
Zdenek Kabelac
def60345ad * new mmx code - based upon http://aggregate.org/MAGIC
for now it's rather sneak preview (new functions are nearly 100% faster)

Originally committed as revision 623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 14:29:48 +00:00
Zdenek Kabelac
541027e26a * cosmetic minor change
Originally committed as revision 622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 14:20:48 +00:00
Zdenek Kabelac
d17b6f0bbb * optimized remaing avg_pixels_xy2
Originally committed as revision 621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 08:31:22 +00:00
Zdenek Kabelac
e9c0a38ff0 * optimized avg_* functions (except xy2)
* minor speedup for put_pixels_x2 & cleanup

Originally committed as revision 619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-28 16:35:58 +00:00
Zdenek Kabelac
cd4af68ad5 * started to cleanup name clashes for onetime compilation
Originally committed as revision 617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 16:42:14 +00:00
Zdenek Kabelac
c0eb0bb717 * more PIC friendly and faster code
Originally committed as revision 616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 14:09:10 +00:00
Zdenek Kabelac
5f6230016a * removed TESTCPU_MAIN - not needed for testing
Originally committed as revision 615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 11:32:01 +00:00
Zdenek Kabelac
8758f7e43c * for this moment bswap.h included ahead of HAVE_AV_CONFIG_H check
as its functionality is used even in those parts which are being
  compiled without this flag
  - generaly this would require more complicated cleanup patch
  - for now leaving for the main author

Originally committed as revision 614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 09:17:21 +00:00
Zdenek Kabelac
e5f3d22d35 * undefine local defines when they are no longer needed
Originally committed as revision 612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 08:37:13 +00:00
Zdenek Kabelac
f0ca2e1b0a * compatibilized declaration with its original definition
(though I'm not sure which one is correct - but they should match)

Originally committed as revision 610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 08:34:24 +00:00
Zdenek Kabelac
30eb039652 * avoids double inclusion of this header
(how about making all headers in ffmpeg working this way ?)

Originally committed as revision 609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 08:31:54 +00:00
Fabrice Bellard
74fc99894b don't use inttypes.h - use inline function for bswap_64()
Originally committed as revision 608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 15:24:32 +00:00
Fabrice Bellard
6a3d7e36c9 fixed mangle issue
Originally committed as revision 605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 15:07:57 +00:00
Fabrice Bellard
fad9f495c0 removed invalid buffer handling
Originally committed as revision 604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 14:41:53 +00:00
Nick Kurshev
bbdadbda05 untested generic bswap64
Originally committed as revision 603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 09:45:45 +00:00
Fabrice Bellard
ff4ec49e64 license/copyright change
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:45:33 +00:00
Fabrice Bellard
2ef0f2b269 consistent include usage
Originally committed as revision 598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:42:45 +00:00
Fabrice Bellard
3093185ea6 fixed incorrect buffer handling
Originally committed as revision 597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:39:29 +00:00
Fabrice Bellard
d503f97038 better logic for bswap
Originally committed as revision 596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:38:02 +00:00
Fabrice Bellard
d75dd1ca4c removed
Originally committed as revision 595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:36:24 +00:00
Fabrice Bellard
b17c92d10e moved in libavcodec
Originally committed as revision 594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:36:01 +00:00
Philip Gladstone
935cdf0902 Add an av_abort macro that aborts, but also prints out the location of the abort.
Helps track down bugs.

Originally committed as revision 576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-24 01:16:08 +00:00
Zdenek Kabelac
52af45ad77 * baling 8 seems to have the same speed
Originally committed as revision 575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 16:19:07 +00:00
Zdenek Kabelac
fbdedc1704 * always baling even though it seems to produce sometime worse
results then for -fPIC compilation - don't ask me why...

Originally committed as revision 573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 15:57:28 +00:00
Zdenek Kabelac
31ddcf9851 * cleanup for put_pixels_mmx
Originally committed as revision 572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 15:48:30 +00:00
Zdenek Kabelac
ec9a41f57d * somewhat more advanced test suit for dsp code - for now i386 only
cd test ; make dsptest ; ./dsptest

Originally committed as revision 568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 13:34:22 +00:00
Zdenek Kabelac
6efad6fd85 * align the source initialy address
Originally committed as revision 567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 12:17:08 +00:00
Zdenek Kabelac
2bd978bdb8 * fixed contrains and avoid usage of scale index access
Originally committed as revision 566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 10:10:14 +00:00
Zdenek Kabelac
dcb9cd4b81 * added simple test main - see comments about how to
compile - should be probably made as a regression test

Originally committed as revision 565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-23 10:09:33 +00:00
Michael Niedermayer
ba0420d83e using 1 operand less and slightly faster put_pixels_y2
Originally committed as revision 564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-22 23:18:59 +00:00
Zdenek Kabelac
a213d66486 * fix for -fPIC compilation - compiles with 2.95.2 as well - any
other compiler shows any problem here ??

Originally committed as revision 563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-22 20:46:24 +00:00
Zdenek Kabelac
d7d267dfe0 * minor cleanup
Originally committed as revision 562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-22 13:53:23 +00:00
Michael Niedermayer
92ba5ffbb5 workaround dc_scale bug in old ffmpeg msmpeg4v3 encoder (set workaround_bugs=1 for this)
Originally committed as revision 561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 23:13:57 +00:00
Zdenek Kabelac
ddad77fade * oops - these are the midnight commits...
removed -fPIC used for testing compilability

Originally committed as revision 560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 23:07:26 +00:00
Zdenek Kabelac
c77b16ddba * restored previous behaviour for this moment
users are supposed to supply proper SCR_PATH however

Originally committed as revision 559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 22:18:12 +00:00
Zdenek Kabelac
8083185f88 * restored previous non '..' version
Originally committed as revision 558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 21:50:05 +00:00
Fabrice Bellard
59d3e367a8 fixed incorrect global gain - slightly increased precision of n^(4/3) table
Originally committed as revision 557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 21:07:47 +00:00
Zdenek Kabelac
777cc95fb4 * using ../ for bswap.h
Originally committed as revision 556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 19:42:43 +00:00
Zdenek Kabelac
49d71c7b05 * avoid conflicts with non-ffmpeg config.h and also it's consistent
with few other header files included from the main ffmpeg's dir

Originally committed as revision 555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-21 18:56:03 +00:00
Fabrice Bellard
747a67fbab fixed one overflow problem
Originally committed as revision 553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 21:15:53 +00:00
Fabrice Bellard
57060b1ec7 removed unused stuff - added dsputil_set_bit_exact() support for easier testing
Originally committed as revision 551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:37:58 +00:00
Fabrice Bellard
4f12a4976a removed unused code
Originally committed as revision 543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:25:09 +00:00
Fabrice Bellard
fb4a4a5607 mpeg1/2 identifier - fixed frame rate for some bad mpeg1 streams
Originally committed as revision 542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:24:39 +00:00
Fabrice Bellard
4d7a0a0593 better av_freep()
Originally committed as revision 541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:23:27 +00:00
Fabrice Bellard
51a4966370 added avcodec_set_bit_exact() for testing
Originally committed as revision 540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:22:51 +00:00
Michael Niedermayer
10fc842423 fixing alignment for alignment picky cpus
Originally committed as revision 535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-19 01:49:53 +00:00
Fabrice Bellard
82acee8fc4 removed unmaintained vc stuff
Originally committed as revision 524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:05:19 +00:00
Fabrice Bellard
6000abfa89 removed useless header includes - use av memory functions
Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:03:29 +00:00
Fabrice Bellard
4cc281d9d9 added VPATH support for multiple dir compilation
Originally committed as revision 521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:01:20 +00:00
Fabrice Bellard
3123dd793e proper memory handling functions
Originally committed as revision 520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:59:50 +00:00
Fabrice Bellard
61a4e8ae3b removed debug function
Originally committed as revision 519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:59:12 +00:00
Fabrice Bellard
f9ed4f8894 put all integer init code to compute n^(4/3) - memory alloc and header fixes
Originally committed as revision 518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:58:08 +00:00
Fabrice Bellard
5bd12d1277 improved mpeg1/2 decoding speed
Originally committed as revision 517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:56:50 +00:00
Fabrice Bellard
44f27b3a86 added proper memory handling functions - fixed include paths
Originally committed as revision 516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:56:25 +00:00
Fabrice Bellard
9241551049 tried to avoid gcc 2.95.2 bug by puting explicit register constraints - added comment about rounding bug in some functions (need to correct or suppress them for regression tests)
Originally committed as revision 515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:49:11 +00:00
Michael Niedermayer
4b7b196005 qmin==1 bugfix
Originally committed as revision 511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 15:31:33 +00:00
Michael Niedermayer
a7bd879798 shared lib support (req by kabi) ...
Originally committed as revision 510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 13:01:01 +00:00
Michael Niedermayer
607dce96c0 hopefully faster mmx2&3dnow MC
Originally committed as revision 506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-17 01:04:14 +00:00
Michael Niedermayer
59fe111e81 new hopefully faster MC
Originally committed as revision 505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 23:29:09 +00:00
Michael Niedermayer
02734c6a3e print frame decoding time support (x86 only)
Originally committed as revision 504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 22:01:30 +00:00
Juanjo
e0a3d744a0 - repeat_pict meaning changed, now it signals the extra delay for the
decoded frame.
- extra_delay = (repeat_pict / 2) * (1/fps)

Originally committed as revision 496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 19:56:42 +00:00
Zdenek Kabelac
e8f147930b * first shot for the new avcodec API
- comments, critics, improvements on the ffmpeg list are welcomed

Originally committed as revision 494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 14:17:11 +00:00
Philip Gladstone
13a0314fba * Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it.
Originally committed as revision 493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 02:36:23 +00:00
Nick Kurshev
79b0d5f925 build num ++
Originally committed as revision 490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 16:06:45 +00:00
Nick Kurshev
8bceb6af09 build info for ABI
Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:53:25 +00:00
Nick Kurshev
5d27890ae9 I was too lazy to be a hero ;)
Originally committed as revision 488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:30:10 +00:00
Juanjo
c80340a4eb - repeat_pict added to AVCodecContext to signal if the decoder must repeat
frames from 3:2 pulldown sources.
- repeat_pict honoured by MPEG-1/2 decoder.

Originally committed as revision 486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 02:55:48 +00:00
Juanjo
9cd3766f6e - pict_type exported to AVCodecContext
- Added real_pict_num to AVCodecContext, it represent the number of the
  previous encoded frame, usefull when coding with B frames.
- Warning fix in motion_est.c

Originally committed as revision 484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-11 23:42:16 +00:00
Juanjo
564ef23d49 - Warning fix.
Originally committed as revision 476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 05:42:27 +00:00
Philip Gladstone
0edf8a7a65 * Don't allocate 0 bytes of memory. It upsets electricFence!
Originally committed as revision 472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:24:27 +00:00
Philip Gladstone
8170f3dc8f * Fix a problem with the first sample when down sampling.
* Note that this code needs to be fixed -- the rate conversion from 48000->44100
  sounds horrible!

Originally committed as revision 471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:23:49 +00:00
Philip Gladstone
4c3d2e5f86 * Every frame is a key_frame
Originally committed as revision 470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:22:51 +00:00
Philip Gladstone
4a663d8042 * Start using enumerated types (makes debugging much easier)
Originally committed as revision 469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:22:30 +00:00
Alex Beregszaszi
a69b930cd3 clamp intra matrix to 8bit for mjpeg (workaround for qscale>=25)
Originally committed as revision 451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-07 17:55:02 +00:00
Alex Beregszaszi
723106b279 added support for various app headers, and writin FFmpeg comment
Originally committed as revision 450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-07 17:21:38 +00:00
Juanjo
fffcb5e841 - Segfault fixed when liba52 dynamic library isn't found.
Originally committed as revision 449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 21:34:50 +00:00
Juanjo
bc6caae212 - MPEG-4 B frames coding option for ffmpeg.c
- Warning fixes.

Originally committed as revision 448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 19:32:55 +00:00
Zdenek Kabelac
afa90da5fb * replaced with liba52
Originally committed as revision 447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 16:40:43 +00:00
Michael Niedermayer
7aaf3b98fc there are divx5? encoded files without a userdata section but with b-frames :(
Originally committed as revision 446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 13:15:05 +00:00
Michael Niedermayer
e71a4f7425 segfault fix for b-frame encoding with height%16!=0
Originally committed as revision 445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-05 19:03:24 +00:00
Nick Kurshev
156e5023e8 version info
Originally committed as revision 443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-05 09:56:13 +00:00
Michael Niedermayer
3649cfd9b3 MV visualisation support
Originally committed as revision 442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-05 01:39:07 +00:00
Michael Niedermayer
3d1d9b2c37 shorter user data with formating by juanjo
Originally committed as revision 441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-05 01:37:07 +00:00
Michael Niedermayer
32cd20de42 move ABS() to common.h
print mb_types in nice looking format support

Originally committed as revision 440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-04 18:58:07 +00:00
Michael Niedermayer
9717dad883 move put_string() to common.{c,h}
Originally committed as revision 439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-03 23:13:24 +00:00
Michael Niedermayer
1c3a2382d0 correct quantizer bias
Originally committed as revision 438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-03 21:38:02 +00:00
Arpi
0f9400b4fb ar -s has portability problems, anyway rc is enough without s -- suggested by Atmosfear
Originally committed as revision 437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-03 18:46:55 +00:00
Juanjo
1e209222f5 - H263 PAR support by Alex Beregszaszi.
- Typo fix in mpeg4data.

Originally committed as revision 436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-03 18:11:23 +00:00
Alex Beregszaszi
af289048d8 patch by Alex Beregszaszi <alex@naxine.org>
- AVID (AVRn) support (workaround)
- print error instead of failing for unsupported SOF
- fixed the 0<code<FF range checking

Originally committed as revision 435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-03 16:34:40 +00:00
Michael Niedermayer
51b8fd1998 freeze fix
Originally committed as revision 434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-02 20:45:43 +00:00
Michael Niedermayer
ccf589a8fe C4=16383 for the c version too and even for some outcommented code
Originally committed as revision 433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-02 13:35:33 +00:00
Michael Niedermayer
9e1795dd13 set C4 to 16383
Originally committed as revision 432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-02 12:51:10 +00:00
Juanjo
ef5b1b5a7e - Advanced Intra Coding (AIC) support for H.263+ encoder, just DC by now.
- Bug fix H.263+ AIC tables.
- Warning fixes.

Originally committed as revision 431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-02 04:39:45 +00:00
Arpi
e84c31dc88 Support for external huffman table and various fixes by Alex Beregszaszi <alex@naxine.org>
Originally committed as revision 429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-01 18:12:04 +00:00
Zdenek Kabelac
2a2a98c0d1 * by Thomas Sailer:
otherwise ffmpeg doesn't compile if shared libs are requested and mp3lame
  is selected...

Originally committed as revision 428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-01 13:27:40 +00:00
Michael Niedermayer
bb71e31757 fixing msmpeg4v3 dc-scale for quantizers 24-31
Originally committed as revision 427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-30 01:29:29 +00:00
Michael Niedermayer
f94985d046 detecting xvid/divx4/opendivx and set low_delay flag
Originally committed as revision 425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-27 14:10:47 +00:00
Michael Niedermayer
2417652e9f export mbskip_table for direct rendering
add hurry_up support

Originally committed as revision 424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-27 13:12:57 +00:00
Michael Niedermayer
d7e9533aa0 fixed msmpeg4 infinite loop if buggy stream
rewrote quantizer
 fixed bias (+10% compression/quality for h263 like codecs)
 qscale=1 support
 mpeg1 intra frames looks far less blocky
added codec_id field

Originally committed as revision 423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-27 12:30:26 +00:00
Zdenek Kabelac
1ac9248bb7 * cleanup
Originally committed as revision 422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-26 07:18:57 +00:00
Zdenek Kabelac
cd8e5f9637 * fixes problem with -funroll-loops and buggy gcc compiler
Originally committed as revision 421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-24 12:18:59 +00:00
Michael Niedermayer
1c2a8c7f14 avcodec_flush_buffers()
Originally committed as revision 420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-24 01:24:06 +00:00
Zdenek Kabelac
eeba58ccc7 * path to ffmpegs config.h
Originally committed as revision 419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-23 08:52:53 +00:00
Michael Niedermayer
d697b89bab segfault fix
Originally committed as revision 418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 21:02:18 +00:00
Zdenek Kabelac
5751432312 * using liba52
Originally committed as revision 417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 19:57:45 +00:00
Zdenek Kabelac
623563c04a * using some small char buffer - needed for sprintf
Originally committed as revision 416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 19:57:26 +00:00
Michael Niedermayer
1ff662cc2c export delay info
fixed low_delay & vo_type on mpeg4 header writer & parser

Originally committed as revision 415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 19:04:28 +00:00
Michael Niedermayer
8d4c65d136 b-frame mpeg4 fix when seeking
Originally committed as revision 414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 17:33:43 +00:00
Michael Niedermayer
eec1c6b94c divx 5.01 support
Originally committed as revision 412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 12:45:22 +00:00
Zdenek Kabelac
976f969b24 * add support for liba52
Originally committed as revision 411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 10:27:25 +00:00
Michael Niedermayer
ee6f786146 fix b-frame MB skip
Originally committed as revision 410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-21 23:47:27 +00:00
Michael Niedermayer
ba8d0be99d rounding bugfix
Originally committed as revision 409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-21 22:41:49 +00:00
Michael Niedermayer
8b4c7dbc55 fixed ratecontrol & b-frames
2pass ratecontrol
fixed hq with 2pass
inceased build num (a few more vars for the rc stuff)
hopefully no new bugs

Originally committed as revision 408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-21 21:18:17 +00:00
Arpi
2c029cd19d postprocess array increased to handle images up to 2048x1536
Originally committed as revision 407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-20 21:17:26 +00:00
Michael Niedermayer
91029be790 much better ME for b frames (a bit slow though)
fixed MC rounding for b frames
fixed hq mode with b-frames

Originally committed as revision 406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-19 03:25:20 +00:00
Michael Niedermayer
1f0cd30fd9 fixing hq mode with mpeg1 and 2-pass
Originally committed as revision 405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 18:19:50 +00:00
Michael Niedermayer
9dbf1dddbd mpeg2/mpeg4 dequantizer support (c & mmx)
mpeg1 dequantizer optimizations

Originally committed as revision 404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 16:30:31 +00:00
Michael Niedermayer
9dbcbd92e8 fixed mpeg4 time stuff on encoding
mpeg4 b-frame enoding support
removed old, out-commented ratecontrol
reuse motion compensation code between encoding & decoding
prefix newly added global functions with ff_ to reduce namespace polution
b-frame ME (unfinished, but working)
added some comments to mpegvideo.h
do MC on encoding only once if possible
bugs? ;)

Originally committed as revision 403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-17 04:32:12 +00:00
Zdenek Kabelac
076b09e9b3 * minor - slightly modified debug message
Originally committed as revision 401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-15 12:52:21 +00:00
Juanjo
4b1f4f236b - Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.

Originally committed as revision 400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-15 02:28:05 +00:00
Juanjo
101bea5f22 - ME method compatibility with legacy apps.
- Please use AVCodecContext's me_method now.

Originally committed as revision 399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 22:17:40 +00:00
Juanjo
e4986da9ce - ME setting moved to AVCodecContext/MpegEncContext, no longer a global.
- EPZS ME algo used by default.
- HQ flag activated for ffmpeg.
- Cosmetics ...

Originally committed as revision 398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 18:57:51 +00:00
Juanjo
e0d2714adc - Fixed AC3 decoding for 5:1 AC3 streams. Now when calling av_audio_decode for
AC3 set avcodec_context->channels to the desired number channels, if the
setting is 0 AC3 decoder will set it to the channels found in the
stream.
- Changed ffmpeg to cope with the new "way" of AC3 decoding.
- ASF muxer now uses Tickers for PTS calculations.

Originally committed as revision 393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 04:52:49 +00:00
Juanjo
9f862d1133 - PIX_FMT_ANY = -1 to avoid breaking any stuff that could be using it.
Thanks to D Richard Felker III for his comments.

Originally committed as revision 392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 00:37:06 +00:00
Juanjo
dbc598bb79 - Commented out PIX_FMT_ANY by now. It seems that not all codecs are setting
the PIX_FMT_ so they get PIX_FMT_ANY instead of PIX_FMT_YUV420P which
obviuosly annoys ffmpeg.

Originally committed as revision 391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 00:08:39 +00:00
Zdenek Kabelac
bc657ac31d * using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 21:03:35 +00:00
Zdenek Kabelac
30b68f33aa * encoding of AC3 with more than 2 channels
by Takashi Iwai <tiwai@suse.de>

Originally committed as revision 383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 12:08:03 +00:00
Juanjo
10bb7023a2 - Added force_pts to av_write_packet() to be able to force PTS, this helps
(and fix) stream copying. By now force_pts it's just honoured by the MPEG
muxer. ASF could honour this also, but it should be fixed to use Tickers
first.
- MPEG audio decoder exports it's frame size in bytes.
- Hope this fix the floating point exception found in ffserver.

Originally committed as revision 382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-07 21:44:29 +00:00
Michael Niedermayer
3bf43d42ed mpeg4 mpeg quantizer support
Originally committed as revision 381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-07 02:03:32 +00:00
Michael Niedermayer
e1a9dbffed wmv1 header parser (unfinished)
Originally committed as revision 380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-06 22:29:37 +00:00
Michael Niedermayer
3825cd1d55 msmpeg4v2 encoding
Originally committed as revision 379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 21:04:09 +00:00
Michael Niedermayer
2ed627e64e fixing msmpeg4v2 bugs (is bugfree now afaik)
Originally committed as revision 378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 16:51:12 +00:00
Michael Niedermayer
3c4f1840e6 b frames & slices bugfix
Originally committed as revision 377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 04:23:01 +00:00
Michael Niedermayer
84afee348f msmpeg4v2 decoding (no encoding yet)
Originally committed as revision 376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 04:09:04 +00:00
Michael Niedermayer
fcb609f432 dump_stream support (nicely formated 0s and 1s)
Originally committed as revision 375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-04 20:04:10 +00:00
Michael Niedermayer
5b403c4015 emms was missing, found by juanjo but he didnt commit it?!
Originally committed as revision 374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-04 19:50:46 +00:00
Michael Niedermayer
c60cf138bd fixing MVs in hq mode
Originally committed as revision 372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-01 17:40:42 +00:00
Alex Beregszaszi
0344cd0a7c multiple init bugfix (patch by Alex Beregszaszi <alex@naxine.org>)
Originally committed as revision 371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-01 13:24:47 +00:00
Michael Niedermayer
ff3dfbae1a fixing 1/0
Originally committed as revision 370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-30 21:33:14 +00:00
Michael Niedermayer
14ae07d86c divx5-gmc bug workaround
Originally committed as revision 369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-29 05:15:49 +00:00
Michael Niedermayer
7f89b6fbdc msmpeg4v2 header parser & some dump bits code behind #if 0
Originally committed as revision 368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-29 02:07:25 +00:00
Michael Niedermayer
dbbe89994b minor optimizations / simplifications
Originally committed as revision 367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-29 01:53:59 +00:00
Arpi
60e575acc8 using Juanjo's way to pass forced type - especially as I_TYPE/P_TYPE defines aren't exported in the public interface, and the flagged method matches the way as qscale forcing work
Originally committed as revision 366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 23:07:54 +00:00
Michael Niedermayer
4d69fbc99e force frame type for 2-pass encoding
Originally committed as revision 365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 22:50:22 +00:00
Michael Niedermayer
649c00c96d sizeof(s->block) isnt 64*6*2 anymore bugfix
mpeg12 decoding optimization

Originally committed as revision 364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 13:41:04 +00:00
Michael Niedermayer
cf8039b2cf mpeg4 4MV encoding
Originally committed as revision 363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-28 04:25:35 +00:00
Michael Niedermayer
ba6802debf 4MV motion estimation (not finished yet)
SAD functions rewritten (8x8 support & MMX2 optimizations)
HQ inter/intra decission
msmpeg4 encoding bugfix (MV where too long)

Originally committed as revision 362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-27 21:25:22 +00:00
Michael Niedermayer
2a164b253c optimizing mpeg4_encode_dc
Originally committed as revision 361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-25 15:36:16 +00:00
Michael Niedermayer
9c15096e3f fcode_tables where too small, found by Klaas-Pieter Vlieg <vlieg@eurescom.de>
Originally committed as revision 360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 23:45:13 +00:00
Michael Niedermayer
d633c2c096 b-frame decoding bugfix
Originally committed as revision 359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 22:02:21 +00:00
Michael Niedermayer
490922441b resync marker support, needed for some mp4 files
Originally committed as revision 358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 21:25:04 +00:00
Michael Niedermayer
122546a6d1 seems the old intra/inter decission is slightly better with a threshold, than the new one
Originally committed as revision 357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 04:58:54 +00:00
Michael Niedermayer
174489bdcc 10l (motion_val was uninitilized)
20l (first frame of a gop could be a p-frame sometimes)
add hq flag to MpegEncContext

Originally committed as revision 356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-24 04:16:51 +00:00
Michael Niedermayer
9d2a035529 fixing motion estimation with h263p hopefully
Originally committed as revision 355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 20:21:33 +00:00
Michael Niedermayer
098eefe183 statistics for 2-pass encoding
Originally committed as revision 354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 17:43:30 +00:00
Michael Niedermayer
b1563bfef2 dont return -1 if mpeg4 scalability ...
Originally committed as revision 353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 13:00:08 +00:00
Michael Niedermayer
b398777148 better inter/intra decission algo (same as xvid)
Originally committed as revision 352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 12:39:45 +00:00
Michael Niedermayer
72a52b3142 fixing MV range in h263
Originally committed as revision 351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-23 00:31:33 +00:00
Michael Niedermayer
2efe097a7e more aspect stuff
Originally committed as revision 350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 23:28:11 +00:00
Michael Niedermayer
11ce88346b mpeg4 aspect_ratio_info in AVCodecContext (requested by alex)
experimental (& faster) motion estimation
squished a dirty uninitialized var bug
mpeg1 fcode>1 support

Originally committed as revision 349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 23:22:08 +00:00
Michael Niedermayer
c5b1c10a0e fixing epzs & mpeg1 (hopefully now really ...)
Originally committed as revision 348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 16:51:44 +00:00
Michael Niedermayer
8a29b31054 mpeg1 & epzs fix
Originally committed as revision 347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 04:35:46 +00:00
Michael Niedermayer
c7d5049c98 oops
Originally committed as revision 345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 02:36:08 +00:00
Michael Niedermayer
45870f5718 new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected

Originally committed as revision 344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 02:21:17 +00:00
Juanjo
af469427b3 - Fix pts calculation on mpeg mux (A/V sync) - Thanks to Lennert Buytenhek
- Fix temporal-reference-glitches for MPEG1 - Thanks to Lennert Buytenhek

Originally committed as revision 343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-20 11:16:07 +00:00
Juanjo
ce7c56c250 - Added video coding statistics for ffmpeg. Needs more work.
- Fixed ME range for H.263+ UMV (32 pix).

Originally committed as revision 342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-19 06:30:41 +00:00
Michael Niedermayer
488fa19a86 use the width & height from the mpeg4 header ... in the case that its complete
Originally committed as revision 340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-19 03:51:36 +00:00
Michael Niedermayer
019d276a12 msmpeg4 bugfix (wrong frame displayed if some frames are skipped)
Originally committed as revision 339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-18 21:06:07 +00:00
Michael Niedermayer
2e3be0fba9 fixing 4MV
Originally committed as revision 338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-18 20:11:43 +00:00
Michael Niedermayer
bd31a7750f scene change detection
Originally committed as revision 337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 19:45:33 +00:00
Michael Niedermayer
c674115939 10l
Originally committed as revision 336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 18:08:11 +00:00
Juanjo
001e3f555d - Fixes on MPEG demuxer to handle VOBs without System Header.
Originally committed as revision 335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 17:44:45 +00:00
Michael Niedermayer
9cdd6a24ad hopefully better bitrate controll
Originally committed as revision 334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 16:31:38 +00:00
Juanjo
1cb0edb40b - Bug fix MPEG-2 decoder to handle "repeat_first_field" (Telecine)
- Hack in MPEG-2 demux to cope with buggy VOBs.

Originally committed as revision 333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-16 02:41:00 +00:00
Michael Niedermayer
4278e7a6f5 optimization
Originally committed as revision 332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 14:57:17 +00:00
Michael Niedermayer
d6231b9e70 use ac prediction in mpeg4 encoding (5% smaller intra-blocks/keyframes)
some minor optimizations
last non zero index cant be 64 bugfix

Originally committed as revision 331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-15 04:10:53 +00:00
Michael Niedermayer
49c9325f56 support decoding (with mplayer) of 3 .mp4 files from mphq
optimize h263_pred_motion()

Originally committed as revision 330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-13 19:26:38 +00:00
Michael Niedermayer
10cd581572 generate even more complete mpeg4 headers
Originally committed as revision 329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-13 12:50:41 +00:00
Michael Niedermayer
6f91bcd151 mpeg4 b-frames :)
create slightly more correct headers & add "ffmpeg" user-data section

Originally committed as revision 328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-12 22:54:25 +00:00
Juanjo
e2263827d5 - Bug fix on output sample rate for lame MP3 encoding.
Originally committed as revision 327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 15:16:41 +00:00
Juanjo
9d36bdc9be - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:58:53 +00:00
Juanjo
0716b577b6 - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:52:00 +00:00
Juanjo
5798368baf - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
- Changes on AVI and WAV muxers to support MP3.

Originally committed as revision 324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:51:20 +00:00
Michael Niedermayer
1699d37681 divx5 draw_edges bugfix
Originally committed as revision 322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 03:17:53 +00:00
Michael Niedermayer
7ff037e9ca q-pel mc fixed
Originally committed as revision 321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-09 14:22:21 +00:00
Michael Niedermayer
44eb495128 divx5-gmc support
q-pel mc support
neither is totally bugfree yet though :(

Originally committed as revision 320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-09 13:01:16 +00:00
Michael Niedermayer
73c8e5144a gmc bitstream decoding support (the real motion compensation isnt implemnted yet)
Originally committed as revision 318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-07 13:27:15 +00:00
Michael Niedermayer
cc9ba006ec parsing more of the mpeg4 header & print some "not supported" stuff
Originally committed as revision 317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-05 13:58:13 +00:00
Juanjo
43f1708f8b - Added PSNR feature to libavcodec and ffmpeg. By now just Y PSNR until I'm
sure it works ok. Also it's slow, so use it only when you _really_ need to
measure quality.
- Fix libavcodec Makefile to enable profiling.

Originally committed as revision 314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-26 22:14:27 +00:00
Michael Niedermayer
2b9ab1d54a fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)
Originally committed as revision 313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-22 19:19:01 +00:00
Juanjo
e7774f11ac - Bug fix on RTYPE (rounding type) not being honoured by H.263+ decoder.
Originally committed as revision 312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-22 03:35:41 +00:00
Juanjo
9e15ad28bd - Bug fixes in H.263+ Advanced INTRA Coding decoder.
- H.263+ should be able to decode streams with AIC now :)

Originally committed as revision 311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-19 19:23:34 +00:00
Juanjo
d140623fc4 - H.263+ decoder support for Advanded INTRA Coding (buggy)
Originally committed as revision 310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 19:33:27 +00:00
Zdenek Kabelac
d6a4c0b111 * some modifications to allow gcc to compile same code for -fPIC
- introduced MOVQ_WONE, MOVQ_WTWO
* unrolled put_pixels_clamped_mmx
* added .baling where the jump address would be compiled on odd address
* added some testing code to disable all these routines (for time measurement)

Originally committed as revision 308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:40:05 +00:00
Zdenek Kabelac
38d171ebbe * simplified indexing
* ignoring error from msmpeg4_decode_block

Originally committed as revision 307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:34:54 +00:00
Zdenek Kabelac
af8793ae75 * simplified indexing
Originally committed as revision 306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:32:11 +00:00
Zdenek Kabelac
8257bf0534 * eliminating duplicated code from MPV_common_end
* simplified indexing

Originally committed as revision 305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:31:37 +00:00
Zdenek Kabelac
3232bc885d * using static instead of extern
Originally committed as revision 304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:29:32 +00:00
Zdenek Kabelac
b4cc15e75e * continue after error in msmpeg4_decode_mb - helps for some movie samples
Originally committed as revision 303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 09:28:05 +00:00
Michael Niedermayer
bb6f51aeab avoid overflow of picturenumber*fps*10000
bug found by Lennert Buytenhek <buytenh@gnu.org>

Originally committed as revision 302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 01:58:00 +00:00
Michael Niedermayer
3696d2bb83 block_last_index was too large (in mpeg1 decoding)
Originally committed as revision 301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 00:31:16 +00:00
Juanjo
b4dbd87c04 - Minor changes on bitrate control
Originally committed as revision 300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-15 20:46:37 +00:00
Michael Niedermayer
d8cf5aea49 optimized the normal bitstream writer, its faster than the alternative one on p3 now ... lets hope its at least not slower on p4 & k7
Originally committed as revision 299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-15 00:14:01 +00:00
Michael Niedermayer
f004ca1c1b optimized encode_dc() (+2% speed on P3 for mpeg1 intra only encodings)
Originally committed as revision 298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-13 15:26:28 +00:00
Michael Niedermayer
80feb2a23e optimize mpeg1_encode_block()
(makeing some constant arrays global, merging put_bits(), ...)

Originally committed as revision 297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-13 04:19:10 +00:00
Michael Niedermayer
4f0f8bfce3 aligned bitstream writer (1% slower on p3 but perhaps its faster on p4?)
Originally committed as revision 296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 22:43:26 +00:00
Michael Niedermayer
17592475b3 alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 15:43:16 +00:00
Juanjo
e03c341ef3 - More work on preliminary bit rate control, just to be able to get an
average variance for picture's MBs so we can adjust qscale on the MB layer.

Originally committed as revision 294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 06:10:50 +00:00
Juanjo
37fbfd0a91 - Now the ME is done for the entire picture when enconding, the
DCT/Quantization is done after we have calculated all the MV of the picture.
- This is the preamble for a better bit rate control.

Originally committed as revision 293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-10 01:56:50 +00:00
Juanjo
81401c1fbc - Fixes on RTP and GOB headers for H.263.
- RTP callback system implemented for H.263/H.263+.
- Bug fix on DC coefficients of H.263.
- H.263 decoder now returns PTS on picture number.

Originally committed as revision 292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 16:59:56 +00:00
Arpi
3cb32e3d1f PATCH by Rik Snel <rsnel@cube.dyndns.org>
this includes the range for quantized dct coefficients in dct_quantize()  (-1023...1023)

Originally committed as revision 291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:25:06 +00:00
Arpi
80e103d04c PATCH by Rik Snel <rsnel@cube.dyndns.org>
this patch enhances the jpeg header writer. It can be asked to omit
quantisation and huffman tables and it can write different horizontal and
vertical sampling factors. (the last thing is useless for libavcodec
itself (because libavcodec only handles YUV420P at ecoder level), but the
values are initialized so that operation of libavcodec is not impaired)

Originally committed as revision 290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 01:23:41 +00:00
Michael Niedermayer
fa778d53ad workaround gcc 2.95.2 bug
Originally committed as revision 289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-09 00:38:44 +00:00
Michael Niedermayer
0b2540a0c1 avoid copying input when encoding non intra stuff too
Originally committed as revision 288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 23:48:24 +00:00
Michael Niedermayer
d8c2efac4b width or height %16 != 0 bugfix
Originally committed as revision 287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-07 02:08:36 +00:00
Michael Niedermayer
6fe84b4327 use multiply instead of divides for DC prediction on X86
Originally committed as revision 286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-05 22:51:23 +00:00
Arpi
5dfd24ac98 workaround gcc bug "m" (0)
avoiding useage of ebx

Originally committed as revision 283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-28 19:34:16 +00:00
Zdenek Kabelac
320680d420 * temporal solution for shared lib compilation
* using ALPHA code optimalization for non ARCH_I386

Originally committed as revision 282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-28 18:06:28 +00:00
Michael Niedermayer
2f349de286 (commit by michael)
mmx & mmx2 quantizer
c dct permutation bugfix
dont copy input on intra only encodings if it can be avoided
dont draw edges on intra only stuff

Originally committed as revision 281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-27 13:30:18 +00:00
Arpi
580b82fa24 (m)jpeg pad/flush with 1 instead of 0, fix by Rik Snel <rsnel@cube.dyndns.org>
Originally committed as revision 280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-26 00:22:25 +00:00
Michael Niedermayer
2ddeed44a5 (commit by michael)
motion-estimation on width/height not divisable through 16 files bugfix

Originally committed as revision 279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 19:06:47 +00:00
Michael Niedermayer
d2b3c3d7bb (commit by michael)
dc coeff isnt dequantized (bug reported by falk hueffner)

Originally committed as revision 278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 15:25:11 +00:00
Michael Niedermayer
4e3269e87f (commit by michael)
quantizer range bugfix (mpeg1 & mpeg4 encoding)

Originally committed as revision 277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-24 14:34:03 +00:00
Nick Kurshev
c7997007be Small simple idct improvement for Alpha by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Originally committed as revision 276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-21 17:46:42 +00:00
Nick Kurshev
1e98dffb7a Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Originally committed as revision 274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-20 14:48:02 +00:00
Nick Kurshev
4bdd9157cc Cygwin's mangling by Felix Buenemann <atmosfear@users.sourceforge.net>
Originally committed as revision 273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-20 14:30:34 +00:00
Michael Niedermayer
0a8d8945fd (commit by michael)
faster simple idct in MMX

Originally committed as revision 269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-17 20:00:41 +00:00
Michael Niedermayer
ae40484c1c (commit by michael)
bye bye weird al rounding bug ;)

Originally committed as revision 268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 22:22:41 +00:00
Michael Niedermayer
5975626d6f (commit by michael)
emms

Originally committed as revision 267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 05:02:26 +00:00
Michael Niedermayer
3d9fccbf0f (commit by michael)
draw_edges_mmx()

Originally committed as revision 266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-15 04:07:29 +00:00
Michael Niedermayer
4973971e37 (commit by michael)
faster simple_idct in C

Originally committed as revision 265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-14 04:39:59 +00:00
Michael Niedermayer
6f903d8e27 (commit by michael)
16-bit divide instead of 32-bit on x86 in msmpeg_pred_dc()

Originally committed as revision 264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-14 04:34:52 +00:00
Michael Niedermayer
8bdbae01fe (commit by michael)
memset() in MMX

Originally committed as revision 263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-14 04:29:19 +00:00
Michael Niedermayer
99180fe39d (commit by michael)
new msmpeg4 dequantizer did dequantize too early

Originally committed as revision 261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-13 06:12:35 +00:00
Michael Niedermayer
badaf88eeb (commit by michael)
dequantizers skip trailing zeros
msmpeg4 non-intra decoder has its dequantizer "build in" now

Originally committed as revision 260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-13 04:59:37 +00:00
Michael Niedermayer
05f361f0c7 (commited by michael / arpi was crazy enough to give me his password)
fixed a bug in get_vlc() when using the ALT_BITSTREAM_READER (rv10 & mpeg12 decoders where not working)
some optimizations
 replaced a if() with a >>
 changed get_bits1() a bit so it hopefully is faster on p4

Originally committed as revision 259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-12 20:21:51 +00:00
Arpi
eede215681 rv10 sig11 fix by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-12 14:36:40 +00:00
Michael Niedermayer
5b3438c630 different fix, s->mbintra_table used only if h263_pred set. - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 22:07:12 +00:00
Vladimir Dergachev
01dbbd0a9a This fixes segfaults because of uninitialized s->mbintra_table variable - patch by Vladimir Dergachev <volodya@mindspring.com>
Originally committed as revision 256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:32:34 +00:00
Michael Niedermayer
6fb904ce30 s->c_dc_scale was 7 if s->qscale==2 but should be 8 (the bug is visible in deep red areas in high bitrate clips) - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:27:04 +00:00
Arpi
477c35a9f0 mpeg4 encoder fix by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:23:48 +00:00
Michael Niedermayer
3587d501a3 aligned bitstream support (optional) - patch by ichael Niedermayer <michaelni@gmx.at>
Originally committed as revision 253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-11 21:21:20 +00:00
Michael Niedermayer
27a3e2c5e0 another bitstream reader code (faster on intel cpus) - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:56:05 +00:00
Michael Niedermayer
bff6ecaa9c AC table reset (memset) optimization - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:53:21 +00:00
Michael Niedermayer
5a24083859 fix for non-mmx runtimedetect encoding bugs - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:51:45 +00:00
Michael Niedermayer
ef093645ef fix different UMV handling for mpeg4 vs. h263 - patch by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:46:40 +00:00
Michael Niedermayer
f4470e0936 print cpu flags
Originally committed as revision 248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-10 00:41:53 +00:00
Stephen Davies
fb4a9613ee qscale estimate fix, diff extended to 64bit wide. patch by Stephen Davies <steve@daviesfam.org>
Originally committed as revision 247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-08 00:28:55 +00:00
Michael Niedermayer
3046f265b9 fix slices when code=0x18, patch by Michael Niedermayer <michael@mplayer.dev.hu>
Originally committed as revision 246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-01-08 00:21:41 +00:00
Arpi
3a842ea5d1 informal msg
Originally committed as revision 238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-26 14:02:08 +00:00
Arpi
98f3b098f9 avcodec_find_encoder_by_name() patch by Alex
Originally committed as revision 237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-23 22:25:18 +00:00
Arpi
393fe8dd8e unrestricted MC fixed - thanks to Michael Niedermayer for idea
Originally committed as revision 236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-16 12:44:34 +00:00
Arpi
37e8dcda36 new IDCT code by Michael Niedermayer (michaelni@gmx.at) - #define SIMPLE_IDCT to enable
Originally committed as revision 235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-09 12:39:54 +00:00
Arpi
d962f6fd3a new IDCT code by Michael Niedermayer (michaelni@gmx.at) - #define SIMPLE_IDCT to enable
Originally committed as revision 234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-09 12:04:09 +00:00
Juanjo
644d98a4f2 - Preliminary RTP friendly mode for H.263.
- GOB headers for H.263 coding on RTP mode.
- Improved GOB header detection for H.263 decoder.

Originally committed as revision 222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-19 02:13:14 +00:00
Juanjo
96815ce9e2 - Added support to Inter4V+Q MBs to H.263 decoder.
- Advanced Prediction Mode activated for H.263 decoder.
- Bug fixed on H.263+ header parsing for UFEP.
- Now we can decode VIVO v1 streams :)

Originally committed as revision 221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-17 21:14:54 +00:00
Juanjo
9eaa46906b - Bug fixed on H.263 decoder initialization.
Originally committed as revision 220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-17 15:43:04 +00:00
Juanjo
8547282b6c - Bug fix on MV prediction for MPEG4 caused by new H.263 GOB code.
Originally committed as revision 215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-13 01:21:35 +00:00
Juanjo
102d39088b - Fixed a bug on H.263 MV prediction for MB on GOBs limits.
- Now we can decode H.263v1 streams found on QT without problems.

Originally committed as revision 214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-12 05:19:55 +00:00
Nick Kurshev
f12e206b47 Let loops will be aligned
Originally committed as revision 213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-11 17:55:54 +00:00
Nick Kurshev
a822a47983 fixed gcc-3.0.x compilation (by Michael Niedermayer)
Originally committed as revision 211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-10 14:36:12 +00:00
Arpi
ebbe52f1da postprocessing array increased to handle HDTV resolutions (1920x1152)
Originally committed as revision 206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-05 18:23:31 +00:00
Arpi
7f3f5ec87b dct_unquantize_h263_mmx() by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-03 02:22:48 +00:00
Juanjo
4949028f85 - Bug fix on inter MCBPC table for inter+q.
- H.263/H.263+ decoder now knows GOB start codes.
- H.263/H.263+ decoder now returns the size of the stream on the first call.
- Added show_bits() functions to see the buffer without loosing the bits.
- TODO: H.263v1 UMV parsing is buggy.

Originally committed as revision 204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-11-03 00:49:53 +00:00
Zdenek Kabelac
92d24f49f8 * fixed decoding busy loop
Originally committed as revision 203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-31 19:40:53 +00:00
Nick Kurshev
18c599db04 missing header
Originally committed as revision 197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-27 13:34:10 +00:00
Nick Kurshev
f840692ffb headers installation
Originally committed as revision 196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-27 12:40:13 +00:00
Nick Kurshev
0fd944424b Shared objects support
Originally committed as revision 194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-27 12:04:27 +00:00
Zdenek Kabelac
2d83f323d6 * and finaly avoid deadlock at the end of audio stream
Originally committed as revision 183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 20:20:01 +00:00
Zdenek Kabelac
de5123dc35 * fixes to avoid crash when broken mp3 header is found
Originally committed as revision 182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:58:30 +00:00
Zdenek Kabelac
c152c98327 * simple fix to avoid memcpy with len < 0
Originally committed as revision 180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:03:33 +00:00
Zdenek Kabelac
525782f33f * prevent crash in decoder
Originally committed as revision 179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:02:55 +00:00
Juanjo
ce68c16f41 Added Juergen Keil fix on quant_tab[4] type.
Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-17 18:05:35 +00:00
Arpi
79e7b30557 exporting qscale data for postprocessing (for MPlayer)
Originally committed as revision 164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-16 23:10:38 +00:00
Fabrice Bellard
a190b7e94e fixed pcm bitrate
Originally committed as revision 149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-24 23:29:46 +00:00
Fabrice Bellard
f674bf7105 suppressed mpglib
Originally committed as revision 141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:17:46 +00:00
Fabrice Bellard
a96b68b717 added pcm codecs
Originally committed as revision 140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:16:51 +00:00
Arpi
829fa996a9 CONFIG_MPGLIB no more needed
Originally committed as revision 136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-21 21:30:15 +00:00
Fabrice Bellard
da115c8a3e copyright change
Originally committed as revision 133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-17 21:19:35 +00:00
Fabrice Bellard
afa982fdae corrected mpeg audio encoding overflows - now it should give correct quality even for very high volumes
Originally committed as revision 132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-17 21:19:09 +00:00
Fabrice Bellard
c34270f5e8 mlib merge
Originally committed as revision 131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:54:00 +00:00
Fabrice Bellard
8d67072fea fixed symetric quantization (better quality!)
Originally committed as revision 130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:52:58 +00:00
Fabrice Bellard
73120e555c version change
Originally committed as revision 129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:52:17 +00:00
Fabrice Bellard
9dbf938977 added get_bits_count()
Originally committed as revision 120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:43:01 +00:00
Fabrice Bellard
2456e28d91 merged code and tables between encoder and decoder
Originally committed as revision 119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:42:25 +00:00
Fabrice Bellard
9a9b2b5dd8 added mpeg audio decoder tables
Originally committed as revision 118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:41:10 +00:00
Fabrice Bellard
239c2f4cd0 added completely new mpeg audio decoder (integer only, free format support, lsf/mpeg25 support, high/low precision support, simpler code)
Originally committed as revision 117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:40:28 +00:00
Fabrice Bellard
c8fbc22dee suppressed mpglib
Originally committed as revision 116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:37:36 +00:00
Nick Kurshev
3d2043852d memalign autodetection
Originally committed as revision 115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-13 07:16:59 +00:00
Juanjo
544286b3d3 Moved some H.263+ variables to MpegEncContext to be thread-safe.
Increase video_buffer on ffmpeg to avoid buffer overrun on big pictures.


Originally committed as revision 114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-31 06:21:27 +00:00
Juanjo
6dbd39fe70 Added support to Unrestricted Motion Vectors (UMV)
on H.263+ encoding/decoding. According to Annex D.
Now MV on H.263+ are 32x32 long.


Originally committed as revision 113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-28 23:32:34 +00:00
Nick Kurshev
3615700918 Aligned malloc. Another 10% of speedup.
Originally committed as revision 111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-20 16:01:35 +00:00
Fabrice Bellard
a74127c071 win32 fixes
Originally committed as revision 110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:33:03 +00:00
Fabrice Bellard
d0a0b2483e motion test
Originally committed as revision 109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:31:26 +00:00
Fabrice Bellard
4300403eca suppressed nasm stuff
Originally committed as revision 108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:30:51 +00:00
Fabrice Bellard
64ccc83c2b removed
Originally committed as revision 105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:26:09 +00:00
Fabrice Bellard
694ec0612b suppressed nasm dependancy - rewrote forward DCT and motion estimation code
Originally committed as revision 104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:25:32 +00:00
Fabrice Bellard
58f26ba916 changed opendivx to mpeg4
Originally committed as revision 102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:12:23 +00:00
Fabrice Bellard
935442b522 log2 to av_log2
Originally committed as revision 101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:11:31 +00:00
Fabrice Bellard
0c23ead115 copy avctx
Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:11:03 +00:00
Fabrice Bellard
9d02db7a17 fix got_picture output
Originally committed as revision 99 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:10:39 +00:00
Fabrice Bellard
bf89e6b1f9 added draw_horiz_band test
Originally committed as revision 98 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:09:47 +00:00
Fabrice Bellard
0617e07391 log2 to av_log2 - added integer version define
Originally committed as revision 97 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:09:28 +00:00
Fabrice Bellard
34763c151f renamed log2 to av_log2
Originally committed as revision 96 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:07:42 +00:00
Fabrice Bellard
1a56543279 win32 fixes
Originally committed as revision 84 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:48:05 +00:00
Fabrice Bellard
d95ecd058e better vol header parsing for mpeg4
Originally committed as revision 83 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:46:21 +00:00
Fabrice Bellard
3d03c0a24e arm optimizations
Originally committed as revision 82 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:45:36 +00:00
Fabrice Bellard
92651f67a0 arm specific code
Originally committed as revision 79 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:38:25 +00:00
Fabrice Bellard
519c2b6d11 moved matrix init away from MPV_common_init()
Originally committed as revision 77 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-12 00:52:37 +00:00
Fabrice Bellard
25ed7f9235 fixed mpeg2 non intra dequant - fixed MPEG1 and 2 matrix parsing
Originally committed as revision 76 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-12 00:52:01 +00:00
Fabrice Bellard
d753173a55 fixed last zero mv for field - fixed mismatch handling for intra coefs
Originally committed as revision 75 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 22:08:23 +00:00
Fabrice Bellard
514547517b fixed mpeg2 interlaced DCT
Originally committed as revision 74 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 22:07:21 +00:00
Fabrice Bellard
ce6758821d removed incomplete seek patch
Originally committed as revision 73 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:15:52 +00:00
Fabrice Bellard
cf0875950d picture utils
Originally committed as revision 72 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:04:31 +00:00
Fabrice Bellard
0ee50938f1 fixed mpeg2 qscale decoding
Originally committed as revision 71 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:04:08 +00:00
Fabrice Bellard
991ae7b6a4 added interlaced MJPEG support
Originally committed as revision 70 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:03:30 +00:00
Fabrice Bellard
85c242d800 added 422P, 444P support - added deinterlace support - added xxx to RGB24 convertion
Originally committed as revision 69 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:03:02 +00:00
Fabrice Bellard
4af5e4ef5e fix msmpeg4 seek
Originally committed as revision 68 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:01:04 +00:00
Fabrice Bellard
0cfa9713f7 export for imgconvert usage
Originally committed as revision 67 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:00:43 +00:00
Fabrice Bellard
219b06c66b new img_convert API - added deinterlacing filter
Originally committed as revision 66 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:00:05 +00:00
Fabrice Bellard
2cb1773ddc fixed mb_intra_vlc decoding table size
Originally committed as revision 61 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 18:56:40 +00:00
Fabrice Bellard
486171d7ba return dummy quality to avoid bug in -sameq case - forgot emms in error case
Originally committed as revision 60 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 22:11:48 +00:00
Fabrice Bellard
425dddb7f1 fixed mpeg1 first block bug (pb with black picture optimisation for B frames)
Originally committed as revision 59 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 21:57:07 +00:00
Fabrice Bellard
b9ecd1ee74 fixed mpeg1 last block bug (mb stuffing code was not included in vlc table...)
Originally committed as revision 58 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 21:53:28 +00:00
Fabrice Bellard
186f8ae1f5 added forgotten emms() - fix various segmentation faults when using mjpeg
Originally committed as revision 57 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 19:08:50 +00:00
Nick Kurshev
c10e9f70c0 Portability and testing issues
Originally committed as revision 55 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 16:26:51 +00:00
Fabrice Bellard
8def029919 added mmx idct
Originally committed as revision 53 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:49:50 +00:00
Fabrice Bellard
3c054a1cdd fixed scan protos
Originally committed as revision 52 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:49:11 +00:00
Fabrice Bellard
4f1c7e3c92 fixed block permutation in encoder (not optimal - should move it in forward DCT code)
Originally committed as revision 51 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:48:42 +00:00
Fabrice Bellard
689b775b85 updated scans
Originally committed as revision 50 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:47:28 +00:00
Fabrice Bellard
6083244881 changed quant matrix order (should fix mmx mpeg decoding bug)
Originally committed as revision 49 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:47:08 +00:00
Fabrice Bellard
47476fa9fd fixed mjpeg matrix quant encoding and decoding
Originally committed as revision 48 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:46:19 +00:00
Fabrice Bellard
13b5475264 permuted coefs in normal IDCT to avoid having different cases there
Originally committed as revision 47 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:45:35 +00:00
Fabrice Bellard
dc541ee74b added idct reference code
Originally committed as revision 46 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:43:37 +00:00
Fabrice Bellard
e0eac44e82 added block permutation functions
Originally committed as revision 45 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:43:19 +00:00
Fabrice Bellard
9e1586fce9 updated dct-test to test IDCTs too
Originally committed as revision 44 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:42:45 +00:00
Fabrice Bellard
de1ee36ab9 added idct mmx
Originally committed as revision 43 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:42:22 +00:00
Fabrice Bellard
fe97c87d65 updated mmx macros
Originally committed as revision 42 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:40:52 +00:00
Fabrice Bellard
f33802a005 added idct mmx code
Originally committed as revision 41 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:40:29 +00:00
Fabrice Bellard
bbc0d0c1fe use default huffman tables if none given
Originally committed as revision 40 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 02:46:46 +00:00
Fabrice Bellard
b182e68ac5 added 422P and 444P support - fixed block parsing error
Originally committed as revision 39 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:54:05 +00:00
Fabrice Bellard
d9fea0b588 added 422P and 444P formats (need to patch ffmpeg.c so that it is handled in all the program)
Originally committed as revision 38 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:53:21 +00:00
Fabrice Bellard
e23884046d added correct component id handling
Originally committed as revision 37 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 01:04:59 +00:00
Fabrice Bellard
98be975df1 types fix
Originally committed as revision 36 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:47:50 +00:00
Fabrice Bellard
4e66ab3bab added MJPEG decoder + comments
Originally committed as revision 35 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:47:03 +00:00
Fabrice Bellard
10b7b472d9 added MJPEG decoder, renamed mjpegenc.c to mjpeg.c
Originally committed as revision 34 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:44:48 +00:00
Nick Kurshev
1d20b11aa4 Suppressing external gas stuff to improve portability to Win32
Originally committed as revision 33 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-05 16:49:57 +00:00
Arpi
612476ef9b get_bits() specialization, gives 4\speedup
Originally committed as revision 32 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-04 00:46:50 +00:00
Arpi
2931ecb90f inlineing common case of get_bits() -> gives 2speedup. more optim coming soon...
Originally committed as revision 31 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-03 23:09:15 +00:00
Arpi
4af7bcc185 MMX/MMXEXT iDCT support, using external functions currently defined in libmpeg2
Gives average 13-20% mpeg decoding speedup on x86 systems.


Originally committed as revision 30 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-03 18:33:03 +00:00
Arpi
2d6d0c1d66 - removed #include ../config.h, because it's included from common.h
which is included from avcodec.h which is included from those files...


Originally committed as revision 29 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-02 18:46:26 +00:00
Nick Kurshev
54329dd5a5 Adding fastmemcpy stuff to speedup mplayer project
Originally committed as revision 27 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-02 08:29:38 +00:00
Fabrice Bellard
96f4e5135c added external cpuid code to solve -fPIC and gcc unclear constraints problems
Originally committed as revision 25 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:51:20 +00:00
Fabrice Bellard
0725406c94 added cpuid.s
Originally committed as revision 24 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:50:04 +00:00
Fabrice Bellard
35b2a786f5 renamed - use of s->dct_unquantize function pointer - SHOULD add faster h263 mmx specific unquantization stuff
Originally committed as revision 23 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:28:35 +00:00
Fabrice Bellard
21af69f787 use block[] in structure to have it aligned on 8 bytes for mmx optimizations - dct_unquantize is always a function pointer - added specialized dct_unquantize_h263
Originally committed as revision 22 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:26:26 +00:00
Fabrice Bellard
b7ec19d39e use block[] in structure to have it aligned on 8 bytes for mmx optimizations
Originally committed as revision 21 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:24:58 +00:00
Fabrice Bellard
caa6348e96 comments
Originally committed as revision 20 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:23:11 +00:00
Fabrice Bellard
420b073bbc added HAVE_AV_CONFIG_H
Originally committed as revision 19 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:22:07 +00:00
Fabrice Bellard
2b0c1a441b added mpegvideo_mmx.c - added HAVE_AV_CONFIG_H
Originally committed as revision 18 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:21:37 +00:00
Nick Kurshev
a9b3f63084 Sync with mplayer's stuff
Originally committed as revision 14 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 09:04:34 +00:00
Fabrice Bellard
3bb4e23a8a added skip macroblock optimization (big perf win on black regions for example)
Originally committed as revision 13 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:43:41 +00:00
Fabrice Bellard
fb16b7e7b3 added emms_c() macro which should can used in c code in both mmx/non mmx cases
Originally committed as revision 12 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:42:03 +00:00
Fabrice Bellard
7d650cb540 suppressed no longer needed emms()
Originally committed as revision 11 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:38:55 +00:00
Fabrice Bellard
a9e3707d6b fixed cpuid macro to allow PIC compiling
Originally committed as revision 10 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-24 20:37:52 +00:00
Fabrice Bellard
d771bcae33 added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
Originally committed as revision 9 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:58:31 +00:00
Fabrice Bellard
980fc7b834 fixed config for direct mplayer build compatibility
Originally committed as revision 8 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:06:54 +00:00
Fabrice Bellard
d78647e8b4 fixed unsigned pb
Originally committed as revision 7 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 18:58:11 +00:00
Fabrice Bellard
de6d9b6404 Initial revision
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-22 14:18:56 +00:00