platform/upstream/libav.git
16 years agoMove allocated buffer out of YUV buffer structure.
Benoit Fouet [Tue, 30 Sep 2008 11:51:44 +0000 (11:51 +0000)]
Move allocated buffer out of YUV buffer structure.

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

16 years agoRemove useless initializations.
Benoit Fouet [Tue, 30 Sep 2008 11:46:37 +0000 (11:46 +0000)]
Remove useless initializations.

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

16 years agoCheck allocations on init.
Benoit Fouet [Tue, 30 Sep 2008 09:54:13 +0000 (09:54 +0000)]
Check allocations on init.

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

16 years agoRemove useless test.
Benoit Fouet [Tue, 30 Sep 2008 09:41:04 +0000 (09:41 +0000)]
Remove useless test.

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

16 years agoCosmetics
Benoit Fouet [Tue, 30 Sep 2008 09:35:53 +0000 (09:35 +0000)]
Cosmetics

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

16 years agouse uint8_t instead of unsigned char
Benoit Fouet [Tue, 30 Sep 2008 09:32:14 +0000 (09:32 +0000)]
use uint8_t instead of unsigned char

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

16 years agoCorrector type fits in 8 bits.
Benoit Fouet [Tue, 30 Sep 2008 09:26:49 +0000 (09:26 +0000)]
Corrector type fits in 8 bits.

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

16 years agoRemove useless casts and use variable instead of its type in sizeof.
Benoit Fouet [Tue, 30 Sep 2008 09:08:27 +0000 (09:08 +0000)]
Remove useless casts and use variable instead of its type in sizeof.

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

16 years agoChange table types to uint8_t
Benoit Fouet [Tue, 30 Sep 2008 09:05:34 +0000 (09:05 +0000)]
Change table types to uint8_t

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

16 years agoDowngrade severity of leftover bits in header packets, and don't check for the commen...
David Conrad [Tue, 30 Sep 2008 04:18:22 +0000 (04:18 +0000)]
Downgrade severity of leftover bits in header packets, and don't check for the comment header

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

16 years agosupport negative ctts in some way, unset wrong dts
Baptiste Coudurier [Tue, 30 Sep 2008 02:44:57 +0000 (02:44 +0000)]
support negative ctts in some way, unset wrong dts

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

16 years agoAllocate 1 line more in the chroma plane for H.264, this avoids some
Michael Niedermayer [Tue, 30 Sep 2008 01:45:53 +0000 (01:45 +0000)]
Allocate 1 line more in the chroma plane for H.264, this avoids some
out of array reads with mmx/sse2 code.
Fixes issue327.

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

16 years agoReplace second (and wrong) call to avcodec_align_dimensions() by adjusting
Michael Niedermayer [Tue, 30 Sep 2008 01:07:25 +0000 (01:07 +0000)]
Replace second (and wrong) call to avcodec_align_dimensions() by adjusting
stride_align. This is not particularly pretty and I will gladly implement
something else if someone has an idea!

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

16 years agoDo not attempt to perform error concealment in lowres mode as this is
Michael Niedermayer [Tue, 30 Sep 2008 00:28:13 +0000 (00:28 +0000)]
Do not attempt to perform error concealment in lowres mode as this is
not supported currently.

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

16 years agoatrac3: ensure input frame is not overwritten (it is const)
Aurelien Jacobs [Mon, 29 Sep 2008 22:22:46 +0000 (22:22 +0000)]
atrac3: ensure input frame is not overwritten (it is const)
this fixes the following warning:
atrac3.c:889: warning: assignment discards qualifiers from pointer target type

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

16 years agoUse skip_frame for keyframe-only decoding rather than #ifdef
David Conrad [Mon, 29 Sep 2008 22:04:35 +0000 (22:04 +0000)]
Use skip_frame for keyframe-only decoding rather than #ifdef

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

16 years agoFix a warning about an undefined function when compiling h264.c
Carl Eugen Hoyos [Mon, 29 Sep 2008 15:41:55 +0000 (15:41 +0000)]
Fix a warning about an undefined function when compiling h264.c

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

16 years agoRemove some format string warnings.
Diego Pettenò [Mon, 29 Sep 2008 07:15:49 +0000 (07:15 +0000)]
Remove some format string warnings.
patch by Diego Pettenò, flameeyes gmail com

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

16 years agoUniformly define _XOPEN_SOURCE to 600.
Diego Biurrun [Mon, 29 Sep 2008 06:22:12 +0000 (06:22 +0000)]
Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com

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

16 years agocosmetics: Consistently use #ifdef in preprocessor directives.
Diego Biurrun [Mon, 29 Sep 2008 06:15:51 +0000 (06:15 +0000)]
cosmetics: Consistently use #ifdef in preprocessor directives.

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

16 years agoRemove unused function fast_memcpy.
Diego Biurrun [Mon, 29 Sep 2008 06:06:19 +0000 (06:06 +0000)]
Remove unused function fast_memcpy.

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

16 years agocosmetics: indentation
Diego Biurrun [Mon, 29 Sep 2008 05:41:54 +0000 (05:41 +0000)]
cosmetics: indentation

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

16 years agoRevert mistakely commited hunk.
Michael Niedermayer [Mon, 29 Sep 2008 01:15:54 +0000 (01:15 +0000)]
Revert mistakely commited hunk.

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

16 years agoPrint all cases that are tested, not just the ones that are bad.
Michael Niedermayer [Mon, 29 Sep 2008 01:14:27 +0000 (01:14 +0000)]
Print all cases that are tested, not just the ones that are bad.

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

16 years agoFix infinite loop with spline, bug was introduced in r27612 by me.
Michael Niedermayer [Mon, 29 Sep 2008 01:08:01 +0000 (01:08 +0000)]
Fix infinite loop with spline, bug was introduced in r27612 by me.

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

16 years agofix -uninstalled.pc includedir for out-of-tree builds
Diego Pettenò [Sun, 28 Sep 2008 23:29:23 +0000 (23:29 +0000)]
fix -uninstalled.pc includedir for out-of-tree builds
patch by Diego 'Flameeyes' Pettenò  flameeyes _at_ gmail

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

16 years agoset video_enc->sample_aspect_ratio to fix stream copy
Wolfram Gloger [Sun, 28 Sep 2008 23:24:32 +0000 (23:24 +0000)]
set video_enc->sample_aspect_ratio to fix stream copy
patch by Wolfram Gloger  wmglo _at_ dent.med.uni-muenchen _dot_ de

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

16 years agoGuess picture type from picture coding extension when the main header is damaged.
Michael Niedermayer [Sun, 28 Sep 2008 23:19:12 +0000 (23:19 +0000)]
Guess picture type from picture coding extension when the main header is damaged.

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

16 years agomatroskadec: merge ASS events which share the same pts in the same AVPavket
Aurelien Jacobs [Sun, 28 Sep 2008 23:06:25 +0000 (23:06 +0000)]
matroskadec: merge ASS events which share the same pts in the same AVPavket

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

16 years agomatroskadec: ass events lines must end with a DOS style EOL
Aurelien Jacobs [Sun, 28 Sep 2008 23:01:07 +0000 (23:01 +0000)]
matroskadec: ass events lines must end with a DOS style EOL

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

16 years agomatroskadec: set duration only for CODEC_ID_TEXT subtitles
Aurelien Jacobs [Sun, 28 Sep 2008 22:58:53 +0000 (22:58 +0000)]
matroskadec: set duration only for CODEC_ID_TEXT subtitles

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

16 years agomatroskadec: pass duration as parameter of matroska_fix_ass_packet()
Aurelien Jacobs [Sun, 28 Sep 2008 22:55:28 +0000 (22:55 +0000)]
matroskadec: pass duration as parameter of matroska_fix_ass_packet()

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

16 years agoAVOptions support for ffplay.
Michael Niedermayer [Sun, 28 Sep 2008 19:39:18 +0000 (19:39 +0000)]
AVOptions support for ffplay.

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

16 years agoMove opt_default() and set_context_opts() to cmdutils so it can be used from
Michael Niedermayer [Sun, 28 Sep 2008 19:35:22 +0000 (19:35 +0000)]
Move opt_default() and set_context_opts() to cmdutils so it can be used from
the other tools as well.

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

16 years agoRename opt_default() so it will not conflict with the one from ffmpeg.c
Michael Niedermayer [Sun, 28 Sep 2008 19:33:19 +0000 (19:33 +0000)]
Rename opt_default() so it will not conflict with the one from ffmpeg.c
when it is moved to cmdutils.c/h.

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

16 years agoDocument the directpred auto value.
Francesco Cosoleto [Sun, 28 Sep 2008 19:11:26 +0000 (19:11 +0000)]
Document the directpred auto value.
Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com

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

16 years agoSubstitute the not anymore supported "me" option name with "me_method"
Francesco Cosoleto [Sun, 28 Sep 2008 19:06:46 +0000 (19:06 +0000)]
Substitute the not anymore supported "me" option name with "me_method"
in ffpreset files.
Patch by Francesco Cosoleto cosoleto -- gmail --dot-- com

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

16 years agoMake myself maintainer of the preset files
Robert Swain [Sun, 28 Sep 2008 19:05:34 +0000 (19:05 +0000)]
Make myself maintainer of the preset files

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

16 years agoImplement the force_fps option, which disables the automatic selection
Stefano Sabatini [Sun, 28 Sep 2008 17:34:03 +0000 (17:34 +0000)]
Implement the force_fps option, which disables the automatic selection
of the best framerate amongst the list of supported framerates of the
codec. Use the av_find_nearest_q_idx() function to choose the best
framerate.

See the thread: "Implement in lavc a flag which makes avcodec_open()
to choose the best framerate".

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

16 years agoUse DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
Siarhei Siamashka [Sun, 28 Sep 2008 16:16:05 +0000 (16:16 +0000)]
Use DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
functions that require such alignment.

Patch by Siarhei Siamashka (siarhei siamashka gmail com)

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

16 years agoSupport loading presets from random paths.
Michael Niedermayer [Sun, 28 Sep 2008 13:09:29 +0000 (13:09 +0000)]
Support loading presets from random paths.
Fixes issue659.

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

16 years agoassdec: don't remove CR, they are part of the spec
Aurelien Jacobs [Sat, 27 Sep 2008 23:12:24 +0000 (23:12 +0000)]
assdec: don't remove CR, they are part of the spec

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

16 years agocosmetics: Break overly long lines, one grammar fix.
Diego Biurrun [Sat, 27 Sep 2008 20:05:12 +0000 (20:05 +0000)]
cosmetics: Break overly long lines, one grammar fix.

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

16 years agospelling/wording/grammar
Diego Biurrun [Sat, 27 Sep 2008 19:51:53 +0000 (19:51 +0000)]
spelling/wording/grammar

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

16 years agoMove doxygen comments for av_gettime from utils.c to avformat.h.
Diego Biurrun [Sat, 27 Sep 2008 17:37:22 +0000 (17:37 +0000)]
Move doxygen comments for av_gettime from utils.c to avformat.h.

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

16 years agoAdd alltools target to build all the tools/ stuff.
Diego Biurrun [Sat, 27 Sep 2008 05:01:57 +0000 (05:01 +0000)]
Add alltools target to build all the tools/ stuff.

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

16 years agoReplace apparently always true condition by assert().
Michael Niedermayer [Sat, 27 Sep 2008 02:39:24 +0000 (02:39 +0000)]
Replace apparently always true condition by assert().

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

16 years agoSimplify pix_fmt_id instead of listing a subset of non-simplified ones.
Michael Niedermayer [Sat, 27 Sep 2008 01:59:50 +0000 (01:59 +0000)]
Simplify pix_fmt_id instead of listing a subset of non-simplified ones.

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

16 years agoCheck the 4th plane too when selecting the pixfmt.
Michael Niedermayer [Sat, 27 Sep 2008 01:50:57 +0000 (01:50 +0000)]
Check the 4th plane too when selecting the pixfmt.
Fixes a crash with Test-4-component-YCCK.jpg.

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

16 years agoReplace 'test' invocation by 'test -n', this should be safer.
Diego Biurrun [Fri, 26 Sep 2008 21:39:22 +0000 (21:39 +0000)]
Replace 'test' invocation by 'test -n', this should be safer.

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

16 years agoAdd support for passing a version string to configure that is appended to
Diego Biurrun [Fri, 26 Sep 2008 21:37:50 +0000 (21:37 +0000)]
Add support for passing a version string to configure that is appended to
FFmpeg's version string output. This can be used by distributions to mark
their packages as being modified versions without hacking the sources.

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

16 years agoUse better table heading names in the supported formats tables.
Diego Biurrun [Fri, 26 Sep 2008 19:58:27 +0000 (19:58 +0000)]
Use better table heading names in the supported formats tables.

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

16 years agoForgotten changelog update for ASS/SSA (de)muxer.
Michael Niedermayer [Fri, 26 Sep 2008 19:57:06 +0000 (19:57 +0000)]
Forgotten changelog update for ASS/SSA (de)muxer.

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

16 years agoASS/SSA muxer.
Michael Niedermayer [Fri, 26 Sep 2008 19:42:21 +0000 (19:42 +0000)]
ASS/SSA muxer.

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

16 years agowhitespace cosmetics
Diego Biurrun [Fri, 26 Sep 2008 19:35:17 +0000 (19:35 +0000)]
whitespace cosmetics

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

16 years agoSimplify: avoid duplication backward_filter()
Vitor Sessak [Fri, 26 Sep 2008 18:42:06 +0000 (18:42 +0000)]
Simplify: avoid duplication backward_filter()

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

16 years agoRemove unused variable.
Diego Biurrun [Fri, 26 Sep 2008 18:11:41 +0000 (18:11 +0000)]
Remove unused variable.

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

16 years agoadd ok parts to the rm demuxer for SIPRO support
Benjamin Larsson [Fri, 26 Sep 2008 12:12:25 +0000 (12:12 +0000)]
add ok parts to the rm demuxer for SIPRO support

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

16 years agoAdd support for Acelp.net fourcc and codecid, remuxing wav to avi should work
Benjamin Larsson [Fri, 26 Sep 2008 10:59:42 +0000 (10:59 +0000)]
Add support for Acelp.net fourcc and codecid, remuxing wav to avi should work

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

16 years agoDo not lose the '\n'.
Michael Niedermayer [Fri, 26 Sep 2008 03:24:05 +0000 (03:24 +0000)]
Do not lose the '\n'.

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

16 years agosync to latest mingw api, remove unneeded struct definitions
Baptiste Coudurier [Fri, 26 Sep 2008 03:20:35 +0000 (03:20 +0000)]
sync to latest mingw api, remove unneeded struct definitions

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

16 years ago2 in 1, an ASS and SSA demuxer.
Michael Niedermayer [Fri, 26 Sep 2008 02:19:21 +0000 (02:19 +0000)]
2 in 1, an ASS and SSA demuxer.
Tested with -scodec copy on all ASS & SSA samples that i found on mphq (exactly 2).

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

16 years agoinclude sys/select.h, fix freebsd 5.5 compilation
Baptiste Coudurier [Fri, 26 Sep 2008 02:13:38 +0000 (02:13 +0000)]
include sys/select.h, fix freebsd 5.5 compilation

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

16 years agoonly include sys/select.h if present, fix mingw compilation
Baptiste Coudurier [Fri, 26 Sep 2008 02:12:37 +0000 (02:12 +0000)]
only include sys/select.h if present, fix mingw compilation

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

16 years agoPrevent image2 from complaining about non monotone timestamps as
Michael Niedermayer [Fri, 26 Sep 2008 02:07:56 +0000 (02:07 +0000)]
Prevent image2 from complaining about non monotone timestamps as
there are no timestamps in "raw" image2.

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

16 years agoAvoid out of picture accesses when CODEC_FLAG_EMU_EDGE is set.
Michael Niedermayer [Thu, 25 Sep 2008 21:44:07 +0000 (21:44 +0000)]
Avoid out of picture accesses when CODEC_FLAG_EMU_EDGE is set.
Fixes issue427.

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

16 years agoDo instead of divising a float by a constant, multiply by its inverse
Vitor Sessak [Thu, 25 Sep 2008 20:03:57 +0000 (20:03 +0000)]
Do instead of divising a float by a constant, multiply by its inverse

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

16 years agoEnsure that no non-existing frame is used.
Michael Niedermayer [Thu, 25 Sep 2008 19:25:28 +0000 (19:25 +0000)]
Ensure that no non-existing frame is used.
Fixes issue624.

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

16 years agoImplement av_nearer_q() and av_find_nearest_q_idx() functions.
Stefano Sabatini [Thu, 25 Sep 2008 19:23:13 +0000 (19:23 +0000)]
Implement av_nearer_q() and av_find_nearest_q_idx() functions.

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

16 years agoDo not free sps & pps on width/height changes.
Michael Niedermayer [Thu, 25 Sep 2008 19:01:39 +0000 (19:01 +0000)]
Do not free sps & pps on width/height changes.
Fixes issue557.

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

16 years agoDo not use the generic "alloc missing references" code for h.264 as it does
Michael Niedermayer [Thu, 25 Sep 2008 14:34:14 +0000 (14:34 +0000)]
Do not use the generic "alloc missing references" code for h.264 as it does
not work correctly in that case.
Fixes issue652.

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

16 years agoInitialize next/last_picture* as the generic code does not always
Michael Niedermayer [Thu, 25 Sep 2008 14:29:35 +0000 (14:29 +0000)]
Initialize next/last_picture* as the generic code does not always
set them to sane values.

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

16 years agoPrint which slices are IDR not just the slice type.
Michael Niedermayer [Thu, 25 Sep 2008 12:04:25 +0000 (12:04 +0000)]
Print which slices are IDR not just the slice type.

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

16 years agoFix CAVLC+8x8+MBAFF loop filter.
Michael Niedermayer [Thu, 25 Sep 2008 00:41:49 +0000 (00:41 +0000)]
Fix CAVLC+8x8+MBAFF loop filter.
Fixes FREXT02_JVC_C.

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

16 years agocosmetics, remove GXF: in log messages since it is present in context
Baptiste Coudurier [Wed, 24 Sep 2008 23:40:55 +0000 (23:40 +0000)]
cosmetics, remove GXF: in log messages since it is present in context

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

16 years agoskip invalid audio samples in gxf packets
Baptiste Coudurier [Wed, 24 Sep 2008 23:31:04 +0000 (23:31 +0000)]
skip invalid audio samples in gxf packets

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

16 years agoField -> MBAFF direct mode can use data from fields that are not
Michael Niedermayer [Wed, 24 Sep 2008 23:24:24 +0000 (23:24 +0000)]
Field -> MBAFF direct mode can use data from fields that are not
in the reference list. Follow the spec and no comment on the sanity of this
design ...
Fixes HPCAMAPALQ_BRCM_B

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

16 years agoinclude sys/select.h to get select, according to posix 2001,
Baptiste Coudurier [Wed, 24 Sep 2008 22:11:53 +0000 (22:11 +0000)]
include sys/select.h to get select, according to posix 2001,
fix compilation on freebsd 5.5

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

16 years agoinclude sys/select.h instead of unistd.h to get select,
Baptiste Coudurier [Wed, 24 Sep 2008 22:08:50 +0000 (22:08 +0000)]
include sys/select.h instead of unistd.h to get select,
according to posix 2001, fix compilation on freebsd 5.5

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

16 years agoMove constant multiplication out of the loop
Vitor Sessak [Wed, 24 Sep 2008 20:31:24 +0000 (20:31 +0000)]
Move constant multiplication out of the loop

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

16 years agoCosmetics: move convolve() together with the other DSP functions
Vitor Sessak [Wed, 24 Sep 2008 20:05:22 +0000 (20:05 +0000)]
Cosmetics: move convolve() together with the other DSP functions

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

16 years agoSimplify: move division by constant off the loop
Vitor Sessak [Wed, 24 Sep 2008 20:03:58 +0000 (20:03 +0000)]
Simplify: move division by constant off the loop

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

16 years agostop parsing if tag size is wrongly < 8 to avoid infinite loop
Baptiste Coudurier [Wed, 24 Sep 2008 18:55:00 +0000 (18:55 +0000)]
stop parsing if tag size is wrongly < 8 to avoid infinite loop

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

16 years agoAvoid segfault due to not set AVCodec.
Michael Niedermayer [Wed, 24 Sep 2008 17:46:23 +0000 (17:46 +0000)]
Avoid segfault due to not set AVCodec.

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

