]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
14 years agoMakefile.omk sucks in config generated by config4omk. omkize
Pavel Pisa [Thu, 14 May 2009 08:19:45 +0000 (10:19 +0200)]
Makefile.omk sucks in config generated by config4omk.

This is not long term optimal solution, but it
is least intrusive solution for our actual needs.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoAdded script to configure FFMpeg for OMK build.
Pavel Pisa [Thu, 14 May 2009 08:02:47 +0000 (10:02 +0200)]
Added script to configure FFMpeg for OMK build.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoThe temporary workaround to create _build/user/ffmpeg/libavcodec/x86v directory.
Pavel Pisa [Wed, 13 May 2009 23:50:52 +0000 (01:50 +0200)]
The temporary workaround to create _build/user/ffmpeg/libavcodec/x86v directory.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoThe FFMpeg can be made to build by OMK hackish way.
Pavel Pisa [Wed, 13 May 2009 23:33:16 +0000 (01:33 +0200)]
The FFMpeg can be made to build by OMK hackish way.

The directory
  _build/user/ffmpeg/libavcodec/x86
has to be created by hand. FFMpeg configure
has to be run in sources directory. It generates
config.h and config.mak there. generated config.mak
has to be included in config.omk or config.target
and next line has to be appended to that file
  CFLAGS+=-DHAVE_AV_CONFIG_H $(OPTFLAGS)
The line with LDFLAGS has to be commented out
and project has to be updated according to EXTRALIBS.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoUpdated Makefile.omk for libswscale.
Pavel Pisa [Thu, 14 May 2009 07:49:12 +0000 (09:49 +0200)]
Updated Makefile.omk for libswscale.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoThe first step in omkization.
Pavel Pisa [Thu, 14 May 2009 14:46:32 +0000 (16:46 +0200)]
The first step in omkization.

Libraries Makefile.omk modified to use (.c) source
names instead of (.o) and libraries build translated
to OMK style.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoAdded copy of libswscale/Makefile for omkization.
Pavel Pisa [Thu, 14 May 2009 13:56:02 +0000 (15:56 +0200)]
Added copy of libswscale/Makefile for omkization.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoAdded copies of makefiles for OMK build.
Pavel Pisa [Thu, 14 May 2009 13:54:20 +0000 (15:54 +0200)]
Added copies of makefiles for OMK build.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agoAdd gnu/kfreebsd to list of recognized operating systems.
diego [Thu, 14 May 2009 11:45:41 +0000 (11:45 +0000)]
Add gnu/kfreebsd to list of recognized operating systems.
patch by Andres Mejia, mcitadel gmail com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18822 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")
serge [Thu, 14 May 2009 06:38:49 +0000 (06:38 +0000)]
Fix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine")

This was off-by-one bug which affects floor0 encoded files. Tracked down
by valgrind (was reported as the use of uninitialized memory).

With this patch applied, tiny_psnr now reports the following when ffvorbis
is compared to libvorbis-1.0beta4 output for 'lsp-test.ogg' sample:
stddev:    0.76 PSNR: 98.69 bytes:  3498380/  3498452

