Diego Biurrun
22009729d7
Remove reference to renamed header file xvmc_render.h.
...
Originally committed as revision 17171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 02:02:42 +00:00
Carl Eugen Hoyos
0dd8966638
Silence one icc warning:
...
variable "..." is used before its value is set
Originally committed as revision 17127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 09:12:52 +00:00
Diego Biurrun
b7d3a8c13f
Use AV_GCC_VERSION_AT_LEAST instead of complicated __GNUC__ version check.
...
Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 01:24:06 +00:00
Michael Niedermayer
3b49f69077
av_flatten to make the similarly named attribute available.
...
Originally committed as revision 17105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 21:47:57 +00:00
Michael Niedermayer
51066987cf
av_uninit() to suppress false uninitialized warnings from gcc without deoptimizing code.
...
Originally committed as revision 17104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 21:47:05 +00:00
Stefano Sabatini
74afdc5535
Document the av_base64_encode/decode functions.
...
See the thread:
"[PATCH] Improve documentation for libavutil/base64.h".
Originally committed as revision 17074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:23:15 +00:00
Stefano Sabatini
ac76729c10
Cosmetics: "* out" -> "*out" for consistency with the other
...
parameters.
Originally committed as revision 17072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:19:04 +00:00
Stefano Sabatini
5118bd441d
Cosmetics: rename the "size" parameter of av_base64_encode() to "in_size".
...
Originally committed as revision 17071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:16:36 +00:00
Stefano Sabatini
52ef50a080
Cosmetics: prefer out/in over buf/src for the parameter names of
...
av_base64_encode(), for consistency/readability reasons.
Originally committed as revision 17069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:13:11 +00:00
Stefano Sabatini
61ccbc52ea
Cosmetics: consistently prefer "size" over "len"/"length" for the
...
variable names.
Originally committed as revision 17067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:08:42 +00:00
Stefano Sabatini
0d20c3fdad
Make av_base64_encode() do not require the user to provide an
...
overallocated buffer where to put the encoded string.
See the thread:
"[PATCH] Improve documentation for libavutil/base64.h".
Originally committed as revision 17065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:00:39 +00:00
Stefano Sabatini
21eff9ced7
Add a new test program for base64, based on that removed in r17024.
...
See the thread:
"[PATCH] remove unused and broken test program in libavutil/base64.c".
Originally committed as revision 17025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:29:25 +00:00
Stefano Sabatini
33094be894
Remove broken test program.
...
Originally committed as revision 17024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:24:17 +00:00
Michael Niedermayer
6337178b4f
Ensure that the palette is set in data[1] for all 8bit formats.
...
Also document it.
Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 12:59:50 +00:00
Reimar Döffinger
25a03ba358
100l, don't run tests twice, this was some forgotten debugging code.
...
Originally committed as revision 16975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 18:04:52 +00:00
Reimar Döffinger
551a0c796e
Fix a bug in 3DEC CBC decryption and add more extensive tests based on
...
the official test vectors.
Originally committed as revision 16974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 17:58:19 +00:00
Reimar Döffinger
61eb8cc420
Update DES test code to use the new public API.
...
Originally committed as revision 16972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 17:03:49 +00:00
Reimar Döffinger
bc17cc01ed
Add support for 3DES to DES module
...
Originally committed as revision 16971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 16:45:42 +00:00
Reimar Döffinger
1a534c7f1e
Add and use a public API for RC4 and DES, analogous to the AES API.
...
Originally committed as revision 16970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 14:20:55 +00:00
Diego Biurrun
0d08e27015
Add necessary header for LIBAVUTIL_VERSION_MAJOR, fixes the warning:
...
libavutil/lzo.c:235:5: warning: "LIBAVUTIL_VERSION_MAJOR" is not defined
Originally committed as revision 16962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:13:18 +00:00
Reimar Döffinger
679f5c2542
Documentation for LZO error return value flags
...
Originally committed as revision 16950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:42:06 +00:00
Reimar Döffinger
a545f067f3
Move doxygen documentation from lzo.c to lzo.h
...
Originally committed as revision 16949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:30:36 +00:00
Reimar Döffinger
0b178e5629
Add av_ prefix to LZO stuff and thus make it officially part of the public API.
...
Keep lzo1x_decode until the next major version bump for binary compatibility.
Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:16:00 +00:00
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 02:00:19 +00:00
Diego Biurrun
674bd4f691
cosmetics: Use 'num' instead of 'nom' as abbreviation for numerator.
...
Originally committed as revision 16910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 00:20:45 +00:00
Diego Biurrun
9d52d54df3
Add required header mem.h, av_malloc and friends are used.
...
Originally committed as revision 16863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 18:52:51 +00:00
Diego Biurrun
dbef3f46b9
cosmetics: Move all #includes together at the beginning of the file.
...
Originally committed as revision 16862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 18:46:39 +00:00
Diego Biurrun
4d55404fca
Rename string.c to avstring.c so that the name of header and C file match.
...
Originally committed as revision 16853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-29 22:12:36 +00:00
Diego Biurrun
7d685b486b
spelling/grammar/consistency review part III
...
Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 23:16:49 +00:00
Diego Biurrun
bfe3676feb
spelling/grammar/consistency review part II
...
Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 23:03:17 +00:00
Reimar Döffinger
7b484a7a17
Add "const" to AES function arguments where possible without generating
...
more warnings.
Originally committed as revision 16847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 17:48:26 +00:00
Diego Biurrun
b69201a82c
Add common.h #include, necessary for av_const.
...
Originally committed as revision 16844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 08:50:10 +00:00
Diego Biurrun
89c9ff504b
spelling/grammar/consistency review part I
...
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 00:16:05 +00:00
Aurelien Jacobs
eded5c4309
add a ff_gcd() function again, for compatibility with old libavcodec
...
Originally committed as revision 16814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 00:46:18 +00:00
Diego Biurrun
811bfa76ce
Remove misleading comment about how to build SHA1 test program.
...
Generating the test program is integrated into the build system already.
Originally committed as revision 16804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 11:15:47 +00:00
Diego Biurrun
8076c4731f
Reorganize header #includes: Unconditionally #include standard C headers,
...
group all local #includes together.
Originally committed as revision 16796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 23:21:02 +00:00
Diego Biurrun
1e60e93355
10l: Add #undefs for system free/malloc/realloc, which must be used here.
...
Originally committed as revision 16794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 22:59:05 +00:00
Diego Biurrun
77652a6aaf
C files should #include the header files of the same name.
...
Originally committed as revision 16792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 22:40:43 +00:00
Diego Biurrun
b58f29a171
Disambiguate the macros used to disable fprintf/printf/puts functions.
...
Originally committed as revision 16790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 22:05:26 +00:00
Diego Biurrun
ed0fd852a3
Add required limits.h header.
...
Originally committed as revision 16789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 21:54:05 +00:00
Diego Biurrun
0f73b510f0
Restore _MSC_VER case in DECLARE_ALIGNED/DECLARE_ASM_CONST macro declaration.
...
This compiler might be supported in the future or we might some day decide
to export these macros.
Originally committed as revision 16786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:51:07 +00:00
Diego Biurrun
3bb13a4770
Drop _MSC_VER case from macro declaration.
...
This compiler will never see our internal headers.
Originally committed as revision 16783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:24:47 +00:00
Diego Biurrun
5090122f90
Drop deprecated av_fifo_write function with the next libavutil version bump.
...
Originally committed as revision 16782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:22:47 +00:00
Diego Biurrun
4ce9492339
Move DECLARE_ALIGNED and DECLARE_ASM_CONST to internal.h.
...
Their definition depends on preprocessor directives from config.h,
thus they cannot be declared in a public header since public headers
cannot #include config.h.
Originally committed as revision 16781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:18:56 +00:00
Diego Biurrun
692c315e3a
Do not #include common.h without necessity.
...
This eliminates the need to work around common.h overriding certain system
functions which are required in this header.
Originally committed as revision 16776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 17:36:48 +00:00
Diego Biurrun
f3c04c1385
Remove redundant av_log2_16bit forward declaration, fixes checkheaders warning:
...
libavutil/internal.h:167: warning: redundant redeclaration of `av_log2_16bit'
libavutil/common.h:143: warning: previous definition of `av_log2_16bit' was here
Originally committed as revision 16773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 14:01:23 +00:00
Diego Biurrun
6b8b7258e4
Move internal.h #include to the end of the file so that it is after
...
the declaration of av_log2_16bit, which it uses.
Originally committed as revision 16772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 14:00:21 +00:00
Diego Biurrun
dfcb6b56f9
Directly #include a bunch of indirectly #included headers.
...
Originally committed as revision 16748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:55:30 +00:00
Diego Biurrun
7a845019c1
Avoid unused variable warning when compiling DES test program.
...
Originally committed as revision 16715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 23:55:51 +00:00
Diego Biurrun
448887a6bb
Make base64 test program compilable as a standard test program.
...
Originally committed as revision 16713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 17:34:40 +00:00
Diego Biurrun
40f5cd89c9
Add void keyword to parameterless function declaration.
...
Originally committed as revision 16712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 14:28:16 +00:00
NVIDIA Corporation
c5b42f4a80
Add VDPAU hardware accelerated decoding for WMV3 and VC1 which can
...
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:28:36 +00:00
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Stefano Sabatini
796dff07de
Drop the deprecated av_init_random() at the next libavutil major bump.
...
Originally committed as revision 16683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 23:07:30 +00:00
Stefano Sabatini
9c868219e9
Replace calls to the deprecated function av_init_random() with
...
corresponding calls to av_random_init().
Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 23:04:33 +00:00
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 22:57:40 +00:00
Stefano Sabatini
b097312492
Deprecate av_init_random() in favour of av_random_init(), with a more natural
...
name and order of parameters.
Originally committed as revision 16679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 22:50:57 +00:00
Aurelien Jacobs
2bb6eba21d
remove ff_get_fourcc() and use AV_RL32() instead
...
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 12:21:01 +00:00
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 11:13:33 +00:00
NVIDIA Corporation
d37edddc09
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
...
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:14:07 +00:00
Aurelien Jacobs
d80a7fe50a
move NULL_IF_CONFIG_SMALL() definition into internal header
...
Originally committed as revision 16619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 23:01:26 +00:00
Aurelien Jacobs
2f5421d513
move timer related code in a new timer.h file
...
Originally committed as revision 16618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 22:58:35 +00:00
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Aurelien Jacobs
af5f434f8c
add the necessary include for LIBAV*_VERSION_*
...
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 00:14:43 +00:00
Diego Biurrun
7b5e8a274a
Extend 'checkheaders' target to architecture-specific subdirectories.
...
Originally committed as revision 16559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:48:07 +00:00
Michael Kostylev
7b04b8a057
Add truncf() replacement function.
...
Patch by Michael Kostylev <mik at it-1 dot ru>
Originally committed as revision 16555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:10:04 +00:00
Diego Biurrun
e503674c4a
Add necessary, remove unnecessary #includes.
...
Originally committed as revision 16547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 21:03:42 +00:00
Diego Biurrun
ff8769e205
Drop unnecessary intreadwrite.h and bswap.h #includes.
...
Originally committed as revision 16546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 20:26:53 +00:00
Ramiro Polla
1f91cdce0b
Use posix_memalign() if available.
...
Originally committed as revision 16488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:36:34 +00:00
Diego Biurrun
c47d146be8
Add missing 'void' keyword to parameterless function declarations.
...
Originally committed as revision 16436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 13:57:43 +00:00
NVIDIA Corporation
369122dd77
Add VDPAU hardware accelerated decoding for H264 which can be used by
...
video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Aurelien Jacobs
045cbba92d
cosmetic: indent
...
Originally committed as revision 16423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 17:48:54 +00:00
Aurelien Jacobs
d8bd113ef4
add a termination condition
...
Originally committed as revision 16422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 17:48:19 +00:00
Diego Biurrun
79cb09b2f7
consistency cosmetics: Rename POWERPC identifiers to PPC.
...
Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:33:26 +00:00
Carl Eugen Hoyos
af4c0bcb6e
Silence the following icc warnings:
...
warning #1292 : attribute "force_align_arg_pointer" ignored
warning #1292 : attribute "alloc_size" ignored
warning #1292 : attribute "cold" ignored
Originally committed as revision 16258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 22:51:33 +00:00
Carl Eugen Hoyos
52476c1bee
Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.
...
Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 17:33:35 +00:00
Måns Rullgård
f8c5adaf9c
ARM: make FASTDIV() an inline function
...
Originally committed as revision 16193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:04:39 +00:00
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun
f0e602351e
cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
...
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:53:18 +00:00
Diego Biurrun
ecad9872fb
Initialize variable to silence the warning:
...
libavutil/pca.c:72: warning: ‘k’ may be used uninitialized in this function
Originally committed as revision 15760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-31 06:52:37 +00:00
Måns Rullgård
ede725104b
cosmetic: align backslashes in makefiles
...
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 15:21:45 +00:00
Måns Rullgård
b98f10c08a
ARM: faster ARMv6 FASTDIV()
...
Originally committed as revision 15712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 18:54:23 +00:00
Måns Rullgård
3a90480ac4
split bswap.h into per-arch files
...
Originally committed as revision 15663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 22:29:57 +00:00
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 21:40:24 +00:00
Michael Niedermayer
03092e1408
Port read_time() that works on x86_32 and 64 from noe.
...
Originally committed as revision 15661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 14:57:55 +00:00
Måns Rullgård
e80b267536
ARM: Kill warning in bswap_32()
...
Originally committed as revision 15648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 00:03:25 +00:00
Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.
Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 13:34:09 +00:00
Benoit Fouet
c49d0e0fe2
Bump minor version after addition of FF_ARRAY_ELEMS macro.
...
Originally committed as revision 15623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 08:06:12 +00:00
Benoit Fouet
ac809e814e
Add a macro to get the number of elements in a table.
...
Originally committed as revision 15619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 07:24:54 +00:00
Carl Eugen Hoyos
89493e10ef
Don't include byteswap.h anymore.
...
Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 19:50:24 +00:00
Carl Eugen Hoyos
aaa0df02d3
Allow using DECLARE_ALIGNED with Sun cc.
...
Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 10:47:05 +00:00
Stefano Sabatini
05b90fc0c5
Implement av_nearer_q() and av_find_nearest_q_idx() functions.
...
Originally committed as revision 15415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 19:23:13 +00:00
Michael Niedermayer
eed3607564
Avoid undefined behavior for removing elements that were not in the tree.
...
Originally committed as revision 15368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-19 12:41:12 +00:00
Michael Niedermayer
53e9d0105f
Fix generated md5, it was wrong for some input lengths.
...
Fix issue634.
Originally committed as revision 15335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-15 22:10:28 +00:00
Diego Biurrun
9be50e3922
Only define x86 register names on x86.
...
Originally committed as revision 15328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:17:40 +00:00
Stefano Sabatini
6123abad2e
Remove wrong and unnecessary condition. VHOOK filters are not special
...
so they are not supposed to use the printf, fprintf, perror and puts
functions but av_log instead.
Originally committed as revision 15221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 07:26:05 +00:00
Michael Niedermayer
991945d0e4
Fix typo.
...
Originally committed as revision 15199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 20:39:09 +00:00
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Stefano Sabatini
b76e3424ca
Cosmetics: remove a redundant and misplaced doxy.
...
Originally committed as revision 14856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 22:17:13 +00:00
Stefano Sabatini
e8e2b2ef17
Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.
...
Originally committed as revision 14855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 22:15:05 +00:00
Stefano Sabatini
8257b835cf
Implement av_fifo_realloc2().
...
Originally committed as revision 14846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 18:43:34 +00:00
Michael Niedermayer
a8aefc8aed
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
...
version.
Originally committed as revision 14818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:32:51 +00:00
Diego Biurrun
82ed0b763a
Add missing stdint.h header to fix 'make checkheaders'.
...
Originally committed as revision 14816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:15:33 +00:00
Justin Ruggles
ec0350c983
use LFG instead of Mersenne Twister for AC-3 PRNG
...
Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 17:41:48 +00:00
Michael Niedermayer
8cb2db4edb
restore alphabetical order of TESTS
...
Originally committed as revision 14813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 16:58:47 +00:00
Michael Niedermayer
31bcb290cc
Add PCA to TESTS.
...
Originally committed as revision 14812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 16:44:13 +00:00
Michael Niedermayer
4869f47eca
Add multiple inclusion guards for consistency and to avoid them being
...
forgotten in case they ever become neccessary.
Originally committed as revision 14810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:53:12 +00:00
Michael Niedermayer
ab1388e435
Move context struct to c file.
...
Originally committed as revision 14809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:51:20 +00:00
Michael Niedermayer
f43ad0fe74
Add prototypes to header (based on code by ramiro)
...
Originally committed as revision 14808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:50:20 +00:00
Michael Niedermayer
6441737591
Make ff_pca_init() allocate it struct instead of letting the user provide
...
one (more robust ABI wise).
Originally committed as revision 14807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:46:20 +00:00
Michael Niedermayer
7b0a6612c6
Do not mix declarations and statements (by ramiro).
...
Originally committed as revision 14806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:35:55 +00:00
Michael Niedermayer
88ccaf6f31
put testing code under #ifdef TEST
...
Originally committed as revision 14805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:33:17 +00:00
Michael Niedermayer
cd5cd37741
Testing code uses random().
...
Originally committed as revision 14804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:32:50 +00:00
Michael Niedermayer
a50bd69d9d
fix includes
...
Originally committed as revision 14803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:32:13 +00:00
Michael Niedermayer
7a0d00d49e
Principal component analysis
...
(will be cleaned up in next commits)
Originally committed as revision 14802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:28:12 +00:00
Diego Biurrun
2b409ca9d6
Remove hackish support for fastmemcpy from MPlayer.
...
Originally committed as revision 14764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 20:40:36 +00:00
Aurelien Jacobs
5af4f1f3e3
move M_PI definition along with other math definitions
...
Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 16:01:21 +00:00
Aurelien Jacobs
d1a12956a0
define some math constants so as not to depend on _XOPEN_SOURCE
...
Originally committed as revision 14725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 10:04:59 +00:00
Stefano Sabatini
76eb5c0523
Cosmetics: fix weird indent.
...
Originally committed as revision 14670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 19:50:35 +00:00
Stefano Sabatini
7f0026dded
Implement avutil_version().
...
Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:32:20 +00:00
Benoit Fouet
bc02bc8686
Remove unused redefinition of av_log for test.
...
Originally committed as revision 14657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-07 07:01:54 +00:00
Benoit Fouet
c3b9f5fbce
Remove a useless directive.
...
Originally committed as revision 14645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 12:04:35 +00:00
Benoit Fouet
2daefd2c00
Cosmetics: indentation
...
Originally committed as revision 14644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 12:03:51 +00:00
Peter Ross
6ba10f338a
Add av_memcpy_backptr(): deliberately overlapping memcpy variant.
...
Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 08:17:03 +00:00
Diego Biurrun
354de1d0b5
misc spelling/wording fixes
...
Originally committed as revision 14539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 21:54:50 +00:00
Måns Rullgård
c8fd5da42f
fix ARMv6 FASTDIV for divisor <=2
...
Originally committed as revision 14481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 02:38:40 +00:00
Michael Niedermayer
f39e8b03c8
1000l typo my new PRNG converged to -1.
...
Originally committed as revision 14479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 23:17:41 +00:00
Michael Niedermayer
310d442456
Add a multiplicative LFG for those thinking the additive is not good
...
enough, just 4 lines of code.
Originally committed as revision 14478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 23:08:07 +00:00
Diego Biurrun
9f31c7ef37
USE_FASTMEMCPY is now called CONFIG_FASTMEMCPY in MPlayer.
...
Originally committed as revision 14475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 12:02:22 +00:00
Michael Niedermayer
2cf3c8632c
Document av_lfg_get().
...
Originally committed as revision 14461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:47:06 +00:00
Michael Niedermayer
e80d474119
Warning about MTs speed.
...
Originally committed as revision 14460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:44:00 +00:00
Michael Niedermayer
2754fe8ba5
Simple lagged fibonacci PRNG.
...
3.5 times faster than our mersene twister.
10 times less memory needed. (=less cache trashing)
Originally committed as revision 14458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:35:04 +00:00
Diego Biurrun
58fe735631
Add random to list of test programs.
...
Originally committed as revision 14441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 21:11:06 +00:00
Diego Biurrun
cf160899dd
Change return type of main function to int to avoid a warning.
...
Originally committed as revision 14440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 21:10:32 +00:00
Diego Biurrun
00c6161d5a
Move #includes, which are only used in the test program, below the #ifdef
...
surrounding the test program to save an #ifdef at the top of the file.
Originally committed as revision 14439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 21:05:12 +00:00
Michael Niedermayer
51be0eb482
Change benchmarking code so it returns comparable values.
...
Originally committed as revision 14434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 20:53:30 +00:00
Michael Niedermayer
b6ff078b7b
Make the selftesting code use and compileable.
...
Originally committed as revision 14433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 20:50:24 +00:00
Diego Biurrun
ca74c0a180
cosmetics: Fix two common typos: wont --> will not, lets --> let us.
...
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:09:28 +00:00
Diego Biurrun
80a61f08d2
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 10:53:32 +00:00
Måns Rullgård
b7b38fb28a
intreadwrite: support DEC compiler __unaligned type qualifier
...
Originally committed as revision 14275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 01:18:59 +00:00
Måns Rullgård
fbbea48eb3
Rearrange AV_[RW][BL]*() macros
...
Originally committed as revision 14265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 18:42:19 +00:00
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:18 +00:00
Måns Rullgård
c696a863d4
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
...
Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:03 +00:00
Måns Rullgård
ea66f252a8
ARM: ARMv6 optimised bswap_16/32
...
Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:05:49 +00:00
Alexander Strange
b1e12f99a2
Print the address of the AVCodecContext in av_log().
...
This makes debug output much easier to read when the
same codec is open more than once.
Originally committed as revision 14237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 17:17:35 +00:00
Vitor Sessak
4138ad961c
Add av_clipf() function to common.h and use it in ra288.c
...
Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 19:59:44 +00:00
Loren Merritt
f27e1d645e
simplify vorbis windowing
...
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 14:56:01 +00:00
Peter Ross
d7bd0b3dea
Only define AltiVec vector syntax macro when AltiVec is enabled.
...
patch by Peter Ross, pross xvid org
Originally committed as revision 14073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 08:10:47 +00:00
Michael Niedermayer
8cd8eaa546
Make START/STOP_TIMER not require -v 2.
...
Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 10:55:34 +00:00
Måns Rullgård
40c13fecfa
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
...
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:49:47 +00:00
Rafaël Carré
d326dd9797
Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.
...
patch by Rafaël Carré, funman videolan org
Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 22:10:53 +00:00
Stefano Sabatini
4a567b40b1
Macro suggested by Michael which will be used to disable the
...
definition of long_name strings in libavcodec and libavformat.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 07:37:43 +00:00
Diego Biurrun
b006b26c83
Implement a proper configure test for AltiVec vector declaration syntax.
...
Originally committed as revision 13555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 10:58:48 +00:00
Michael Niedermayer
fa3b98182d
Ensure that one can store X bytes in a fifo of size X.
...
Fixed issue417.
Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 23:04:09 +00:00
Michael Niedermayer
0871ae1a93
Make av_fifo*_read() ignore the available amount of data.
...
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.
Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 22:20:39 +00:00
Michael Niedermayer
19757f6169
indent
...
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:37:52 +00:00
Michael Niedermayer
fdf35f265a
make av_strdup(NULL) return NULL
...
Originally committed as revision 13250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:37:32 +00:00
Diego Biurrun
c38e75fc52
Add required stdint.h header.
...
Originally committed as revision 13096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:10:20 +00:00
Ramiro Polla
40d0e665d0
Do not misuse long as the size of a register in x86.
...
typedef x86_reg as the appropriate size and use it instead.
Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 21:11:24 +00:00
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Diego Biurrun
91605c69fb
minor wording fix
...
Originally committed as revision 13068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:41:13 +00:00
Diego Biurrun
e4a957d1a7
minor spelling fix
...
Originally committed as revision 13066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:03:30 +00:00
Måns Rullgård
7c43009358
add necessary #includes in headers
...
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:39 +00:00
Baptiste Coudurier
b842ecbefc
add FFMIN3
...
Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:47:02 +00:00
Stefano Sabatini
95a6a015e3
Enhance documentation for AVClass
...
Patch by Stefano Sabatini stefanodotsabatini-lalaatpostedotit
Originally committed as revision 12934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 10:13:38 +00:00
Vladimir Voroshilov
159ef4b02a
Implement FFMAX3(a,b,c) - maximum over three arguments.
...
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 17:07:58 +00:00
Diego Biurrun
93826f561d
Fix des-test compilation.
...
Originally committed as revision 12889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 07:05:49 +00:00
Diego Biurrun
c88c253d8b
cosmetics: __asm__ __volatile__ --> asm volatile
...
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 21:57:52 +00:00
Stefano Sabatini
07c37ca7fc
remove useless extern keyword.
...
patch by Stefano Sabatini: stefano sabatini-lala poste it
Originally committed as revision 12790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 14:18:33 +00:00
Benoit Fouet
95c76e1180
cosmetics (by Björn Axelsson)
...
Originally committed as revision 12774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 11:36:50 +00:00
Björn Axelsson
49cec1998a
Add a generic write function to av_fifo.
...
Patch by Björn Axelsson: bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [RFC][PATCH] av_fifo_write_from_bytestream()
Date: 04/03/2008 12:14 PM
Originally committed as revision 12773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 11:35:16 +00:00
Måns Rullgård
71c61f62a3
non-recursive makefiles
...
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Michael Niedermayer
4764fdc987
simplify
...
Originally committed as revision 12755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-05 10:52:27 +00:00
Michael Niedermayer
ed0d3048c0
Merge declaratio and initialization.
...
Originally committed as revision 12677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:20:32 +00:00
Michael Niedermayer
11362767b8
Merge declaration and initialization.
...
Originally committed as revision 12676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:18:14 +00:00
Alexander Strange
df22c35dfb
Split MANGLE macro into LOCAL_MANGLE AND EXTERN_PREFIX parts
...
so that LOCAL_MANGLE can be used without EXTERN_PREFIX.
patch by Alexander Strange, astrange ithinksw com
Originally committed as revision 12558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 18:15:12 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Måns Rullgård
3540b950ec
add missing #include "common.h" to libavutil headers
...
Originally committed as revision 12502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 08:47:31 +00:00
Zuxy Meng
e6e70d9bdc
Cosmetic change: remove the whitespace after 'defined'
...
Originally committed as revision 12501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:43:43 +00:00
Zuxy Meng
0fd48faca5
'malloc' attribute isn't supported in old gcc.
...
Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:42:50 +00:00
Zuxy Meng
cca6d953c2
Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz
...
Originally committed as revision 12499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:30:34 +00:00
Zuxy Meng
85074d3c93
Reapply r12489: Add pure, const and malloc attributes to proper functions
...
in libavutil.
Fix a compilation failure in r12489.
Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 06:17:43 +00:00
Måns Rullgård
3662d880ed
32/64-bit agnostic x86 bswap
...
Originally committed as revision 12496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 22:28:33 +00:00
Måns Rullgård
70fa2e27ec
cosmetics: sanitise asm() statements in bswap.h
...
Originally committed as revision 12494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 20:52:37 +00:00
Benoit Fouet
2119bb8f51
revert r12489.
...
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 16:29:47 +00:00
Zuxy Meng
6544f48f03
Pure, const and malloc attributes to libavutil.
...
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM
Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 15:27:15 +00:00
Måns Rullgård
b4d96ba2a8
check for prefix on extern symbols in configure
...
Originally committed as revision 12484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 02:01:20 +00:00
Måns Rullgård
3c9bcb42cf
add REGd definition
...
Originally committed as revision 12481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:17 +00:00
Diego Biurrun
08e89160e4
cosmetics: indentation
...
Originally committed as revision 12471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:39 +00:00
Diego Biurrun
edfd6975cf
Simplify MANGLE macro preprocessor condition checks.
...
Originally committed as revision 12470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:11 +00:00
İsmail Dönmez
8e9ccb6c7e
Fix MANGLE macro on Mac OS X.
...
Allows compiling a 64 bit FFmpeg on Mac OS X without using --disable-mmx.
patch by İsmail Dönmez ismail namtrac org
Originally committed as revision 12468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 07:49:03 +00:00
Diego Biurrun
768a920572
#include stddef.h instead of sys/types.h, the former is a standard C header.
...
Originally committed as revision 12435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:30:07 +00:00
Diego Biurrun
32573a74bf
#include stdint.h instead of inttypes.h like all libavutil headers do.
...
Originally committed as revision 12433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:17:03 +00:00
Diego Biurrun
a087028ad8
Add #include "config.h" to headers that need it.
...
Originally committed as revision 12431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:04:21 +00:00
Diego Biurrun
6ef2912879
Add missing stdint.h #include to headers that use it.
...
Originally committed as revision 12429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 00:20:15 +00:00
Diego Biurrun
2cab640129
typo fixes
...
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:58:46 +00:00
Diego Biurrun
7ce6892373
misc spelling fixes
...
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +00:00
Diego Biurrun
c123486e44
#error in case we do not know how to provide alignment.
...
Originally committed as revision 12382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:30:15 +00:00
Måns Rullgård
6bd859d67e
check for x86 bswap instruction
...
Originally committed as revision 12375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:33:07 +00:00
Diego Biurrun
9b25f4a65f
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
...
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:39:43 +00:00
Måns Rullgård
0e32c8c65a
simplify library version handling
...
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Reimar Döffinger
7e14b8082d
Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but
...
SunStudio 12 only supports the former.
Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 17:01:35 +00:00
Måns Rullgård
2e98d87cfc
simplify lzo-test rule
...
Originally committed as revision 12269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 21:38:36 +00:00
Måns Rullgård
800c289a66
less preprocessor magic in version number macros
...
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:37:59 +00:00
Peter Ross
fe0c188b4a
This header just needs stdint.h, not inttypes.h, which is a superset of
...
stdint.h. This has the sideeffect of fixing the build on Interix.
patch by Pete Ross, pross xvid org
Originally committed as revision 12225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:12:55 +00:00
Eddie Pang
a02dd7ebdd
Fix MSVC identification, patch by Eddie Pang.
...
Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 18:32:55 +00:00
Michael Niedermayer
4fa1f6cc5c
Make code C conformant.
...
Originally committed as revision 12217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 18:25:49 +00:00
Diego Biurrun
4bfc91a07b
cosmetics: prettyprint
...
Originally committed as revision 12213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:53:55 +00:00
Eddie Pang
5cbd67ea43
10l: Correctly use preprocessor conditionals.
...
patch by Eddie Pang, eddpang gmail com
Originally committed as revision 12159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 18:48:49 +00:00
Måns Rullgård
e97ac1e6f5
Clean up lib* version definitions
...
Updating version numbers now requires changing only one place.
Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Diego Biurrun
27af15dc5c
prettyprinting cosmetics
...
Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 14:58:18 +00:00
avcoder
90d30570d8
Avoid void*-arithmetic.
...
Patch by mvplayer: ffmpeg gmail com
Originally committed as revision 11932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-14 08:16:07 +00:00
Diego Biurrun
7cb1fc766b
Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
...
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:36:04 +00:00
Diego Biurrun
b89bb8581d
Mark MSVC compiler macros as such.
...
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:33:05 +00:00
Diego Biurrun
7433ca2982
Disentangle nested preprocessor directives.
...
Originally committed as revision 11917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:08:03 +00:00
Carl Eugen Hoyos
7ce3e4a882
Allow compilation with icc 10.1.
...
Originally committed as revision 11889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 20:47:11 +00:00
Michael Niedermayer
f522310b6d
Missing const found by -Wwrite-strings.
...
Originally committed as revision 11838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:56:13 +00:00
Reimar Döffinger
5e038b4f08
LZO decoder input is const
...
Originally committed as revision 11797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:30:51 +00:00
Michael Niedermayer
ff794171c9
Do not cast const away.
...
Originally committed as revision 11707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:14:50 +00:00
Michael Niedermayer
89ef2c29a0
Merge declaration and initialization.
...
Originally committed as revision 11701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:49 +00:00
Michael Niedermayer
070144671d
Dont cast const away.
...
Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:16 +00:00
Michael Niedermayer
b8fe8ab062
Fix the following using void* casts, proper casts are less readable and
...
avoiding casts would be even less readable, but other suggestions are welcome.
lls.c:56: warning: initialization from incompatible pointer type
lls.c:57: warning: initialization from incompatible pointer type
Originally committed as revision 11697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 20:52:14 +00:00
Michael Niedermayer
59abc29e69
fixing warning
...
md5.c:150: warning: passing argument 2 of 'av_md5_update' from incompatible pointer type
Originally committed as revision 11665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 04:50:09 +00:00
Benoit Fouet
dd670dedf9
Remove integer.h inclusion.
...
Originally committed as revision 11654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 17:23:57 +00:00
Diego Biurrun
bca9e0bcf1
Move common test program infrastructure to common.mak.
...
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:28:56 +00:00
Diego Biurrun
fe34942e92
Move some lines in preparation for an upcoming commit.
...
Originally committed as revision 11644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:27:13 +00:00
Diego Biurrun
4942a0e8ee
Add Makefile rules for test programs.
...
Originally committed as revision 11643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 22:39:30 +00:00
Diego Biurrun
cff7ccdd44
Do not install integer.h, it is not part of the public API.
...
Originally committed as revision 11642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 21:03:54 +00:00
Reimar Döffinger
766324fc49
Add and use DECLARE_ASM_CONST for constants used in assembler code.
...
Should make it easier to work around compilation problems with e.g. ICC.
Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:50:16 +00:00
Michael Niedermayer
51198a8737
Comment to explain how the add/remove core works.
...
Originally committed as revision 11603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 21:03:21 +00:00
Michael Niedermayer
c448a09624
Faster ff_sqrt()
...
Originally committed as revision 11586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 13:33:18 +00:00
Diego Biurrun
59ec6991ac
Disallow puts(), av_log() should be used instead.
...
Originally committed as revision 11548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:32:31 +00:00
Michael Niedermayer
5d1e3d2210
Print removing of nodes in the test code.
...
Originally committed as revision 11534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 01:54:56 +00:00
Michael Niedermayer
3f161c7eab
simplify
...
Originally committed as revision 11533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 01:54:18 +00:00
Sigbjørn Skjæret
9ad5675f25
Add a couple of missing consts.
...
patch by Sigbjørn Skjæret, cisc broadpark no
Originally committed as revision 11528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 22:10:19 +00:00
Diego Biurrun
f3635240b7
Fix a couple of 'return type defaults to int' and 'control reaches end of
...
non-void function' warnings in test code.
Originally committed as revision 11491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 10:35:37 +00:00
Diego Biurrun
f0cb505aeb
Allow compilation of test programs when TEST is defined.
...
Originally committed as revision 11473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:54:49 +00:00
Diego Biurrun
a005768d25
Remove unused variable j.
...
Originally committed as revision 11472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:53:25 +00:00
Diego Biurrun
38c162c1a9
Remove unused variable variance.
...
Originally committed as revision 11471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:48:26 +00:00
Diego Biurrun
43bfaa8920
Fix test program compilation, random() needs to be undefined.
...
Originally committed as revision 11470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:40:25 +00:00
Aurelien Jacobs
03d83abcc6
Fix access to the last element of the table.
...
(size of the table vs. number of elements in the table)
Originally committed as revision 11448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 13:19:38 +00:00
Aurelien Jacobs
977cbe79d8
install crc.h which is now part of public API
...
Originally committed as revision 11410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:47:10 +00:00
Aurelien Jacobs
3abe5fbdc4
improve CRC API
...
- don't export any global var
- provide either generated or hardcoded tables
Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Michael Niedermayer
a35bf971c6
indent
...
Originally committed as revision 11405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 19:16:38 +00:00
Michael Niedermayer
2e1d287329
Flip key and element so types match, not that it matters for any code
...
using it in libav*.
Originally committed as revision 11404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:58:36 +00:00
Michael Niedermayer
b57cb96836
Document O() time.
...
Originally committed as revision 11403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:55:14 +00:00
Michael Niedermayer
efbaf4deee
Document node removial API.
...
Originally committed as revision 11402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:46:53 +00:00
Michael Niedermayer
d5cb5fe86b
Fix selftest.
...
Originally committed as revision 11401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:21:36 +00:00
Michael Niedermayer
f05dda3b7a
Support removing elements.
...
Originally committed as revision 11400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:20:03 +00:00
Michael Niedermayer
6e8b982bcc
Move *malloc() out of tree.c, that way the code can be used with
...
flat arrays which have lower overhead than millions of mallocd() elements.
Originally committed as revision 11399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 17:52:16 +00:00
Michael Niedermayer
116d15ccf1
Always set next correctly, even if a matching element is found (that is
...
how it is documented and used).
Originally committed as revision 11391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 10:14:21 +00:00
Michael Kostylev
a33cab3a9a
Check for the presence of llrint(), lrint(), round() and roundf()
...
and provide simple replacements if they are unavailable.
patch by Michael Kostylev, mik niipt ru
Originally committed as revision 11326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:53:02 +00:00
Diego Biurrun
52d086084e
Remove outdated comment.
...
Originally committed as revision 11325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:42:46 +00:00
Michael Kostylev
4f365f37b5
djgpp port, first part
...
patch by Michael Kostylev, mik niipt ru
Originally committed as revision 11313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-24 12:49:27 +00:00
Måns Rullgård
a309073bf4
use av_log_get/set_level()
...
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Luca Barbato
0bc308de56
kill a warning, av_sha1_update accepts uint8_t * not uint64_t *
...
Originally committed as revision 11208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:03:11 +00:00
Luca Barbato
537c8e7a48
Provide sha1 to outside applications
...
Patch from Diego Pettenò flameeyesATgmailDOTcom
Originally committed as revision 11207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 20:58:41 +00:00
Diego Biurrun
f0a838e525
Add missing #includes to fix 'make checkheaders'.
...
Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 10:08:02 +00:00
Diego Biurrun
f8a80fd69d
main() --> main(void)
...
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 00:52:56 +00:00
Luca Abeni
c5a2fe8f1f
Generate a linking error if perror() is used in libav*
...
Originally committed as revision 11061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 10:40:11 +00:00
Luca Abeni
7f0cd6a529
Remove perror() usage from libavutil
...
Originally committed as revision 11057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 07:39:55 +00:00
Luca Abeni
353fa898bb
Reindent the code after last commit
...
Originally committed as revision 10958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 11:59:39 +00:00
Luca Abeni
cd250e581b
Remove redundant "if(len)"
...
Originally committed as revision 10957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 11:56:50 +00:00
Stefano Sabatini
0ee97f0d3f
Doxyfication, patch by Stefano Sabatini %stefano P sabatini-lala A poste P it%
...
Originally committed as revision 10906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-02 19:48:13 +00:00
Stefano Sabatini
22baf42c83
doxy/cosmetics fixes. Patch by Stefano Sabatini %stefano P sabatini-lala A posteP it %
...
Originally committed as revision 10893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 11:51:51 +00:00
Luca Abeni
e76e2bbc09
Mark the source buffer as "const"
...
Originally committed as revision 10877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 15:32:52 +00:00
Reimar Döffinger
46fb896b9d
Document ff_des_encdec
...
Originally committed as revision 10822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 14:45:07 +00:00
Jeremy Mordkoff
4f9c008cd5
Fix typo.
...
Patch by Jeremy Mordkoff: jlm zazzletech com
Originally committed as revision 10812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 15:39:02 +00:00
Diego Biurrun
1b1ab19816
cosmetics: Add #endif comment.
...
Originally committed as revision 10811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 09:54:16 +00:00
Reimar Döffinger
2e9ad69aaf
Add support for DES en- and decryption.
...
Originally committed as revision 10810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 09:31:41 +00:00
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun
52703a6459
Use filename as multiple inclusion guard.
...
Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:16:21 +00:00
Diego Biurrun
8a2d973dfc
misc Doxygen spelling/grammar fixes
...
Originally committed as revision 10754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 23:07:03 +00:00
Reimar Döffinger
3f30c42b61
Fix rc4 header, #ifndef -> #define
...
Originally committed as revision 10733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 12:08:41 +00:00
Diego Biurrun
d02f15476f
Add multiple inclusion guards.
...
Originally committed as revision 10732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 09:51:38 +00:00
Diego Biurrun
c1d5a67c56
Add standard license header.
...
Originally committed as revision 10731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 09:32:06 +00:00
Diego Biurrun
d5a8a02326
Consistently place comments in file header.
...
Originally committed as revision 10730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 09:30:53 +00:00
Diego Biurrun
547972fdad
cosmetics: sort()
...
Originally committed as revision 10729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 09:29:59 +00:00
Reimar Döffinger
80b1c5a858
Add RC4 encryption/decryption function
...
Originally committed as revision 10723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 10:42:11 +00:00
Aurelien Jacobs
b70335a28d
add support for yuva420p colorspace (yuv420p + alpha)
...
Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:21:41 +00:00
Stefano Sabatini
d3de3ee2bd
Document libavutil/mem.h:av_strdup.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 10456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 13:23:34 +00:00
Diego Biurrun
1e97ce4a31
cosmetics: Sort some lines, whitespace changes.
...
Originally committed as revision 10268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:11:24 +00:00
Diego Biurrun
c97f54020d
Change SYS_DARWIN preprocessor checks to __APPLE__, they are specific
...
to Mac OS X rather than to Darwin.
Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:17:03 +00:00
Diego Biurrun
8008a04325
Move Apple gcc AltiVec vector declaration syntax to libavutil.
...
Originally committed as revision 10207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:04:00 +00:00
Diego Biurrun
9d16f87ffd
Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
...
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Reimar Döffinger
45e3c163a9
Additional documentation for CRC functions
...
Originally committed as revision 10151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 16:54:47 +00:00
Reimar Döffinger
7b07d3e8fe
Use defines instead of raw hex numbers to specify CRC polynomials
...
Originally committed as revision 10143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 12:36:15 +00:00
Ramiro Polla
c8f9ef613e
CONFIG_7REGS -> HAVE_7REGS
...
Originally committed as revision 10121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-15 21:19:13 +00:00
Ramiro Polla
5e4c7ca224
Add attribute that forces alignment of stack to functions that need it.
...
Necessary for systems that don't align by default to 16 bytes, required by some
SSE instructions.
Requires GCC >= 4.2.
Based on patch by Gaël Chardon.
Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 15:28:29 +00:00
Aurelien Jacobs
ddb8ebe7a1
add a new av_clip_int16() function to libavutil
...
Originally committed as revision 10076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 21:59:01 +00:00
Aurelien Jacobs
b9c684a2b8
ensure av_noinline is always defined
...
Originally committed as revision 10075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 21:52:40 +00:00
Roman Shaposhnik
905694d96e
* renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64)
...
Originally committed as revision 10023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:01:15 +00:00
Roman Shaposhnik
b6c748edba
* Making [START|STOP]_TIMER work on architectures that support gethrtime()
...
Originally committed as revision 9998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:12:40 +00:00
Luca Abeni
1e7f363804
Implement av_strlcatf(): a strlcat which adds a printf style formatted string
...
Originally committed as revision 9753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 06:36:02 +00:00
Reimar Döffinger
ef0d7a0d4f
Document aes init code writing on purpose beyond round_key array into state array.
...
Originally committed as revision 9734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 12:22:07 +00:00
Andreas Öman
4196cfb75b
add YUV440P and YUVJ440P support
...
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM
Originally committed as revision 9732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 08:11:16 +00:00
Måns Rullgård
318049b8ed
move #include of system headers to top of file
...
Originally committed as revision 9646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:34:40 +00:00
Alex Beregszaszi
7eed4aef83
10l to Mans, assert is included later with proper DEBUG/NDEBUG ifdefs
...
Originally committed as revision 9636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 11:33:16 +00:00
Alex Beregszaszi
71e4199485
match doxygen comment with other parts of the file
...
Originally committed as revision 9635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 00:15:01 +00:00
Ramiro Polla
7c9dcd4bba
Remove unnecessary MINGW ifdef.
...
These were added for MSVC++, which is no longer supported.
Originally committed as revision 9595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:50:59 +00:00
Ramiro Polla
36564c514c
Remove MinGW lrint hack.
...
It has been in mingw-runtime at least since version 2.4
Originally committed as revision 9594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:44:50 +00:00
Ramiro Polla
7c37e504f0
Remove OS/2 support
...
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:52:04 +00:00
Måns Rullgård
059eeabf35
10l: fix av_str[i]start()
...
Originally committed as revision 9585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:43:35 +00:00
Måns Rullgård
84662c01c9
undef forbidden names before we #define them in case they are macros in libc
...
Originally committed as revision 9545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 15:56:31 +00:00
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Diego Biurrun
7b94177e37
Group all copyright and author notices together.
...
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Vitor Sessak
3299fb4523
Make error message more helpful and forbid random()
...
Originally committed as revision 9472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 05:02:47 +00:00
Diego Biurrun
2eb697a455
Move comment to a slightly better place.
...
Originally committed as revision 9462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:51 +00:00
Diego Biurrun
224906414b
Remove leading underscores from specifiers, they are reserved.
...
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Diego Biurrun
3d44f15cfc
Add proper license header.
...
Originally committed as revision 9444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 07:58:37 +00:00
Reimar Döffinger
c08be350da
intreadwrite.h needs bswap.h if HAVE_FAST_UNALIGNED is set, so include it.
...
Originally committed as revision 9414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 14:29:52 +00:00
Reimar Döffinger
272605c73e
more av_strl* adjustments
...
Originally committed as revision 9412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:23:34 +00:00
Luca Barbato
3565e10b44
bump micro version: new string functions
...
Originally committed as revision 9405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 09:18:20 +00:00
Måns Rullgård
fc78ce803b
add some string functions
...
Originally committed as revision 9400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 23:10:26 +00:00
Michel Bardiaux
4fc3d23ffe
Clarify comments about PIX_FMT_MONOWHITE/MONOBLACK
...
Thread: PIX_FMT_MONOWHITE
Originally committed as revision 9373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 08:18:04 +00:00
Guillaume Poirier
efb775777f
add a comment to indicate which #endif belong to which #define
...
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård
699b3f99d0
add multiple inclusion guards to headers
...
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Måns Rullgård
99545457bf
include all prerequisites in header files
...
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:59:13 +00:00
Marc Hoffman
f70c273902
Blackfin - read_time primitive
...
note this primitive currently uses a union to concatenate 2x32bit registers because of poor compiler support
around DImode and asm.
Originally committed as revision 9302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 11:09:07 +00:00
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Reimar Döffinger
6f74b71ef0
Part of MPlayer patch:
...
"Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization."
This is not yet done for ffmpeg when compiled within MPlayer.
Originally committed as revision 9225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-05 14:33:27 +00:00
Carl Eugen Hoyos
154e30f6c2
rename attribute_unused to av_unused and moves its declaration to common.h
...
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM
Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:32:25 +00:00
Diego Biurrun
605315248c
Remove extern C declarations for C++.
...
FFmpeg is pure C and not all public headers have the declarations.
Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Michael Niedermayer
79d4c96a1a
correct last element inited check
...
Originally committed as revision 9018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-13 19:14:18 +00:00
Jindřich Makovička
803ca89ca1
Proper fix for r8963
...
Patch by Jindrich Makovicka, makovick at gmail dot com
Reference thread:
Subject: Re: [PATCH] make libavcodec use bytestream functions
Date: Thu, 10 May 2007 07:49:43 +0200
Originally committed as revision 8982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 18:28:44 +00:00
Ivo van Poorten
9e010b41e6
add AV_[RW][BL]64 support
...
Originally committed as revision 8924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:12:33 +00:00
Michael Niedermayer
45221f7f61
reduce number of shifts
...
Originally committed as revision 8891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 22:35:56 +00:00
Michael Niedermayer
fd735e4b77
simplify
...
Originally committed as revision 8890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-04 21:22:43 +00:00
Attila Kinali
69ae947874
add missing include of bswap.h
...
Originally committed as revision 8853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 20:22:01 +00:00
Diego Biurrun
e69364b700
Mark code parts that cannot work on AMD64 due to broken relocations as such.
...
This allows building shared libraries on AMD64 again.
based on a patch by Diego 'Flameeyes' Pettenò and suggestions by Michael
original thread:
Date: Wed, 18 Apr 2007 11:26:12 +0200
Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again
Originally committed as revision 8849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 09:32:31 +00:00
Ramiro Polla
bf5d7db5a0
reorder bswap functions into bit-depth, special-casing inside the functions.
...
patch by Ramiro Polla ramiro lisha ufsc br
Originally committed as revision 8823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 08:20:21 +00:00
Ramiro Polla
853d15c2f8
make 2 functions "return x;" to simplify next patch
...
patch by Ramiro Polla ramiro lisha ufsc br
Originally committed as revision 8822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 08:15:39 +00:00
Ramiro Polla
7b829d2ab6
"fast unaligned" bytestream functions
...
patch by Ramiro Polla ramiro lisha ufsc br
original thread:
date: 03/11/2007 03:06 AM
subject: [Ffmpeg-devel] [PATCH] Machine endian bytestream functions
Originally committed as revision 8803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 08:47:15 +00:00
Marc Hoffman
20d45dc2a8
Faster 32 bit byteswaping code for Blackfin.
...
200% faster on BF537 compiled with gcc 4.1.
patch by Marc Hoffman, mmh pleasantst com
Originally committed as revision 8802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 23:21:29 +00:00
Diego Biurrun
85b1a7222d
cosmetics: Reorder endianness macros by bit depth, alignment prettyprinting.
...
Originally committed as revision 8796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 07:16:47 +00:00
Diego Biurrun
245626d045
Move ebx_available and ebp_available from CONFIG_LIST to HAVE_LIST,
...
it's not configurable by the user.
Originally committed as revision 8795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 07:06:30 +00:00
Alex Beregszaszi
61bc79ec9c
remove possibly broken wince cruft
...
Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-20 23:45:53 +00:00
Ramiro Polla
8c2e2040aa
Add first and second output to earlyclobbers in COPY3_IF_LT macro.
...
patch by Ramiro Ribeiro Polla, ramiro lisha.ufsc br
Original thread:
date: Mar 27, 2007 11:21 PM
subject: [Ffmpeg-devel] [PATCH] fix build for --cpu=i686
Originally committed as revision 8604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 11:21:16 +00:00
Panagiotis Issaris
449659919c
Fix compilation when using the --disable-opts parameter. This to help those
...
interested in using a debugger to debug FFmpeg.
Original thread:
Subject: [PATCH] Fix compilation when using --disable-opts
Date: 2007-03-15 16:58:35 GMT
Originally committed as revision 8549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 14:20:30 +00:00
Michael Niedermayer
c367d06702
prevent exit missuse
...
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00
Luca Barbato
bd03c380ce
expose av_base64_decode and av_base64_encode
...
Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-19 00:48:47 +00:00
Michael Niedermayer
ad73e79cab
160 bytes smaller object file, ask gcc devels why
...
Originally committed as revision 8407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 19:47:58 +00:00
Michael Niedermayer
f1505ce3bc
explain where the T table comes from
...
Originally committed as revision 8406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 19:43:31 +00:00
Michael Niedermayer
08cb195020
kill 3 more av_mallocz_static()
...
Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 01:59:53 +00:00
Michael Niedermayer
e057461dac
cosmetic (order context variables like in sha1)
...
Originally committed as revision 8386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:40:13 +00:00
Michael Niedermayer
248b25f878
s/context/ctx/
...
Originally committed as revision 8385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:26:11 +00:00
Michael Niedermayer
e657aa3415
#undef printf under #ifdef TEST (needed for testing)
...
Originally committed as revision 8384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:20:04 +00:00
Michael Niedermayer
ef3c7c3328
borrow finalization algo from sha1 (100byte smaller)
...
Originally committed as revision 8383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:19:20 +00:00
Michael Niedermayer
e1b62250ac
get rid of b_used variable (same size with CONFIG_SMALL)
...
Originally committed as revision 8382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 11:57:26 +00:00
Michael Niedermayer
36c7fa7ea5
smaller av_sha1_update()
...
Originally committed as revision 8381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 11:25:57 +00:00
Michael Niedermayer
104c30ee06
use CONFIG_SMALL
...
Originally committed as revision 8380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:53:15 +00:00
Michael Niedermayer
2001304500
put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment
...
Originally committed as revision 8379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:48:22 +00:00
Michael Niedermayer
5fd7f87b8d
cosmetic
...
Originally committed as revision 8378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:46:18 +00:00
Michael Niedermayer
15b6cae245
dont memcpy() simpler and same speed
...
Originally committed as revision 8377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:45:41 +00:00
Michael Niedermayer
476f9b74ec
simplify
...
Originally committed as revision 8376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:40:59 +00:00
Michael Niedermayer
f6a3477bb5
remove middle variant (keep fastest and smallest)
...
Originally committed as revision 8375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:36:49 +00:00
Michael Niedermayer
965ea9ba66
10l
...
Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:34:52 +00:00
Michael Niedermayer
fca447a911
double ;;
...
Originally committed as revision 8373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 01:25:59 +00:00
Michael Niedermayer
2fa3a22d23
factorize VARIANT2 (smaller and slower)
...
Originally committed as revision 8372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 01:13:38 +00:00
Michael Niedermayer
d6cf780419
revert 2% speed loss change (r8360)
...
so VARIANT0 will be big and a few % faster, VARIANT1/2 are unaffected
Originally committed as revision 8371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:35:18 +00:00
Michael Niedermayer
cb496e1f12
zero byte idea by rich
...
Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:19:26 +00:00
Michael Niedermayer
6573578d7b
2 other variants of how to implement the core part
...
benchmarks welcome ...
Originally committed as revision 8367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:17:55 +00:00
Michael Niedermayer
20bd4e0799
cosmetic cleanup
...
Originally committed as revision 8362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:23:30 +00:00
Michael Niedermayer
3884689bd5
cosmetic cleanup
...
Originally committed as revision 8361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:14:33 +00:00
Michael Niedermayer
913cbde41a
10% smaller object file, 2% slower
...
Originally committed as revision 8360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:12:36 +00:00
Michael Niedermayer
c6fd617aea
very slightly smaller object file
...
Originally committed as revision 8358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:33:38 +00:00
Michael Niedermayer
11bf0eb69a
make count count bytes not bits (this is simpler and leads to a very slightly smaller object file)
...
Originally committed as revision 8357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:29:39 +00:00
Michael Niedermayer
de953b6b67
remove bigger and slower code
...
Originally committed as revision 8356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:23:33 +00:00
Michael Niedermayer
82da03f717
dont recommand testing with -O3
...
Originally committed as revision 8355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:21:57 +00:00
Michael Niedermayer
aa59433af6
avoid silly ring buffer logic (faster with -O2, -O3 is always slower then -O2)
...
Originally committed as revision 8354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:21:12 +00:00
Michael Niedermayer
3479b72bc2
its faster to copy the data to the stack it seems ...
...
Originally committed as revision 8353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:14:33 +00:00
Michael Niedermayer
ae76034cbb
explain how to test it
...
Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:07:38 +00:00
Michael Niedermayer
7c60e55bff
simple SHA-1 implementation
...
Originally committed as revision 8351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:05:56 +00:00
Panagiotis Issaris
43cd2d3225
Install mem.h on "make install" as:
...
* the mem.h functions are part of the public API
* common.h includes mem.h and common.h is installed
Originally committed as revision 8345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 15:23:18 +00:00
Panagiotis Issaris
792098c2ec
Move the memory related functions out of common.h into their own header file
...
mem.h.
Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:45:49 +00:00
Michel Bardiaux
318c5e0524
Give context to dprintf
...
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Panagiotis Issaris
0d8f16acf9
Fix typo in Doxygen comments.
...
Originally committed as revision 8307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 15:18:07 +00:00
Michel Bardiaux
bdb4b698d8
Corrections so that builds with DEBUG work
...
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Alex Beregszaszi
1586238717
add little endian 24bit read/write
...
Originally committed as revision 8269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:04:47 +00:00
Panagiotis Issaris
d7f654692a
Move unaltered av_freep() comments to the header file.
...
Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:51:03 +00:00
Panagiotis Issaris
f690ee715d
Move unaltered av_free() comments to the header file.
...
Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:50:03 +00:00
Panagiotis Issaris
d6def91a3b
Move unaltered av_realloc() comments to the header file.
...
Originally committed as revision 8251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:46:47 +00:00
Panagiotis Issaris
9a07029916
Move unaltered av_malloc() comments to the header file.
...
Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:45:52 +00:00
Panagiotis Issaris
395722ba67
Move av_log2_i()'s unaltered comments to the header file.
...
Originally committed as revision 8232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:26:53 +00:00
Panagiotis Issaris
37b2f1d073
Move av_i2int()'s unaltered comments to the header file.
...
Originally committed as revision 8231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:26:01 +00:00
Panagiotis Issaris
c1f567875a
Move av_int2i()'s unaltered comments to the header file.
...
Originally committed as revision 8230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:25:00 +00:00
Panagiotis Issaris
fb7d4f7908
Move av_cmp_i()'s unaltered comment to the header file.
...
Originally committed as revision 8229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:20:54 +00:00
Panagiotis Issaris
886368e989
Move av_shr_i()'s unaltered comments to the header file.
...
Originally committed as revision 8228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:18:44 +00:00
Panagiotis Issaris
9375cdd5ab
Move av_div_i()'s comments to the header file. The comments are unaltered.
...
Originally committed as revision 8227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:14:12 +00:00
Panagiotis Issaris
607da27c64
Move av_mod_i()'s comment to the header file. The moved comment is unmodified.
...
Originally committed as revision 8226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:10:38 +00:00
Panagiotis Issaris
3ec9a7873f
Move the unaltered Doxygen docs from the log source code to the accompanying
...
header file.
Originally committed as revision 8225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:04:49 +00:00
Baptiste Coudurier
626b7c0f1a
add R/WB24 functions
...
Originally committed as revision 8216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:48:32 +00:00
Diego Biurrun
82ffe1919a
Improve Doxygen documentation, inspired by Michael's description.
...
Originally committed as revision 8187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:09:51 +00:00
Luca Barbato
558b86a5d0
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
...
Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:40:23 +00:00
Luca Barbato
9fca9c0316
Reverting stray commit part I
...
Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:37:54 +00:00
Luca Barbato
bb0eb714bd
get_packetheader() forgot to read the header_checksum in big packets
...
patch from Clemens Ladisch cladisch AT fastmail dot net
(stray base64 patch reverted in the next commits)
Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:28:31 +00:00
Dujardin Bernard
1faf7dc807
Doxygen documentation for all functions, patch by Dujardin Bernard,
...
dujardin.iut numericable fr with some further changes by me.
Originally committed as revision 8151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 17:49:00 +00:00
Diego Biurrun
f5a90186d7
Add missing license headers.
...
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 16:05:19 +00:00
Diego Biurrun
32bbf7f70a
Remove superfluous comment.
...
Originally committed as revision 8148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 15:58:38 +00:00
Diego Biurrun
e4a4c870cb
Add Doxygen author and file description, rephrase a Doxygen comment.
...
Originally committed as revision 8147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 14:41:03 +00:00
Diego Biurrun
3cee76e6c9
Remove useless conditional.
...
Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:18:38 +00:00
Diego Biurrun
876e4194c2
spelling/grammar fixes for the Doxygen comments
...
Originally committed as revision 8138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:16:39 +00:00
Diego Biurrun
7122f7c771
Revert previous commit that contained an unrelated hunk.
...
Originally committed as revision 8137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:11:14 +00:00
Diego Biurrun
a93575fa3d
spelling/grammar fixes for a Doxygen comment
...
Originally committed as revision 8136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 22:59:16 +00:00
Diego Biurrun
549b2c0cc3
Remove unused #define.
...
Originally committed as revision 8135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 22:56:02 +00:00
Guillaume Poirier
ca9049efc8
fix 2 mistakes in doxy comments, spotted by Michael
...
Originally committed as revision 8133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 14:53:42 +00:00
Dujardin Bernard
0b0065992e
move doxy comments from rational.c to rational.h and add some new comments
...
patch by Dujardin Bernard %dujardin P iut A numericable P fr%
Originally committed as revision 8132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 14:27:29 +00:00
Dujardin Bernard
1c95ef8b97
Doxygenize some comments
...
Patch by Dujardin Bernard % dujardin P iut A numericable P fr %
Originally committed as revision 8131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-26 08:52:21 +00:00
Måns Rullgård
738940e802
remove [U]INT64_C definition
...
Originally committed as revision 8127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 19:30:55 +00:00
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 10:27:12 +00:00
Ramiro Polla
5dff169489
remove fallback definitions of PRIxNN macros,
...
patch by Ramiro Polla ramiro =a= lisha =d= ufsc =d= br
Originally committed as revision 8118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 19:46:54 +00:00
Diego Biurrun
eafcac6ac8
cosmetics: Fix another common typo, dependAnt --> dependEnt.
...
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 09:41:43 +00:00
Diego Biurrun
804de96a83
cosmetics: fix usefuLL --> usefuL typo
...
Originally committed as revision 8061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:07:42 +00:00
Panagiotis Issaris
0f482cfcb2
Adds Doxygen docs for the av_log function.
...
Originally committed as revision 8040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 12:41:47 +00:00
Michael Niedermayer
410bf2731d
av_noinline
...
Originally committed as revision 7992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:19:42 +00:00
François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Carl Eugen Hoyos
034ef0e8c3
Move base64.[ch] to libavutil.
...
patch by Carl Eugen Hoyos, cehoyos ag.or at
Originally committed as revision 7963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 08:21:47 +00:00
Michael Niedermayer
9b0dfb27ab
slightly improve *_TIMER
...
Originally committed as revision 7948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 14:25:48 +00:00
François Revol
ea65a753eb
Remove unused ENODATA define
...
Originally committed as revision 7943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 22:07:06 +00:00
Baptiste Coudurier
57d7b036ea
make key parameter const
...
Originally committed as revision 7935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 16:57:17 +00:00
Reimar Döffinger
80a289b9bf
mxf aes decryption support, patch by Reimar, simplified to only look for first crypto context, will be extended once we get files with multiple cryptocontext, and hope that they won't have broken container ul
...
Originally committed as revision 7925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:50:33 +00:00
Michael Niedermayer
fbabf1e0b6
av_random() by Ryan Martell rdm4 name-server-seperator martellventures d0t com
...
Originally committed as revision 7885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 22:09:05 +00:00
Reimar Döffinger
a264a081b2
special-case AES-128 decrypter is no longer necessary, the more general
...
AES-implementation works at least as well in all case I tested.
Originally committed as revision 7884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 21:09:11 +00:00
Diego Biurrun
4e960d0a5e
1000l: Revert accidentally committed change.
...
Originally committed as revision 7868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 10:54:10 +00:00
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael Niedermayer
7d4495dafe
simplify and remove useless index in AV_W*
...
Originally committed as revision 7852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:10:17 +00:00
Reimar Döffinger
4302963daa
Move lzo decompression to libavutil
...
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 22:58:53 +00:00
Luca Abeni
434f2c18e8
Increase the av_log() levels, and add some documentation for them
...
Originally committed as revision 7614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:47:10 +00:00
Alex Beregszaszi
a3550abd08
add AV_WB/WL for lswriting, similar to AV_RB/RL (also increment version)
...
Originally committed as revision 7588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:26:10 +00:00
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:12:59 +00:00
Michael Niedermayer
50b4468598
change while loops to do-while as the condition is true the first time and the check just wastes cpu cycles
...
Originally committed as revision 7576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 00:22:24 +00:00
Michael Niedermayer
4497712f09
simpler branch structure in init (16 bytes smaller object file)
...
Originally committed as revision 7575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:14:02 +00:00
Michael Niedermayer
be65b41f90
doxygenize
...
Originally committed as revision 7574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:12:12 +00:00
Michael Niedermayer
3da97cfdfc
avoid code duplication
...
Originally committed as revision 7573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:11:23 +00:00
Michael Niedermayer
0726982cdb
better to set things to NULL instead of random in case of out of mem
...
Originally committed as revision 7572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:06:38 +00:00
Michael Niedermayer
96e39edc59
simplify av_fifo_realloc()
...
Originally committed as revision 7571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:05:31 +00:00
Michael Niedermayer
765d4f3b4a
remove near duplicate function
...
Originally committed as revision 7570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 19:46:33 +00:00
Michael Niedermayer
870a12d1c2
simplify
...
Originally committed as revision 7569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 19:30:23 +00:00
Michael Niedermayer
f81b99b82b
simplify
...
Originally committed as revision 7568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 19:19:03 +00:00
Michael Niedermayer
ca2560dff6
10l (aes_crypt -> av_aes_crypt)
...
Originally committed as revision 7559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 00:49:48 +00:00
Michael Niedermayer
97f6d1545e
fix CONFIG_SMALL again
...
Originally committed as revision 7554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:50:49 +00:00
Michael Niedermayer
5d1b539348
30byte smaller object file
...
Originally committed as revision 7553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:30:43 +00:00
Michael Niedermayer
519773e3a5
10l typo
...
Originally committed as revision 7552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:18:50 +00:00
Michael Niedermayer
6eb7df5c6d
public API
...
Originally committed as revision 7551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:14:27 +00:00
Michael Niedermayer
97e3458c46
cbc support
...
Originally committed as revision 7550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:08:52 +00:00
Michael Niedermayer
2d3475ae6a
avoid memcpy()
...
Originally committed as revision 7549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:58:11 +00:00
Michael Niedermayer
7465619af8
give crypt a src and dst
...
same speed, 100bytes larger object file
Originally committed as revision 7548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:51:54 +00:00
Michael Niedermayer
b0642c7409
change subshift a little, this reduces the object size a litlle
...
Originally committed as revision 7546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:40:40 +00:00
Michael Niedermayer
298dd6b7c8
use 2 state arrays so that fewer temporary variables are needed
...
Originally committed as revision 7545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:17:05 +00:00
Michael Niedermayer
cc6b4da83a
remove useless parameter
...
Originally committed as revision 7544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 16:29:01 +00:00
Michael Niedermayer
14bc38498a
unused variable
...
Originally committed as revision 7543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 16:24:43 +00:00
Michael Niedermayer
1aa72a703c
merge shift into mix
...
this need -fno-strict-aliasing to work (needs to be fixed of course)
Originally committed as revision 7534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 13:45:48 +00:00
Michael Niedermayer
1f83576b48
make aes_en/decrypt() static until we decided on the public API
...
Originally committed as revision 7533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 10:37:34 +00:00
Michael Niedermayer
0d80bd2f56
move #include log.h into the selftesting code where it belongs
...
Originally committed as revision 7529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:33:56 +00:00
Michael Niedermayer
6572e1a4d2
remove dependancy on *malloc()
...
Originally committed as revision 7528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:32:06 +00:00
Michael Niedermayer
347c27988d
check the last? entry written for detecting already initalized tables
...
Originally committed as revision 7527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:05:40 +00:00
Michael Niedermayer
96b103086e
replace / by >> this makes the .o ~150 bytes smaller
...
Originally committed as revision 7525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:01:56 +00:00
Michael Niedermayer
e42244e9df
cosmetic
...
Originally committed as revision 7524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 00:55:51 +00:00
Michael Niedermayer
f32f5122ce
av_aes_init()
...
Originally committed as revision 7521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 00:10:25 +00:00
Michael Niedermayer
6287dc9aae
the missing header ...
...
Originally committed as revision 7520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 00:07:39 +00:00
Michael Niedermayer
597e3232ef
simplify
...
Originally committed as revision 7504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:40:21 +00:00
Michael Niedermayer
7200f5d054
simplify multiply table init
...
Originally committed as revision 7503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:30:54 +00:00
Michael Niedermayer
d65dc0cdc6
simplify selftest
...
Originally committed as revision 7501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:20:15 +00:00
Michael Niedermayer
f25b650a5b
revert simplification (broke 192 bit keys)
...
Originally committed as revision 7500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:13:14 +00:00
Michael Niedermayer
8d4ae47c3f
simplify
...
Originally committed as revision 7499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:03:15 +00:00
Michael Niedermayer
1b10524312
fix 2 warnings
...
Originally committed as revision 7498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:58:41 +00:00
Michael Niedermayer
034f5fbaf2
seems i didnt copy anything from aes128.c so this should be more correct ?
...
Originally committed as revision 7497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:51:23 +00:00
Michael Niedermayer
c2fd2b20e5
unneeded
...
Originally committed as revision 7496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:45:27 +00:00
Michael Niedermayer
a6e923c9db
unused think
...
Originally committed as revision 7495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:41:57 +00:00
Michael Niedermayer
0c5d2819a5
merge encrypt and decrypt so the source is simpler and the compiler can choose with inlining if it wants speed or small size
...
Originally committed as revision 7494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:39:38 +00:00
Michael Niedermayer
28b5123546
indent
...
Originally committed as revision 7493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:24:34 +00:00
Michael Niedermayer
954bd264c1
remove duplicate round_key
...
one context is now either for encoding or decoding (makes more sense in reality too)
Originally committed as revision 7492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:24:06 +00:00
Michael Niedermayer
54b78b2495
make decode look more like encode
...
Originally committed as revision 7491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:02:59 +00:00
Michael Niedermayer
cc85897055
dont use encode tables for decoding
...
Originally committed as revision 7490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 19:01:17 +00:00
Michael Niedermayer
73374bf4d0
remove no longer corret comment
...
Originally committed as revision 7489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:58:45 +00:00
Michael Niedermayer
179dc91160
unused stuff removial
...
Originally committed as revision 7488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:51:09 +00:00
Michael Niedermayer
f12cf3d215
merge inv_sbox into inv_mix
...
Originally committed as revision 7487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:47:01 +00:00
Michael Niedermayer
0458e79074
merge sbox with mix on the encryption side
...
add one more test vector
yes this needs a cleanup ...
Originally committed as revision 7485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:17:45 +00:00
Michael Niedermayer
2592438dd8
1 test vector
...
Originally committed as revision 7483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 17:43:45 +00:00
Michael Niedermayer
95d1236bf5
fix CONFIG_SMALL case
...
Originally committed as revision 7482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 17:19:04 +00:00
Michael Niedermayer
388b5e69ec
simplify special round
...
Originally committed as revision 7481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:49:35 +00:00
Michael Niedermayer
cf5773e95f
benchmark
...
Originally committed as revision 7480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:45:34 +00:00
Michael Niedermayer
ff8f659429
init multbl
...
code can now decrypt its own encryption correctly
can anyone provide me with a correct test AES key + cyphertext + plaintext?
Originally committed as revision 7479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:43:32 +00:00
Michael Niedermayer
b58ecac647
ascii
...
Originally committed as revision 7478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:19:51 +00:00
Reimar Döffinger
28221dd0fb
128bit-only AES implementation under development.
...
Originally committed as revision 7474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 14:08:02 +00:00
Michael Niedermayer
b1e5c29485
cosmetic
...
Originally committed as revision 7472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:47:15 +00:00
Michael Niedermayer
ba554c025e
simplify round_key generation by writing over the end but ensuring that theres some irrelevant stuff afterwards
...
Originally committed as revision 7471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:46:20 +00:00
Michael Niedermayer
84c72fb129
cosmetics
...
Originally committed as revision 7470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:38:10 +00:00
Michael Niedermayer
7acc1a27bc
memcpy
...
Originally committed as revision 7469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:37:19 +00:00
Michael Niedermayer
1070eba2a2
seems the larger rcon values are never accessed
...
Originally committed as revision 7468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:30:37 +00:00
Michael Niedermayer
12d6a1c813
copyright fix
...
Originally committed as revision 7467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:16:29 +00:00
Michael Niedermayer
cd0968c4ca
stealing multbl trick from reimar
...
Originally committed as revision 7466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:15:26 +00:00
Michael Niedermayer
e8fc93136d
stealing reimars XOR_BLOCK
...
Originally committed as revision 7464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 12:40:32 +00:00
Michael Niedermayer
d43a297579
cosmetic
...
Originally committed as revision 7463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 09:27:11 +00:00
Michael Niedermayer
eade86e2f5
memleak
...
Originally committed as revision 7462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 09:25:52 +00:00
Michael Niedermayer
2c3427eb2a
simplify sbox init
...
Originally committed as revision 7461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 09:14:05 +00:00
Michael Niedermayer
3306dfd544
aes support (unfinished)
...
Originally committed as revision 7460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 09:06:13 +00:00
Axel Holzinger
411983c1f2
Allow to uninstall a custom log callback
...
patch by Axel Holzinger % aholzinger A gmx P de %
original thread:
date: Jan 11, 2007 4:54 PM
subject: [Ffmpeg-devel] [PATCH] uninstall custom log callback
Originally committed as revision 7446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 17:10:34 +00:00
Christophe Mutricy
d0b456ba1e
Avoid "HAVE_CMOV not defined" warning.
...
patch by Christophe Mutricy, xtophe nxtelevision com
Originally committed as revision 7443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 04:01:35 +00:00
Michael Niedermayer
6880edab82
fix av_reduce() with things like 1/0 and 0/0
...
Originally committed as revision 7431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-09 11:58:06 +00:00