OSDN Git Service

coroid/libav_saccubus.git
16 years agoMake configure --help document the --enable-debug option.
Stefano Sabatini [Mon, 21 Jul 2008 21:32:46 +0000 (21:32 +0000)]
Make configure --help document the --enable-debug option.

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

16 years agoAdd complete listing of bitstream filters and 2 examples to the documentation.
tripp [Mon, 21 Jul 2008 21:06:49 +0000 (21:06 +0000)]
Add complete listing of bitstream filters and 2 examples to the documentation.
patch by tripp, eliared yahoo com

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

16 years agoCorrect b_quant offset comment in avcodec.h, it is the description for
tripp [Mon, 21 Jul 2008 20:52:24 +0000 (20:52 +0000)]
Correct b_quant offset comment in avcodec.h, it is the description for
b_quant factor. patch by tripp, eliared yahoo com

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

16 years agoMove --disable-debug to a better place within configure help output.
Diego Biurrun [Mon, 21 Jul 2008 20:40:25 +0000 (20:40 +0000)]
Move --disable-debug to a better place within configure help output.

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

16 years agoUse slice_type_nos instead of slice_type where it makes no difference.
Michael Niedermayer [Mon, 21 Jul 2008 19:11:41 +0000 (19:11 +0000)]
Use slice_type_nos instead of slice_type where it makes no difference.
This way we use slice_type_nos almost everywhere which means 1 variable less
for gcc to put in a register.

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

16 years agoSI/SP slice support. (not bitexact)
Michael Niedermayer [Mon, 21 Jul 2008 18:44:57 +0000 (18:44 +0000)]
SI/SP slice support. (not bitexact)
SI untested as I did not find any samples.

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

16 years agoRemove superfluous ().
Michael Niedermayer [Mon, 21 Jul 2008 18:26:11 +0000 (18:26 +0000)]
Remove superfluous ().

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

16 years agoSimplify slice type checks.
Michael Niedermayer [Mon, 21 Jul 2008 18:24:45 +0000 (18:24 +0000)]
Simplify slice type checks.

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

16 years agoMore correct ref comparison in the loop filter.
Michael Niedermayer [Mon, 21 Jul 2008 18:06:23 +0000 (18:06 +0000)]
More correct ref comparison in the loop filter.

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

16 years agofix memleak
Michael Niedermayer [Mon, 21 Jul 2008 11:41:13 +0000 (11:41 +0000)]
fix memleak

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

16 years agoCleanup, use av_freep() instead of av_free(x); x=NULL
Michael Niedermayer [Mon, 21 Jul 2008 11:18:24 +0000 (11:18 +0000)]
Cleanup, use av_freep() instead of av_free(x); x=NULL

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

16 years agoCheck the allocated pointer instead of the given pointer as intended
Erik Hovland [Mon, 21 Jul 2008 05:46:56 +0000 (05:46 +0000)]
Check the allocated pointer instead of the given pointer as intended
in vhook/ppm.c:Configure.
patch by Erik Hovland, erik hovland org

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

16 years agoClarify -minrate/-maxrate description in the documentation.
tripp [Mon, 21 Jul 2008 05:25:59 +0000 (05:25 +0000)]
Clarify -minrate/-maxrate description in the documentation.
patch by tripp, eliared yahoo com

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

16 years agoSimplify spatial direct ref selection with FFMIN3()
Michael Niedermayer [Mon, 21 Jul 2008 01:41:56 +0000 (01:41 +0000)]
Simplify spatial direct ref selection with FFMIN3()

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

16 years agocosmetics: Make libavcodec/ppc/dsputil_altivec.c conform to style guidelines.
Diego Biurrun [Sun, 20 Jul 2008 20:56:40 +0000 (20:56 +0000)]
cosmetics: Make libavcodec/ppc/dsputil_altivec.c conform to style guidelines.
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.

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

16 years agocosmetics: Reindent two misplaced braces.
Diego Biurrun [Sun, 20 Jul 2008 20:02:09 +0000 (20:02 +0000)]
cosmetics: Reindent two misplaced braces.

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

