ffmpeg.git
11 years agoFix name for PIX_FMT_NV21 PixFmtInfo entry.
Stefano Sabatini [Thu, 19 Nov 2009 22:56:57 +0000 (22:56 +0000)]
Fix name for PIX_FMT_NV21 PixFmtInfo entry.

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

11 years agouse AVFormatContext in dprintf
Baptiste Coudurier [Thu, 19 Nov 2009 21:03:25 +0000 (21:03 +0000)]
use AVFormatContext in dprintf

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

11 years agoSplit show_formats().
Michael Niedermayer [Thu, 19 Nov 2009 16:35:55 +0000 (16:35 +0000)]
Split show_formats().

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

11 years agoDisable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
Reimar Döffinger [Thu, 19 Nov 2009 11:49:03 +0000 (11:49 +0000)]
Disable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
instead of either aborting on the assert or crashing due to writing beyond
the array due to insufficient padding.

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

11 years agoRevert r20548, it was a dream. It seems faad does not ouput the last frame
Baptiste Coudurier [Thu, 19 Nov 2009 00:05:30 +0000 (00:05 +0000)]
Revert r20548, it was a dream. It seems faad does not ouput the last frame
in any case.

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

11 years agoClarify relations between log2_chroma_w, log2_chroma_h and comp.
Stefano Sabatini [Wed, 18 Nov 2009 22:32:32 +0000 (22:32 +0000)]
Clarify relations between log2_chroma_w, log2_chroma_h and comp.

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

11 years agoMake show_formats() print each bitstream filter on a separate line.
Stefano Sabatini [Wed, 18 Nov 2009 22:27:23 +0000 (22:27 +0000)]
Make show_formats() print each bitstream filter on a separate line.
Improve readability of the output.

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

11 years agofaad needs CODEC_CAP_DELAY, otherwise you miss last frame
Baptiste Coudurier [Wed, 18 Nov 2009 21:01:42 +0000 (21:01 +0000)]
faad needs CODEC_CAP_DELAY, otherwise you miss last frame

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

11 years agoAdd functions to return library license and library configuration.
Diego Biurrun [Wed, 18 Nov 2009 17:16:02 +0000 (17:16 +0000)]
Add functions to return library license and library configuration.

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

11 years agoAdd functions to return library license and library configuration.
Diego Biurrun [Wed, 18 Nov 2009 17:15:17 +0000 (17:15 +0000)]
Add functions to return library license and library configuration.

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

11 years agoSplit avdevice.c off from alldevices.c.
Diego Biurrun [Wed, 18 Nov 2009 17:01:25 +0000 (17:01 +0000)]
Split avdevice.c off from alldevices.c.
alldevices.c is not a good place for avdevice_version().

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

11 years agoRename AVPixFmtDescriptor.nb_channels to nb_components, the new name
Stefano Sabatini [Wed, 18 Nov 2009 00:07:20 +0000 (00:07 +0000)]
Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name
is more clear and lexically more consistent with API and
documentation.

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

11 years agoAdd missing #includes for avutil.h, required for the AV_VERSION* macros.
Diego Biurrun [Mon, 16 Nov 2009 18:39:26 +0000 (18:39 +0000)]
Add missing #includes for avutil.h, required for the AV_VERSION* macros.

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

11 years agoUse get_bits_left() instead of size_in_bits - get_bits_count().
Ronald S. Bultje [Mon, 16 Nov 2009 17:42:43 +0000 (17:42 +0000)]
Use get_bits_left() instead of size_in_bits - get_bits_count().

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

11 years agoCosmetics: Fix indentation.
Carl Eugen Hoyos [Mon, 16 Nov 2009 01:56:47 +0000 (01:56 +0000)]
Cosmetics: Fix indentation.

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

11 years agoPad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.
Alex Converse [Sun, 15 Nov 2009 19:40:44 +0000 (19:40 +0000)]
Pad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.

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

11 years agoImplement ff_decode_pitch_lag() that is used by both AMR and SIPR.
Vitor Sessak [Sun, 15 Nov 2009 10:41:46 +0000 (10:41 +0000)]
Implement ff_decode_pitch_lag() that is used by both AMR and SIPR.

Based on code written by Colin McQuillan during his SoC project.

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

11 years agoSearch relative path according to alias record when opening mov reference files.
Baptiste Coudurier [Sun, 15 Nov 2009 03:26:47 +0000 (03:26 +0000)]
Search relative path according to alias record when opening mov reference files.
Based on patch by Maksym Veremeyenko, verem at m1stereo dot tv

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

11 years agoFix indention after last commit.
Michael Niedermayer [Sat, 14 Nov 2009 19:15:09 +0000 (19:15 +0000)]
Fix indention after last commit.

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

11 years agoFix crash with av_tree_enumerate(NULL).
Michael Niedermayer [Sat, 14 Nov 2009 19:14:14 +0000 (19:14 +0000)]
Fix crash with av_tree_enumerate(NULL).

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

11 years agoMerge data tables from als_data.h with the decoder source to reduce
Thilo Borgmann [Sat, 14 Nov 2009 11:49:48 +0000 (11:49 +0000)]
Merge data tables from als_data.h with the decoder source to reduce
code complexity.

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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