Output from libvorbis-1.2 is substantially different:
stddev:  132.57 PSNR: 53.87 bytes:  3498424/  3498496

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18821 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix VBV delay for mpeg1/2 CBR.
michael [Thu, 14 May 2009 03:37:58 +0000 (03:37 +0000)]
Fix VBV delay for mpeg1/2 CBR.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18820 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse skip_bits_long() for large skips
conrad [Thu, 14 May 2009 00:02:07 +0000 (00:02 +0000)]
Use skip_bits_long() for large skips
This fixes ogg/theora on ARM (more generally the A32 bitstream reader)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18819 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd PCE support to the ADTS muxer.
alexc [Wed, 13 May 2009 22:59:58 +0000 (22:59 +0000)]
Add PCE support to the ADTS muxer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18818 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSubroutine to copy an AAC Program Config Element (PCE)
alexc [Wed, 13 May 2009 22:57:30 +0000 (22:57 +0000)]
Subroutine to copy an AAC Program Config Element (PCE)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18817 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics after last commit
alexc [Wed, 13 May 2009 17:59:46 +0000 (17:59 +0000)]
Cosmetics after last commit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18816 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAllow parsing and decoding of ADTS AAC files with channel config = 0
alexc [Wed, 13 May 2009 17:57:58 +0000 (17:57 +0000)]
Allow parsing and decoding of ADTS AAC files with channel config = 0

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18815 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove the ADTS header size to the parser's header file.
alexc [Wed, 13 May 2009 14:11:11 +0000 (14:11 +0000)]
Move the ADTS header size to the parser's header file.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18814 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoparse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop
bcoudurier [Wed, 13 May 2009 08:31:22 +0000 (08:31 +0000)]
parse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18813 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoalign and update doxygen
bcoudurier [Wed, 13 May 2009 08:01:33 +0000 (08:01 +0000)]
align and update doxygen

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18812 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoremove comment
bcoudurier [Wed, 13 May 2009 07:57:08 +0000 (07:57 +0000)]
remove comment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18811 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoParse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
bcoudurier [Wed, 13 May 2009 07:55:03 +0000 (07:55 +0000)]
Parse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
We have now dts <= pts, note that for some B frames dts+1 == pts can happen
if a crappy timebase is used instead of correct /1001.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18810 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd a quick description to the H.264 BSF
alexc [Wed, 13 May 2009 06:06:59 +0000 (06:06 +0000)]
Add a quick description to the H.264 BSF

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18809 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agofactorize av_set_pts_info
bcoudurier [Wed, 13 May 2009 04:22:53 +0000 (04:22 +0000)]
factorize av_set_pts_info

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18808 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetics, alignment
bcoudurier [Wed, 13 May 2009 04:20:23 +0000 (04:20 +0000)]
cosmetics, alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18807 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoadd casts to silence gcc warnings
bcoudurier [Wed, 13 May 2009 00:32:46 +0000 (00:32 +0000)]
add casts to silence gcc warnings

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18806 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoadd casts to silence gcc warnings
bcoudurier [Wed, 13 May 2009 00:27:11 +0000 (00:27 +0000)]
add casts to silence gcc warnings

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18805 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix bandwith vs. bandwiDth typo.
diego [Tue, 12 May 2009 23:40:22 +0000 (23:40 +0000)]
Fix bandwith vs. bandwiDth typo.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18804 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agov210 mov fourcc
bcoudurier [Tue, 12 May 2009 20:00:11 +0000 (20:00 +0000)]
v210 mov fourcc

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18803 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agov210 avi fourcc, v210_720p.avi
bcoudurier [Tue, 12 May 2009 19:58:13 +0000 (19:58 +0000)]
v210 avi fourcc, v210_720p.avi

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18802 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoV210 Uncompressed 4:2:2 10-bit encoder and decoder
bcoudurier [Tue, 12 May 2009 19:56:48 +0000 (19:56 +0000)]
V210 Uncompressed 4:2:2 10-bit encoder and decoder

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18801 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoPer-stream language-tags extraction in asfdec.
benoit [Tue, 12 May 2009 12:35:46 +0000 (12:35 +0000)]
Per-stream language-tags extraction in asfdec.
Patch by Cyril Comparon: gmail(name, surname);
Original thread: Suggestion for a centralized language-tag facility in libavformat
Date: 04/10/2009 07:33 PM

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18800 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCopy input codec's chroma_sample_location to output codec when transcoding.
conrad [Tue, 12 May 2009 00:47:19 +0000 (00:47 +0000)]
Copy input codec's chroma_sample_location to output codec when transcoding.
Currently only used by yuv4mpeg.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18799 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSupport 16K samplerate in Nellymoser.
diego [Mon, 11 May 2009 19:21:49 +0000 (19:21 +0000)]
Support 16K samplerate in Nellymoser.
patch by Alexander Chemeris, ipse.ffmpeg gmail.com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18798 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUpdate regression tests for y4m after r18796
conrad [Mon, 11 May 2009 08:45:20 +0000 (08:45 +0000)]
Update regression tests for y4m after r18796
The default changed from 420mpeg2 to 420jpeg

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18797 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse chroma_sample_location in reading/writing yuv4mpeg
conrad [Mon, 11 May 2009 04:35:15 +0000 (04:35 +0000)]
Use chroma_sample_location in reading/writing yuv4mpeg

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18796 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd a chroma_sample_location field to define positioning of chroma samples
conrad [Mon, 11 May 2009 04:34:23 +0000 (04:34 +0000)]
Add a chroma_sample_location field to define positioning of chroma samples

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18795 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoPPC: 32-bit asm for MAC64 and MLS64
mru [Mon, 11 May 2009 02:41:50 +0000 (02:41 +0000)]
PPC: 32-bit asm for MAC64 and MLS64