16 years agocosmetics: Reformat PPC code in libavcodec according to style guidelines.
Diego Biurrun [Sun, 20 Jul 2008 18:58:30 +0000 (18:58 +0000)]
cosmetics: Reformat PPC code in libavcodec according to style guidelines.
This includes indentation changes, comment reformatting, consistent brace
placement and some prettyprinting.

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

16 years agoFix used references indexes in the loop filter.
Michael Niedermayer [Sun, 20 Jul 2008 18:06:41 +0000 (18:06 +0000)]
Fix used references indexes in the loop filter.
Disable filter_mb_fast() as it optimized the incorrect code.
Fixes at least:
BA3_SVA_C.264
CABA3_SVA_B.264
CABACI3_Sony_B.jsv
CAFI1_SVA_C.264
camp_mot_frm0_full.26l
CAWP5_TOSHIBA_E.264
CVFI2_SVA_C.264
CVSE3_Sony_H.jsv
CVWP2_TOSHIBA_E.264
CVWP5_TOSHIBA_E.264
SL1_SVA_B.264

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

16 years agoAdd skip* AVOptions, which seem to have been missed.
Michael Niedermayer [Sun, 20 Jul 2008 16:02:49 +0000 (16:02 +0000)]
Add skip* AVOptions, which seem to have been missed.

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

16 years agoDecrease severity of 'invalid new backstep' log message to warning
Andreas Öman [Sun, 20 Jul 2008 15:01:20 +0000 (15:01 +0000)]
Decrease severity of 'invalid new backstep' log message to warning
in mpeg audio decoder.

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

16 years agoSupply context argument to av_log() in mpeg audio decoder.
Andreas Öman [Sun, 20 Jul 2008 14:58:49 +0000 (14:58 +0000)]
Supply context argument to av_log() in mpeg audio decoder.

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

16 years agoread 'coupling in use' parameter from bitstream into decoder context first,
Justin Ruggles [Sat, 19 Jul 2008 22:01:46 +0000 (22:01 +0000)]
read 'coupling in use' parameter from bitstream into decoder context first,
then copy to the local variable.

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

16 years agoFix h264_loop_filter_strength_mmx2() so it works with PAFF.
Michael Niedermayer [Sat, 19 Jul 2008 21:53:54 +0000 (21:53 +0000)]
Fix h264_loop_filter_strength_mmx2() so it works with PAFF.
fixed at least:
CVFI1_Sony_D.jsv
CVFI1_SVA_C.264
MR6_BT_B.h264

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

16 years agoPrevent the qdm2 code from overreading/overflowing. Fixes Coverity ID 112 run 2
Benjamin Larsson [Sat, 19 Jul 2008 18:53:04 +0000 (18:53 +0000)]
Prevent the qdm2 code from overreading/overflowing. Fixes Coverity ID 112 run 2

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

16 years agoTake the brain amputated spec literally if the user asks for it (-strict 1).
Michael Niedermayer [Sat, 19 Jul 2008 16:16:00 +0000 (16:16 +0000)]
Take the brain amputated spec literally if the user asks for it (-strict 1).
That is, add 16 frames delay, cache trashing and av desync.
fixes at least the following reference bitstreams:
CABA3_Sony_C.jsv
CACQP3_Sony_D.jsv
CAMANL1_TOSHIBA_B.264
CANL3_Sony_C.jsv
CVBS3_Sony_C.jsv
CVMANL1_TOSHIBA_B.264

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

16 years agoRemove explicit strict_std_compliance support as it seems to work fine over
Michael Niedermayer [Sat, 19 Jul 2008 16:01:46 +0000 (16:01 +0000)]
Remove explicit strict_std_compliance support as it seems to work fine over
AVOptions, actually it works even finer as it also gets passed to the
decoder.

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

16 years agoMake strict_std_compliance available to decoders.
Michael Niedermayer [Sat, 19 Jul 2008 15:57:06 +0000 (15:57 +0000)]
Make strict_std_compliance available to decoders.

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

16 years agoFix for possible null pointer dereferencing, closes Coverity report 68 run 2.
Benjamin Larsson [Sat, 19 Jul 2008 15:48:53 +0000 (15:48 +0000)]
Fix for possible null pointer dereferencing, closes Coverity report 68 run 2.

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

16 years agoCosmetics: alignment
Vitor Sessak [Sat, 19 Jul 2008 15:43:34 +0000 (15:43 +0000)]
Cosmetics: alignment

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

