platform/upstream/libav.git
17 years agocompile mjpeg parser if requested
Alex Beregszaszi [Sat, 21 Apr 2007 00:36:53 +0000 (00:36 +0000)]
compile mjpeg parser if requested

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

17 years agoac3 parser requires tables from ac3tab.h, which are compiled into ac3.c
Alex Beregszaszi [Sat, 21 Apr 2007 00:29:01 +0000 (00:29 +0000)]
ac3 parser requires tables from ac3tab.h, which are compiled into ac3.c

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

17 years agocosmetics: remove my email address
Alex Beregszaszi [Fri, 20 Apr 2007 23:59:22 +0000 (23:59 +0000)]
cosmetics: remove my email address

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

17 years agoremove possibly broken wince cruft
Alex Beregszaszi [Fri, 20 Apr 2007 23:45:53 +0000 (23:45 +0000)]
remove possibly broken wince cruft

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

17 years agotypo
Diego Biurrun [Fri, 20 Apr 2007 15:48:26 +0000 (15:48 +0000)]
typo

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

17 years agoadd .type foo, %function directives for the benefit of debuggers
Måns Rullgård [Thu, 19 Apr 2007 20:09:43 +0000 (20:09 +0000)]
add .type foo, %function directives for the benefit of debuggers
based on patch by Matthieu Castet, castet ! matthieu $ free ! fr

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

17 years agoFix parts missed in clip -> av_clip rename
Reimar Döffinger [Thu, 19 Apr 2007 16:12:06 +0000 (16:12 +0000)]
Fix parts missed in clip -> av_clip rename

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

17 years agoFix an use-after-free bug
Luca Abeni [Thu, 19 Apr 2007 13:55:06 +0000 (13:55 +0000)]
Fix an use-after-free bug

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

17 years agoRemove unused callbacks from ffserver
Luca Abeni [Thu, 19 Apr 2007 13:54:11 +0000 (13:54 +0000)]
Remove unused callbacks from ffserver

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

17 years agoDeobfuscade decodeTonalComponents calling logic.
Benjamin Larsson [Wed, 18 Apr 2007 19:58:20 +0000 (19:58 +0000)]
Deobfuscade decodeTonalComponents calling logic.

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

17 years agoVersion bump, atrac3 added.
Benjamin Larsson [Wed, 18 Apr 2007 19:49:47 +0000 (19:49 +0000)]
Version bump, atrac3 added.

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

17 years agoLet maintain things. Added myself as atrac3 maintainer.
Benjamin Larsson [Wed, 18 Apr 2007 19:48:52 +0000 (19:48 +0000)]
Let maintain things. Added myself as atrac3 maintainer.

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

17 years agoSimplify, patch by Ramiro Polla.
Ramiro Polla [Wed, 18 Apr 2007 19:47:22 +0000 (19:47 +0000)]
Simplify, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

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

17 years agoRemove unused vars, patch by Ramiro Polla.
Ramiro Polla [Wed, 18 Apr 2007 19:46:42 +0000 (19:46 +0000)]
Remove unused vars, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

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

17 years agoRemove unused vars, patch by Ramiro Polla.
Ramiro Polla [Wed, 18 Apr 2007 19:44:54 +0000 (19:44 +0000)]
Remove unused vars, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

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

17 years agoCosmetics, patch by Ramiro Polla.
Ramiro Polla [Wed, 18 Apr 2007 19:44:04 +0000 (19:44 +0000)]
Cosmetics, patch by Ramiro Polla.
ramiro ta lisha tod ufsc tod br

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

17 years agoPullback should be performed on scaled motion vectors in B-frames
Kostya Shishkov [Wed, 18 Apr 2007 17:36:52 +0000 (17:36 +0000)]
Pullback should be performed on scaled motion vectors in B-frames

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

17 years agopreserve alpha channel when converting rgb32 to bgr32 in plain C
Ivo van Poorten [Wed, 18 Apr 2007 16:40:58 +0000 (16:40 +0000)]
preserve alpha channel when converting rgb32 to bgr32 in plain C

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

17 years agofix red_15mask and green_15mask. the previous values were wrong and caused
Ivo van Poorten [Wed, 18 Apr 2007 16:40:07 +0000 (16:40 +0000)]
fix red_15mask and green_15mask. the previous values were wrong and caused
some SIMD functions to output wrong data.

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

