OSDN Git Service

coroid/libav_saccubus.git
14 years agoMake sure av_tree_enumerate() enumerates left->right.
Michael Niedermayer [Sat, 14 Nov 2009 11:19:08 +0000 (11:19 +0000)]
Make sure av_tree_enumerate() enumerates left->right.

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

14 years agoAdd long-term prediction to the ALS decoder.
Thilo Borgmann [Sat, 14 Nov 2009 06:29:19 +0000 (06:29 +0000)]
Add long-term prediction to the ALS decoder.

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

14 years agoac3dec: apply dynamic range compression to correct channels in dual-mono mode.
Justin Ruggles [Sat, 14 Nov 2009 00:25:48 +0000 (00:25 +0000)]
ac3dec: apply dynamic range compression to correct channels in dual-mono mode.

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

14 years agoAdd cflags filter for suncc
Michael Kostylev [Fri, 13 Nov 2009 20:24:42 +0000 (20:24 +0000)]
Add cflags filter for suncc

Patch by Michael Kostylev <gmail>.

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

14 years agoReset rbsp buffer size when freeing its data buffer.
Mike Scheutzow [Fri, 13 Nov 2009 18:33:28 +0000 (18:33 +0000)]
Reset rbsp buffer size when freeing its data buffer.
Patch by Mike Scheutzow $(name) AT alcatel 'minus' lucent com

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

14 years agoAdd some "#if"s to avoid compiling the RTSP code when the RTSP demuxer
Luca Abeni [Fri, 13 Nov 2009 10:19:42 +0000 (10:19 +0000)]
Add some "#if"s to avoid compiling the RTSP code when the RTSP demuxer
is disabled, and remove a useless "#if CONFIG_SDP_DEMUXER"

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

14 years agoSplit overly long line in doxy.
Stefano Sabatini [Thu, 12 Nov 2009 23:05:56 +0000 (23:05 +0000)]
Split overly long line in doxy.

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

14 years agoBump minor version after MPEG-4 Lossless commit
Vitor Sessak [Thu, 12 Nov 2009 20:21:38 +0000 (20:21 +0000)]
Bump minor version after MPEG-4 Lossless commit

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

14 years agoBump minor version after applying ALS decoder.
Carl Eugen Hoyos [Thu, 12 Nov 2009 20:08:17 +0000 (20:08 +0000)]
Bump minor version after applying ALS decoder.

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

14 years agoSplit the sdp_read_packet() function out of rtsp_read_packet().
Luca Abeni [Thu, 12 Nov 2009 15:34:17 +0000 (15:34 +0000)]
Split the sdp_read_packet() function out of rtsp_read_packet().
This allows to avoid compiling RTSP code when not needed.

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

14 years agoMove some some functions around, so that splitting the SDP code out of
Luca Abeni [Thu, 12 Nov 2009 10:31:37 +0000 (10:31 +0000)]
Move some some functions around, so that splitting the SDP code out of
rtsp_read_packet() is simpler.

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

14 years agoMark AOT_ALS as a supported MPEG-4 audio object type.
Alex Converse [Thu, 12 Nov 2009 05:22:51 +0000 (05:22 +0000)]
Mark AOT_ALS as a supported MPEG-4 audio object type.

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

14 years agoDebug print MP4 objectTypeIndication in hex not decimal as values are listed in
Alex Converse [Thu, 12 Nov 2009 02:22:19 +0000 (02:22 +0000)]
Debug print MP4 objectTypeIndication in hex not decimal as values are listed in
hex in all official documents.

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

14 years agoCosmetics: Re-indent
Alex Converse [Thu, 12 Nov 2009 01:45:04 +0000 (01:45 +0000)]
Cosmetics: Re-indent

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

14 years agoFix a __warn_memset_zero_len gcc-4.4 warning.
Alex Converse [Thu, 12 Nov 2009 01:44:38 +0000 (01:44 +0000)]
Fix a __warn_memset_zero_len gcc-4.4 warning.

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