16 years agoSimplify co(): do not abuse pointer aritmetics
Vitor Sessak [Sat, 19 Jul 2008 15:41:15 +0000 (15:41 +0000)]
Simplify co(): do not abuse pointer aritmetics

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

16 years agoMake the automatic has_b_frames increasing code increase it up to the
Michael Niedermayer [Sat, 19 Jul 2008 15:37:52 +0000 (15:37 +0000)]
Make the automatic has_b_frames increasing code increase it up to the
same maximum that can be achieved by specifying the value in the bitstream.

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

16 years agoSimplify co(): remove variables that are only used once
Vitor Sessak [Sat, 19 Jul 2008 15:32:29 +0000 (15:32 +0000)]
Simplify co(): remove variables that are only used once

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

16 years agoTry to fix my latest 100l fate SVQ3 breakage.
Michael Niedermayer [Sat, 19 Jul 2008 12:21:09 +0000 (12:21 +0000)]
Try to fix my latest 100l fate SVQ3 breakage.

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

16 years agoRemove apparently unneeded out!=NULL check.
Michael Niedermayer [Sat, 19 Jul 2008 11:57:29 +0000 (11:57 +0000)]
Remove apparently unneeded out!=NULL check.

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

16 years agoSimplify picture output code.
Michael Niedermayer [Sat, 19 Jul 2008 11:11:48 +0000 (11:11 +0000)]
Simplify picture output code.

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

16 years agoRemove useless #if 0 code.
Michael Niedermayer [Sat, 19 Jul 2008 10:47:25 +0000 (10:47 +0000)]
Remove useless #if 0 code.

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

16 years agoDo not forget marking disposed delayed pics as unused.
Michael Niedermayer [Sat, 19 Jul 2008 03:33:42 +0000 (03:33 +0000)]
Do not forget marking disposed delayed pics as unused.
Fixes issue335

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

16 years agoadd ogv extension
Baptiste Coudurier [Sat, 19 Jul 2008 03:29:16 +0000 (03:29 +0000)]
add ogv extension

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

16 years agocosmetics, remove space
Baptiste Coudurier [Sat, 19 Jul 2008 03:27:24 +0000 (03:27 +0000)]
cosmetics, remove space

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

16 years agoupdate swf video frame number when muxing done, fix #439
Baptiste Coudurier [Sat, 19 Jul 2008 03:25:50 +0000 (03:25 +0000)]
update swf video frame number when muxing done, fix #439

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

16 years agoindent
Michael Niedermayer [Sat, 19 Jul 2008 03:17:44 +0000 (03:17 +0000)]
indent

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

16 years agosimplify
Michael Niedermayer [Sat, 19 Jul 2008 03:13:11 +0000 (03:13 +0000)]
simplify

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

16 years agocosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
Justin Ruggles [Sat, 19 Jul 2008 02:54:54 +0000 (02:54 +0000)]
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF

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

16 years agoRemove delayed_output_pic, I do not understand what this variable was good for.
Michael Niedermayer [Sat, 19 Jul 2008 02:53:57 +0000 (02:53 +0000)]
Remove delayed_output_pic, I do not understand what this variable was good for.
It is simpler and might be faster now.

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

16 years agoDrop out of order pics even if bitstream_restriction_flag is set.
Michael Niedermayer [Sat, 19 Jul 2008 02:44:17 +0000 (02:44 +0000)]
Drop out of order pics even if bitstream_restriction_flag is set.

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

16 years agoSet avctx->coded_frame in RoQ encoder. At some point in
Vitor Sessak [Sat, 19 Jul 2008 02:43:23 +0000 (02:43 +0000)]
Set avctx->coded_frame in RoQ encoder. At some point in
the SVN history this became mandated. Fix issue 548.

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

16 years agoMake the ugly hack which uses an unused entry in the internal buffer
Michael Niedermayer [Sat, 19 Jul 2008 00:32:15 +0000 (00:32 +0000)]
Make the ugly hack which uses an unused entry in the internal buffer
array actually use a unused one, so it does work.

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

