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
21accb3bb2
h264: remove assert() immediately following return statement
...
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
Mans Rullgard
5dd045ebc1
ARM: ac3: update ff_ac3_extract_exponents_neon per 8b7b2d6
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
8aa63f0b31
ARM: NEON optimised vector_clip_int32()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
8f440223f6
swscale: disable full_chroma_int when converting to non-24/32bpp RGB.
...
This functionality is only implemented for RGB24/32 and causes crashes
otherwise.
14 years ago
Stefano Sabatini
ccfa626db8
suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy
...
The previously suggested replacement - av_get_bits_per_sample_fmt() -
was also deprecated.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
f6d6783a4d
ffmpeg: use av_get_bytes_per_sample() in place of av_get_bits_per_sample_fmt()
...
av_get_bits_per_sample_fmt() was deprecated.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
0d5c349ac4
put_bits: remove ALT_BITSTREAM_WRITER
...
The code for this variant does not compile.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
30b05520c8
put_bits: always use intreadwrite.h macros
...
This fixes invalid unaligned stores in some ARM configurations.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
12489443de
libavformat: Add an example how to use the metadata API
...
Also include it into the doxygen documentation
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
7655cfb1b8
doxygen: be more permissive when searching for API examples
14 years ago
Reinhard Tartler
1a53a438dc
avformat: doxify the Metadata API
...
convert the comment that documents the metadata API to use
the doxygen markup
14 years ago
Anton Khirnov
4f731c4429
lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.
...
av_open_input_stream used to allow this, even though it makes no sense.
Make it just print a warning instead of failing, thus restoring
compatibility.
Note that avformat_open_input() will still reject this combination.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
5001d6ef4a
lavf: use the correct pointer in av_open_input_stream().
14 years ago
Alex Converse
d3f610c186
avidec: infer absolute vs relative index from first packet
14 years ago
Mans Rullgard
23ce6e7212
get_bits: remove x86 inline asm in A32 bitstream reader
...
x86 does not use this variant so having inline asm there
is pointless.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
fccab01807
doc: Remove outdated information about our issue tracker
...
We have now switched to http://bugzilla.libav.org .
14 years ago
Alex Converse
8b84af7488
avidec: Factor out the sync fucntionality.
14 years ago
Alex Converse
29651e1d44
fate-aac: Expand coverage.
...
Add al05_44, al06_44, al17_44.
14 years ago
Justin Ruggles
f99a5ef92e
ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents().
14 years ago
Justin Ruggles
8b7b2d6aae
ac3dsp: simplify extract_exponents() now that it does not need to do clipping.
14 years ago
Justin Ruggles
523b7eba19
ac3enc: clip coefficients after MDCT.
...
This ensures that any processing between the MDCT and exponent extraction will
be using clipped coefficients.
14 years ago
Justin Ruggles
6054cd25b4
ac3enc: add int32_t array clipping function to DSPUtil, including x86 versions.
14 years ago
Ronald S. Bultje
8a8d0ce208
swscale: for >8bit scaling, read in native bit-depth.
...
For 9/10bit, it means we don't have to upscale to 16bit before
actual scaling or pixel format conversion, and thus a performance
gain.
14 years ago
John Stebbins
cdc2c1c576
matroskadec: matroska_read_seek after after EBML_STOP leads to failure.
...
EBML_STOP leaves matroska->current_id set. Then matroska_read_seek changes
the stream position without resetting current_id. The next
matroska_parse_cluster fails due to calculation of incorrect pos. So clear
current_id when avio_seek happens in matroska_read_seek.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Reinhard Tartler
134557f3a4
doxygen: fix usage of @file directive in libavutil/{dict,file}.h
14 years ago
Reinhard Tartler
807aa2d8f3
doxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros
...
Without this, members that have been declare with the DECLARE_ALIGNED
macro don't show up at all in the generated documentation.
14 years ago
Diego Biurrun
be73d76b34
cosmetics: fix some then/than typos
14 years ago
Reinhard Tartler
d7537a6fce
doxygen: Include libavcodec and libavformat examples into the documentation
14 years ago
Reinhard Tartler
192bfbc1f1
avutil: elaborate documentation for av_get_random_seed
14 years ago
Benjamin Larsson
dafaef2fe1
Add support for aac streams in mp4/mov without extradata.
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
Ronald S. Bultje
81cc7d0bd1
swscale: fix another yuv range conversion overflow in 16bit scaling.
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
Diego Biurrun
bd9a9a2f18
build: Eliminate obsolete test targets.
...
The targets are now part of FATE and can be run as individual FATE targets.
14 years ago
Martin Storsjö
5d62d0b114
udp: Fix a compilation warning
...
This fixes this compilation warning, by making endptr a non-const
pointer, as required by strtol:
In function ‘udp_open’:
warning: passing argument 2 of ‘strtol’ from incompatible pointer type
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mohamed Naufal
705b21a06e
swscale: Unbreak build with --enable-small
...
This fixes building with --enable-small, by using the correct
variable name.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mans Rullgard
71f029146c
base64: add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
Ronald S. Bultje
e0b8fff6c7
swscale: fix yuv range correction when using 16-bit scaling.
14 years ago
Alex Converse
ce2649af3d
aacenc: Make chan_map const correct
14 years ago
Diego Biurrun
812f2376ee
rational-test: Add proper main() declaration to fix gcc warnings.
14 years ago
Diego Biurrun
c562ba4c3d
configure: Add vdpau and dxva2 to configure results output.
14 years ago
Mans Rullgard
cfa68a3381
Remove unused, never built libavutil/pca.[ch]
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ami Fischman
5dd514af93
matroskadec: forward parsing errors to caller.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago