Commit Graph

667 Commits

Author SHA1 Message Date
Michael Niedermayer
b9c353fff2 Compact repeated messages to "Last message repeated x times".
Originally committed as revision 17531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 17:53:14 +00:00
Stefano Sabatini
04331dea2a Split avutil.h, move all the pixel format definitions to the new
dedicated file pixfmt.h.

Originally committed as revision 17528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 14:27:50 +00:00
Michael Niedermayer
50ded3fdb6 Add note about big vs. little endian.
Originally committed as revision 17525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 13:48:25 +00:00
Peter Ross
88c21a6f14 Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.
Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:55:49 +00:00
Måns Rullgård
03bc0f3744 Avoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilers
Originally committed as revision 17508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:13:23 +00:00
Patrik Kullman
a90de11dba Check return value of posix_memalign and explicitly set pointer to NULL if it
fails, patch by Patrik Kullman, patrik yes nu.

Originally committed as revision 17495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:38:27 +00:00
Måns Rullgård
28499cc8d8 Correct, portable definition of INT_BIT
Originally committed as revision 17480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 16:03:30 +00:00
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