14 years agoSwap slicify / scale description positions, "scale" comes before
Stefano Sabatini [Thu, 12 Nov 2009 00:07:36 +0000 (00:07 +0000)]
Swap slicify / scale description positions, "scale" comes before
"slicify" in lexical order.

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

14 years agoAdd scale filter.
Stefano Sabatini [Wed, 11 Nov 2009 23:50:21 +0000 (23:50 +0000)]
Add scale filter.

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

14 years agoAdd #include for required header config.h.
Diego Biurrun [Wed, 11 Nov 2009 23:46:11 +0000 (23:46 +0000)]
Add #include for required header config.h.

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

14 years agoAdd MPEG-4 Audio Lossless Coding (ALS) decoder.
Thilo Borgmann [Wed, 11 Nov 2009 22:36:17 +0000 (22:36 +0000)]
Add MPEG-4 Audio Lossless Coding (ALS) decoder.

Patch by Thilo Borgmann, thilo D borgmann A googlemail

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

14 years agoAdd the ability to parse the ALSSpecificConfig from an MPEG-4 AudioSpecificConfig...
Thilo Borgmann [Wed, 11 Nov 2009 22:16:54 +0000 (22:16 +0000)]
Add the ability to parse the ALSSpecificConfig from an MPEG-4 AudioSpecificConfig. Patch by Thilo Borgmann
<com googlemail borgmann thilo> as part of GSoC 2009.

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

14 years agoAdd '#undef fprintf' before PRINT macro that uses fprintf.
Diego Biurrun [Wed, 11 Nov 2009 21:57:50 +0000 (21:57 +0000)]
Add '#undef fprintf' before PRINT macro that uses fprintf.
Otherwise there may be trouble when fprintf is disabled in favor of av_log.

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

14 years agoCosmetics: Remove the implied gap before AOT_USAC in the MPEG-4 AOT enum.
Alex Converse [Wed, 11 Nov 2009 20:36:42 +0000 (20:36 +0000)]
Cosmetics: Remove the implied gap before AOT_USAC in the MPEG-4 AOT enum.

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

14 years agoAAC: Rename sect_len to sect_end. It marks the last sfb of the section, not the
Alex Converse [Wed, 11 Nov 2009 20:33:56 +0000 (20:33 +0000)]
AAC: Rename sect_len to sect_end. It marks the last sfb of the section, not the
length of the section.

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

14 years agoAdd a channels field to MPEG4AudioConfig.
Alex Converse [Wed, 11 Nov 2009 20:24:23 +0000 (20:24 +0000)]
Add a channels field to MPEG4AudioConfig.

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

14 years agoUse doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
Vitor Sessak [Wed, 11 Nov 2009 11:00:50 +0000 (11:00 +0000)]
Use doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
function with no change in output.

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

14 years agoAdd Low Delay MPEG Surround to the enum of MPEG-4 Audio Object Types.
Alex Converse [Wed, 11 Nov 2009 01:04:08 +0000 (01:04 +0000)]
Add Low Delay MPEG Surround to the enum of MPEG-4 Audio Object Types.

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

14 years agoAdd PIX_FMT_VDPAU_MPEG4 to pixdesc.c.
Carl Eugen Hoyos [Wed, 11 Nov 2009 00:02:36 +0000 (00:02 +0000)]
Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.

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

14 years agoAdd CH_LAYOUT_NATIVE channel mask value to allow user to request native codec
Justin Ruggles [Tue, 10 Nov 2009 21:53:22 +0000 (21:53 +0000)]
Add CH_LAYOUT_NATIVE channel mask value to allow user to request native codec
channel order from the decoder rather than the default FFmpeg channel order.

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

14 years agoindent
Michael Niedermayer [Tue, 10 Nov 2009 21:00:46 +0000 (21:00 +0000)]
indent

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

14 years agoCosmetics: Fix indentation after r20505.
Carl Eugen Hoyos [Tue, 10 Nov 2009 20:55:45 +0000 (20:55 +0000)]
Cosmetics: Fix indentation after r20505.

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

14 years agoAdd .pix_fmts to H264 VDPAU decoder declaration and remove obsolete test
Carl Eugen Hoyos [Tue, 10 Nov 2009 20:55:00 +0000 (20:55 +0000)]
Add .pix_fmts to H264 VDPAU decoder declaration and remove obsolete test
for codec->capabilities.

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

14 years agoTry to fix has_b_frame calculation for open gop files.
Michael Niedermayer [Tue, 10 Nov 2009 20:24:41 +0000 (20:24 +0000)]
Try to fix has_b_frame calculation for open gop files.
Fixes issue1523

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

14 years agoFix palette copying in av_picture_copy(). Previous code worked only if
Vitor Sessak [Tue, 10 Nov 2009 19:36:58 +0000 (19:36 +0000)]
Fix palette copying in av_picture_copy(). Previous code worked only if
linesize[1] == 1, which does not make sense.

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

14 years agoSupport VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
NVIDIA Corporation [Tue, 10 Nov 2009 19:11:13 +0000 (19:11 +0000)]
Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
hardware.

Original patch by NVIDIA corporation.

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

14 years agoAdd VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
NVIDIA Corporation [Tue, 10 Nov 2009 18:52:39 +0000 (18:52 +0000)]
Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
by video players.

Original patch by NVIDIA corporation.

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

14 years agoFix make install when all of ffmpeg/ffplay/ffserver are disabled
Måns Rullgård [Tue, 10 Nov 2009 15:56:03 +0000 (15:56 +0000)]
Fix make install when all of ffmpeg/ffplay/ffserver are disabled

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

14 years agoHandle JPEG2000 frames stored in the Quicktime container.
Jai Menon [Tue, 10 Nov 2009 14:48:32 +0000 (14:48 +0000)]
Handle JPEG2000 frames stored in the Quicktime container.
Fixes issue 1525.

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

14 years agocosmetics : fix indentation.
Jai Menon [Tue, 10 Nov 2009 14:37:42 +0000 (14:37 +0000)]
cosmetics : fix indentation.

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

14 years agoRemove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
Reimar Döffinger [Tue, 10 Nov 2009 12:59:56 +0000 (12:59 +0000)]
Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already.

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

14 years agoCheck if PIC is somehow already enabled (e.g. a compiler that enables it by default).
Reimar Döffinger [Tue, 10 Nov 2009 12:57:28 +0000 (12:57 +0000)]
Check if PIC is somehow already enabled (e.g. a compiler that enables it by default).
This in particular ensures that -DPIC is set appropriately for YASM, which avoids
linking failures on x86_64 for compilers that have PIE enabled by default
(e.g. hardened Gentoo).
It also makes the macho64 special-case hack adding -DPIC to YASMFLAGS obsolete.

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

14 years agoAvoid variable-length array use in ff_acelp_lspd2lpc()
Vitor Sessak [Tue, 10 Nov 2009 04:17:18 +0000 (04:17 +0000)]
Avoid variable-length array use in ff_acelp_lspd2lpc()

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

14 years agoAdd a NULL pointer check to avcodec_close() this should prevent a segfault
Michael Niedermayer [Tue, 10 Nov 2009 02:51:47 +0000 (02:51 +0000)]
Add a NULL pointer check to avcodec_close() this should prevent a segfault
when closing without open.

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

14 years agoconfigure: whitespace cosmetics
Måns Rullgård [Tue, 10 Nov 2009 00:23:42 +0000 (00:23 +0000)]
configure: whitespace cosmetics

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

14 years agopatcheck: check that pix_fmt etc. initializers are const
Reimar Döffinger [Mon, 9 Nov 2009 23:12:44 +0000 (23:12 +0000)]
patcheck: check that pix_fmt etc. initializers are const

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

14 years agofix a rounding error in the PSNR calculation and update the many regression
Justin Ruggles [Mon, 9 Nov 2009 23:09:47 +0000 (23:09 +0000)]
fix a rounding error in the PSNR calculation and update the many regression
test references that this change affects.

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

14 years agoAttempt to document the "enable pic" hackery for OpenBSD.
Reimar Döffinger [Mon, 9 Nov 2009 22:52:46 +0000 (22:52 +0000)]
Attempt to document the "enable pic" hackery for OpenBSD.

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

14 years agoMake get_bits_left() available for use in libavcodec (was previously held
Ronald S. Bultje [Mon, 9 Nov 2009 22:10:43 +0000 (22:10 +0000)]
Make get_bits_left() available for use in libavcodec (was previously held
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.

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

14 years agoAnd on the sixth day, God gave us the <= operand, which makes the loop
Ronald S. Bultje [Mon, 9 Nov 2009 22:04:03 +0000 (22:04 +0000)]
And on the sixth day, God gave us the <= operand, which makes the loop
"for (i = 1; i < num + 1; i++)" look like "for (i = 1; i <= num; i++)".
Programmers worldwide rejoiced and used the operand, e.g. in the thread
"[PATCH] remove ugliness in cel_filters.c", and He saw that it was good.

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

14 years agoFix crop filter start_frame() for paletted formats different from
Stefano Sabatini [Mon, 9 Nov 2009 21:00:38 +0000 (21:00 +0000)]
Fix crop filter start_frame() for paletted formats different from
PAL8. Shift data[1] only if the input format is not paletted.

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

14 years agoEnable linking of parseutils.o.
Stefano Sabatini [Mon, 9 Nov 2009 18:56:51 +0000 (18:56 +0000)]
Enable linking of parseutils.o.

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

14 years agoRemove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
Reimar Döffinger [Mon, 9 Nov 2009 17:05:38 +0000 (17:05 +0000)]
Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
and -DPIC makes little sense without -fPIC or similar - if -fPIC is
enabled by default, libavutil/internal.h defines PICi anyway.

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

14 years agoDo not hardcode filter order in ff_acelp_lspd2lpc()
Vitor Sessak [Mon, 9 Nov 2009 12:06:19 +0000 (12:06 +0000)]
Do not hardcode filter order in ff_acelp_lspd2lpc()

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

14 years agoMove ff_reverse in libavcodec to av_reverse in libavutil.
Francesco Lavra [Mon, 9 Nov 2009 09:11:35 +0000 (09:11 +0000)]
Move ff_reverse in libavcodec to av_reverse in libavutil.

Patch by Francesco Lavra, francescolavra interfree it

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

14 years agoIncrease default value for max_analyze_duration, fixes issue 1506, a regression.
Carl Eugen Hoyos [Mon, 9 Nov 2009 01:10:55 +0000 (01:10 +0000)]
Increase default value for max_analyze_duration, fixes issue 1506, a regression.

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

14 years agoUse enum instead of integer types where appropriate.
Carl Eugen Hoyos [Sun, 8 Nov 2009 23:48:15 +0000 (23:48 +0000)]
Use enum instead of integer types where appropriate.

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

14 years agoUse CODEC_ID_NONE instead of 0 for enum CodecID.
Carl Eugen Hoyos [Sun, 8 Nov 2009 23:46:32 +0000 (23:46 +0000)]
Use CODEC_ID_NONE instead of 0 for enum CodecID.

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

14 years agoUse enum FrameType as parameter to construct_perm_table().
Carl Eugen Hoyos [Sun, 8 Nov 2009 23:37:59 +0000 (23:37 +0000)]
Use enum FrameType as parameter to construct_perm_table().

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

14 years agoUse enum PixelFormat instead of int for srcFormat and dstFormat.
Carl Eugen Hoyos [Sun, 8 Nov 2009 23:31:43 +0000 (23:31 +0000)]
Use enum PixelFormat instead of int for srcFormat and dstFormat.

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

14 years agoFix start_frame(), which was issuing chroma artifacts with planar
Stefano Sabatini [Sun, 8 Nov 2009 22:47:10 +0000 (22:47 +0000)]
Fix start_frame(), which was issuing chroma artifacts with planar
formats with more than 8 bits per pixel (e.g. YUVXXXP16).

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

14 years agoSet -DPREFIX for yasm simply whenever extern_prefix is set instead
Reimar Döffinger [Sun, 8 Nov 2009 22:39:10 +0000 (22:39 +0000)]
Set -DPREFIX for yasm simply whenever extern_prefix is set instead
of hardcoding it based on the object format.

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

14 years agoRemove unused variable.
Michael Niedermayer [Sun, 8 Nov 2009 14:54:43 +0000 (14:54 +0000)]
Remove unused variable.
1l for me if it wherent sunday and i could buy cola.

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

14 years agoAlways add -DPIC to YASM flags when pic is enabled.
Reimar Döffinger [Sun, 8 Nov 2009 14:50:47 +0000 (14:50 +0000)]
Always add -DPIC to YASM flags when pic is enabled.
This covers the previous case of x86_64 and shared, but also
works with --enable-pic.
For 32 bit x86 it currently makes no difference since x86inc.asm
ignores -DPIC for non-x86_64.

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

14 years agomove code to avoid forward declaration
Baptiste Coudurier [Sun, 8 Nov 2009 03:27:58 +0000 (03:27 +0000)]
move code to avoid forward declaration

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

14 years agoLet pmt override stream info when encoutered later in the ts file.
Baptiste Coudurier [Sun, 8 Nov 2009 03:17:08 +0000 (03:17 +0000)]
Let pmt override stream info when encoutered later in the ts file.
Do not set codec id based on pes start code, this is unreliable.
Fix gazeta-20090408-1456-aa.ts

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

14 years agoac3dec: revert r20089. The change was just wrong. 10l for me.
Justin Ruggles [Sun, 8 Nov 2009 03:06:05 +0000 (03:06 +0000)]
ac3dec: revert r20089. The change was just wrong. 10l for me.

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

14 years agoSupport some LATM AAC streams (they can be decoded with MPlayer).
Carl Eugen Hoyos [Sat, 7 Nov 2009 23:44:56 +0000 (23:44 +0000)]
Support some LATM AAC streams (they can be decoded with MPlayer).

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

14 years agoDo not set AVCodecContext.sample_fmt in the TMV and SoX demuxers.
Justin Ruggles [Sat, 7 Nov 2009 22:35:00 +0000 (22:35 +0000)]
Do not set AVCodecContext.sample_fmt in the TMV and SoX demuxers.

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

14 years agoSimpliy exp*table init, based on patch by reimar.
Michael Niedermayer [Sat, 7 Nov 2009 20:10:02 +0000 (20:10 +0000)]
Simpliy exp*table init, based on patch by reimar.

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

14 years agoDocument sws_freeContext().
Stefano Sabatini [Sat, 7 Nov 2009 09:23:11 +0000 (09:23 +0000)]
Document sws_freeContext().

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

14 years agochange \0xa9enc tag metadata name to encoder to match id3v2
Baptiste Coudurier [Fri, 6 Nov 2009 18:59:25 +0000 (18:59 +0000)]
change \0xa9enc tag metadata name to encoder to match id3v2

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

14 years ago10l: WavPack demuxer forgot to seek back to initial position after block
Kostya Shishkov [Fri, 6 Nov 2009 18:25:45 +0000 (18:25 +0000)]
10l: WavPack demuxer forgot to seek back to initial position after block
contents parsing (for custom sampling rate).

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

14 years agoAdd pixel format descriptors for the HW-accelerated formats.
Stefano Sabatini [Thu, 5 Nov 2009 23:45:15 +0000 (23:45 +0000)]
Add pixel format descriptors for the HW-accelerated formats.

This completes the list of all descriptors in av_pix_fmt_descriptors.

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

14 years agoPPC: make inline asm xform address test work with Apple tools
Måns Rullgård [Thu, 5 Nov 2009 21:48:09 +0000 (21:48 +0000)]
PPC: make inline asm xform address test work with Apple tools

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

14 years agoIA64: do not automatically enable hardcoded tables if explicitly disabled
Måns Rullgård [Thu, 5 Nov 2009 21:48:05 +0000 (21:48 +0000)]
IA64: do not automatically enable hardcoded tables if explicitly disabled

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

14 years agoAdd ff_init_ff_cos_tabs function and use it in rdft.c to ensure that the
Reimar Döffinger [Thu, 5 Nov 2009 18:29:06 +0000 (18:29 +0000)]
Add ff_init_ff_cos_tabs function and use it in rdft.c to ensure that the
necessary ff_cos_tabs tables are initialized.
Fixes issue 1507 (QDM2 broken since r20237 without hardcoded tables).

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

14 years agoFix a typo in rtp_h264.c:parse_h264_sdp_line(). Patch by Gordon Irlam
Gordon Irlam [Thu, 5 Nov 2009 14:25:37 +0000 (14:25 +0000)]
Fix a typo in rtp_h264.c:parse_h264_sdp_line(). Patch by Gordon Irlam
(gordonipub2 AT gordoni DOT com).

This fixes H.264 over RTP when the SDP contains a "framesize:" attribute
(for example, rtsp://video3.americafree.tv/AFTVCartoonsH264250.sdp )

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

14 years ago10l, typo
Baptiste Coudurier [Thu, 5 Nov 2009 08:53:05 +0000 (08:53 +0000)]
10l, typo

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

14 years agoIf custom sampling rate is set in WavPack file, parse first block to find
Kostya Shishkov [Thu, 5 Nov 2009 08:14:48 +0000 (08:14 +0000)]
If custom sampling rate is set in WavPack file, parse first block to find
actual value.

This fixes issue 1518.

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

14 years agoInitialize block_parsed before reading first block header in WavPack demuxer,
Kostya Shishkov [Thu, 5 Nov 2009 08:10:50 +0000 (08:10 +0000)]
Initialize block_parsed before reading first block header in WavPack demuxer,
it will be useful later.

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

14 years agodo not redundantly set stream nb_frames, it's already set in read_stts
Baptiste Coudurier [Thu, 5 Nov 2009 07:32:50 +0000 (07:32 +0000)]
do not redundantly set stream nb_frames, it's already set in read_stts

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

14 years agocompute dts shift with ctts value, cslg atom might be missing, fix #419
Baptiste Coudurier [Thu, 5 Nov 2009 07:30:53 +0000 (07:30 +0000)]
compute dts shift with ctts value, cslg atom might be missing, fix #419

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

14 years agocheck that duration is set to avoid fpe
Baptiste Coudurier [Thu, 5 Nov 2009 07:17:10 +0000 (07:17 +0000)]
check that duration is set to avoid fpe

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

14 years agowarn if stream timescale is not set and set it to 1 to avoid FPE
Baptiste Coudurier [Thu, 5 Nov 2009 07:11:54 +0000 (07:11 +0000)]
warn if stream timescale is not set and set it to 1 to avoid FPE

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

14 years agoCorrects two typos
Reynaldo H. Verdejo Pinochet [Thu, 5 Nov 2009 02:04:21 +0000 (02:04 +0000)]
Corrects two typos

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

14 years agoDecrement probe score at unsuported bpp
Reynaldo H. Verdejo Pinochet [Thu, 5 Nov 2009 01:59:07 +0000 (01:59 +0000)]
Decrement probe score at unsuported bpp

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

14 years agofix \0xa9wrt metadata, to composer, fix issue #1501
Baptiste Coudurier [Thu, 5 Nov 2009 01:40:13 +0000 (01:40 +0000)]
fix \0xa9wrt metadata, to composer, fix issue #1501

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

14 years agoCorrect double include introduced by r20450
Reynaldo H. Verdejo Pinochet [Thu, 5 Nov 2009 01:10:27 +0000 (01:10 +0000)]
Correct double include introduced by r20450

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

14 years agoReduce stack memory allocation in MP3 decoder
Vitor Sessak [Wed, 4 Nov 2009 23:33:08 +0000 (23:33 +0000)]
Reduce stack memory allocation in MP3 decoder

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

14 years agoImplement ff_scale_vector_to_given_sum_of_squares()
Reynaldo H. Verdejo Pinochet [Wed, 4 Nov 2009 19:29:29 +0000 (19:29 +0000)]
Implement ff_scale_vector_to_given_sum_of_squares()
to aid generic gain control routines. Changes
for qcelp are included. Patch Collin McQuillan.

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

14 years agoPad ff_cos_tabs and ff_sin_tabs so that index n points to the table for n bits.
Reimar Döffinger [Wed, 4 Nov 2009 17:30:23 +0000 (17:30 +0000)]
Pad ff_cos_tabs and ff_sin_tabs so that index n points to the table for n bits.
While this "wastes" up to 2x32 bytes it makes the code slightly simpler and
less confusing.

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

14 years agoDon't lock the channel output configuration based on the first value seen for
Alex Converse [Tue, 3 Nov 2009 22:50:02 +0000 (22:50 +0000)]
Don't lock the channel output configuration based on the first value seen for
non extradata formats. Instead lock it only after the successful decoding of a
frame. This fixes issue 999.

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

14 years agoVertical align.
Stefano Sabatini [Tue, 3 Nov 2009 22:47:10 +0000 (22:47 +0000)]
Vertical align.

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

14 years agoUse spaces after commas for improving readability.
Stefano Sabatini [Tue, 3 Nov 2009 22:46:15 +0000 (22:46 +0000)]
Use spaces after commas for improving readability.

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

14 years agoAdd slicify video filter.
Stefano Sabatini [Tue, 3 Nov 2009 22:41:38 +0000 (22:41 +0000)]
Add slicify video filter.

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

14 years agoMake avfilter_get_video_buffer() use
Stefano Sabatini [Tue, 3 Nov 2009 22:15:52 +0000 (22:15 +0000)]
Make avfilter_get_video_buffer() use
avfilter_default_get_video_buffer() if the get_video_buffer() callback
is not defined in a filter.

Libavfilter filters author have to explicitely define the
get_video_buffer() callback if they want the buffer to be requested to
the filter following in the filterchain.

See the thread:
"[FFmpeg-devel] [PATCH] Make avfilter_get_video_buffer() use
default_get_video_buffer if callback not defined".

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

14 years agoExplicitely define get_video_buffer() callbacks in the format,
Stefano Sabatini [Tue, 3 Nov 2009 22:04:55 +0000 (22:04 +0000)]
Explicitely define get_video_buffer() callbacks in the format,
noformat and null filters.

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

14 years agoChange file doxy from
Stefano Sabatini [Tue, 3 Nov 2009 21:59:41 +0000 (21:59 +0000)]
Change file doxy from
"video format and noformat filters" to
"format and noformat video filters",
as suggested by Diego.

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

14 years agoFix/clarify description of the noformat filter.
Stefano Sabatini [Tue, 3 Nov 2009 21:57:21 +0000 (21:57 +0000)]
Fix/clarify description of the noformat filter.

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

14 years agoFix grammar / clarify documentation for the format and noformat
Stefano Sabatini [Tue, 3 Nov 2009 20:01:06 +0000 (20:01 +0000)]
Fix grammar / clarify documentation for the format and noformat
filters.

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

14 years agoadd yuvs fourcc to raw.c and isom.c, fixes samples/mov/yuvs.mov
Andrew Wason [Tue, 3 Nov 2009 16:17:21 +0000 (16:17 +0000)]
add yuvs fourcc to raw.c and isom.c, fixes samples/mov/yuvs.mov
patch by Andrew Wason

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