Diego Biurrun
96c1e6d40d
doxygen: Make sure parameter names match between .c and .h files.
14 years ago
Oskar Arvidsson
e59d6b4d72
pix_fmt: Fix number of bits per component in yuv444p9be
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
7ce914fb5a
lls: use av_lfg instead of rand() in test program
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
a726d7fd4e
AVOptions: in av_opt_find() don't return named constants unless unit is specified.
...
That is, unless the caller explicitly asks for them.
Prevents conflict between e.g. the 'loop' option in img2 demuxer and
'loop' flag in AVCodecContext.
14 years ago
Anton Khirnov
8c28e01d31
dict: extend documentation.
14 years ago
Mans Rullgard
fdaf1d0640
lls: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
4904995652
avutil: Add missing test programs to Makefile.
14 years ago
Ronald S. Bultje
dfd8116986
eval: add missing comma to tests.
14 years ago
Ronald S. Bultje
fe277b16f0
eval: fix memleak.
14 years ago
Michael Niedermayer
16a565d0cb
eval/fate: try to fix nan printing format failures.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
96676e1abf
Unbreak libavutil API.
14 years ago
Mans Rullgard
94350ab986
eval: clear Parser instances before using
...
This prevents random values from the stack being used as
"variables" in expressions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Kostya Shishkov
3e2aa268f6
sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t*
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
9e52a40695
des: allow unaligned input and output buffers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d04d9f24a0
aes: allow unaligned input and output buffers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
6da812e4ee
eval: make timing optional in test program
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
abc78a5a7c
Do not include log.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d49ea4afb4
Do not include pixfmt.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e91709ca17
Do not include rational.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
ee8aecd23a
Do not include intfloat_readwrite.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
add41decd9
Remove return statements following infinite loops without break
...
These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
82494cad9d
md5: cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
fa49fc72d9
md5: use AV_WL32 to write result
...
This is simpler, safer, and removes the undocumented requirement of
aligned output buffer.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
44496ff2d6
md5: include correct headers
...
This file needs stdint.h but not string.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
edf4dbff33
md5: fix test program
...
This makes the md5-test program print something meaningful and not
smash the stack.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
ff993cd7fc
doxygen: Drop array size declarations from Doxygen parameter names.
...
Adding [] to a Doxygen parameter name clashes with Doxygen syntax.
14 years ago
Diego Biurrun
24c9babaaf
doxygen: Fix parameter names to match the function prototypes.
14 years ago
Diego Biurrun
91c9aa0941
Move some conditionally used code below the appropriate #ifdef.
14 years ago
Mans Rullgard
8f175810be
aes: fix for big endian systems
...
This was missed in 5d20f19
since CONFIG_SMALL was always broken
for big endian.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
66fe5970ab
des: reduce number of iterations in test program
...
Testing a million random keys takes annoying long time.
1000 iterations should be enough.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
5d20f19be2
aes: fix invalid array indexing in init code
...
This makes the code work with clang/x86_32 and removes several warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
af2ea72495
aes: use direct assignments instead of memcpy() or loops
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
21a19b7912
doxygen: Prefer member groups over grouping into modules
...
Before this, almost all module groups have been used for grouping functions
and fields in structures semantically. This causes them to not appear
properly in the file documentation and needlessly clutters up the "Modules"
index.
Additionally, this commit streamlines some spelling and appearances.
14 years ago
Reinhard Tartler
134557f3a4
doxygen: fix usage of @file directive in libavutil/{dict,file}.h
14 years ago
Stefano Sabatini
34ab23f226
dict: fix another typo
...
achive -> achieve
14 years ago
Reinhard Tartler
192bfbc1f1
avutil: elaborate documentation for av_get_random_seed
14 years ago
Mans Rullgard
4bfe064460
aes: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
bd55da1c08
adler32: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
c31bc5371e
Fix cpu flags test program
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
ce1e181b13
opt-test: Add missing braces to silence compiler warnings.
...
libavutil/opt.c:604:1: warning: missing braces around initializer [-Wmissing-braces]
14 years ago
Stefano Sabatini
5a931a158f
lavu: bump minor and add APIchanges entry for AV_PICTURE_TYPE_NONE
...
The symbols was added in the git commit
5129336714
.
14 years ago
Mans Rullgard
744765a9c5
aes: improve test program and add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
f6252b4845
adler32: make test program more useful and add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
812f2376ee
rational-test: Add proper main() declaration to fix gcc warnings.
14 years ago
Mans Rullgard
cfa68a3381
Remove unused, never built libavutil/pca.[ch]
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Can Wu
86c3c1abf0
pixfmt: fix YUV422/444 wrong endian comment
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Mans Rullgard
57b4a3dd2b
build: include sub-makefiles using full path instead of symlinks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Matuska
5129336714
pict_type: add a value for unknown/none.
...
In commit bebe72f4a0
, the enum AV_PICTURE_TYPE_* was introduced. There are still places in the code where pict_type is used as an integer and there is a case where "pict_type = 0" with the explanation "let ffmpeg decide what to do". The new enum does not know a value of 0 and C++ will fail if compiling such programs anyway as it is refered as an int (and you cannot patch them properly).
14 years ago
Diego Biurrun
bb00b15f9e
avutil: Remove unused arbitrary precision integer code.
14 years ago