Commit Graph

129 Commits

Author SHA1 Message Date
Zuxy Meng
360932f76d Fix ASF format parser's broken UTF-16 string handling
1. Add a PUT_UTF8 macro to common.h; code borrowed from libavcodec/flacenc.c.
2. Make use of the macro in flacenc.c
Patch by Zuxy Meng % zuxy P meng A gmail P com %
Original thread:
Date: Nov 5, 2006 9:56 AM
Subject: [Ffmpeg-devel] PUT_UTF8 & asf format enhancement

Originally committed as revision 6911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 10:32:48 +00:00
Steve L'Homme
949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Steve L'Homme
523fc7c17d Define fallback for PRIX64, taken from a patch by Steve L'Homme.
Originally committed as revision 6867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:37:56 +00:00
Diego Biurrun
1345f4ed6c Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:28:36 +00:00
Diego Biurrun
3cd52279c9 Use common define for x86_32 and x86_64.
Originally committed as revision 6859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 18:34:40 +00:00
Diego Biurrun
419b878494 Add ARCH_X86_32 as a new define for 32 bit x86 architectures and change
the semantics of ARCH_X86 to mean both 32 and 64 bits.

Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 17:01:33 +00:00
Diego Biurrun
6c02f9e7ee better #endif comment
Originally committed as revision 6851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 16:59:18 +00:00
Kostya Shishkov
34380af0e1 16-bit grayscale support
Originally committed as revision 6778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 04:57:43 +00:00
Guillaume Poirier
94e4c3a333 Protect code that uses CMOV instructions with HAVE_CMOV,
Make configure set CMOV_IS_FAST on arches on which cmov has a low latency
(typically non-Netburst based processor)

Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 17:53:19 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun
02305ff38f Rename SIGN macro to FFSIGN to avoid clashes with system headers.
Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 22:59:37 +00:00
Diego Biurrun
dadb850a50 Move CFLAGS handling to common.mak.
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 08:30:13 +00:00
Diego Biurrun
a22b7322cc Move sign macro to libavutil.
Originally committed as revision 6620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 07:49:10 +00:00
Diego Biurrun
b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun
cbeee4d8e5 Replace -I../-I. by -I$(BUILD_ROOT).
Originally committed as revision 6572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 09:22:44 +00:00
Siarhei Siamashka
eeebe6ad1f add FASTDIV macro for ARM. Reported speed-up on MPEG-4 decoding: 1.8%
Patch by Siarhei Siamashka %siarhei P siamashka A gmail P com%
Original thread:
Date: Sep 28, 2006 2:26 AM
Subject: [Ffmpeg-devel] [PATCH] ARM implementation of FASTDIV

Originally committed as revision 6366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 08:04:16 +00:00
Luca Barbato
79e47000c8 move memory functions from avcodec to avutil
Originally committed as revision 6330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-25 15:23:40 +00:00
Loren Merritt
8e06f20abf remove a division from STOP_TIMER
Originally committed as revision 6315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 18:00:05 +00:00
Loren Merritt
7e611a0e8c simplify asm mid_pred, as suggested by michaelni.
Originally committed as revision 6314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 17:48:45 +00:00
Roman Shaposhnik
f5a478f65d * Moving FifoBuffer out of libavformat/avformat.h and
libavformat/utils.c into libavutil

Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 07:31:53 +00:00
Loren Merritt
93a319f13b asm implementation of mid_pred.
20% faster huffyuv decoding, 4% faster ffv1.

Originally committed as revision 6254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 00:36:49 +00:00
Diego Biurrun
04d7f60143 Add official LGPL license headers to the files that were missing them.
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 14:02:42 +00:00
Panagiotis Issaris
af0ad8f0c1 Remove unused defines, patch by takis P issaris A uhasselt P be
Original thread:
Re: [Ffmpeg-devel] [PATCH] Remove unused internal macros
Sep 7 2006, 14:05

Originally committed as revision 6188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 13:42:36 +00:00
Diego Biurrun
af41dd8216 Exchange informal LGPL notice by official license header.
Originally committed as revision 6164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 09:31:30 +00:00
Diego Biurrun
7494517673 Add license from zlib.h instead of referring to it.
Originally committed as revision 6155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 14:13:32 +00:00
Luca Barbato
9814587500 Align the input buffer in ffplay, introduce a public macro for aligned declarations
Update the avcodec_decode_audio and the float_to_int16 descriptions accordingly

Originally committed as revision 6147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 19:14:00 +00:00
Luca Abeni
001299bfe8 Add some new pixel formats to libavutil
Originally committed as revision 6112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 09:06:04 +00:00
Michael Niedermayer
27cd2c10b0 compatibility warning
Originally committed as revision 6035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 18:10:45 +00:00
Michael Niedermayer
0cb5cfb615 cleanup PixelFormat a little
Originally committed as revision 6034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 13:04:19 +00:00
Michael Niedermayer
955ab9a4d8 attribute_deprecated
Originally committed as revision 6033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 10:42:11 +00:00
Michael Niedermayer
67eca72dc0 SWAP
Originally committed as revision 6030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 20:55:02 +00:00
Diego Biurrun
f4bd289a04 Explicitly include fastmemcpy.h from libvo/.
Originally committed as revision 6021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 13:38:24 +00:00
Diego Biurrun
7981555d89 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.

Originally committed as revision 6016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 16:32:08 +00:00
Michael Niedermayer
0a7c36af54 revert aligned realloc() changesm this should be identical to r5784
Originally committed as revision 6008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 08:18:48 +00:00
Michael Niedermayer
732692d94c trying to fix av_realloc()
Originally committed as revision 5996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 21:09:00 +00:00
Michael Niedermayer
75c413ae77 align av_realloc()
Originally committed as revision 5992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-13 00:47:16 +00:00
Guillaume Poirier
71295009be Add #define REGc
Originally committed as revision 5988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 16:29:05 +00:00
Baptiste Coudurier
1ce83a36bf use C99 standard constant, thanks to Foxy Shadis
Originally committed as revision 5986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 21:39:09 +00:00
Michael Niedermayer
a2fd60437d floating point "emulation" code
unused currently, but might come in handy for some fpu-less cpus

Originally committed as revision 5955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 07:58:10 +00:00
Diego Biurrun
538389c981 Fix FSF postal address.
Originally committed as revision 5829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-26 01:12:26 +00:00
Reimar Döffinger
aab7715910 do not include bswap.h in common.h for external programs, since the former
is not installed currently.

Originally committed as revision 5809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-21 19:36:59 +00:00
Michael Niedermayer
918a45917c removing redundant mess next time we break compatiility
Originally committed as revision 5804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-20 11:55:08 +00:00
Michael Niedermayer
79dc59b726 simplify
Originally committed as revision 5802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-20 10:14:06 +00:00
Michael Niedermayer
0912bf577a for floats fabs is better & smaller then ABS
Originally committed as revision 5801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-20 09:06:23 +00:00
Michael Niedermayer
f296446564 simpler, smaller and faster
Originally committed as revision 5800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-20 08:34:01 +00:00
Luca Abeni
47adb88609 Install log.h
Originally committed as revision 5790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 12:10:01 +00:00
Michael Niedermayer
1d94a6620f simplify
Originally committed as revision 5786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 08:39:50 +00:00
Luca Abeni
cea8f6f323 Move av_malloc(), av_realloc(), and av_free() from libavcodec to libavutil
Originally committed as revision 5784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 07:28:58 +00:00
Luca Abeni
4b45de0e87 Move av_log() & friends to libavutil
Originally committed as revision 5781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-18 11:00:55 +00:00
Reimar Döffinger
05020c89eb Split common.h in two parts, purely internal stuff (internal.h) and things
available to external programs as well.
Also make more things available to external programs like GET_UTF8, MKTAG etc.

Originally committed as revision 5765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 16:32:48 +00:00