Commit Graph

21296 Commits

Author SHA1 Message Date
Stefano Sabatini bc37ec923d Add slicify video filter.
Originally committed as revision 20445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 22:41:38 +00:00
Stefano Sabatini da23d42476 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
2009-11-03 22:15:52 +00:00
Stefano Sabatini ae2abc69db 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
2009-11-03 22:04:55 +00:00
Stefano Sabatini dc264e77a3 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
2009-11-03 21:59:41 +00:00
Stefano Sabatini 09da17810b Fix/clarify description of the noformat filter.
Originally committed as revision 20441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 21:57:21 +00:00
Stefano Sabatini 143e3aa031 Fix grammar / clarify documentation for the format and noformat
filters.

Originally committed as revision 20440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 20:01:06 +00:00
Andrew Wason 42022e0362 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
2009-11-03 16:17:21 +00:00
Justin Ruggles 31f8c10983 Simplify AC-3 critical band end calculation (correctly this time).
Originally committed as revision 20438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 03:26:26 +00:00
Justin Ruggles 94593c9b52 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
2009-11-03 02:59:18 +00:00
Ramiro Polla 200267333c Indent.
Originally committed as revision 20436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-02 23:44:11 +00:00
Ramiro Polla a75e103432 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
2009-11-02 23:41:54 +00:00
Stefano Sabatini d71ad089ef 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
2009-11-02 20:23:47 +00:00
Michael Niedermayer ad9feac9fb 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
2009-11-02 14:12:25 +00:00
Ben Littler e47ca4f798 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
2009-11-02 00:10:10 +00:00
Måns Rullgård 58b3536dd5 configure: fix 64-bit test with clang
Originally committed as revision 20431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-01 20:14:56 +00:00
Justin Ruggles 4c1645a458 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
2009-11-01 16:48:05 +00:00
Justin Ruggles dee34af4d6 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
2009-11-01 15:08:49 +00:00
Michael Kostylev faa374b72c 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
2009-10-31 16:33:38 +00:00
Måns Rullgård 0645487701 configure: use here-doc for --help output
Originally committed as revision 20427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:08 +00:00
Måns Rullgård 173c983b52 configure: use here-docs instead of echo for writing config.{h,mak}
Originally committed as revision 20426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:03 +00:00
Måns Rullgård b4f9356433 configure: simplify setting of SDL flags in config.mak
Originally committed as revision 20425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:57 +00:00
Måns Rullgård c73f65d979 Allow disabling doc generation with --disable-doc
Originally committed as revision 20424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:49 +00:00
Måns Rullgård ad212cc6ba configure: simplify STRIP setting in config.mak
Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:44 +00:00
Måns Rullgård a48289c7b7 Makefile cosmetics
Originally committed as revision 20422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:39 +00:00
Vitor Sessak 083c5a48ec 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
2009-10-31 02:02:30 +00:00
Baptiste Coudurier 050ba6f45e print packet duration when debugging timestamps
Originally committed as revision 20420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-30 18:17:16 +00:00
Stefano Sabatini a520e9f235 Document slice ordering assumption done by sws_scale().
Originally committed as revision 29804 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-10-30 14:13:25 +00:00
Stefano Sabatini c5ec0d9d4f 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
2009-10-30 11:11:25 +00:00
Ramiro Polla b94ca20803 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
2009-10-30 10:38:05 +00:00
Etienne Buira a5abfd8fd1 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
2009-10-30 09:57:34 +00:00
Michael Niedermayer 8a08175f3f 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
2009-10-29 10:58:59 +00:00
Michael Niedermayer f92e769666 Multiple inclusion guards for synth_filter.h.
Originally committed as revision 20415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 10:46:29 +00:00
Francesco Lavra e58992e41f 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
2009-10-29 10:46:16 +00:00
Michael Niedermayer d886e4df10 Vertically align function arguments.
Originally committed as revision 20413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 10:43:56 +00:00
Måns Rullgård de4070b520 Add generic rules for building helpers with HOSTCC
Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29 00:55:35 +00:00
Reimar Döffinger 7a41027cc4 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
2009-10-28 22:41:45 +00:00
Måns Rullgård e273b0389f Makefile cosmetics
Originally committed as revision 20410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:46:21 +00:00
Reimar Döffinger 0956bc9b83 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
2009-10-28 20:44:21 +00:00
Måns Rullgård f0125de9d1 configure: add C99 flags to HOSTCFLAGS
Originally committed as revision 20408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:19:15 +00:00
Reimar Döffinger 3db0208c42 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
2009-10-28 20:02:40 +00:00
Måns Rullgård 785d3c97b2 Makefile cosmetics
Originally committed as revision 20406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:49:19 +00:00
Måns Rullgård df4fe41df4 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
2009-10-28 19:49:16 +00:00
Reimar Döffinger 52a4a07778 Fix out-of-tree builds with --enable-hardcoded-tables
Originally committed as revision 20404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:38:31 +00:00
Reimar Döffinger 2300b120dd 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
2009-10-28 19:15:42 +00:00
Reimar Döffinger 9e8fecf7ea Better formatting for 2D tables in tableprint code.
Originally committed as revision 20402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 19:05:45 +00:00
Reimar Döffinger 8abe97be92 10l, fix incorrect endif comment.
Originally committed as revision 20401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 18:52:39 +00:00
Reimar Döffinger eadaa00c6f 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
2009-10-28 18:42:52 +00:00
Ramiro Polla 1a04d4c722 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
2009-10-28 18:04:31 +00:00
Michael Niedermayer d49dded591 Remove unused variable j.
Originally committed as revision 20398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 14:40:05 +00:00
Michael Kostylev 2a472e9c5d 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
2009-10-28 14:24:04 +00:00