ffmpeg.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoCosmetics: indent after last commit and remove useless braces
Vitor Sessak [Fri, 5 Sep 2008 00:01:23 +0000 (00:01 +0000)]
Cosmetics: indent after last commit and remove useless braces

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

11 years agoSimplify: use a for instead of unrolling by hand
Vitor Sessak [Fri, 5 Sep 2008 00:00:20 +0000 (00:00 +0000)]
Simplify: use a for instead of unrolling by hand

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

11 years agoFunctions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This commit
Vitor Sessak [Thu, 4 Sep 2008 23:54:57 +0000 (23:54 +0000)]
Functions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This commit
moves the code of Exp1to* to the decode functions.

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

11 years agomatroskadec: fix ASS subtitle track packets before emitting them
Aurelien Jacobs [Thu, 4 Sep 2008 23:26:12 +0000 (23:26 +0000)]
matroskadec: fix ASS subtitle track packets before emitting them
Matroska does some butchering when storing the ASS lines. The start and end
time are removed (because they are duplicated in the container).
The matroska_fix_ass_packet() function simply restore those start and end
time in ASS lines to ensure our ASS packets comply with the ASS spec.

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

11 years agoadd -xerror option, ffmpeg will now exit right when an error occurs
Baptiste Coudurier [Thu, 4 Sep 2008 23:23:44 +0000 (23:23 +0000)]
add -xerror option, ffmpeg will now exit right when an error occurs

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

11 years agoFix msgsm in wav, do not set blkalign to frame size, this is wrong,
Baptiste Coudurier [Thu, 4 Sep 2008 23:19:53 +0000 (23:19 +0000)]
Fix msgsm in wav, do not set blkalign to frame size, this is wrong,
all samples have correct blkalign set to 65

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

11 years agoSimplify: use two distinct functions to decode MACE3 and MACE6, since the
Vitor Sessak [Thu, 4 Sep 2008 23:18:28 +0000 (23:18 +0000)]
Simplify: use two distinct functions to decode MACE3 and MACE6, since the
previous mace_decode_init() function was almost just a switch statement.

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

11 years agoSimplify mace_decode_frame()
Vitor Sessak [Thu, 4 Sep 2008 23:12:20 +0000 (23:12 +0000)]
Simplify mace_decode_frame()

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

11 years agomatroska: subtitle display duration must be stored in pkt->convergence_duration
Aurelien Jacobs [Thu, 4 Sep 2008 23:08:19 +0000 (23:08 +0000)]
matroska: subtitle display duration must be stored in pkt->convergence_duration

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

11 years agoRemove useless comments
Vitor Sessak [Thu, 4 Sep 2008 23:02:08 +0000 (23:02 +0000)]
Remove useless comments

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

11 years agoReindent mace.c, its indentation was completly inconsistent with the coding rules.
Vitor Sessak [Thu, 4 Sep 2008 23:00:34 +0000 (23:00 +0000)]
Reindent mace.c, its indentation was completly inconsistent with the coding rules.

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

11 years agoMake 16bit grayscale output work.
Michael Niedermayer [Thu, 4 Sep 2008 22:58:16 +0000 (22:58 +0000)]
Make 16bit grayscale output work.

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

11 years agoset block align and frame size for gsm in aiff
Baptiste Coudurier [Thu, 4 Sep 2008 22:35:05 +0000 (22:35 +0000)]
set block align and frame size for gsm in aiff

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

11 years agoFix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.
Michael Niedermayer [Thu, 4 Sep 2008 22:31:22 +0000 (22:31 +0000)]
Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.

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

11 years agoCosmetics: s/LPC_type/LPC_TYPE/
Vitor Sessak [Thu, 4 Sep 2008 22:17:27 +0000 (22:17 +0000)]
Cosmetics: s/LPC_type/LPC_TYPE/

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

11 years agoSupport PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Michael Niedermayer [Thu, 4 Sep 2008 21:59:15 +0000 (21:59 +0000)]
Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Fixes issue248.

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

11 years agoprint error when deinterlacing fails
Baptiste Coudurier [Thu, 4 Sep 2008 21:48:46 +0000 (21:48 +0000)]
print error when deinterlacing fails

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

11 years agoFix 4 and 8 bit RGB/BGR input.
Michael Niedermayer [Thu, 4 Sep 2008 20:46:36 +0000 (20:46 +0000)]
Fix 4 and 8 bit RGB/BGR input.

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