]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
14 years agoSplit show_formats().
michael [Thu, 19 Nov 2009 16:35:55 +0000 (16:35 +0000)]
Split show_formats().

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

14 years agoDisable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is set
reimar [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.

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

14 years agoRevert r20548, it was a dream. It seems faad does not ouput the last frame
bcoudurier [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.

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

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

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

14 years agoMake show_formats() print each bitstream filter on a separate line.
stefano [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.

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

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

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

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

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

14 years agoSplit avdevice.c off from alldevices.c.
diego [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().

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

14 years agoRename AVPixFmtDescriptor.nb_channels to nb_components, the new name
stefano [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.

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

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

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

14 years agoUse git_bits_left() instead of size_in_bits - get_bits_count().
rbultje [Mon, 16 Nov 2009 17:42:43 +0000 (17:42 +0000)]
Use git_bits_left() instead of size_in_bits - get_bits_count().

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

14 years agoCosmetics: Fix indentation.
cehoyos [Mon, 16 Nov 2009 01:56:47 +0000 (01:56 +0000)]
Cosmetics: Fix indentation.

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

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

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

14 years agoImplement ff_decode_pitch_lag() that is used by both AMR and SIPR.
vitor [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.

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

14 years agoSearch relative path according to alias record when opening mov reference files.
bcoudurier [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

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

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

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

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

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

14 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.

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

14 years agoMake sure av_tree_enumerate() enumerates left->right.
michael [Sat, 14 Nov 2009 11:19:08 +0000 (11:19 +0000)]
Make sure av_tree_enumerate() enumerates left->right.

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

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.

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

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

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

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

Patch by Michael Kostylev <gmail>.

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

14 years agoReset rbsp buffer size when freeing its data buffer.
benoit [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

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

14 years agoAdd some "#if"s to avoid compiling the RTSP code when the RTSP demuxer
lucabe [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"

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

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

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

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

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

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

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

14 years agoSplit the sdp_read_packet() function out of rtsp_read_packet().
lucabe [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.

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

14 years agoMove some some functions around, so that splitting the SDP code out of
lucabe [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.

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

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

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

14 years agoDebug print MP4 objectTypeIndication in hex not decimal as values are listed in
alexc [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.

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

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

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

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

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

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

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

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

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

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

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

14 years agoAdd MPEG-4 Audio Lossless Coding (ALS) decoder.
cehoyos [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

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

14 years agoAdd the ability to parse the ALSSpecificConfig from an MPEG-4 AudioSpecificConfig...
alexc [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.

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

14 years agoAdd '#undef fprintf' before PRINT macro that uses fprintf.
diego [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.

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

14 years agoCosmetics: Remove the implied gap before AOT_USAC in the MPEG-4 AOT enum.
alexc [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.

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

14 years agoAAC: Rename sect_len to sect_end. It marks the last sfb of the section, not the
alexc [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.

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

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

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

14 years agoUse doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
vitor [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.

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

14 years agoAdd Low Delay MPEG Surround to the enum of MPEG-4 Audio Object Types.
alexc [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.

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

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

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

14 years agoAdd CH_LAYOUT_NATIVE channel mask value to allow user to request native codec
jbr [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.

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

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

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

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

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

14 years agoAdd .pix_fmts to H264 VDPAU decoder declaration and remove obsolete test
cehoyos [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.

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

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

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

14 years agoFix palette copying in av_picture_copy(). Previous code worked only if
vitor [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.

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

14 years agoAdd VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
cehoyos [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.

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

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

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

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.

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

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

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

14 years agoRemove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
reimar [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.

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

14 years agoCheck if PIC is somehow already enabled (e.g. a compiler that enables it by default).
reimar [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.

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

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

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

14 years agoAdd a NULL pointer check to avcodec_close() this should prevent a segfault
michael [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.

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

14 years agoconfigure: whitespace cosmetics
mru [Tue, 10 Nov 2009 00:23:42 +0000 (00:23 +0000)]
configure: whitespace cosmetics

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

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

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

14 years agofix a rounding error in the PSNR calculation and update the many regression
jbr [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.

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

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

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

14 years agoMake get_bits_left() available for use in libavcodec (was previously held
rbultje [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.

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

14 years agoAnd on the sixth day, God gave us the <= operand, which makes the loop
rbultje [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.

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

14 years agoFix crop filter start_frame() for paletted formats different from
stefano [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.

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

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

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

14 years agoRemove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
reimar [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.

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

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

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

14 years agoMove ff_reverse in libavcodec to av_reverse in libavutil.
cehoyos [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

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

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

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

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

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

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

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

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

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

14 years agoFix start_frame(), which was issuing chroma artifacts with planar
stefano [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).

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

14 years agoSet -DPREFIX for yasm simply whenever extern_prefix is set instead
reimar [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.

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

14 years agoRemove unused variable.
michael [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.

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

14 years agoAlways add -DPIC to YASM flags when pic is enabled.
reimar [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.

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

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

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

14 years agoLet pmt override stream info when encoutered later in the ts file.
bcoudurier [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

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

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

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

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

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

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

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

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

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

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

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

14 years ago10l: WavPack demuxer forgot to seek back to initial position after block
kostya [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).

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

14 years agoAdd pixel format descriptors for the HW-accelerated formats.
stefano [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.

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

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

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

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

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

14 years agoAdd ff_init_ff_cos_tabs function and use it in rdft.c to ensure that the
reimar [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).

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

14 years agoFix a typo in rtp_h264.c:parse_h264_sdp_line(). Patch by Gordon Irlam
lucabe [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 )

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

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

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

14 years agoIf custom sampling rate is set in WavPack file, parse first block to find
kostya [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.

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

14 years agoInitialize block_parsed before reading first block header in WavPack demuxer,
kostya [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.

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

14 years agodo not redundantly set stream nb_frames, it's already set in read_stts
bcoudurier [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

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

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

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

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

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

14 years agowarn if stream timescale is not set and set it to 1 to avoid FPE
bcoudurier [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

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

14 years agoCorrects two typos
reynaldo [Thu, 5 Nov 2009 02:04:21 +0000 (02:04 +0000)]
Corrects two typos

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

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

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