ffmpeg.git
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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoSimplify AC-3 critical band end calculation (correctly this time).
Justin Ruggles [Tue, 3 Nov 2009 03:26:26 +0000 (03:26 +0000)]
Simplify AC-3 critical band end calculation (correctly this time).

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

11 years agoRevert r20050, which caused decoding errors with at least one valid AC-3 file.
Justin Ruggles [Tue, 3 Nov 2009 02:59:18 +0000 (02:59 +0000)]
Revert r20050, which caused decoding errors with at least one valid AC-3 file.

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

11 years agoIndent.
Ramiro Polla [Mon, 2 Nov 2009 23:44:11 +0000 (23:44 +0000)]
Indent.

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

11 years agoAdd -fpre option to take a preset file as parameter. The -[avs]pre options no
Ramiro Polla [Mon, 2 Nov 2009 23:41:54 +0000 (23:41 +0000)]
Add -fpre option to take a preset file as parameter. The -[avs]pre options no
longer accept filenames, and -fpre should be used instead.

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

11 years agoAdd PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.
Stefano Sabatini [Mon, 2 Nov 2009 20:23:47 +0000 (20:23 +0000)]
Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.

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

11 years agoAvoid huge array for rgb ljpeg on the stack.
Michael Niedermayer [Mon, 2 Nov 2009 14:12:25 +0000 (14:12 +0000)]
Avoid huge array for rgb ljpeg on the stack.
Code tested with an ljpeg i had laying around.

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

11 years agomap VYUY fourcc to rawcodec
Ben Littler [Mon, 2 Nov 2009 00:10:10 +0000 (00:10 +0000)]
map VYUY fourcc to rawcodec
fixes http://samples.mplayerhq.hu/V-codecs/ATI-VCR12/ATI/y422test.avi

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

11 years agoconfigure: fix 64-bit test with clang
Måns Rullgård [Sun, 1 Nov 2009 20:14:56 +0000 (20:14 +0000)]
configure: fix 64-bit test with clang

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

11 years agoSet sample format in flac_decode_init() rather than in
Justin Ruggles [Sun, 1 Nov 2009 16:48:05 +0000 (16:48 +0000)]
Set sample format in flac_decode_init() rather than in
ff_flac_parse_streaminfo() since the latter is shared with the raw FLAC
demuxer, which should not be setting the sample format.

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

11 years agoSet the sample format for Smacker audio in the decoder rather than in the
Justin Ruggles [Sun, 1 Nov 2009 15:08:49 +0000 (15:08 +0000)]
Set the sample format for Smacker audio in the decoder rather than in the
demuxer.

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

11 years agoconfigure: remove extra backslashes from suncc DEPEND_CMD
Michael Kostylev [Sat, 31 Oct 2009 16:33:38 +0000 (16:33 +0000)]
configure: remove extra backslashes from suncc DEPEND_CMD

Patch by Michael Kostylev <michael kostylev gmail>

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

11 years agoconfigure: use here-doc for --help output
Måns Rullgård [Sat, 31 Oct 2009 15:59:08 +0000 (15:59 +0000)]
configure: use here-doc for --help output

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

11 years agoconfigure: use here-docs instead of echo for writing config.{h,mak}
Måns Rullgård [Sat, 31 Oct 2009 15:59:03 +0000 (15:59 +0000)]
configure: use here-docs instead of echo for writing config.{h,mak}

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

11 years agoconfigure: simplify setting of SDL flags in config.mak
Måns Rullgård [Sat, 31 Oct 2009 15:58:57 +0000 (15:58 +0000)]
configure: simplify setting of SDL flags in config.mak

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

11 years agoAllow disabling doc generation with --disable-doc
Måns Rullgård [Sat, 31 Oct 2009 15:58:49 +0000 (15:58 +0000)]
Allow disabling doc generation with --disable-doc

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

11 years agoconfigure: simplify STRIP setting in config.mak
Måns Rullgård [Sat, 31 Oct 2009 15:58:44 +0000 (15:58 +0000)]
configure: simplify STRIP setting in config.mak

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

11 years agoMakefile cosmetics
Måns Rullgård [Sat, 31 Oct 2009 15:58:39 +0000 (15:58 +0000)]
Makefile cosmetics

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

11 years agoImplement AMR gain function that is used by both AMR and SIPR.
Vitor Sessak [Sat, 31 Oct 2009 02:02:30 +0000 (02:02 +0000)]
Implement AMR gain function that is used by both AMR and SIPR.

Based on AMR SoC code by Robert Swain and Colin McQuillan.

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

11 years agoprint packet duration when debugging timestamps
Baptiste Coudurier [Fri, 30 Oct 2009 18:17:16 +0000 (18:17 +0000)]
print packet duration when debugging timestamps

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