OSDN Git Service

coroid/libav_saccubus.git
16 years agoDo not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
Michael Niedermayer [Fri, 12 Sep 2008 02:05:37 +0000 (02:05 +0000)]
Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
because they do not accurately round.

Originally committed as revision 27584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agomatroskadec: simplify, first_timecode is already in the index
Aurelien Jacobs [Fri, 12 Sep 2008 00:06:06 +0000 (00:06 +0000)]
matroskadec: simplify, first_timecode is already in the index
no need to duplicate it

Originally committed as revision 15302 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: prevent seeking before the first keyframe of the reference stream
Aurelien Jacobs [Thu, 11 Sep 2008 22:42:17 +0000 (22:42 +0000)]
matroskadec: prevent seeking before the first keyframe of the reference stream

Originally committed as revision 15301 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago100000000000000l, forgot to commit header change for r27580.
Michael Niedermayer [Thu, 11 Sep 2008 22:02:15 +0000 (22:02 +0000)]
100000000000000l, forgot to commit header change for r27580.

Originally committed as revision 27583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoCosmetics: align spec references
Vitor Sessak [Thu, 11 Sep 2008 19:10:26 +0000 (19:10 +0000)]
Cosmetics: align spec references

Originally committed as revision 15300 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRename function: s/colmult/apply_window/
Vitor Sessak [Thu, 11 Sep 2008 19:06:54 +0000 (19:06 +0000)]
Rename function: s/colmult/apply_window/

Originally committed as revision 15299 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoReindent after r15927, see discussion in "[PATCH] rtsp cleanup part 1:
Ronald S. Bultje [Thu, 11 Sep 2008 17:43:44 +0000 (17:43 +0000)]
Reindent after r15927, see discussion in "[PATCH] rtsp cleanup part 1:
remove duplicate code" thread on ML.

Originally committed as revision 15298 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFactorize out common code for opening of the RTP parsing context between
Ronald S. Bultje [Thu, 11 Sep 2008 17:43:04 +0000 (17:43 +0000)]
Factorize out common code for opening of the RTP parsing context between
SDP and RTSP into a new function. See discussion on ML in "[PATCH] rtsp
cleanup part 1: remove duplicate code" thread.

Originally committed as revision 15297 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix typo that lead to averaging of the same pixel in rgb24ToUV_half().
Michael Niedermayer [Thu, 11 Sep 2008 14:47:18 +0000 (14:47 +0000)]
Fix typo that lead to averaging of the same pixel in rgb24ToUV_half().

Originally committed as revision 27582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoRemove mistakely commited code i used for testing.
Michael Niedermayer [Thu, 11 Sep 2008 14:40:29 +0000 (14:40 +0000)]
Remove mistakely commited code i used for testing.

Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoImplement full horizontal chroma for rgb/bgr24/32 output.
Michael Niedermayer [Thu, 11 Sep 2008 14:39:12 +0000 (14:39 +0000)]
Implement full horizontal chroma for rgb/bgr24/32 output.

Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agomisc spelling/wording/grammar fixes
Diego Biurrun [Thu, 11 Sep 2008 08:13:23 +0000 (08:13 +0000)]
misc spelling/wording/grammar fixes

Originally committed as revision 15296 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake it possible to disable loop filter in VC-1.
Kostya Shishkov [Thu, 11 Sep 2008 06:35:37 +0000 (06:35 +0000)]
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

16 years agoDo not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.
Michael Niedermayer [Thu, 11 Sep 2008 03:22:39 +0000 (03:22 +0000)]
Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.

Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoFactorize yuv2packedXinC().
Michael Niedermayer [Thu, 11 Sep 2008 02:36:51 +0000 (02:36 +0000)]
Factorize yuv2packedXinC().

Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoSet rgb2yuv constants more accurately, makes no real difference though.
Michael Niedermayer [Thu, 11 Sep 2008 01:49:35 +0000 (01:49 +0000)]
Set rgb2yuv constants more accurately, makes no real difference though.

Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoCorrect pulse amplitude application - a negative or 0 coefficient implies the
Robert Swain [Thu, 11 Sep 2008 01:22:34 +0000 (01:22 +0000)]
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