16 years agoMake ffmpeg -t X with X<=0 transcode nothing.
Stefano Sabatini [Fri, 18 Jul 2008 22:23:29 +0000 (22:23 +0000)]
Make ffmpeg -t X with X<=0 transcode nothing.

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

16 years agominor simplification of qdm2_decode_fft_packets()
Michael Niedermayer [Fri, 18 Jul 2008 21:16:59 +0000 (21:16 +0000)]
minor simplification of qdm2_decode_fft_packets()

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

16 years agoMake frames non reference by default, so they are disposed of automatically
Michael Niedermayer [Fri, 18 Jul 2008 20:59:17 +0000 (20:59 +0000)]
Make frames non reference by default, so they are disposed of automatically
in MPV_frame_start() if we break out due to an error at a random place.
Fixes issue334

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

16 years agoCorrecting displayed muxing overhead and video stream size.
Michael Niedermayer [Fri, 18 Jul 2008 13:52:23 +0000 (13:52 +0000)]
Correcting displayed muxing overhead and video stream size.
Partially fixes issue348.

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

16 years agoSupport reading large metadata.
Michael Niedermayer [Fri, 18 Jul 2008 12:03:21 +0000 (12:03 +0000)]
Support reading large metadata.
fixes issue187

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

16 years agoMake bitstream_* fields unsigned.
Michael Niedermayer [Fri, 18 Jul 2008 11:39:41 +0000 (11:39 +0000)]
Make bitstream_* fields unsigned.

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

16 years agoOnly realloc() bitstream buffer when the needed size increased,
Michael Niedermayer [Fri, 18 Jul 2008 11:38:53 +0000 (11:38 +0000)]
Only realloc() bitstream buffer when the needed size increased,
this is needed to prevent loosing bitstream data with large metadata.

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

16 years agoIf metadata has been parsed goto end instead of trying to
Michael Niedermayer [Fri, 18 Jul 2008 11:08:15 +0000 (11:08 +0000)]
If metadata has been parsed goto end instead of trying to
decorrelate and output somehing nonexistng.

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

16 years agoFix a mem leak in vc1_decode_frame().
Erik Hovland [Fri, 18 Jul 2008 07:15:50 +0000 (07:15 +0000)]
Fix a mem leak in vc1_decode_frame().
Patch by Erik Hovland erik hovland org

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

16 years agoFix a mem leak in av_find_stream_info().
Erik Hovland [Fri, 18 Jul 2008 07:13:56 +0000 (07:13 +0000)]
Fix a mem leak in av_find_stream_info().
Patch by Erik Hovland erik hovland org

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

16 years agointreadwrite: support DEC compiler __unaligned type qualifier
Måns Rullgård [Fri, 18 Jul 2008 01:18:59 +0000 (01:18 +0000)]
intreadwrite: support DEC compiler __unaligned type qualifier

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

16 years agoMPEGTS: Improve probe function
Måns Rullgård [Fri, 18 Jul 2008 01:07:17 +0000 (01:07 +0000)]
MPEGTS: Improve probe function

When a sync byte is found, check that transport_error_indicator is zero,
and adaptation_field_control is valid (non-zero).

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

16 years agocosmetics, remove space
Baptiste Coudurier [Fri, 18 Jul 2008 00:24:31 +0000 (00:24 +0000)]
cosmetics, remove space

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

16 years agoReturn max score when ftyp atom is encountered.
Baptiste Coudurier [Fri, 18 Jul 2008 00:23:37 +0000 (00:23 +0000)]
Return max score when ftyp atom is encountered.

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

16 years agoMake C code in yuv2yuv1() do accurate rounding, this could be split
Michael Niedermayer [Fri, 18 Jul 2008 00:09:09 +0000 (00:09 +0000)]
Make C code in yuv2yuv1() do accurate rounding, this could be split
depending on SWS_ACCURATE as well if someone wants.

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

16 years agoSimplify: do not overuse pointer aritmetic
Vitor Sessak [Thu, 17 Jul 2008 23:48:53 +0000 (23:48 +0000)]
Simplify: do not overuse pointer aritmetic

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

16 years agoindent
Michael Niedermayer [Thu, 17 Jul 2008 23:43:48 +0000 (23:43 +0000)]
indent

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