17 years agotest widths all down to one. this tests whether the scalers correctly switch
Ivo van Poorten [Wed, 18 Apr 2007 14:22:42 +0000 (14:22 +0000)]
test widths all down to one. this tests whether the scalers correctly switch
to plain C when width < unit size of assembly code.

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

17 years agoRemove the build instructions from the doxygen comments, they are duplicated
Diego Biurrun [Wed, 18 Apr 2007 09:34:08 +0000 (09:34 +0000)]
Remove the build instructions from the doxygen comments, they are duplicated
from the user level documentation and already partially outdated.

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

17 years agoDoxygen comment wording/spelling
Diego Biurrun [Wed, 18 Apr 2007 09:29:18 +0000 (09:29 +0000)]
Doxygen comment wording/spelling

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

17 years agoskip MMX code in rgb24tobgr24 if the size of the input is smaller than the
Ivo van Poorten [Wed, 18 Apr 2007 09:27:59 +0000 (09:27 +0000)]
skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
size of the units the MMX code processes

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

17 years agoskip MMX code in rgb32to16 if the size of the input is smaller than the
Ivo van Poorten [Wed, 18 Apr 2007 09:26:22 +0000 (09:26 +0000)]
skip MMX code in rgb32to16 if the size of the input is smaller than the
size of the units the MMX code processes

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

17 years agoskip MMX code in rgb32to15 if the size of the input is smaller than the
Ivo van Poorten [Wed, 18 Apr 2007 09:24:49 +0000 (09:24 +0000)]
skip MMX code in rgb32to15 if the size of the input is smaller than the
size of the units the MMX code processes

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

17 years agoAtrac3 decoder.
Benjamin Larsson [Tue, 17 Apr 2007 20:53:39 +0000 (20:53 +0000)]
Atrac3 decoder.

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

17 years agoslightly faster rgb32tobgr32; avoid one add and one cmp
Ivo van Poorten [Tue, 17 Apr 2007 20:38:17 +0000 (20:38 +0000)]
slightly faster rgb32tobgr32; avoid one add and one cmp

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

17 years agoFix the most obvious typos in the development policy doc section
Reimar Döffinger [Tue, 17 Apr 2007 14:06:08 +0000 (14:06 +0000)]
Fix the most obvious typos in the development policy doc section

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

17 years agopatch submission checklist
Michael Niedermayer [Tue, 17 Apr 2007 13:07:31 +0000 (13:07 +0000)]
patch submission checklist

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

17 years agoadd a commit-rule precision when applying patches discussed on the mailing list
Benoit Fouet [Tue, 17 Apr 2007 08:37:39 +0000 (08:37 +0000)]
add a commit-rule precision when applying patches discussed on the mailing list

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

17 years agoNew implementation of rgb32tobgr32
Ivo van Poorten [Mon, 16 Apr 2007 21:41:03 +0000 (21:41 +0000)]
New implementation of rgb32tobgr32

The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL

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

17 years agoMention configure parameters for enabling AMR.
Diego Biurrun [Sun, 15 Apr 2007 19:45:48 +0000 (19:45 +0000)]
Mention configure parameters for enabling AMR.

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

17 years agoadd an enum for need_parsing
Aurelien Jacobs [Sun, 15 Apr 2007 13:51:57 +0000 (13:51 +0000)]
add an enum for need_parsing

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

17 years agoMake the declaration of AVInputFormat ac3_demuxer conditional
Diego Biurrun [Sun, 15 Apr 2007 12:35:44 +0000 (12:35 +0000)]
Make the declaration of AVInputFormat ac3_demuxer conditional
on CONFIG_AC3_DEMUXER.

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

17 years agoThe AC3 demuxer depends on the AC3 parser.
Diego Biurrun [Sun, 15 Apr 2007 12:34:50 +0000 (12:34 +0000)]
The AC3 demuxer depends on the AC3 parser.

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

17 years agoMove AC3 header parsing code together with the rest of the AC3 parsing code.
Diego Biurrun [Sun, 15 Apr 2007 12:32:36 +0000 (12:32 +0000)]
Move AC3 header parsing code together with the rest of the AC3 parsing code.

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

17 years agofix mjpeg.mov
Michael Niedermayer [Sun, 15 Apr 2007 08:53:03 +0000 (08:53 +0000)]
fix mjpeg.mov

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

17 years agoimprove horizontal chroma resolution with pal
Michael Niedermayer [Sun, 15 Apr 2007 01:27:34 +0000 (01:27 +0000)]
improve horizontal chroma resolution with pal

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

17 years agoconvert palette to yuv instead of converting each pixel after pal->rgb
Michael Niedermayer [Sun, 15 Apr 2007 00:53:32 +0000 (00:53 +0000)]
convert palette to yuv instead of converting each pixel after pal->rgb

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

17 years agofix playback of angels_480-mjpegcompress.avi
Michael Niedermayer [Sat, 14 Apr 2007 22:58:23 +0000 (22:58 +0000)]
fix playback of angels_480-mjpegcompress.avi

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

17 years agofix playback of odd_height.mov
Michael Niedermayer [Sat, 14 Apr 2007 22:22:34 +0000 (22:22 +0000)]
fix playback of odd_height.mov
this isnt the most beautifull solution but at least it works independant of the
random height in mov and it doesnt add any secholes

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

17 years agocorrect another possible buffer overflow where interlaced would
Michael Niedermayer [Sat, 14 Apr 2007 22:05:12 +0000 (22:05 +0000)]
correct another possible buffer overflow where interlaced would
get stuck to 1 but then width/height would change and interlaced
wouldnt be reset ...

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

17 years agofix tiff regression test (bitexact flag was ignoredwhich caused the
Michael Niedermayer [Sat, 14 Apr 2007 18:58:26 +0000 (18:58 +0000)]
fix tiff regression test (bitexact flag was ignoredwhich caused the
LAVC version to be in the file and thus breaking with the last change of that)

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

17 years agoremove MpegEncContext, patch by baptiste
Baptiste Coudurier [Sat, 14 Apr 2007 18:42:50 +0000 (18:42 +0000)]
remove MpegEncContext, patch by baptiste
approved by me already but apparently forgotten

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

17 years agofix overhead and bitrate statistics
Michael Niedermayer [Sat, 14 Apr 2007 17:50:39 +0000 (17:50 +0000)]
fix overhead and bitrate statistics

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

17 years agoUpdate preprocessor directive comments to take recent changes to this file
Diego Biurrun [Sat, 14 Apr 2007 09:59:57 +0000 (09:59 +0000)]
Update preprocessor directive comments to take recent changes to this file
into account.

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

17 years agoSimplify Darwin gcc flags setting.
Diego Biurrun [Sat, 14 Apr 2007 09:52:30 +0000 (09:52 +0000)]
Simplify Darwin gcc flags setting.

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

17 years agoRemove redundant 2.95 branch from the Darwin gcc check. It is already
Diego Biurrun [Sat, 14 Apr 2007 08:33:46 +0000 (08:33 +0000)]
Remove redundant 2.95 branch from the Darwin gcc check.  It is already
being handled by the default case.

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

17 years agoone patch one mail
Michael Niedermayer [Fri, 13 Apr 2007 23:36:58 +0000 (23:36 +0000)]
one patch one mail

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

17 years agotrap signals in tests that can crash
Måns Rullgård [Fri, 13 Apr 2007 20:16:13 +0000 (20:16 +0000)]
trap signals in tests that can crash

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

17 years agocosmetics: Fix indentation.
Diego Biurrun [Fri, 13 Apr 2007 12:02:54 +0000 (12:02 +0000)]
cosmetics: Fix indentation.

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

17 years agotimestamps generation improvement when parsing avi
Joakim Plate [Fri, 13 Apr 2007 07:50:04 +0000 (07:50 +0000)]
timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.

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

17 years agochange atoll call to equivalent strtoll to fix compilation on Mac OS X 10.2
Patrice Bensoussan [Fri, 13 Apr 2007 07:19:12 +0000 (07:19 +0000)]
change atoll call to equivalent strtoll to fix compilation on Mac OS X 10.2
patch by Patrice Bensoussan \ patrice dot bensoussan chez free dot fr
Original thread:
date: 04/05/2007 07:56 PM
subject: [Ffmpeg-devel] [PATCH] Fix broken compilation on Mac OS X 10.2 due to OPT_INT64 support

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

17 years agocosmetics, expand all tabs to four spaces.
Ivo van Poorten [Thu, 12 Apr 2007 19:31:35 +0000 (19:31 +0000)]
cosmetics, expand all tabs to four spaces.

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

17 years agoReplace huge switch statement by a lookup table.
Ivo van Poorten [Thu, 12 Apr 2007 19:25:36 +0000 (19:25 +0000)]
Replace huge switch statement by a lookup table.
Add newline to final report.

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

17 years agoAs usual Real actually took something existing and rebranded it.
Benjamin Larsson [Thu, 12 Apr 2007 15:37:23 +0000 (15:37 +0000)]
As usual Real actually took something existing and rebranded it.
Cook looks very much like G.722.1.

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

17 years agospelling
Diego Biurrun [Thu, 12 Apr 2007 11:28:34 +0000 (11:28 +0000)]
spelling

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

17 years agoAdd a note about how to enable external libraries.
Diego Biurrun [Thu, 12 Apr 2007 11:15:23 +0000 (11:15 +0000)]
Add a note about how to enable external libraries.

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

17 years agoAdd complete instructions for the brave people wishing to fiddle with the
Diego Biurrun [Thu, 12 Apr 2007 11:12:43 +0000 (11:12 +0000)]
Add complete instructions for the brave people wishing to fiddle with the
reference encoder/decoder source.

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

17 years agotypo
Diego Biurrun [Thu, 12 Apr 2007 11:07:10 +0000 (11:07 +0000)]
typo

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

17 years agoUpdate AMR instructions for last round of changes.
Diego Biurrun [Thu, 12 Apr 2007 11:05:38 +0000 (11:05 +0000)]
Update AMR instructions for last round of changes.

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

17 years agoReplace hackish support for amr-nb and amr-wb. Instead of including the source
Stanislav Brabec [Thu, 12 Apr 2007 10:59:52 +0000 (10:59 +0000)]
Replace hackish support for amr-nb and amr-wb. Instead of including the source
of the reference implementation it is possible to use proper libraries now.
patch by Stanislav Brabec, sbrabec suse cz, changes and bug fixes by me

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

17 years agoUpdate download URL with a link to a working version.
Diego Biurrun [Thu, 12 Apr 2007 10:27:40 +0000 (10:27 +0000)]
Update download URL with a link to a working version.

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

17 years agoDVR-MS probe audio format
John Donaghy [Thu, 12 Apr 2007 08:11:33 +0000 (08:11 +0000)]
DVR-MS probe audio format
patch by John Donaghy \ johnfdonaghy chez gmail dot com /
Original thread:
date: 03/13/2007 04:56 PM
subject: [Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)

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

17 years agocosmetics after last commit; remove superfluous braces
Ivo van Poorten [Wed, 11 Apr 2007 22:17:58 +0000 (22:17 +0000)]
cosmetics after last commit; remove superfluous braces

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

17 years agoRemove code duplication in sws_rgb2rgb_init.
Ivo van Poorten [Wed, 11 Apr 2007 21:00:25 +0000 (21:00 +0000)]
Remove code duplication in sws_rgb2rgb_init.

The lists of assignments of all rgbxtoy variants are removed from
sws_rgb2rgb_init and replaced by a single list inside the template file.
This way, multiple lists are generated by the preprocessor and each list
gets its own initialization function. Those are called from the main
sws_rgb2rgb_init function, if applicable.

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

17 years agoadd a check before find_frame_end call
Limin Wang [Wed, 11 Apr 2007 14:04:47 +0000 (14:04 +0000)]
add a check before find_frame_end call
Patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
date: 04/09/2007 03:54 PM
subject: [Ffmpeg-devel] [PATCH] fix segment fault in h264_parse if buf_size is zero

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

17 years agoPer reference swf/flv adpcm encoder.
Benjamin Larsson [Wed, 11 Apr 2007 13:10:13 +0000 (13:10 +0000)]
Per reference swf/flv adpcm encoder.

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

17 years agocosmetics: indentation
Diego Biurrun [Wed, 11 Apr 2007 06:59:09 +0000 (06:59 +0000)]
cosmetics: indentation

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

17 years agoFix the poll() loop (ret == 0 means that a timeout expired, so it must be
Luca Abeni [Tue, 10 Apr 2007 14:40:03 +0000 (14:40 +0000)]
Fix the poll() loop (ret == 0 means that a timeout expired, so it must be
handled)

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

17 years agoFix the generation of RTSP reply headers (the "DEF()" macro is not used
Luca Abeni [Tue, 10 Apr 2007 14:36:11 +0000 (14:36 +0000)]
Fix the generation of RTSP reply headers (the "DEF()" macro is not used
anymore in rtspcodes.h)

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

17 years agoadd D-10 PAL 40 audio essence container ul
Baptiste Coudurier [Tue, 10 Apr 2007 14:10:36 +0000 (14:10 +0000)]
add D-10 PAL 40 audio essence container ul

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

17 years agoadd D-10 PAL 40 ul
Baptiste Coudurier [Tue, 10 Apr 2007 14:04:59 +0000 (14:04 +0000)]
add D-10 PAL 40 ul

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

17 years agocosmetics: indentation
Aurelien Jacobs [Tue, 10 Apr 2007 11:27:24 +0000 (11:27 +0000)]
cosmetics: indentation

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

17 years agossd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
Luca Barbato [Tue, 10 Apr 2007 09:47:37 +0000 (09:47 +0000)]
ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1

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

17 years agocosmetics after last commit
Ivo van Poorten [Tue, 10 Apr 2007 09:16:35 +0000 (09:16 +0000)]
cosmetics after last commit

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

17 years agoAdd support for grayscale images with arbitrary maxvals.
Ivo van Poorten [Tue, 10 Apr 2007 09:15:54 +0000 (09:15 +0000)]
Add support for grayscale images with arbitrary maxvals.

The image data is rescaled to the nearest pix_fmt it will fit in (gray8 or
gray16). Conversion is done inside the codec in order to avoid the need
for 14 (or 65534) new pix_fmt's.

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

17 years agoFix an underflow/overflow that was causing some crackles when playing
Marco Gerards [Tue, 10 Apr 2007 08:18:04 +0000 (08:18 +0000)]
Fix an underflow/overflow that was causing some crackles when playing
certain THP files.
patch by Marco Gerards, mgerards xs4all nl

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

17 years agoSet C predictor to zero if unavailable (should fix B-frame border artifacts)
Kostya Shishkov [Tue, 10 Apr 2007 05:31:22 +0000 (05:31 +0000)]
Set C predictor to zero if unavailable (should fix B-frame border artifacts)

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

17 years agosuperflouos ()
Michael Niedermayer [Mon, 9 Apr 2007 22:25:27 +0000 (22:25 +0000)]
superflouos ()

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

17 years agoremove code_prefix variable, no speed change
Michael Niedermayer [Mon, 9 Apr 2007 22:21:49 +0000 (22:21 +0000)]
remove code_prefix variable, no speed change

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

17 years agosimplify
Michael Niedermayer [Mon, 9 Apr 2007 22:18:09 +0000 (22:18 +0000)]
simplify

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

17 years agoadd support for seeking to a keyframe instead of a random frame
Aurelien Jacobs [Mon, 9 Apr 2007 17:03:20 +0000 (17:03 +0000)]
add support for seeking to a keyframe instead of a random frame

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

17 years agoadd an intermediate variable (prepare for next patch)
Aurelien Jacobs [Mon, 9 Apr 2007 17:00:09 +0000 (17:00 +0000)]
add an intermediate variable (prepare for next patch)

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

17 years agoadd support for seeking in matroska files
Aurelien Jacobs [Mon, 9 Apr 2007 16:48:28 +0000 (16:48 +0000)]
add support for seeking in matroska files

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

17 years agomove matroska_find_track_by_num() upper in the file
Aurelien Jacobs [Mon, 9 Apr 2007 16:45:43 +0000 (16:45 +0000)]
move matroska_find_track_by_num() upper in the file
so that it can be used by other part of the code

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

17 years agocluster position is relative to segment_start
Aurelien Jacobs [Mon, 9 Apr 2007 16:29:10 +0000 (16:29 +0000)]
cluster position is relative to segment_start

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

17 years agoproperly set streams start_time
Aurelien Jacobs [Mon, 9 Apr 2007 16:27:00 +0000 (16:27 +0000)]
properly set streams start_time

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

17 years agoremove unused context field
Aurelien Jacobs [Mon, 9 Apr 2007 16:24:03 +0000 (16:24 +0000)]
remove unused context field

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

17 years agoremove wrong and no more used packet reordering code
Aurelien Jacobs [Mon, 9 Apr 2007 16:22:18 +0000 (16:22 +0000)]
remove wrong and no more used packet reordering code

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

17 years agoWhen dst_length == 0 bit_length has to be 0, too, but the current code still
Reinhard Nissl [Mon, 9 Apr 2007 14:10:07 +0000 (14:10 +0000)]
When dst_length == 0 bit_length has to be 0, too, but the current code still
calls decode_rbsp_trailing() and therefore bit_length might get negative.
Although the remaining code is able to handle a negative bit_length, avoid
the calculation at all by setting bit_length to 0 for dst_length == 0.
patch by Reinhard Nissl, rnissl gmx de

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

17 years agoRemove a NAL unit's trailing zero bytes even when dst_length is 1.
Reinhard Nissl [Mon, 9 Apr 2007 13:39:35 +0000 (13:39 +0000)]
Remove a NAL unit's trailing zero bytes even when dst_length is 1.
Consider the following byte sequence

    00 00 01 0a 00 00 00 01 09 ...
               ^  ^
               A  B

decode_nal() determines dst_length to be 1 (i. e. the byte between label
A and B above). However, this byte is a trailing zero byte as the spec
says the the current NAL unit is terminated by a byte sequence 00 00 00.

The current code used a loop to decrement dst_length accordingly. But the
loop doesn't start as the loop condition checks for dst_length > 1, which
should read dst_length > 0.
patch by Reinhard Nissl, rnissl gmx de

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

17 years agoscenario: A properly coded frame is followed by an end of sequence NAL unit,
Reinhard Nissl [Mon, 9 Apr 2007 12:55:07 +0000 (12:55 +0000)]
scenario: A properly coded frame is followed by an end of sequence NAL unit,
i.e. the four bytes 00 00 01 0a.
When decode_nal() decodes the end of sequence NAL unit, it returns with
dst_length == 0. The original code leads to a return -1 which discards
the current properly decoded frame.
patch by Reinhard Nissl, rnissl gmx de

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

17 years agoGet rid of unnecessary pointer casts.
Nicholas Tung [Sun, 8 Apr 2007 20:24:16 +0000 (20:24 +0000)]
Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com

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

17 years agoMake some functions which aren't used outside their declaring source file
Stefan Huehner [Sun, 8 Apr 2007 20:21:11 +0000 (20:21 +0000)]
Make some functions which aren't used outside their declaring source file
and have no prototype in a header file static.
patch by Stefan Huehner, stefan huehner org

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

17 years agoOnly compile in Theora-specific functions if the Theora decoder has been
Diego Biurrun [Sun, 8 Apr 2007 18:54:53 +0000 (18:54 +0000)]
Only compile in Theora-specific functions if the Theora decoder has been
enabled.  Also fixes some "defined but not used" warnings in that case.

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

17 years agocosmetics: Move one code block to save an #ifdef in the next commit.
Diego Biurrun [Sun, 8 Apr 2007 18:52:03 +0000 (18:52 +0000)]
cosmetics: Move one code block to save an #ifdef in the next commit.

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

17 years agoRemove #if 0 code.
Diego Biurrun [Sun, 8 Apr 2007 18:50:18 +0000 (18:50 +0000)]
Remove #if 0 code.

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

17 years agoFix compilation when Theora decoder is disabled, but VP3 is enabled.
Diego Biurrun [Sun, 8 Apr 2007 13:42:44 +0000 (13:42 +0000)]
Fix compilation when Theora decoder is disabled, but VP3 is enabled.

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

17 years agoRemove unused variable.
Diego Biurrun [Sun, 8 Apr 2007 13:02:25 +0000 (13:02 +0000)]
Remove unused variable.

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