]> git.sesse.net Git - ffmpeg/log
ffmpeg
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agomatroskadec: remove now useless vstream and is_video_key_frame
Aurelien Jacobs [Sat, 6 Sep 2008 23:44:29 +0000 (23:44 +0000)]
matroskadec: remove now useless vstream and is_video_key_frame

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

15 years agomatroskadec: remove useless braces
Aurelien Jacobs [Sat, 6 Sep 2008 23:43:24 +0000 (23:43 +0000)]
matroskadec: remove useless braces

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

15 years agomatroskadec: ensure that the timecode added to the index are is the one
Aurelien Jacobs [Sat, 6 Sep 2008 23:39:59 +0000 (23:39 +0000)]
matroskadec: ensure that the timecode added to the index are is the one
of the actual keyframe block, and not the one of the start of the cluster
containing this block.

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

15 years agoWhitespace cosmetics
Carl Eugen Hoyos [Sat, 6 Sep 2008 16:55:29 +0000 (16:55 +0000)]
Whitespace cosmetics

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

15 years agolicense header consistency cosmetics.
Diego Biurrun [Sat, 6 Sep 2008 16:15:45 +0000 (16:15 +0000)]
license header consistency cosmetics.

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

15 years agoMention that libavcodec/ac3dec.c is GPLed.
Diego Biurrun [Sat, 6 Sep 2008 16:14:20 +0000 (16:14 +0000)]
Mention that libavcodec/ac3dec.c is GPLed.

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

15 years agolicense header consistency cosmetics
Diego Biurrun [Sat, 6 Sep 2008 16:09:57 +0000 (16:09 +0000)]
license header consistency cosmetics

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

15 years agoRemove not approved parts.
Vladimir Voroshilov [Sat, 6 Sep 2008 13:45:02 +0000 (13:45 +0000)]
Remove not approved parts.

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

15 years agoTest a var for overflow just after it is set
Vitor Sessak [Sat, 6 Sep 2008 11:46:29 +0000 (11:46 +0000)]
Test a var for overflow just after it is set

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

15 years agoRemove useless parentheses.
Vitor Sessak [Sat, 6 Sep 2008 11:45:10 +0000 (11:45 +0000)]
Remove useless parentheses.

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

15 years agoRemove wrong and unnecessary condition. VHOOK filters are not special
Stefano Sabatini [Sat, 6 Sep 2008 07:26:05 +0000 (07:26 +0000)]
Remove wrong and unnecessary condition. VHOOK filters are not special
so they are not supposed to use the printf, fprintf, perror and puts
functions but av_log instead.

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

15 years agoUndefine the macro which defines fprintf as please_use_av_log so that
JonY [Sat, 6 Sep 2008 07:07:07 +0000 (07:07 +0000)]
Undefine the macro which defines fprintf as please_use_av_log so that
fprintf can be used for printing to file.
Patch by JonY <10walls __AT__ gmail @@dot@@ com>

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

15 years agoAdd support for the RGB32 pixel format in video4linux2 devices
Jean Delvare [Fri, 5 Sep 2008 20:40:50 +0000 (20:40 +0000)]
Add support for the RGB32 pixel format in video4linux2 devices
Patch by Jean Delvare (khali AT linux-fr DOT org)

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

15 years agoAdd support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in
Jean Delvare [Fri, 5 Sep 2008 20:36:42 +0000 (20:36 +0000)]
Add support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in
video4linux2 devices.
Patch by Jean Delvare (khali AT linux-fr DOT org)

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

15 years agoFix nuv decoder to use reget_buffer for non-keyframes and correctly
Reimar Döffinger [Fri, 5 Sep 2008 16:31:26 +0000 (16:31 +0000)]
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

15 years agodo not fail if audio is uncompressed and frame size is not set, just set it
Baptiste Coudurier [Fri, 5 Sep 2008 02:30:27 +0000 (02:30 +0000)]
do not fail if audio is uncompressed and frame size is not set, just set it

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

15 years agosimplify bps code by using av_get_bits_per_sample
Baptiste Coudurier [Fri, 5 Sep 2008 02:20:33 +0000 (02:20 +0000)]
simplify bps code by using av_get_bits_per_sample

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

15 years agosimplify function selection code
Baptiste Coudurier [Fri, 5 Sep 2008 01:44:33 +0000 (01:44 +0000)]
simplify function selection code

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

15 years agoenable yuv422p to uyvy converter
Baptiste Coudurier [Fri, 5 Sep 2008 00:25:39 +0000 (00:25 +0000)]
enable yuv422p to uyvy converter

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