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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoDocument slice ordering assumption done by sws_scale().
Stefano Sabatini [Fri, 30 Oct 2009 14:13:25 +0000 (14:13 +0000)]
Document slice ordering assumption done by sws_scale().

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

10 years agoRemove the get_video_buffer() callback.
Stefano Sabatini [Fri, 30 Oct 2009 11:11:25 +0000 (11:11 +0000)]
Remove the get_video_buffer() callback.

That was never required since avfilter_get_video_buffer() already
calls itself on the next link if get_video_buffer is not defined.

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

10 years agoDocument that using "make -r" might be faster than plain "make" in Windows.
Ramiro Polla [Fri, 30 Oct 2009 10:38:05 +0000 (10:38 +0000)]
Document that using "make -r" might be faster than plain "make" in Windows.

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

10 years ago Issue an error when forced format cannot be honored.
Etienne Buira [Fri, 30 Oct 2009 09:57:34 +0000 (09:57 +0000)]
 Issue an error when forced format cannot be honored.
 Patch by Etienne Buira $name $surname lists chez free.fr

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

10 years agoChange whitespace placement a little to improve readabiliy slightly.
Michael Niedermayer [Thu, 29 Oct 2009 10:58:59 +0000 (10:58 +0000)]
Change whitespace placement a little to improve readabiliy slightly.
Thats not an attempt to emulate indent -kr behavior down to the finest
fineprint, first it would not be worth the work, second it would be less
readable, third it would  not be K&R but indent -kr then.

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

10 years agoMultiple inclusion guards for synth_filter.h.
Michael Niedermayer [Thu, 29 Oct 2009 10:46:29 +0000 (10:46 +0000)]
Multiple inclusion guards for synth_filter.h.

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

10 years agoSupport demuxing teletext in DVB streams.
Francesco Lavra [Thu, 29 Oct 2009 10:46:16 +0000 (10:46 +0000)]
Support demuxing teletext in DVB streams.

Original patch by Francesco Lavra, francescolavra interfree it

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

10 years agoVertically align function arguments.
Michael Niedermayer [Thu, 29 Oct 2009 10:43:56 +0000 (10:43 +0000)]
Vertically align function arguments.

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

10 years agoAdd generic rules for building helpers with HOSTCC
Måns Rullgård [Thu, 29 Oct 2009 00:55:35 +0000 (00:55 +0000)]
Add generic rules for building helpers with HOSTCC

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

10 years agovorbis_dec: factor out duplicated code for index reading, bounds checking and
Reimar Döffinger [Wed, 28 Oct 2009 22:41:45 +0000 (22:41 +0000)]
vorbis_dec: factor out duplicated code for index reading, bounds checking and
error message into a shared macro.

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

10 years agoMakefile cosmetics
Måns Rullgård [Wed, 28 Oct 2009 20:46:21 +0000 (20:46 +0000)]
Makefile cosmetics

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

10 years agoEnable hardcoded tables for ia64 shared builds.
Reimar Döffinger [Wed, 28 Oct 2009 20:44:21 +0000 (20:44 +0000)]
Enable hardcoded tables for ia64 shared builds.
At least for cross-compilation with Gentoo gcc 4.4.2 it fixes the build errors
due to GPREL 22 being insufficient for the .bss size of > 4 MB without it.
Why these errors do not appear with static builds is unclear, it is not due
to PIC (shared builds with PIC disabled show the same issue).

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

10 years agoconfigure: add C99 flags to HOSTCFLAGS
Måns Rullgård [Wed, 28 Oct 2009 20:19:15 +0000 (20:19 +0000)]
configure: add C99 flags to HOSTCFLAGS

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

10 years agoChange format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc...
Reimar Döffinger [Wed, 28 Oct 2009 20:02:40 +0000 (20:02 +0000)]
Change format string from "x" to PRIx32 to hopefully fix a warning with Cygwin gcc 4.2.4.

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

10 years agoMakefile cosmetics
Måns Rullgård [Wed, 28 Oct 2009 19:49:19 +0000 (19:49 +0000)]
Makefile cosmetics

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

10 years agoGenerate mpegaudio tables only when CONFIG_HARDCODED_TABLES is set
Måns Rullgård [Wed, 28 Oct 2009 19:49:16 +0000 (19:49 +0000)]
Generate mpegaudio tables only when CONFIG_HARDCODED_TABLES is set

Having mpegaudiodec.o unconditionally depend on mpegaudio_tables.h
forces the latter to be generated even when it will not be used.

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

10 years agoFix out-of-tree builds with --enable-hardcoded-tables
Reimar Döffinger [Wed, 28 Oct 2009 19:38:31 +0000 (19:38 +0000)]
Fix out-of-tree builds with --enable-hardcoded-tables

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

10 years agoFix dependency: generated table is needed to create the mpegaudiodec.o file, not...
Reimar Döffinger [Wed, 28 Oct 2009 19:15:42 +0000 (19:15 +0000)]
Fix dependency: generated table is needed to create the mpegaudiodec.o file, not the .c one.

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

