platform/upstream/libav.git
16 years agoOperands of '+' are not necessarily evaluated in order so r15311 was pointless.
Robert Swain [Sat, 13 Sep 2008 20:22:31 +0000 (20:22 +0000)]
Operands of '+' are not necessarily evaluated in order so r15311 was pointless.
Splitting the assignment onto two lines should resolve the order issue.

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

16 years agoUpdate link to FFmpeg Windows Help website.
Ramiro Polla [Sat, 13 Sep 2008 18:50:53 +0000 (18:50 +0000)]
Update link to FFmpeg Windows Help website.

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

16 years agoCorrect order of parsing for pulse scalefactor band and offset to match the
Alex Converse [Sat, 13 Sep 2008 18:47:43 +0000 (18:47 +0000)]
Correct order of parsing for pulse scalefactor band and offset to match the
specification.

Patch by Alex Converse (alex converse gmail com)

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

16 years agoFix setting default value of scan_offset option for target svcd.
Gert Vervoort [Sat, 13 Sep 2008 17:25:38 +0000 (17:25 +0000)]
Fix setting default value of scan_offset option for target svcd.

Patch by Gert Vervoort gert D vervoort A hccnet D nl

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

16 years agoAdd sparc maintainer.
Michael Niedermayer [Sat, 13 Sep 2008 17:09:18 +0000 (17:09 +0000)]
Add sparc maintainer.

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

16 years agoCosmetics: line breaks
Vitor Sessak [Sat, 13 Sep 2008 16:56:58 +0000 (16:56 +0000)]
Cosmetics: line breaks

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

16 years agoSimplify: use a single history buffer for gain and a single one for
Vitor Sessak [Sat, 13 Sep 2008 16:49:05 +0000 (16:49 +0000)]
Simplify: use a single history buffer for gain and a single one for
speech instead of having two for each in the context.

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

16 years agoFix libswscale build after r27561 if --enable-runtime-cpudetection is used.
Benjamin Zores [Sat, 13 Sep 2008 16:13:04 +0000 (16:13 +0000)]
Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.

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

16 years agoFix indention.
Michael Niedermayer [Sat, 13 Sep 2008 13:41:47 +0000 (13:41 +0000)]
Fix indention.

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

16 years agoFix compilation on Mac OS X 10.4: Defining _POSIX_C_SOURCE hides the u_char &
David Conrad [Sat, 13 Sep 2008 13:18:35 +0000 (13:18 +0000)]
Fix compilation on Mac OS X 10.4: Defining _POSIX_C_SOURCE hides the u_char &
similar typedefs that sysctl.h needs. Since sysctl() itself isn't POSIX
undefining _POSIX_C_SOURCE for check_altivec.c seems the best way to fix this.
patch by David Conrad lessen42 at gmail com

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

16 years agoRename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.
Michael Niedermayer [Sat, 13 Sep 2008 11:52:03 +0000 (11:52 +0000)]
Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.

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

16 years agoSwitch regression tests to swscale.
Michael Niedermayer [Sat, 13 Sep 2008 03:49:54 +0000 (03:49 +0000)]
Switch regression tests to swscale.
Plain C, x86-32 and -64 have been tested and should work, other
archs that had asm optmizations in swscale likely will need some fixes
to either fall back on C if SWS_BITEXACT is set or make the asm match C.
This also disables the PAL8 test as neither swscale nor the old scaler
really support PAL8 output, imgconvert supported a fixed 666 palette
as output and swscale supports fixed 884 and 422.

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

16 years agoDisable mmx routines that are not bitexact when the user wants
Michael Niedermayer [Sat, 13 Sep 2008 03:12:15 +0000 (03:12 +0000)]
Disable mmx routines that are not bitexact when the user wants
bitexact ones.

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

16 years agoMake horizontal mmx scaling code match C code.
Michael Niedermayer [Sat, 13 Sep 2008 02:18:12 +0000 (02:18 +0000)]
Make horizontal mmx scaling code match C code.

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

16 years agoEnsure that additional filter coeffs that exist due to alignment
Michael Niedermayer [Sat, 13 Sep 2008 02:04:10 +0000 (02:04 +0000)]
Ensure that additional filter coeffs that exist due to alignment
are 0 if bitexact mode is requested.

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

16 years agoyvu9toyv12Wrapper is not bitexact so disable it when the user wants
Michael Niedermayer [Fri, 12 Sep 2008 23:52:37 +0000 (23:52 +0000)]
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
bitexactness to C.

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

16 years agoMake the horizontal C scaler code clip only against INT16_MAX not 0,
Michael Niedermayer [Fri, 12 Sep 2008 22:29:21 +0000 (22:29 +0000)]
Make the horizontal C scaler code clip only against INT16_MAX not 0,
this decreases the difference between C and MMX, its also faster.

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

16 years agoAdd bitexact flag.
Michael Niedermayer [Fri, 12 Sep 2008 21:46:53 +0000 (21:46 +0000)]
Add bitexact flag.

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

16 years agoThe yuv->rgb tables are too small for cliping to be avoidable,
Michael Niedermayer [Fri, 12 Sep 2008 21:25:42 +0000 (21:25 +0000)]
The yuv->rgb tables are too small for cliping to be avoidable,
thus revert the respective optimization. The table generator code
has to be rewritten anyway one day by some volunteer because its
not LGPL, fixing the GPL table generator thus seems like wasted time.

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

16 years agoFix another 1000l bug in the mono input code.
Michael Niedermayer [Fri, 12 Sep 2008 18:05:57 +0000 (18:05 +0000)]
Fix another 1000l bug in the mono input code.

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

16 years agoAdd support for PIX_FMT_YUV440P.
Michael Niedermayer [Fri, 12 Sep 2008 17:51:13 +0000 (17:51 +0000)]
Add support for PIX_FMT_YUV440P.

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

16 years ago10000l PIX_FMT_MONOWHITE check was really a || 1.
Michael Niedermayer [Fri, 12 Sep 2008 17:28:36 +0000 (17:28 +0000)]
10000l PIX_FMT_MONOWHITE check was really a || 1.
Thats what happens when one does not do the full set of tests before each commit
and just quickly goes over the diff thinking, "hey its a trivial change".

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

16 years agoSupport mono as input format.
Michael Niedermayer [Fri, 12 Sep 2008 16:46:38 +0000 (16:46 +0000)]
Support mono as input format.

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

16 years agoAdd support for PIX_FMT_MONOWHITE as output format.
Michael Niedermayer [Fri, 12 Sep 2008 16:01:17 +0000 (16:01 +0000)]
Add support for PIX_FMT_MONOWHITE as output format.

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

16 years agoReindent after last commit
Robert Swain [Fri, 12 Sep 2008 14:33:35 +0000 (14:33 +0000)]
Reindent after last commit

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

16 years agoOnly read some of TNS bitstream data in the case that the TNS filter order is
Alex Converse [Fri, 12 Sep 2008 14:32:49 +0000 (14:32 +0000)]
Only read some of TNS bitstream data in the case that the TNS filter order is
non-zero as per the specification.

Patch by Alex Converse (alex converse gmail com)
Fixes another issue pertaining to issue632

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

16 years agorgb24toyv12 isnt accuratly rounding, so disable it as well when the
Michael Niedermayer [Fri, 12 Sep 2008 04:40:51 +0000 (04:40 +0000)]
rgb24toyv12 isnt accuratly rounding, so disable it as well when the
user asks for accurate rounding.

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

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