16 years agoForgotten accurate rounding function YSCALEYUV2YV121_ACCURATE.
Michael Niedermayer [Thu, 17 Jul 2008 23:42:06 +0000 (23:42 +0000)]
Forgotten accurate rounding function YSCALEYUV2YV121_ACCURATE.

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

16 years agosimplify yuv2yuv1()
Michael Niedermayer [Thu, 17 Jul 2008 23:35:36 +0000 (23:35 +0000)]
simplify yuv2yuv1()

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

16 years agoDeclare parameters of pred() that could be const as such
Vitor Sessak [Thu, 17 Jul 2008 23:02:52 +0000 (23:02 +0000)]
Declare parameters of pred() that could be const as such

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

16 years agoAnother simplification
Vitor Sessak [Thu, 17 Jul 2008 23:01:31 +0000 (23:01 +0000)]
Another simplification

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

16 years agoSimplify
Vitor Sessak [Thu, 17 Jul 2008 22:59:53 +0000 (22:59 +0000)]
Simplify

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

16 years agoSimplify
Vitor Sessak [Thu, 17 Jul 2008 22:42:21 +0000 (22:42 +0000)]
Simplify

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

16 years agoDeclare function parameters as const
Vitor Sessak [Thu, 17 Jul 2008 22:39:29 +0000 (22:39 +0000)]
Declare function parameters as const

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

16 years ago10l forgot SWS_BILINEAR
Michael Niedermayer [Thu, 17 Jul 2008 22:30:02 +0000 (22:30 +0000)]
10l forgot SWS_BILINEAR

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

16 years agoEnsure that exactly one scaler algo is used.
Michael Niedermayer [Thu, 17 Jul 2008 22:01:18 +0000 (22:01 +0000)]
Ensure that exactly one scaler algo is used.

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

16 years agoRearrange AV_[RW][BL]*() macros
Måns Rullgård [Thu, 17 Jul 2008 18:42:19 +0000 (18:42 +0000)]
Rearrange AV_[RW][BL]*() macros

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

16 years ago100l, someone used FLT_MIN where -FLT_MAX was meant at a few places in the
Michael Niedermayer [Thu, 17 Jul 2008 17:42:44 +0000 (17:42 +0000)]
100l, someone used FLT_MIN where -FLT_MAX was meant at a few places in the
AVOptions array.

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

16 years agoReplace LDLATEFLAGS hackery by proper LDFLAGS tests.
Diego Biurrun [Thu, 17 Jul 2008 16:28:48 +0000 (16:28 +0000)]
Replace LDLATEFLAGS hackery by proper LDFLAGS tests.
The original reasons for LDLATEFLAGS are lost in the mists of time.

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

16 years agoTry to fix FATE after my time_base simplification change.
Michael Niedermayer [Thu, 17 Jul 2008 14:13:44 +0000 (14:13 +0000)]
Try to fix FATE after my time_base simplification change.

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

16 years agoMove up swscale_error target so that regression tests error out immediately.
Diego Biurrun [Thu, 17 Jul 2008 09:30:48 +0000 (09:30 +0000)]
Move up swscale_error target so that regression tests error out immediately.

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

16 years agoFree in avcodec_close() avctx->rc_eq. Fix a memory leak.
Stefano Sabatini [Wed, 16 Jul 2008 22:10:34 +0000 (22:10 +0000)]
Free in avcodec_close() avctx->rc_eq. Fix a memory leak.

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

16 years ago10000l, revert
Michael Niedermayer [Wed, 16 Jul 2008 17:54:57 +0000 (17:54 +0000)]
10000l, revert
r14254
Log:
The funny memcpyin svq3 generally has src & dst overlapping, so it
should at least be a memmove().
I was tired, they do not overlap.

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

16 years agoindent
Michael Niedermayer [Wed, 16 Jul 2008 17:51:24 +0000 (17:51 +0000)]
indent

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

16 years agoSVQ3 uses the JPEG variant of YUV 4:2:0.
Michael Niedermayer [Wed, 16 Jul 2008 17:48:47 +0000 (17:48 +0000)]
SVQ3 uses the JPEG variant of YUV 4:2:0.
Fixes issue256

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

16 years agocosmetics: Fix mxf codec long name.
Diego Biurrun [Wed, 16 Jul 2008 17:20:21 +0000 (17:20 +0000)]
cosmetics: Fix mxf codec long name.

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

16 years agoprint AVCodecContext address instead of AVClass, better when multiple instances of...
Baptiste Coudurier [Wed, 16 Jul 2008 03:21:23 +0000 (03:21 +0000)]
print AVCodecContext address instead of AVClass, better when multiple instances of same codecs are used, based on r14237

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

16 years agoThe funny memcpyin svq3 generally has src & dst overlapping, so it
Michael Niedermayer [Wed, 16 Jul 2008 02:10:21 +0000 (02:10 +0000)]
The funny memcpyin svq3 generally has src & dst overlapping, so it
should at least be a memmove().

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

16 years agoPrint slice num as well.
Michael Niedermayer [Wed, 16 Jul 2008 01:57:28 +0000 (01:57 +0000)]
Print slice num as well.

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

16 years agofloat_to_int16_interleave: change src to an array of pointers instead of assuming...
Loren Merritt [Wed, 16 Jul 2008 00:50:12 +0000 (00:50 +0000)]
float_to_int16_interleave: change src to an array of pointers instead of assuming it's contiguous.
this has no immediate effect, but will allow it to be used in more codecs.

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

16 years agovorbis: reduce memory by reusing buffers
Loren Merritt [Tue, 15 Jul 2008 23:04:28 +0000 (23:04 +0000)]
vorbis: reduce memory by reusing buffers

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

16 years agounroll another common case in vorbis_residue_decode
Loren Merritt [Tue, 15 Jul 2008 23:01:15 +0000 (23:01 +0000)]
unroll another common case in vorbis_residue_decode

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

16 years agoOGG: Add padding at end of Vorbis headers
Siarhei Siamashka [Tue, 15 Jul 2008 23:00:29 +0000 (23:00 +0000)]
OGG: Add padding at end of Vorbis headers

Patch by Siarhei Siamashka <siarhei.siamashka gmail com>

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

16 years agoMove the size of the H264Context delayed_pic array into a #define.
Alexander Strange [Tue, 15 Jul 2008 21:30:04 +0000 (21:30 +0000)]
Move the size of the H264Context delayed_pic array into a #define.
This improves readability by getting rid of some magic numbers.

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

16 years agoMake v4l2_read_header() don't free a stream in case of failure when
Stefano Sabatini [Tue, 15 Jul 2008 20:45:42 +0000 (20:45 +0000)]
Make v4l2_read_header() don't free a stream in case of failure when
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.

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

16 years agoMake v4l_read_header() don't free a stream in case of failure when
Stefano Sabatini [Tue, 15 Jul 2008 20:39:20 +0000 (20:39 +0000)]
Make v4l_read_header() don't free a stream in case of failure when
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.

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

16 years agoARM: optimised MAC64 and MLS64
Måns Rullgård [Tue, 15 Jul 2008 19:06:32 +0000 (19:06 +0000)]
ARM: optimised MAC64 and MLS64

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

16 years agoARM: optimised MUL64
Måns Rullgård [Tue, 15 Jul 2008 19:06:29 +0000 (19:06 +0000)]
ARM: optimised MUL64

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

16 years agoARM: ARMv6 optimised MULH
Måns Rullgård [Tue, 15 Jul 2008 19:06:25 +0000 (19:06 +0000)]
ARM: ARMv6 optimised MULH

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

16 years agoARM: ARMv6 optimised FASTDIV
Måns Rullgård [Tue, 15 Jul 2008 19:06:18 +0000 (19:06 +0000)]
ARM: ARMv6 optimised FASTDIV

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

16 years agoARM: disable use of system byteswap.h
Måns Rullgård [Tue, 15 Jul 2008 19:06:09 +0000 (19:06 +0000)]
ARM: disable use of system byteswap.h

Our bswap functions are better than those in glibc, which has
no ARM-optimised versions.

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

16 years agoARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
Måns Rullgård [Tue, 15 Jul 2008 19:06:03 +0000 (19:06 +0000)]
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()

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

16 years agoARM: ARMv6 optimised bswap_16/32
Måns Rullgård [Tue, 15 Jul 2008 19:05:49 +0000 (19:05 +0000)]
ARM: ARMv6 optimised bswap_16/32

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