16 years agomerge amr wb case with amr nb and qcelp
Baptiste Coudurier [Wed, 24 Sep 2008 17:17:11 +0000 (17:17 +0000)]
merge amr wb case with amr nb and qcelp

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

16 years agoonly write trailer when state says so, should fix issue #646
Baptiste Coudurier [Wed, 24 Sep 2008 17:11:46 +0000 (17:11 +0000)]
only write trailer when state says so, should fix issue #646

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

16 years agodo not override sample rate for amr nor qcelp, should fix some qcelp files at 16000hz
Baptiste Coudurier [Wed, 24 Sep 2008 17:09:59 +0000 (17:09 +0000)]
do not override sample rate for amr nor qcelp, should fix some qcelp files at 16000hz

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

16 years agoCorrect wrong lower limit and condition used in APE decoder
Kostya Shishkov [Wed, 24 Sep 2008 12:45:28 +0000 (12:45 +0000)]
Correct wrong lower limit and condition used in APE decoder

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

16 years agoASF stands for "advanced stream format" not "adaptive ...", changing it to "ASF".
Michael Niedermayer [Wed, 24 Sep 2008 12:03:25 +0000 (12:03 +0000)]
ASF stands for "advanced stream format" not "adaptive ...", changing it to "ASF".

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

16 years agoMerge the 2 lpc loops.
Michael Niedermayer [Tue, 23 Sep 2008 23:16:48 +0000 (23:16 +0000)]
Merge the 2 lpc loops.
This changes the output by (stddev:    0.21 PSNR:109.51, file:ddinterview28.ra),
the changes are due to float rounding inaccuracies and do not happen if doubles
are used.

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

16 years agoFactorize lpc code slightly.
Michael Niedermayer [Tue, 23 Sep 2008 22:49:22 +0000 (22:49 +0000)]
Factorize lpc code slightly.

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

16 years agoAdd MIPS to list of architectures requiring PIC flags.
Diego Biurrun [Tue, 23 Sep 2008 11:10:38 +0000 (11:10 +0000)]
Add MIPS to list of architectures requiring PIC flags.
Prior to gcc version 4.3 PIC was the default, now it needs to be enabled
explicitly. Passing the flag to older gcc versions does not hurt.

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

16 years agoCosmetics: reindent after last commit
Kostya Shishkov [Tue, 23 Sep 2008 08:45:46 +0000 (08:45 +0000)]
Cosmetics: reindent after last commit

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

16 years agoAdd RLE4 and RLE8 decoding support for BMP
Kostya Shishkov [Tue, 23 Sep 2008 08:45:12 +0000 (08:45 +0000)]
Add RLE4 and RLE8 decoding support for BMP

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

16 years agoAdd support for 1-bit, 4-bit, 8-bit and some 16-bit raw BMP
Kostya Shishkov [Tue, 23 Sep 2008 08:38:32 +0000 (08:38 +0000)]
Add support for 1-bit, 4-bit, 8-bit and some 16-bit raw BMP

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

16 years agoCalculate line size correctly for bit depths < 8
Kostya Shishkov [Tue, 23 Sep 2008 08:32:18 +0000 (08:32 +0000)]
Calculate line size correctly for bit depths < 8

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

16 years agoAdd myself to BMP format maintainers (with permission from Mans on IRC)
Kostya Shishkov [Tue, 23 Sep 2008 08:26:59 +0000 (08:26 +0000)]
Add myself to BMP format maintainers (with permission from Mans on IRC)

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

16 years agoAdd support for RVTR fourCC
Vitor Sessak [Tue, 23 Sep 2008 06:24:00 +0000 (06:24 +0000)]
Add support for RVTR fourCC

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

16 years agoA few empty lines for readability.
Michael Niedermayer [Mon, 22 Sep 2008 20:46:52 +0000 (20:46 +0000)]
A few empty lines for readability.

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

16 years agoAnother try to fix temporal direct mode references.
Michael Niedermayer [Mon, 22 Sep 2008 20:43:35 +0000 (20:43 +0000)]
Another try to fix temporal direct mode references.
Fixes at least
CAPAMA3_Sand_F.264
CVMAPAQP3_Sony_E.jsv

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