Måns Rullgård
1fc81e73dd
Make bswap.h safe to install as public API
...
Originally committed as revision 24171 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7918375f88
intreadwrite: common.h is not needed, attributes.h is sufficient
...
Originally committed as revision 24155 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f4d80ecb22
lfg: add missing includes
...
Originally committed as revision 24154 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
47bfd50a4b
pixdesc: add missing includes
...
Originally committed as revision 24153 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9699a96a80
Bump minor after read/write_line() to av_read/write_image_line()
...
rename, done in r24101.
Originally committed as revision 24128 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ee4355808c
Reindent after r24101.
...
Originally committed as revision 24126 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6a522c49c2
Fix infinite loop with clock() returning (clock_t)-1.
...
Originally committed as revision 24116 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b65c1ccfe1
Change i to unsigned in get_generic_seed().
...
This is clearer than comparing against an unsigned number to force an unsigned
comparison that we need.
Originally committed as revision 24114 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e51f04968e
Restore array sizes in doxygen parameter names.
...
Originally committed as revision 24108 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c84d5aa74f
get_generic_seed() for the cases without /dev/random and AV_READ_TIME
...
Originally committed as revision 24102 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ce1cd1cba2
Rename read/write_line() to av_read/write_image_line().
...
The old names were not av_ prefixed, and they were causing linking
failure on many platforms. The new names are also more descriptive.
Patch by Stefano Sabatini.
Originally committed as revision 24101 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9077e29ecc
ARM: optimised integer clip functions
...
Originally committed as revision 24089 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
edd7fa82d7
ARM: intmath.h cosmetics
...
Originally committed as revision 24088 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
216b43aed2
Allow arch-overrides for all common.h clip and log2 functions
...
Originally committed as revision 24087 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a955b59658
Remove macro duplication between common.h and intmath.h
...
Originally committed as revision 24086 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2e874c7704
intmath: whitespace cosmetics
...
Originally committed as revision 24085 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c184bb44db
aes: fix array index out of bounds warning
...
Originally committed as revision 24048 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Eli Friedman
b7cdddcd1f
Silence "comparison of unsigned expression >= 0 is always true" warning.
...
Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24022 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
19c039ee3d
Make mix function more readable.
...
Compiler output unchanged with gcc 4.4.
Originally committed as revision 24006 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
08b317a238
avutil: bump minor version for r23985 (install lfg.h)
...
Originally committed as revision 23997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
89eec74a52
avutil: install lfg.h
...
Originally committed as revision 23985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e669590a0a
Fix parameter name and position in av_crc_init Doxygen documentation.
...
Originally committed as revision 23981 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
3fa7626863
Avoid square brackets in Doxygen comments; Doxygen chokes on them.
...
Originally committed as revision 23979 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
eee9119ad1
Add parameter names to av_log/av_vlog function declarations.
...
Doxygen gets confused without an explicit parameter name.
Originally committed as revision 23972 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2b4abbd6f5
Move colorspace.h from libavcodec to libavutil.
...
Avoid a compile-time dependency of the pad filter on libavcodec.
Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
16bfbfd078
random_seed: simplify
...
Originally committed as revision 23932 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9958096ea2
Reindent
...
Originally committed as revision 23931 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b7fa5c5abb
random_seed: allow to block on /dev/random
...
If both /dev/random and /dev/urandom failed to return data, an
uninitialised value might be returned. Since most systems have a
non-blocking /dev/urandom or have /dev/random with similar properties,
the chance of blocking is minimal, and the alternative of returning
non-random data is worse.
Originally committed as revision 23930 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
cae70f99a3
Improve FF_SYMVER documentation
...
Originally committed as revision 23911 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2eaf7e49c7
Improve av_strerror() documentation
...
Originally committed as revision 23910 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c2a5b4731b
Improve GET_UTF{8,16} documentation
...
Originally committed as revision 23909 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
12633044b1
aes: improve av_aes_crypt() documentation
...
Originally committed as revision 23908 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8201261996
adler32: add API documentation
...
Originally committed as revision 23907 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ffd31cfef3
base64: improve documentation
...
Originally committed as revision 23905 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
38e23c88db
Make av_get_random_seed() non-blocking
...
Attempt to read from /dev/urandom and /dev/random with O_NONBLOCK set.
If neither succeeds, proceed with fallbacks.
Originally committed as revision 23903 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
dd025f25da
Change AES code to be strict-aliasing-safe.
...
Makes it give correct results with e.g. gcc 4.4.
For unknown reasons the generate asm code also changes
on e.g. gcc 4.3, making the code a bit larger but also
a bit faster.
Originally committed as revision 23896 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2ad4a3bc78
Pass subshift an argument of the proper type.
...
No changes in generated code.
Originally committed as revision 23856 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
17c78b087a
Use a consistent type for multbl array function parameters.
...
Originally committed as revision 23855 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
276fc8a4e2
Add missing avutil.h include to libavutil/mem.h
...
Originally committed as revision 23803 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
50061b6234
Print a space after the AVClass prefix.
...
This improves readability a bit.
Originally committed as revision 23767 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
45a1b86a05
Add av_clip_int8(), used in the upcoming VP8 decoder.
...
Originally committed as revision 23713 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
1c7c0e2d40
Add missing parentheses in MKTAG and MKBETAG macros.
...
Originally committed as revision 23711 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
eb928286de
Add more tests to eval, help detecting some of the more apparent
...
errors, far from being a complete test system.
Originally committed as revision 23635 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
7ec9b9beca
Make av_parse_expr() fail if there are trailing chars at the end of
...
the provided expression.
Allow detection of mistyped expressions.
Originally committed as revision 23629 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2f62224bc0
Improve av_parse_eval() error reporting.
...
Originally committed as revision 23627 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
ed00fe49d7
icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.
...
Originally committed as revision 23624 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago