Commit Graph

21272 Commits

Author SHA1 Message Date
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
Michael Niedermayer
4f99c31c39 Split synth filter out of dca.c.
Originally committed as revision 20396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 10:51:51 +00:00
Diego Biurrun
638783bf81 Split PAM encoder off into its own file.
Originally committed as revision 20395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 06:41:58 +00:00
Diego Biurrun
318888f808 Split the decoders from pnmen.c off into their own file.
Originally committed as revision 20394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 06:34:00 +00:00
Diego Biurrun
761f2c9048 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
2009-10-28 06:32:35 +00:00
Vitor Sessak
504eee37de 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
2009-10-27 23:53:18 +00:00
Stefano Sabatini
2be414c8de Fix doxies, use third person and phrase-ending dots.
Originally committed as revision 20391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 22:12:20 +00:00
Stefano Sabatini
fcbed3c735 Add format and noformat filters.
Originally committed as revision 20390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 21:40:43 +00:00
Stefano Sabatini
51135d1d8e 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
2009-10-27 20:56:56 +00:00
Stefano Sabatini
04a5c106f9 Consistently use third person in doxies.
Originally committed as revision 20388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 20:36:17 +00:00
Stefano Sabatini
3555d2e88e 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
2009-10-27 19:52:14 +00:00
Stefano Sabatini
290d4a44f1 Add an entry for the AVFilter.next addition.
Originally committed as revision 20386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 19:46:22 +00:00
Stefano Sabatini
243110f968 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
2009-10-27 19:42:07 +00:00
Stefano Sabatini
77f66963b0 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
2009-10-27 19:34:48 +00:00
Ben Littler
13547dd11f add 2vuy fourcc to riff.c , fixes samples/V-codecs/2vuy.avi
Originally committed as revision 20383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 17:37:41 +00:00
Diego Biurrun
8767a009a1 Move PNM init/end functions to the PNM common code.
This is done in preparation for the PNM encoder/decoder split.

Originally committed as revision 20382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 17:15:05 +00:00
Diego Biurrun
d3067047e7 whitespace cosmetics: K&R coding style, prettyprinting
Originally committed as revision 20381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 16:57:35 +00:00
Diego Biurrun
bc8964ef20 Remove crufty leftovers from the era when this file resided within libavformat.
Originally committed as revision 20380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 16:35:17 +00:00
Ben Littler
9853bbb21a add some raw codec fourccs, fixes:
samples/V-codecs/

P422.AVI
UYNV.AVI
UYNY.AVI
V422.AVI
YUNV.AVI

Originally committed as revision 20379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 15:57:28 +00:00
Benoit Fouet
ff54bb975a Fix indentation.
Originally committed as revision 20378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 15:05:24 +00:00
Benoit Fouet
25b6d0bc69 Only memset for palettes of 16 elements.
Originally committed as revision 20377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 15:04:35 +00:00
Carl Eugen Hoyos
6d7d410f8b Clarify responsibility for freeing a buffer when using vdpau.
Originally committed as revision 20376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 08:30:50 +00:00
Stefano Sabatini
b70bc02279 Add descriptions for the committed filters.
Originally committed as revision 20375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 00:43:45 +00:00
Stefano Sabatini
6b27353cfd Add a PIX_FMT_HWACCEL flag to the AVPixFmtDescriptor.flags.
It is used to mark the pixel format used for hardware acceleration
support.

Originally committed as revision 20374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-26 19:34:46 +00:00
Michael Kostylev
0600d30ae4 Avoid "-z text" diversion on SunOS x86, needed to make FATE happy.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-26 10:18:35 +00:00