GCC makes a mess of these operations, so give it a hand.

55% faster MP3 decoding on G4.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18794 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomove free data in the video case
bcoudurier [Mon, 11 May 2009 02:36:57 +0000 (02:36 +0000)]
move free data in the video case

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18793 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agowrite a single pes for video frames, some proprietary player needs it
bcoudurier [Mon, 11 May 2009 02:30:29 +0000 (02:30 +0000)]
write a single pes for video frames, some proprietary player needs it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18792 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agosgi encoder does not support pal8
bcoudurier [Sun, 10 May 2009 22:36:16 +0000 (22:36 +0000)]
sgi encoder does not support pal8

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18791 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agorgb555le, rgb565le, rgb565be, bgr24 in .mov muxing
bcoudurier [Sun, 10 May 2009 20:41:01 +0000 (20:41 +0000)]
rgb555le, rgb565le, rgb565be, bgr24 in .mov muxing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18790 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agobgra in .mov muxing
bcoudurier [Sun, 10 May 2009 20:14:42 +0000 (20:14 +0000)]
bgra in .mov muxing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18789 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocorrect pixfmt for argb
bcoudurier [Sun, 10 May 2009 20:12:36 +0000 (20:12 +0000)]
correct pixfmt for argb

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18788 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agorgba in .mov muxing
bcoudurier [Sun, 10 May 2009 20:11:11 +0000 (20:11 +0000)]
rgba in .mov muxing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18787 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoreindent
bcoudurier [Sun, 10 May 2009 19:11:06 +0000 (19:11 +0000)]
reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18786 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocheck for palette presence, fix crash with QT-BMP.mov, issue #1074
bcoudurier [Sun, 10 May 2009 19:10:37 +0000 (19:10 +0000)]
check for palette presence, fix crash with QT-BMP.mov, issue #1074

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18785 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove dead nested assignment found by CSA
banan [Sun, 10 May 2009 14:44:09 +0000 (14:44 +0000)]
Remove dead nested assignment found by CSA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18784 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove unused code found by CSA
banan [Sun, 10 May 2009 14:33:40 +0000 (14:33 +0000)]
Remove unused code found by CSA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18783 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoensure first pts is set, according to specs
bcoudurier [Sun, 10 May 2009 01:57:21 +0000 (01:57 +0000)]
ensure first pts is set, according to specs

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18781 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoremove useless max_payload_size variable
bcoudurier [Sun, 10 May 2009 01:41:35 +0000 (01:41 +0000)]
remove useless max_payload_size variable

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18780 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agodo not write dts if pts is not set
bcoudurier [Sun, 10 May 2009 01:37:58 +0000 (01:37 +0000)]
do not write dts if pts is not set

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18779 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agofix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com
bcoudurier [Sun, 10 May 2009 01:02:18 +0000 (01:02 +0000)]
fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18778 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoupdate comment for rgb 16 bit in .mov
bcoudurier [Sun, 10 May 2009 00:53:02 +0000 (00:53 +0000)]
update comment for rgb 16 bit in .mov

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18777 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd @code/@endcode commands to markup C code in av_tree_insert() doxy.
stefano [Sat, 9 May 2009 23:02:20 +0000 (23:02 +0000)]
Add @code/@endcode commands to markup C code in av_tree_insert() doxy.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18776 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd missing '*' to av_tree_insert() doxy.
stefano [Sat, 9 May 2009 23:00:46 +0000 (23:00 +0000)]
Add missing '*' to av_tree_insert() doxy.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18775 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.
diego [Sat, 9 May 2009 12:26:05 +0000 (12:26 +0000)]
Add necessary header for CONFIG_RUNTIME_CPUDETECT preprocessor definition.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18774 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agodata parameter of dnxhd_encode_picture() should not be const.
diego [Fri, 8 May 2009 19:41:21 +0000 (19:41 +0000)]
data parameter of dnxhd_encode_picture() should not be const.
Fixes "dnxhdenc.c:805: warning: initialization from incompatible pointer type".
patch by Daniel Verkamp, daniel drv nu

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18773 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years ago"[" is a terminating char for the filter name. This fixes the parsing of
vitor [Fri, 8 May 2009 19:14:21 +0000 (19:14 +0000)]
"[" is a terminating char for the filter name. This fixes the parsing of
things like

