Hendrik Leppkes
35177ba77f
avconv: add support for DXVA2 decoding
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Michael Niedermayer
b2b4afe811
hwaccel: fix dxva2 & vaapi loop filter parameters
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Hendrik Leppkes
ed4b757177
dxva2_h264: add a workaround for old Intel GPUs
...
Old Intel GPUs expect the reference frame index to the actual surface,
instead of the index into RefFrameList as specified by the spec.
This workaround should be set when using one of the "ClearVideo" decoder
devices.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Hendrik Leppkes
2fcef90bee
dxva2_h264: set the correct ref frame index in the long slice struct
...
The latest H.264 DXVA specification states that the index in this
structure should refer to a valid entry in the RefFrameList of the picture
parameter structure, and not to the actual surface index.
Fixes H.264 DXVA2 decoding on recent Intel GPUs (tested on Sandy and Ivy)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
1eb57e1d9b
lavc: eliminate tb_unreliable()
...
If framerate estimation is enabled, it makes sense to always apply it,
instead of limiting it to a few specific cases.
11 years ago
Alessandro Ghedini
cdf6eb5a97
vc1: Do not return an error when skipping b frames
...
This caused mpv (and possibly others) to fallback to software decoding after
seeking a VC1 stream.
Bug-Id: 667
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Miles Gould
99e22b7859
mov: Emit the correct tags for clcp tracks
...
Bug-Id: 664
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Aidan Skinner
802385dbc2
mov: Write prof section of tapt tag
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Derek Buitenhuis
8de77b665d
fate: Add fic-in-avi test
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Janne Grunau
a24a252709
aarch64: NEON optimized FIR audio resampling
...
Optimized for the default filter length 16.
30% faster opus silk decoding.
11 years ago
Janne Grunau
cae8df7875
lavr: define ResampleContext in resample.h
...
Required for arch optimized resampling.
11 years ago
Janne Grunau
a88e1d1c59
lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsets
11 years ago
Luca Barbato
152b797cd6
flv: Do not mangle dts values for negative cts
...
Some applications really mean to send negative pts.
11 years ago
Luca Barbato
5d983fdbca
flv: Warn only once
...
No point in sending the message multiple time.
11 years ago
Luca Barbato
374fdc8c07
flv: Improve log messages
...
Messages should start with a capital letter and possibly end with a "."
if they are statements.
11 years ago
Kostya Shishkov
7cade8ea2b
on2avc: change a comment at #endif to match actual define
11 years ago
Kostya Shishkov
e2834567d7
On2 AVC decoder
11 years ago
Derek Buitenhuis
d7eb8f9033
fic: Make warning message more accurate
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
7596fc3d4b
fic: Remove redundant clips
...
The equations can't overflow or underflow anyway.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
e299cb2cd3
fic: Simplify alpha blending
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
b0bdc2a712
avutil: move av_get_time_base_q() after include rational.h
...
Fix compilation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
502512ea0f
avutil: Add av_get_time_base_q()
...
This fixes usage of AV_TIME_BASE_Q in C++ applications, which
cannot use compound literals directly in their code.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Derek Buitenhuis
9155c595f1
fic: Support rendering cursors
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
40b331e1f4
fic: Use proper quantization matrix index
...
The matrices are not zigzagged.
Fixes artefacting.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Janne Grunau
3956a5e0ea
aarch64: NEON vorbis_inverse_coupling
...
From the ARMv7 NEON version. 16 times faster as the C version, overall
more than 12% faster vorbis decoding on Apple's A7.
11 years ago
Janne Grunau
8f9fe6ae34
aarch64: NEON fixed/floating point MPADSP apply_window
...
30%/25% (fixed/float) faster mp3 decoding on Apple's A7. The floating
point decoder is approximately 7% faster.
11 years ago
Janne Grunau
f4d5a2cc35
aarch64: NEON float to s16 audio conversion
11 years ago
Janne Grunau
ee2bc5974f
aarch64: NEON float (i)MDCT
...
Approximately as fast as the ARM NEON version on Apple's A7.
11 years ago
Janne Grunau
650c4300d9
aarch64: NEON float FFT
...
Approximately as fast as the ARM NEON version on Apple's A7.
11 years ago
Anton Khirnov
f9157463db
lavf: do not use the parser duration for video
...
The parser has no way of knowing video duration, and therefore no video
parsers set it.
11 years ago
Anton Khirnov
1ae8198bca
avconv: always reset packet pts after decoding an audio frame
...
Currently, if a decoder sets AVFrame.pts, we'd send the same timestamp
to it twice, which is wrong.
11 years ago
Anton Khirnov
b19a5e5198
lavc: improve AVCodecContext.delay doxy
11 years ago
Anton Khirnov
a4ed995cab
txd: do not set the codec timebase.
...
It is not supposed to be changed from outside of lavc.
Set the stream timebase and average framerate instead.
11 years ago
Michael Niedermayer
1c7b71a5bd
mpegvideo: Use the current_picture pts
...
The picture slot can be recycled by select_input_picture and
only current_picture is populated with the valid pts.
Unbreak timestamps when in cbr mode.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Michael Niedermayer
6f243b17c5
avcodec/fic: Fix return value check
...
Fixes part of Ticket3466
Found-by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
144f7a561d
avcodec/fic: clear slice_data
...
Fixes artifacts
Fixes use of freed memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
f34d3173fc
avcodec/fic: fix slice checks
...
fix integer overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Kostya Shishkov
93e15a3238
fic: use correct IDCT
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Martin Storsjö
911fa05b51
mvc: Specify the pixel format for the mv-mvc* tests
...
Also set the RGBA pixel format correctly as the native endian format,
which is what it returns.
This fixes the tests on big endian.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Vittorio Giovara
6dfd99c938
fate: add tests for SGI RLE and MVC1&2 decoders
11 years ago
Peter Ross
55ddd700c6
Silicon Graphics Movie demuxer
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Peter Ross
86a0432688
Silicon Graphics Motion Video Compressor 1 & 2 decoder
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Peter Ross
07761294fc
Silicon Graphics RLE 8-bit video decoder
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Janne Grunau
34c5a6660a
h264: codec reinit: remove statements without effect
...
avctx->coded_{height,width} will always equal h->{height,width} since
init_dimensions() does that explicitly, Size changes are detected by
changes in mb_{height,width} earlier and propagated through the
needs_reinit variable.
11 years ago
Vittorio Giovara
6ef96292d9
utils: add yvyu422 to avcodec_align_dimensions2
11 years ago
Vittorio Giovara
d23fc8846d
filtfmts: remove unused lavf include
11 years ago
Vittorio Giovara
58400ac133
lavfi: name anonymous structs
11 years ago
Martin Storsjö
4936ef6492
configure: Handle armcc 5.0
...
The first line of the "armcc --vsn" output in one version is
"Product: ARM Compiler 5.04".
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Alessandro Ghedini
32d05934ab
mp3dec: decode more data from Info header
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Alessandro Ghedini
0983d48111
crc: add ANSI CRC16 LE
...
This adds the reversed byte-order version of the ANSI CRC16.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago