Diego Biurrun
aab40bbfd5
x86: dsputil: Simplify xvmc deprecation conditional
11 years ago
Diego Biurrun
dc4d726bab
build: Add separate hidden config option for the intrax8 code
...
This allows for slightly cleaner dependency specification.
11 years ago
Janne Grunau
fe96769bed
aarch64: port neon clobber test from arm
11 years ago
Janne Grunau
f896bca03f
aarch64: h264 (bi)weight NEON optimizations
...
Ported from ARMv7 NEON.
11 years ago
Janne Grunau
36e3b1f2fd
aarch64: h264 loop filter NEON optimizations
...
Ported from ARMv7 NEON.
11 years ago
Janne Grunau
c65d67ef50
aarch64: hpeldsp NEON optimizations
...
Ported from ARMv7 NEON.
11 years ago
Janne Grunau
d5dd8c7bf0
aarch64: h264 qpel NEON optimizations
...
Ported from ARMv7 NEON.
11 years ago
Janne Grunau
8438b3f09f
aarch64: h264 idct NEON assembler optimizations
...
Ported from ARMv7 NEON.
11 years ago
Janne Grunau
71617884a2
aarch64: h264 chroma motion compensation NEON optimizations
...
Since RV40 and VC-1 use almost the same algorithm so optimizations for
those two decoders are easy to do and included.
11 years ago
Janne Grunau
b7b17ed66e
aarch64: add cpuflags support for NEON and VFP
...
NEON and VFP are currently mandatory for all ARMv8 profiles. Both are
handled as extensions as far as cpuflags are concerned. This is
consistent with handling x86_64 which always has SSE2, but still
handles it as an extension.
11 years ago
Janne Grunau
1e9265cd8f
dct-test: test ff_simple_idct_neon only on ARM for now
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Martin Storsjö
2620df1310
mov: Free an earlier allocated array if allocating a new one
...
It could probably also be considered an error if the pointer isn't
null at this point, but then we might risk rejecting some
slightly broken files that we might have handled so far.
Sample-Id: 00000496-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
d51f09962d
mov: Free intermediate arrays in the normal cleanup function
...
These arrays are normally freed at the end of mov_read_trak,
but make sure they're freed in case mov_read_trak returned
early (due to errors) or in case the atoms that allocate arrays
are encountered at some other point than within a trak (which
we don't have checks against).
Sample-Id: 00000496-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Janne Grunau
d0cd2a8c46
aarch64: bswap inline assembly
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Janne Grunau
032d4da8af
aarch64: configure: set arch dependent features
...
Stack is always 16 byte aligned and clz, 64bit operations and unaligned
memory access are fast in aarch64 mode on ARMv8.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Janne Grunau
8b4119187b
cabac: remove leftovers from the cabac encoder
...
The cabac encoder was only used by the removed cabac test.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Tomas Härdin
cc1e3ace63
mxf: Fix potential leak in mxf_read_local_tags()
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Tomas Härdin
8b708f1c6b
mxf: Correctly support files from Pinnacle Thunder
...
Such files have IndexTableSegments which when parsed cover EditUnit
ranges like this:
[0,1)
[249,250)
[249,377)
[0,249)
where each interval is
[IndexStartPosition, IndexStartPosition + IndexDuration)
This would be reduced to a sparse index like:
[0,1), [249,250)
instead of the full range:
[0,249), [249,377)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Michael Niedermayer
0d6605c7ef
mxf: Fix a possible leak of extradata
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
1a4e4ad0e0
mxf: Use av_malloc_array
11 years ago
Luca Barbato
f5fbbbc022
mxf: Drop unnecessary checks
...
av_reallocp_array does the check already.
11 years ago
Marton Balint
aa0cb16c15
mxf: Fix off by one error in d10 aes3 decoding
...
Without this fix the last sample was missing from the packet.
11 years ago
Luca Barbato
42f9132218
mxf: Do not use int to check the seek position
...
Overly large files are to be expected.
Reported-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Reimar Döffinger
d84bd4650b
mxf: Set AV_FIELD_PROGRESSIVE
...
Needed for AVC-intra
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Robert Krüger
d8e763fda7
vf_yadif: Relicense from GPL to LGPL
...
All copyright holders have agreed to the relicensing.
11 years ago
Diego Biurrun
46bacb5cc6
x86: Consistently use cpu flag detection macros in places that still miss it
11 years ago
Diego Biurrun
7151c5d04a
arm: Use full filenames as multiple inclusion guards
11 years ago
Anton Khirnov
2115a35974
lavf: make av_probe_input_buffer more robust
...
Always use the actually read size as the offset instead of making
possibly invalid assumptions.
Addresses: CVE-2012-6618
11 years ago
Anton Khirnov
8b76362836
lavf: use a fixed width type
...
It's shorter and more consistent with the rest of the code.
11 years ago
Anton Khirnov
c1868e7ee7
lavf: simplify handling of offset in av_probe_input_buuffer()
11 years ago
Martin Storsjö
99e2012523
x86/arm: Add clobber tests to libavresample
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Tim Walker
49b9badcaa
vc1: Enable the interlaced B-frame codepath.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Michael Niedermayer
6d98959c8a
vc1: Add avg_no_rnd_vc1_chroma_mc4_c()
...
Needed for proper interlaced support.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
c798a6fedc
vc1: Factorize out chroma MC
11 years ago
Luca Barbato
a1f5164814
vc1dsp: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Benjamin Larsson
547f834537
flv: Workaround for buggy Omnia A/XE encoder
...
The Omnia A/XE encoder writes the explicit extra data incorrectly
and wrongly disables parametric stereo. Truncating the extra data
by setting the size to 2 works around this. The AAC extra data
parser will then only parse the correct parts.
Bug-id: 599
11 years ago
Martin Storsjö
44a0a98f92
arm: Add an option for making sure NEON registers aren't clobbered
...
This is pretty much based on the same test for XMM registers.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
f8558780bb
fate: Explicitly specify the rgb555le pixel format for the mss2 rgb555 tests
...
This fixes these fate tests on big endian.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Vittorio Giovara
02b9fafcca
avutil: do not use avcodec header in frame.h
11 years ago
Vittorio Giovara
abb5e37f64
avfilter: fix leaks on error in ff_filter_frame
11 years ago
Vittorio Giovara
5655732c77
avfilter: add needs_writable field to the internal AVFilterPad structure
11 years ago
Vittorio Giovara
d44bd7fb27
avfilter: add documentation for needs_writable
11 years ago
Vittorio Giovara
11d704dc94
fate: add framepack filter test
11 years ago
Vittorio Giovara
a7d0e7ead9
lavfi: add framepack filter
11 years ago
Justin Ruggles
aa69cbc9e0
flac muxer: add option to disable writing the global header
...
The global header is not explicitly required for playback, and
omitting it allows for simple concatenation.
11 years ago
Maxim Polijakowski
e6f0bb6527
ATRAC3+ decoder
...
Cleanup by Diego Biurrun.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years ago
Diego Biurrun
4c642d8d98
x86: hpeldsp: Add missing av_cold attribute to init function
11 years ago
Diego Biurrun
b0be1ae792
x86: avcodec: Add a bunch of missing #includes for av_cold
11 years ago
Diego Biurrun
4b48201d4d
ac3tab.h: #include the correct headers
11 years ago
Anton Khirnov
d48132b7de
mjpegdec: apply flipping after decoding, not before
...
This is simpler and removes a silly restriction on edges being present.
11 years ago