[in] vflip [out];

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18772 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCorrect x/ymin to avoid segfault due to out of picture reads.
michael [Fri, 8 May 2009 15:14:36 +0000 (15:14 +0000)]
Correct x/ymin to avoid segfault due to out of picture reads.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18771 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoWarning fix: Make ogg_stream.codec const
conrad [Wed, 6 May 2009 23:02:26 +0000 (23:02 +0000)]
Warning fix: Make ogg_stream.codec const

This matches the return value of ogg_find_codec and fixes
"libavformat/oggdec.c:333: warning: assignment discards qualifiers from
pointer target type"

Patch by Daniel Verkamp (daniel - drv . nu)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18769 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoChange codec_id type to enum CodecID, fix warning.
stefano [Wed, 6 May 2009 22:38:21 +0000 (22:38 +0000)]
Change codec_id type to enum CodecID, fix warning.

Patch by Daniel Verkamp daniel @ drv @ nu.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18768 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUpdate docs after the 8088flex TMV demuxer and decoder addition.
stefano [Wed, 6 May 2009 22:06:19 +0000 (22:06 +0000)]
Update docs after the 8088flex TMV demuxer and decoder addition.

Patch by Daniel Verkamp daniel AT drv + nu.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18767 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd 8088flex TMV file demuxer.
stefano [Wed, 6 May 2009 22:01:54 +0000 (22:01 +0000)]
Add 8088flex TMV file demuxer.

Patch by Daniel Verkamp daniel|at|drv|nu.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18766 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd 8088flex TMV video decoder.
stefano [Wed, 6 May 2009 21:57:20 +0000 (21:57 +0000)]
Add 8088flex TMV video decoder.

Patch by Daniel Verkamp name at drv ... nu.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18765 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd CGA and palette data for 8088flex TMV decoder.
stefano [Wed, 6 May 2009 21:51:58 +0000 (21:51 +0000)]
Add CGA and palette data for 8088flex TMV decoder.

Patch by Daniel Verkamp  daniel _AT_ drv DOT nu.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18764 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomlpdec: Fix possible writing out of array bounds introduced by being
ramiro [Wed, 6 May 2009 16:01:28 +0000 (16:01 +0000)]
mlpdec: Fix possible writing out of array bounds introduced by being
under-paranoid in r18651.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18763 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomlpdec: Split sync word error and MLP sync word check.
ramiro [Wed, 6 May 2009 15:46:10 +0000 (15:46 +0000)]
mlpdec: Split sync word error and MLP sync word check.
The previous code would print the wrong error message for MLP streams with
TrueHD noise type.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18762 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomlpdec: Fix indentation that got mangled from copy&paste.
ramiro [Wed, 6 May 2009 15:37:25 +0000 (15:37 +0000)]
mlpdec: Fix indentation that got mangled from copy&paste.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18761 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAccept "bikeshed" as a random color.
ramiro [Wed, 6 May 2009 15:25:30 +0000 (15:25 +0000)]
Accept "bikeshed" as a random color.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18758 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message
kostya [Wed, 6 May 2009 06:49:04 +0000 (06:49 +0000)]
Add 32-bit RGB support to TIFF decoder and extend a bit 'unsupported format' message

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18755 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd floating point audio decoding to WavPack decoder.
kostya [Wed, 6 May 2009 05:40:43 +0000 (05:40 +0000)]
Add floating point audio decoding to WavPack decoder.
Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18754 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoPrepare WavPack decoder to support floating point output.
kostya [Wed, 6 May 2009 05:28:06 +0000 (05:28 +0000)]
Prepare WavPack decoder to support floating point output.
Patch by Laurent Aimar (f-e-n-r-i-r .@.t. v=i=d=e=o=l=a=n .d.o.t. o=r=g)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18753 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetics: line wrap and vertical alignment
jbr [Wed, 6 May 2009 01:48:14 +0000 (01:48 +0000)]
cosmetics: line wrap and vertical alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18752 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoac3dec: Remove unneeded context variable, num_cpl_subbands. It is also
jbr [Wed, 6 May 2009 01:47:34 +0000 (01:47 +0000)]
ac3dec: Remove unneeded context variable, num_cpl_subbands.  It is also
not needed for spectral extension or enhanced coupling since it is
redundant information, so I am removing it from decode_band_structure()
as well.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18751 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetics: indentation after last commit
jbr [Tue, 5 May 2009 23:39:10 +0000 (23:39 +0000)]
cosmetics: indentation after last commit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18750 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoac3dec: move channel remapping to outside of block loop
jbr [Tue, 5 May 2009 23:38:12 +0000 (23:38 +0000)]
ac3dec: move channel remapping to outside of block loop

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18749 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoImplement av_parse_color().
stefano [Tue, 5 May 2009 22:10:06 +0000 (22:10 +0000)]
Implement av_parse_color().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18748 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoExtract colorspace fields from MPEG1/2.
michael [Tue, 5 May 2009 19:53:49 +0000 (19:53 +0000)]
Extract colorspace fields from MPEG1/2.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18747 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agompegaudio: enclose SUM8() macro args in parens when used
mru [Tue, 5 May 2009 18:44:13 +0000 (18:44 +0000)]
mpegaudio: enclose SUM8() macro args in parens when used

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18746 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agompegaudio: avoid unnecessary copy in high-precision mode
mru [Tue, 5 May 2009 18:44:10 +0000 (18:44 +0000)]
mpegaudio: avoid unnecessary copy in high-precision mode

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18745 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agompegaudio: use av_clip()
mru [Tue, 5 May 2009 18:44:07 +0000 (18:44 +0000)]
mpegaudio: use av_clip()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18744 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd colorspace fields to AVCodecContext.
michael [Tue, 5 May 2009 18:25:20 +0000 (18:25 +0000)]
Add colorspace fields to AVCodecContext.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18743 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics: Fix indentation after r18741.
cehoyos [Tue, 5 May 2009 15:48:04 +0000 (15:48 +0000)]
Cosmetics: Fix indentation after r18741.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18742 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDo not discard mp3 frames in the parser after a broken frame.
michael [Tue, 5 May 2009 13:46:50 +0000 (13:46 +0000)]
Do not discard mp3 frames in the parser after a broken frame.
Fixes issue1044.
This may cause regressions with broken streams, if you find any, please report!

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18741 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFactorize out integer sample value decoding for WavPack.
kostya [Tue, 5 May 2009 06:10:59 +0000 (06:10 +0000)]
Factorize out integer sample value decoding for WavPack.
This is slightly modified patch by Laurent Aimar.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18740 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agodvh1 avi fourcc, dvh1_sample_truncated.avi, issue #1034
bcoudurier [Tue, 5 May 2009 04:30:08 +0000 (04:30 +0000)]
dvh1 avi fourcc, dvh1_sample_truncated.avi, issue #1034

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18739 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomore dvcprohd .mov fourcc, see #1034
bcoudurier [Tue, 5 May 2009 04:27:24 +0000 (04:27 +0000)]
more dvcprohd .mov fourcc, see #1034

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18738 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoPPC: implement MULH() in assembler
mru [Mon, 4 May 2009 17:31:15 +0000 (17:31 +0000)]
PPC: implement MULH() in assembler

Left to its own devices, gcc calculates the full 64-bit product only to
discard the low 32 bits.  This forces it to do the right thing.

20% faster MP3 decoding on G4.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18737 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDo not scan for MP3 header after the given buffer and return skipped
diego [Mon, 4 May 2009 14:23:48 +0000 (14:23 +0000)]
Do not scan for MP3 header after the given buffer and return skipped
bytes along with consumed bytes on successful decoding.
patch by Zdenek Kabelac, zdenek.kabelac gmail com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18736 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd note about nonfree license of libfaac.
diego [Mon, 4 May 2009 11:37:25 +0000 (11:37 +0000)]
Add note about nonfree license of libfaac.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18735 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoProperly handle SILENCE frame. Patch by Kenan Gillet.
reynaldo [Mon, 4 May 2009 03:25:57 +0000 (03:25 +0000)]
Properly handle SILENCE frame. Patch by Kenan Gillet.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18734 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove dead assignments found by CSA
banan [Sun, 3 May 2009 09:32:40 +0000 (09:32 +0000)]
Remove dead assignments found by CSA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18733 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck whether extra bits block has enough data.
kostya [Sun, 3 May 2009 05:42:51 +0000 (05:42 +0000)]
Check whether extra bits block has enough data.
Patch by Laurent Aimar "f\145nr\151r >at< vide\157lan <dot> o\162g"

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18732 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove dead assignments found by CSA
banan [Sat, 2 May 2009 09:12:03 +0000 (09:12 +0000)]
Remove dead assignments found by CSA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18731 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove dead assignments found by CSA
banan [Sat, 2 May 2009 09:08:40 +0000 (09:08 +0000)]
Remove dead assignments found by CSA

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18730 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDecode extended bitstream for high-precision WavPack files.
kostya [Sat, 2 May 2009 05:17:20 +0000 (05:17 +0000)]
Decode extended bitstream for high-precision WavPack files.
Patch by Laurent Aimar [(wolf, son of Loki) <at> (videolan) <dot> (org)]

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18729 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse new packet reading API, fixes a memory leak.
diego [Fri, 1 May 2009 21:39:53 +0000 (21:39 +0000)]
Use new packet reading API, fixes a memory leak.
patch by Zdenek Kabelac, zdenek.kabelac gmail com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18728 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPrefer (void) over (), for consisteny reason.
stefano [Fri, 1 May 2009 21:35:01 +0000 (21:35 +0000)]
Prefer (void) over (), for consisteny reason.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18727 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake graphparser.c use av_get_token().
stefano [Fri, 1 May 2009 18:17:59 +0000 (18:17 +0000)]
Make graphparser.c use av_get_token().
This also avoids the need for '\=' escaping.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18726 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoav_get_token()
michael [Fri, 1 May 2009 14:38:07 +0000 (14:38 +0000)]
av_get_token()
based on a patch by Stefano Sabatini

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18725 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b