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
Stefano Sabatini
ca699ac24e
dict: fix various typos
14 years ago
Michael Niedermayer
94e59cb84b
random_seed: more elaborate doxy.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
c029ea39bd
AVDictionary: warn about its shortcommings and mention available replacements.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
1109680434
Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
...
This reverts commit a6213f3dce
.
14 years ago
Stefano Sabatini
5fba761f6e
samplefmt: remove deprecated use of av_get_bits_per_sample_fmt()
...
Use av_get_bytes_per_sample() instead.
Fix deprecation warning:
samplefmt.c: In function ‘av_samples_fill_arrays’:
samplefmt.c:88: warning: ‘av_get_bits_per_sample_fmt’ is deprecated (declared at samplefmt.c:76)
14 years ago
Diego Biurrun
a6213f3dce
build: Remove redundant config.mak includes from subdirectory Makefiles.
...
Calling Make from subdirectories is not supported and config.mak has
multiple inclusion guards anyway, so the top-level include is enough.
14 years ago
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Martin Storsjö
9abbe8cc13
Use av_printf_format to check the usage of printf style functions
...
This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
67e9ae14d9
Add av_printf_format, for marking printf style format strings and their parameters
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mans Rullgard
8986fddc2b
ARM: allow building in Thumb2 mode
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Clément Bœsch
4a34e54b0e
Fix zero-length gnu_printf format string warning.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
940a55ccf4
eval: Fix 32bit unsigned parsing
...
Fixes ticket264
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
141f03541b
opt: do not crash in av_set_options_string() if opts == NULL
...
Add missing NULL check, and update documentation accordingly.
14 years ago
Uoti Urpala
c98b928fa7
intreadwrite.h: fix AV_RL32/AV_RB32 signedness.
...
The output type of the AV_RL32/AV_RB32 macros was signed int. The
resulting overflow broke at least some ASF streams with large
timestamps. Fix by adding a cast to uint32_t.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
7c44d716e7
Add minor bumps and APIChanges entries for lavf private options.
14 years ago
Anton Khirnov
1b9b37b8a4
dict: add AV_DICT_APPEND flag.
14 years ago
Anton Khirnov
dc59ec5e79
AVOptions: add av_opt_find() as a replacement for av_find_opt.
14 years ago
Anton Khirnov
7e83e1c511
AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context.
...
This way the caller can pass all the options in one nice package.
14 years ago
Michael Niedermayer
0fd82fedc9
pixfmt: Replace 9/10bit deprecation by a technical explanation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
103278f7b0
libavutil/swscale: YUV444P10/YUV444P9 support.
...
Also add missing glue code for recently added YUV422P10 formats
to swscale.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
cb7c11cc9e
avoptions: Add an av_opt_flag_is_set function for inspecting flag fields
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
6a137dde3e
dict: This code was developed in ffmpeg and not libav, nor by libav developers.
...
Correct copyright notices.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
d9f80ea2a7
Move metadata API from lavf to lavu.
...
Rename it to AVDictionary, since it will be used as such. Tags
documentation and metadata conversion API is lavf-specific, so remains
there.
14 years ago
Stefano Sabatini
a6703faa15
samplefmt: add av_get_bytes_per_sample()
...
Deprecate av_get_bits_per_sample_fmt(), which was a misnamed function.
For the moment we don't have sample formats with a non-integer number
of bytes, in that case we may need to create a new
av_get_bits_per_sample() function. In the meanwhile we prefer to adopt
this variant, since avoids divisions by 8 all over the place.
14 years ago
Diego Biurrun
e01bb264e7
inverse.c: Replace unnecessary intmath.h header by necessary stdint.h.
14 years ago
Diego Biurrun
dc25d79f49
Drop unnecessary directory prefixes from #include directives.
14 years ago