16 years agoFix incorrect printing of brainfart cropping error in some cases in progressive mode.
Jason Garrett-Glaser [Thu, 11 Sep 2008 00:34:39 +0000 (00:34 +0000)]
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

16 years agoFix chroma yuv->rgb tables for jpeg style yuv, this was missed as it
Michael Niedermayer [Thu, 11 Sep 2008 00:09:01 +0000 (00:09 +0000)]
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

16 years agoCorrect normalization constant for the vertical filter, iam not
Michael Niedermayer [Wed, 10 Sep 2008 23:23:47 +0000 (23:23 +0000)]
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

16 years agoMake the 2point linear interpolation coefficients correct even for the
Michael Niedermayer [Wed, 10 Sep 2008 22:41:55 +0000 (22:41 +0000)]
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

16 years agoFix overflow.
Michael Niedermayer [Wed, 10 Sep 2008 20:47:16 +0000 (20:47 +0000)]
Fix overflow.

Originally committed as revision 27573 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoConvert table to integer.
Vitor Sessak [Wed, 10 Sep 2008 19:00:02 +0000 (19:00 +0000)]
Convert table to integer.

Originally committed as revision 15292 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix build failure due to %%eip on x86_64.
Michael Niedermayer [Wed, 10 Sep 2008 17:50:49 +0000 (17:50 +0000)]
Fix build failure due to %%eip on x86_64.

Originally committed as revision 27569 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoChange RGB2YUV_SHIFT from 16 to 15 to make it able to work
Michael Niedermayer [Wed, 10 Sep 2008 16:39:56 +0000 (16:39 +0000)]
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

16 years agoAdd bgr/rgb15/16/32->UV-half to the macro so theres less code duplication
Michael Niedermayer [Wed, 10 Sep 2008 13:55:51 +0000 (13:55 +0000)]
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

16 years agoClarify convergence_duration.
Michael Niedermayer [Wed, 10 Sep 2008 12:51:49 +0000 (12:51 +0000)]
Clarify convergence_duration.

Originally committed as revision 15291 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFactorize RGB/BGR15/16/32->UV by using the preprocessor.
Michael Niedermayer [Wed, 10 Sep 2008 03:56:06 +0000 (03:56 +0000)]
Factorize RGB/BGR15/16/32->UV by using the preprocessor.

Originally committed as revision 27566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoFactorize rgb/bgr15/16/32->Y by using the preprocessor.
Michael Niedermayer [Wed, 10 Sep 2008 03:42:45 +0000 (03:42 +0000)]
Factorize rgb/bgr15/16/32->Y by using the preprocessor.

Originally committed as revision 27565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoMake SWS_FULL_CHR_H_INP work.
Michael Niedermayer [Wed, 10 Sep 2008 02:28:38 +0000 (02:28 +0000)]
Make SWS_FULL_CHR_H_INP work.

Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agospelling/wording cosmetics
Diego Biurrun [Wed, 10 Sep 2008 00:02:31 +0000 (00:02 +0000)]
spelling/wording cosmetics

Originally committed as revision 27563 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoMore accurate rounding for 8bit inputs.
Michael Niedermayer [Tue, 9 Sep 2008 23:39:32 +0000 (23:39 +0000)]
More accurate rounding for 8bit inputs.

Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoRewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,
Michael Niedermayer [Tue, 9 Sep 2008 23:30:06 +0000 (23:30 +0000)]
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

16 years agoConvert two tables to signed decimal
Vitor Sessak [Tue, 9 Sep 2008 19:20:20 +0000 (19:20 +0000)]
Convert two tables to signed decimal

Originally committed as revision 15290 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoset bits_per_coded_sample according to new lavc api
Baptiste Coudurier [Tue, 9 Sep 2008 18:32:50 +0000 (18:32 +0000)]
set bits_per_coded_sample according to new lavc api

Originally committed as revision 15289 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd table of rgb->yuv convertion coefficients.
Michael Niedermayer [Tue, 9 Sep 2008 18:01:25 +0000 (18:01 +0000)]
Add table of rgb->yuv convertion coefficients.

Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoMore correct rounding for the rgb/bgr->yuv converters.
Michael Niedermayer [Tue, 9 Sep 2008 16:55:58 +0000 (16:55 +0000)]
More correct rounding for the rgb/bgr->yuv converters.

Originally committed as revision 27557 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoCosmetics: remove useless parentheses
Vitor Sessak [Tue, 9 Sep 2008 16:51:39 +0000 (16:51 +0000)]
Cosmetics: remove useless parentheses

Originally committed as revision 15288 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove ChannelData.lev var and use ChannelData.level instead
Vitor Sessak [Tue, 9 Sep 2008 16:50:11 +0000 (16:50 +0000)]
Remove ChannelData.lev var and use ChannelData.level instead

Originally committed as revision 15287 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd support for creating Simple Profile (I-frame only, no arithmetic coding)
Anuradha Suraparaju [Tue, 9 Sep 2008 14:47:47 +0000 (14:47 +0000)]
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

16 years agovorbis_enc : set coded_frame->pts value to running sample count.
Jai Menon [Tue, 9 Sep 2008 14:42:50 +0000 (14:42 +0000)]
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

16 years agomatroskadec: demux relevant subtitle packets after a seek
Aurelien Jacobs [Tue, 9 Sep 2008 12:10:25 +0000 (12:10 +0000)]
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

16 years agomatroskadec: ensure that overlapping subtitles are not added to the index
Aurelien Jacobs [Tue, 9 Sep 2008 12:07:10 +0000 (12:07 +0000)]
matroskadec: ensure that overlapping subtitles are not added to the index

Originally committed as revision 15283 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agomatroskadec: after seeking, skip up to the desired timestamp instead of
Aurelien Jacobs [Tue, 9 Sep 2008 12:01:51 +0000 (12:01 +0000)]
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

16 years agomatroskadec: move timecode calculation a little earlier
Aurelien Jacobs [Tue, 9 Sep 2008 11:54:35 +0000 (11:54 +0000)]
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

16 years agomatroskadec: sanitize track time_scale before using it
Aurelien Jacobs [Tue, 9 Sep 2008 11:23:48 +0000 (11:23 +0000)]
matroskadec: sanitize track time_scale before using it
fix issue628

Originally committed as revision 15280 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPrevent overflows during mpeg->jpeg yuv.
Michael Niedermayer [Tue, 9 Sep 2008 03:35:07 +0000 (03:35 +0000)]
Prevent overflows during mpeg->jpeg yuv.

Originally committed as revision 27552 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoprint stream index in decimal not in hex, easier for debugging
Baptiste Coudurier [Tue, 9 Sep 2008 02:56:13 +0000 (02:56 +0000)]
print stream index in decimal not in hex, easier for debugging

Originally committed as revision 15279 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoremove one more stuff under #if LIBAVCODEC_VERSION_INT
Aurelien Jacobs [Mon, 8 Sep 2008 23:47:50 +0000 (23:47 +0000)]
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

16 years agoset block align in av_write_header if not set, fix issue #489
Baptiste Coudurier [Mon, 8 Sep 2008 19:37:22 +0000 (19:37 +0000)]
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

16 years agowrite copyright metadata tag
Baptiste Coudurier [Mon, 8 Sep 2008 19:11:53 +0000 (19:11 +0000)]
write copyright metadata tag

Originally committed as revision 15276 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoalac : fix case where bits_per_sample is not set.
Baptiste Coudurier [Mon, 8 Sep 2008 19:05:46 +0000 (19:05 +0000)]
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

16 years agoRemove useless comment
Vitor Sessak [Mon, 8 Sep 2008 18:52:00 +0000 (18:52 +0000)]
Remove useless comment

Originally committed as revision 15274 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoNormalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
Vitor Sessak [Mon, 8 Sep 2008 18:51:33 +0000 (18:51 +0000)]
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

16 years agoRemove deprecated avcodec_decode_audio() this one was not under #ifdef.
Michael Niedermayer [Mon, 8 Sep 2008 18:31:48 +0000 (18:31 +0000)]
Remove deprecated avcodec_decode_audio() this one was not under #ifdef.

Originally committed as revision 15272 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoavcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
Michael Niedermayer [Mon, 8 Sep 2008 18:29:08 +0000 (18:29 +0000)]
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

16 years agoRename error_resilience to error_recognition.
Michael Niedermayer [Mon, 8 Sep 2008 18:18:49 +0000 (18:18 +0000)]
Rename error_resilience to error_recognition.

Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPass directly variable 'a' to interp instead of evaluating it from num_blocks
Vitor Sessak [Mon, 8 Sep 2008 18:18:29 +0000 (18:18 +0000)]
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

16 years agoSimplify if() in copy_and_dup()
Vitor Sessak [Mon, 8 Sep 2008 18:16:00 +0000 (18:16 +0000)]
Simplify if() in copy_and_dup()

Originally committed as revision 15268 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd av_cold attribute to decode_init()
Vitor Sessak [Mon, 8 Sep 2008 18:14:37 +0000 (18:14 +0000)]
Add av_cold attribute to decode_init()

Originally committed as revision 15267 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: Make the two additional units in size more clear
Vitor Sessak [Mon, 8 Sep 2008 18:13:53 +0000 (18:13 +0000)]
Cosmetics: Make the two additional units in size more clear

Originally committed as revision 15266 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove DEFAULT_FRAME_RATE_BASE.
Michael Niedermayer [Mon, 8 Sep 2008 15:28:07 +0000 (15:28 +0000)]
Remove DEFAULT_FRAME_RATE_BASE.

Originally committed as revision 15265 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDrop deprecated SAMPLE_FMT_S24.
Michael Niedermayer [Mon, 8 Sep 2008 15:24:16 +0000 (15:24 +0000)]
Drop deprecated SAMPLE_FMT_S24.

Originally committed as revision 15264 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove stuff under #if LIBAVCODEC_VERSION_INT.
Michael Niedermayer [Mon, 8 Sep 2008 15:03:17 +0000 (15:03 +0000)]
Remove stuff under #if LIBAVCODEC_VERSION_INT.

Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoBump Major version, this commit is almost just renaming bits_per_sample to
Luca Abeni [Mon, 8 Sep 2008 14:24:59 +0000 (14:24 +0000)]
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

16 years agoTry to fix wma regression.
Michael Niedermayer [Mon, 8 Sep 2008 13:37:12 +0000 (13:37 +0000)]
Try to fix wma regression.

Originally committed as revision 15261 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix jpeg yuv.
Michael Niedermayer [Mon, 8 Sep 2008 12:36:38 +0000 (12:36 +0000)]
Fix jpeg yuv.
Fixes issue504.

Originally committed as revision 27547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoRelicense as ISC with the authors' permission.
Diego Biurrun [Mon, 8 Sep 2008 05:17:17 +0000 (05:17 +0000)]
Relicense as ISC with the authors' permission.

Originally committed as revision 15260 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoterminate tag tables by CODEC_ID_NONE
Baptiste Coudurier [Mon, 8 Sep 2008 00:58:24 +0000 (00:58 +0000)]
terminate tag tables by CODEC_ID_NONE

Originally committed as revision 15259 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix typo in comment.
Michael Niedermayer [Mon, 8 Sep 2008 00:52:22 +0000 (00:52 +0000)]
Fix typo in comment.

Originally committed as revision 27546 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoFix accurate rounding mode on x86_64.
Michael Niedermayer [Sun, 7 Sep 2008 21:06:21 +0000 (21:06 +0000)]
Fix accurate rounding mode on x86_64.
Fixes issue222.

Originally committed as revision 27545 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoRelicense from LGPL 2.1 to LGPL 2.1 or later with the authors' permission.
Diego Biurrun [Sun, 7 Sep 2008 21:02:28 +0000 (21:02 +0000)]
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

16 years agoCheck output buffer size before decoding.
Vitor Sessak [Sun, 7 Sep 2008 20:21:15 +0000 (20:21 +0000)]
Check output buffer size before decoding.

Originally committed as revision 15257 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: rename vars s/ctx/chd/
Vitor Sessak [Sun, 7 Sep 2008 20:18:18 +0000 (20:18 +0000)]
Cosmetics: rename vars s/ctx/chd/

Originally committed as revision 15256 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake ToY and ToUV family of function consistent part I
Luca Barbato [Sun, 7 Sep 2008 18:22:29 +0000 (18:22 +0000)]
Make ToY and ToUV family of function consistent part I
Convert width argument from int to long (note: srcW is still an int).

Originally committed as revision 27544 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoExploit symmetry to reduce size of tables by half.
Vitor Sessak [Sun, 7 Sep 2008 17:20:55 +0000 (17:20 +0000)]
Exploit symmetry to reduce size of tables by half.

Originally committed as revision 15255 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake fast bilinear scaler work again.
Michael Niedermayer [Sun, 7 Sep 2008 16:59:04 +0000 (16:59 +0000)]
Make fast bilinear scaler work again.

Originally committed as revision 27543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agofix seek regression tests after r15229
Aurelien Jacobs [Sun, 7 Sep 2008 15:08:43 +0000 (15:08 +0000)]
fix seek regression tests after r15229
The matroska demuxer now index every streams so seek on stream 1 now works.

Originally committed as revision 15254 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: s/short/int16_t/
Vitor Sessak [Sun, 7 Sep 2008 14:33:01 +0000 (14:33 +0000)]
Cosmetics: s/short/int16_t/

Originally committed as revision 15253 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove cast, now tables are signed.
Vitor Sessak [Sun, 7 Sep 2008 14:32:10 +0000 (14:32 +0000)]
Remove cast, now tables are signed.

Originally committed as revision 15252 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoConvert tables to signed and decimal.
Vitor Sessak [Sun, 7 Sep 2008 14:30:54 +0000 (14:30 +0000)]
Convert tables to signed and decimal.

Originally committed as revision 15251 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unused table entries.
Vitor Sessak [Sun, 7 Sep 2008 13:55:26 +0000 (13:55 +0000)]
Remove unused table entries.

Originally committed as revision 15250 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove commented out code.
Vitor Sessak [Sun, 7 Sep 2008 13:47:30 +0000 (13:47 +0000)]
Remove commented out code.

Originally committed as revision 15249 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse FFMIN() instead of rewriting it.
Vitor Sessak [Sun, 7 Sep 2008 13:46:09 +0000 (13:46 +0000)]
Use FFMIN() instead of rewriting it.

Originally committed as revision 15248 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFactorize broken clipping in its own function and document it.
Vitor Sessak [Sun, 7 Sep 2008 13:42:34 +0000 (13:42 +0000)]
Factorize broken clipping in its own function and document it.

Originally committed as revision 15247 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetics: whitespace/linebreaks
Vitor Sessak [Sun, 7 Sep 2008 09:55:47 +0000 (09:55 +0000)]
Cosmetics: whitespace/linebreaks

Originally committed as revision 15246 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse the same 8 bit -> 16 bit conversion as QuickTime.
Vitor Sessak [Sun, 7 Sep 2008 09:46:55 +0000 (09:46 +0000)]
Use the same 8 bit -> 16 bit conversion as QuickTime.

Originally committed as revision 15245 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDo not share context variables between channels and do not zero them at
Vitor Sessak [Sun, 7 Sep 2008 09:42:57 +0000 (09:42 +0000)]
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

16 years agoRemove output pointer from context
Vitor Sessak [Sun, 7 Sep 2008 09:38:37 +0000 (09:38 +0000)]
Remove output pointer from context

Originally committed as revision 15243 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoadd 1bpp decoding function and extend 4bpp function to
Stefan Gehrer [Sun, 7 Sep 2008 07:36:03 +0000 (07:36 +0000)]
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

16 years agoadd missing html start tag to ffserver status html page
Baptiste Coudurier [Sun, 7 Sep 2008 05:05:10 +0000 (05:05 +0000)]
add missing html start tag to ffserver status html page

Originally committed as revision 15241 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocleanup, merge snprintf calls
Baptiste Coudurier [Sun, 7 Sep 2008 04:56:44 +0000 (04:56 +0000)]
cleanup, merge snprintf calls

Originally committed as revision 15240 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoset default bps to 16 in wav header
Baptiste Coudurier [Sun, 7 Sep 2008 04:17:15 +0000 (04:17 +0000)]
set default bps to 16 in wav header

Originally committed as revision 15239 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago100l, compute correctly poll_table size when allocating
Baptiste Coudurier [Sun, 7 Sep 2008 04:16:05 +0000 (04:16 +0000)]
100l, compute correctly poll_table size when allocating

Originally committed as revision 15238 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement RDT-specific data parsing routines. After these changes, simple
Ronald S. Bultje [Sun, 7 Sep 2008 01:25:47 +0000 (01:25 +0000)]
Implement RDT-specific data parsing routines. After these changes, simple
playback of RTSP/RDT streams should work. See discussion in "Realmedia patch"
thread on ML.

Originally committed as revision 15237 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoReindent after previous patch.
Ronald S. Bultje [Sun, 7 Sep 2008 01:24:01 +0000 (01:24 +0000)]
Reindent after previous patch.

Originally committed as revision 15236 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement a RDT-specific SET_PARAMETER command that subscribes to the
Ronald S. Bultje [Sun, 7 Sep 2008 01:22:18 +0000 (01:22 +0000)]
Implement a RDT-specific SET_PARAMETER command that subscribes to the
first stream in a RTSP/RDT session. See discussion in "Realmedia patch"
thread on ML.

Originally committed as revision 15235 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd dynamic payload handlers to rdt.c. These follow the same API as the ones
Ronald S. Bultje [Sun, 7 Sep 2008 01:21:24 +0000 (01:21 +0000)]
Add dynamic payload handlers to rdt.c. These follow the same API as the ones
in rtpdec.c, so that they can be shared and used in the same way in rtsp.c.
The handlers, since they are specific for RDT, are registered in rdt.c and
a new registration function is thus called from allformats.c.

The dynamic payload handler also implements RDT-specific SDP-line parsing for
OpaqueData and StartTime, which are specific for RDT and needed for proper
playback. OpaqueData contains one or a list ("MLTI") of "MDPR" chunks that
can be parsed by the rmdec.c function ff_rm_read_mdpr_codecdata(). To use
this function, we create a new rdt_demuxer, which has the same private data
as the rm_demuxer. The resulting AVFormatContext created with _open_stream()
can thus be used to call functions in the RM demuxer.

See discussion in "Realmedia patch" thread on ML.

Originally committed as revision 15234 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoGive register_dynamic_payload_handler() in rtpdec.c a ff_ prefix and export
Ronald S. Bultje [Sun, 7 Sep 2008 01:19:26 +0000 (01:19 +0000)]
Give register_dynamic_payload_handler() in rtpdec.c a ff_ prefix and export
it so that I can use it in rdt.c as well. See discussion in "Realmedia patch"
thread on ML.

Originally committed as revision 15233 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agobump lavf micro version to allow checking for the matroska/ASS bugfix in r15211
Aurelien Jacobs [Sun, 7 Sep 2008 00:05:30 +0000 (00:05 +0000)]
bump lavf micro version to allow checking for the matroska/ASS bugfix in r15211

Originally committed as revision 15232 to svn://svn.ffmpeg.org/ffmpeg/trunk