10 years agoBetter formatting for 2D tables in tableprint code.
Reimar Döffinger [Wed, 28 Oct 2009 19:05:45 +0000 (19:05 +0000)]
Better formatting for 2D tables in tableprint code.

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

10 years ago10l, fix incorrect endif comment.
Reimar Döffinger [Wed, 28 Oct 2009 18:52:39 +0000 (18:52 +0000)]
10l, fix incorrect endif comment.

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

10 years agoAdd support for hardcoding the mpegaudiodec tables.
Reimar Döffinger [Wed, 28 Oct 2009 18:42:52 +0000 (18:42 +0000)]
Add support for hardcoding the mpegaudiodec tables.
Reduces .bss size by about 194 kB.

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

10 years agomingw32: The flag to work around bug 37216 in gcc is automatically passed to
Ramiro Polla [Wed, 28 Oct 2009 18:04:31 +0000 (18:04 +0000)]
mingw32: The flag to work around bug 37216 in gcc is automatically passed to
MinGW since r18501. Remove a reference that suggests users should pass the
flag manually (this removal was missed in 18510).

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

10 years agoRemove unused variable j.
Michael Niedermayer [Wed, 28 Oct 2009 14:40:05 +0000 (14:40 +0000)]
Remove unused variable j.

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

10 years agoDetect Sun Studio compiler and set appropriate variables.
Michael Kostylev [Wed, 28 Oct 2009 14:24:04 +0000 (14:24 +0000)]
Detect Sun Studio compiler and set appropriate variables.
Add dependency generation commands compatible with Sun Studio.
patch by Michael Kostylev, michael.kostylev gmail com

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

10 years agoSplit synth filter out of dca.c.
Michael Niedermayer [Wed, 28 Oct 2009 10:51:51 +0000 (10:51 +0000)]
Split synth filter out of dca.c.

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

10 years agoSplit PAM encoder off into its own file.
Diego Biurrun [Wed, 28 Oct 2009 06:41:58 +0000 (06:41 +0000)]
Split PAM encoder off into its own file.

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

10 years agoSplit the decoders from pnmen.c off into their own file.
Diego Biurrun [Wed, 28 Oct 2009 06:34:00 +0000 (06:34 +0000)]
Split the decoders from pnmen.c off into their own file.

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

10 years agoThe encoders in pnmenc.c now depend on the init/end functions in pnm.c.
Diego Biurrun [Wed, 28 Oct 2009 06:32:35 +0000 (06:32 +0000)]
The encoders in pnmenc.c now depend on the init/end functions in pnm.c.

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

10 years agoCommit some functions that are used by both SIPR and AMR.
Vitor Sessak [Tue, 27 Oct 2009 23:53:18 +0000 (23:53 +0000)]
Commit some functions that are used by both SIPR and AMR.

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

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

10 years agoFix doxies, use third person and phrase-ending dots.
Stefano Sabatini [Tue, 27 Oct 2009 22:12:20 +0000 (22:12 +0000)]
Fix doxies, use third person and phrase-ending dots.

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

10 years agoAdd format and noformat filters.
Stefano Sabatini [Tue, 27 Oct 2009 21:40:43 +0000 (21:40 +0000)]
Add format and noformat filters.

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

10 years agoMove pixdesc.{h,c} from libavcodec to libavutil.
Stefano Sabatini [Tue, 27 Oct 2009 20:56:56 +0000 (20:56 +0000)]
Move pixdesc.{h,c} from libavcodec to libavutil.

This way pixdescs can be used without requiring a dependency on
libavcodec.

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

10 years agoConsistently use third person in doxies.
Stefano Sabatini [Tue, 27 Oct 2009 20:36:17 +0000 (20:36 +0000)]
Consistently use third person in doxies.

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

10 years agoIntroduce first_avfilter and use that, together with AVFilter.next,
Stefano Sabatini [Tue, 27 Oct 2009 19:52:14 +0000 (19:52 +0000)]
Introduce first_avfilter and use that, together with AVFilter.next,
for registering and finding filters, rather than use the struct
AVFilterList, which is removed.

Simplify the filter registration management code.

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

10 years agoAdd an entry for the AVFilter.next addition.
Stefano Sabatini [Tue, 27 Oct 2009 19:46:22 +0000 (19:46 +0000)]
Add an entry for the AVFilter.next addition.

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

10 years agoAdd a field 'next' to AVFilter.
Stefano Sabatini [Tue, 27 Oct 2009 19:42:07 +0000 (19:42 +0000)]
Add a field 'next' to AVFilter.

Simplify the registration and iteration of all the registered filters,
consistent with what is done with formats / codecs.

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

10 years agoSplit codec-regression.sh again and create a lavfi-regression.sh for
Stefano Sabatini [Tue, 27 Oct 2009 19:34:48 +0000 (19:34 +0000)]
Split codec-regression.sh again and create a lavfi-regression.sh for
running the libavfilter tests.

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

10 years agoadd 2vuy fourcc to riff.c , fixes samples/V-codecs/2vuy.avi
Ben Littler [Tue, 27 Oct 2009 17:37:41 +0000 (17:37 +0000)]
add 2vuy fourcc to riff.c , fixes samples/V-codecs/2vuy.avi

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