Commit Graph

7725 Commits

Author SHA1 Message Date
Kostya Shishkov 77298e99b7 Make it possible to disable loop filter in VC-1.
Unlike H.264 it does not affect picture quality on any files I've watched.

Originally committed as revision 15295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 06:35:37 +00:00
Robert Swain febcbd65fa Correct pulse amplitude application - a negative or 0 coefficient implies the
pulse is subtracted, else it is added. Also avoid a divide by 0.

Based on a patch by Alex Converse (alex converse gmail com)
Fixes part of issue632

Originally committed as revision 15294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 01:22:34 +00:00
Jason Garrett-Glaser 67ce33162a Fix incorrect printing of brainfart cropping error in some cases in progressive mode.
Originally committed as revision 15293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 00:34:39 +00:00
Vitor Sessak fd8897e803 Convert table to integer.
Originally committed as revision 15292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-10 19:00:02 +00:00
Vitor Sessak 955bcc2102 Convert two tables to signed decimal
Originally committed as revision 15290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 19:20:20 +00:00
Vitor Sessak 90c6805ac4 Cosmetics: remove useless parentheses
Originally committed as revision 15288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 16:51:39 +00:00
Vitor Sessak 710428c4ec Remove ChannelData.lev var and use ChannelData.level instead
Originally committed as revision 15287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 16:50:11 +00:00
Anuradha Suraparaju d7c96d6623 Add support for creating Simple Profile (I-frame only, no arithmetic coding)
Dirac bytestreams.  patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 15286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 14:47:47 +00:00
Jai Menon 91ba93e68b vorbis_enc : set coded_frame->pts value to running sample count.
This is a temporary fix for issue 502 and will not be required when
we start using AVFrame for audio codecs.

Originally committed as revision 15285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 14:42:50 +00:00
Aurelien Jacobs 03ea32f850 remove one more stuff under #if LIBAVCODEC_VERSION_INT
which was forgotten in r15263

Originally committed as revision 15278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 23:47:50 +00:00
Baptiste Coudurier 9345ae6f78 alac : fix case where bits_per_sample is not set.
Patch by Baptiste

Originally committed as revision 15275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 19:05:46 +00:00
Vitor Sessak c7e34ddc42 Remove useless comment
Originally committed as revision 15274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:52:00 +00:00
Vitor Sessak 20242eed99 Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
one-dimensional array.

Originally committed as revision 15273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:51:33 +00:00
Michael Niedermayer 475e4e2ffc Remove deprecated avcodec_decode_audio() this one was not under #ifdef.
Originally committed as revision 15272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:31:48 +00:00
Michael Niedermayer 9d21494776 avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
Originally committed as revision 15271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:29:08 +00:00
Michael Niedermayer 047599a4ba Rename error_resilience to error_recognition.
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Vitor Sessak 3e30f46f8b Pass directly variable 'a' to interp instead of evaluating it from num_blocks
Originally committed as revision 15269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:29 +00:00
Vitor Sessak b28bdce688 Simplify if() in copy_and_dup()
Originally committed as revision 15268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:16:00 +00:00
Vitor Sessak 8022a8ebc2 Add av_cold attribute to decode_init()
Originally committed as revision 15267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:14:37 +00:00
Vitor Sessak c96a764c72 Cosmetics: Make the two additional units in size more clear
Originally committed as revision 15266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:13:53 +00:00
Michael Niedermayer 38360668d6 Remove DEFAULT_FRAME_RATE_BASE.
Originally committed as revision 15265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:28:07 +00:00
Michael Niedermayer 23694e27f0 Drop deprecated SAMPLE_FMT_S24.
Originally committed as revision 15264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:24:16 +00:00
Michael Niedermayer d578432db8 Remove stuff under #if LIBAVCODEC_VERSION_INT.
Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:03:17 +00:00
Luca Abeni dd1c8f3e6e Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!

Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 14:24:59 +00:00
Michael Niedermayer 71375e0500 Try to fix wma regression.
Originally committed as revision 15261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 13:37:12 +00:00
Diego Biurrun f7b1d72f45 Relicense as ISC with the authors' permission.
Originally committed as revision 15260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 05:17:17 +00:00
Diego Biurrun 3943bd0901 Relicense from LGPL 2.1 to LGPL 2.1 or later with the authors' permission.
Originally committed as revision 15258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 21:02:28 +00:00
Vitor Sessak 42fe17a018 Check output buffer size before decoding.
Originally committed as revision 15257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 20:21:15 +00:00
Vitor Sessak d636f0cc39 Cosmetics: rename vars s/ctx/chd/
Originally committed as revision 15256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 20:18:18 +00:00
Vitor Sessak f36aec3b5e Exploit symmetry to reduce size of tables by half.
Originally committed as revision 15255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 17:20:55 +00:00
Vitor Sessak b8a5f62144 Cosmetics: s/short/int16_t/
Originally committed as revision 15253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 14:33:01 +00:00
Vitor Sessak b1547a7817 Remove cast, now tables are signed.
Originally committed as revision 15252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 14:32:10 +00:00
Vitor Sessak fc1d3e004f Convert tables to signed and decimal.
Originally committed as revision 15251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 14:30:54 +00:00
Vitor Sessak e7ff335935 Remove unused table entries.
Originally committed as revision 15250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:55:26 +00:00
Vitor Sessak 934bc927a8 Remove commented out code.
Originally committed as revision 15249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:47:30 +00:00
Vitor Sessak f9f7210e5e Use FFMIN() instead of rewriting it.
Originally committed as revision 15248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:46:09 +00:00
Vitor Sessak 42c7aeea67 Factorize broken clipping in its own function and document it.
Originally committed as revision 15247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:42:34 +00:00
Vitor Sessak 5659156760 Cosmetics: whitespace/linebreaks
Originally committed as revision 15246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:55:47 +00:00
Vitor Sessak c8e0861e49 Use the same 8 bit -> 16 bit conversion as QuickTime.
Originally committed as revision 15245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:46:55 +00:00
Vitor Sessak 4ea70242a8 Do not share context variables between channels and do not zero them at
decode_frame(). This makes the output much closer to that of the binary decoder.

Originally committed as revision 15244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:42:57 +00:00
Vitor Sessak b6d544f54e Remove output pointer from context
Originally committed as revision 15243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:38:37 +00:00
Stefan Gehrer bd547403fe add 1bpp decoding function and extend 4bpp function to
also cover the 2bpp case.

Originally committed as revision 15242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 07:36:03 +00:00
Diego Biurrun 4f31c990d8 license header consistency cosmetics.
Originally committed as revision 15227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 16:15:45 +00:00
Diego Biurrun a0528ed7de license header consistency cosmetics
Originally committed as revision 15225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 16:09:57 +00:00
Vladimir Voroshilov 1357b1de00 Remove not approved parts.
Originally committed as revision 15224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 13:45:02 +00:00
Vitor Sessak 4fdb41a84b Test a var for overflow just after it is set
Originally committed as revision 15223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 11:46:29 +00:00
Vitor Sessak a90fbeec2a Remove useless parentheses.
Originally committed as revision 15222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 11:45:10 +00:00
Reimar Döffinger 2881a656ff Fix nuv decoder to use reget_buffer for non-keyframes and correctly
identify non-keyframe RTJPEG frames.

Originally committed as revision 15217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-05 16:31:26 +00:00
Vitor Sessak e10049bef5 Cosmetics: indent after last commit and remove useless braces
Originally committed as revision 15214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-05 00:01:23 +00:00
Vitor Sessak 1b0dc0120d Simplify: use a for instead of unrolling by hand
Originally committed as revision 15213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-05 00:00:20 +00:00