Commit Graph

15891 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
Michael Niedermayer bdf397ba4b Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.
Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 03:22:39 +00:00
Michael Niedermayer e69bd29425 Factorize yuv2packedXinC().
Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 02:36:51 +00:00
Michael Niedermayer 7b5d7b9e85 Set rgb2yuv constants more accurately, makes no real difference though.
Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 01:49:35 +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
Michael Niedermayer 85a51e6bd5 Fix chroma yuv->rgb tables for jpeg style yuv, this was missed as it
only affects the C code while mmx uses different tables.

Originally committed as revision 27576 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 00:09:01 +00:00
Michael Niedermayer 5fe4aad711 Correct normalization constant for the vertical filter, iam not
completely sure why this was at such incorrect value, but i could
not find any problems when it was set correctly.

Originally committed as revision 27575 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 23:23:47 +00:00
Michael Niedermayer ac0ad72981 Make the 2point linear interpolation coefficients correct even for the
nearly never occuring 0.0, 1.0.

Originally committed as revision 27574 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 22:41:55 +00:00
Michael Niedermayer 33a67bd6c7 Fix overflow.
Originally committed as revision 27573 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 20:47:16 +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
Michael Niedermayer ff9a056d1a Fix build failure due to %%eip on x86_64.
Originally committed as revision 27569 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 17:50:49 +00:00
Michael Niedermayer 6b79dbce0c Change RGB2YUV_SHIFT from 16 to 15 to make it able to work
with 16bit signed constants (like SIMD might use).

Originally committed as revision 27568 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 16:39:56 +00:00
Michael Niedermayer ba83d86299 Add bgr/rgb15/16/32->UV-half to the macro so theres less code duplication
at the source level.

Originally committed as revision 27567 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 13:55:51 +00:00
Michael Niedermayer e7f656d5fa Clarify convergence_duration.
Originally committed as revision 15291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-10 12:51:49 +00:00
Michael Niedermayer a0baa07aef Factorize RGB/BGR15/16/32->UV by using the preprocessor.
Originally committed as revision 27566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 03:56:06 +00:00
Michael Niedermayer 214892ee42 Factorize rgb/bgr15/16/32->Y by using the preprocessor.
Originally committed as revision 27565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 03:42:45 +00:00
Michael Niedermayer 2f60f6297c Make SWS_FULL_CHR_H_INP work.
Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 02:28:38 +00:00
Diego Biurrun 58f0ec5ff6 spelling/wording cosmetics
Originally committed as revision 27563 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 00:02:31 +00:00
Michael Niedermayer cbcb408ff6 More accurate rounding for 8bit inputs.
Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 23:39:32 +00:00
Michael Niedermayer dfb09bd1d4 Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,
and does not throw half the chroma away.

Originally committed as revision 27561 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 23:30:06 +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
Baptiste Coudurier 00adc1e5dc set bits_per_coded_sample according to new lavc api
Originally committed as revision 15289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 18:32:50 +00:00
Michael Niedermayer 0f5d4aa83b Add table of rgb->yuv convertion coefficients.
Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 18:01:25 +00:00
Michael Niedermayer 35ab2b6445 More correct rounding for the rgb/bgr->yuv converters.
Originally committed as revision 27557 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 16:55:58 +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 c16582579b matroskadec: demux relevant subtitle packets after a seek
only works for subtitle tracks which were properly indexed up to the seek point

Originally committed as revision 15284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 12:10:25 +00:00
Aurelien Jacobs 82360e670d matroskadec: ensure that overlapping subtitles are not added to the index
Originally committed as revision 15283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 12:07:10 +00:00
Aurelien Jacobs 20f7466550 matroskadec: after seeking, skip up to the desired timestamp instead of
the desired stream

Originally committed as revision 15282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 12:01:51 +00:00
Aurelien Jacobs f14a201b32 matroskadec: move timecode calculation a little earlier
so as to be able to use it in other part of the code

Originally committed as revision 15281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 11:54:35 +00:00
Aurelien Jacobs 3fc9d7cec4 matroskadec: sanitize track time_scale before using it
fix issue628

Originally committed as revision 15280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 11:23:48 +00:00
Michael Niedermayer aa13b0fc55 Prevent overflows during mpeg->jpeg yuv.
Originally committed as revision 27552 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 03:35:07 +00:00
Baptiste Coudurier 66ec3d56a2 print stream index in decimal not in hex, easier for debugging
Originally committed as revision 15279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 02:56:13 +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 bf912a482b set block align in av_write_header if not set, fix issue #489
Originally committed as revision 15277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 19:37:22 +00:00
Baptiste Coudurier bed4fc54c9 write copyright metadata tag
Originally committed as revision 15276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 19:11:53 +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