Martin Storsjö
2e55e26b40
vp9: Flip the order of arguments in MC functions
...
This makes it match the pattern already used for VP8 MC functions.
This also makes the signature match ffmpeg's version of these
functions, easing porting of code in both directions.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Diego Biurrun
baab87c4f3
bink: Have function pointer prototype match implementation
...
libavcodec/binkdsp.c(156) : warning C4028: formal parameter 1 different from declaration
8 years ago
Diego Biurrun
4cf2ffb7c4
idct: Have function pointer prototype match implementation
...
libavcodec/idctdsp.c(175) : warning C4028: formal parameter 2 different from declaration
8 years ago
Diego Biurrun
39cea6570c
aactab: Move extern keyword to the front of array declarations
...
libavcodec/aactab.h:49:1: warning: ‘extern’ is not at beginning of declaration [-Wold-style-declaration]
8 years ago
Luca Barbato
801ac7156d
qsv: Be informative when reporting that no data has been consumed
8 years ago
Diego Biurrun
30015305f3
Use avpriv_request_sample() where appropriate
8 years ago
Diego Biurrun
3ec6f855d0
srt: Adjust signedness of sscanf format strings
...
Fixes several warnings from -Wformat.
8 years ago
Diego Biurrun
7a2b2b6a92
dxtory: Drop nonsense ISO C printf conversion specifiers for standard types
8 years ago
Diego Biurrun
c454dfcff9
Use ISO C printf conversion specifiers where appropriate
8 years ago
Diego Biurrun
fbe425c8d2
hap: Adjust printf length modifiers to match variable types
...
libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat=]
libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t {aka unsigned int}’ [-Wformat=]
8 years ago
Diego Biurrun
1263b2039e
Adjust printf conversion specifiers to match variable signedness
8 years ago
Diego Biurrun
47756f51fe
dnxhdenc: Drop pointless, commented-out debug output
8 years ago
Diego Biurrun
0574780d7a
h264_loopfilter: Do not print value of uninitialized variable
...
libavcodec/h264_loopfilter.c:531:111: warning: variable 'edge' is uninitialized when used here [-Wuninitialized]
8 years ago
Diego Biurrun
2555269985
mpegaudio: Do not print value of uninitialized variable
...
libavcodec/mpegaudiodec_template.c:885:97: warning: variable 'x' is uninitialized when used here [-Wuninitialized]
8 years ago
Mark Thompson
0aec37e625
vaapi_decode: Remove vestigial unmap code
...
The buffer map/unmap code was in an early version of this before it
was committed, but the unmap was never removed. While wrong, this
was harmless (and therefore unnoticed) because the buffers can't be
mapped at this point - all drivers just did nothing with the call.
8 years ago
Mark Thompson
5e879b54a3
vaapi_decode: Clear parameter buffers to fix picture reuse
...
When decoding interlaced pictures, the structure is reused to render
to the same surface twice. The parameter buffers were not being
cleared, which caused the i965 driver to error out.
8 years ago
Gwenole Beauchesne
754b20d7eb
vaapi_h264: fix RefPicList[] field flags.
...
Use new H264Ref.reference field to track field picture flags. The
H264Picture.reference flag in DPB is now irrelevant here.
This is a regression from git commit a12d3188
, and that affected
multiple interlaced video streams.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
8 years ago
Pierre Edouard Lepere
6d5636ad9a
hevc: x86: Add add_residual() SIMD optimizations
...
Initially written by Pierre Edouard Lepere <Pierre-Edouard.Lepere@insa-rennes.fr>,
extended by James Almer <jamrial@gmail.com>.
Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
8 years ago
Vittorio Giovara
0d9b9bd37f
lavu: Add JEDEC P22 color primaries
8 years ago
Anton Khirnov
59c90097a0
hevc: factor out a repeated condition
8 years ago
Anton Khirnov
0bfdcce4d4
hevc: move the SliceType enum to hevc.h
...
Those values are decoder-independent and are also use by the VA-API
encoder.
8 years ago
Diego Biurrun
788544ff0e
audiodsp: x86: Remove pointless header file
...
Its single forward declaration can be moved to the only place
it is used, like is done for all other dsp init files.
8 years ago
Diego Biurrun
b89804da9b
x86: videodsp: Add parentheses to expression to work around warning
...
libavcodec/x86/videodsp.asm:128: warning: signed dword value exceeds bounds
8 years ago
Diego Biurrun
58224dc5f3
ppc: avcodec: Drop silly "_ppc" suffixes from files in ppc subdirectories
8 years ago
Mark Thompson
0cf86fabfa
vaapi_encode: Write sequence header as extradata
...
Only works if packed headers are supported, where we can know the
output before generating the first frame.
8 years ago
Mark Thompson
f9bb356e0e
vaapi_h265: Include header for slice types
...
The include was changed correctly in 4abe3b049d
but then mistakenly changed back by c359d624d3
(it's not just the NAL unit types which are used).
8 years ago
Diego Biurrun
6be7944ee2
x86: Add missing colons after assembly labels
...
This fixes many warnings of the sort
warning: label alone on a line without a colon might be in error
8 years ago
Anton Khirnov
89b35a139e
lavc: add a bitstream filter for extracting extradata from packets
...
This is intended as a replacement for the 'split' function exported by
some parsers.
8 years ago
Anton Khirnov
f6e2f8a9ff
hevcdec: move parameter set parsing into a separate header
...
This code is independent from the decoder, so it makes more sense for it
to to have its own header.
8 years ago
Anton Khirnov
150c896a9e
hevcdec: split ff_hevc_diag_scan* declarations into a separate header
...
This will be useful in the following commits.
8 years ago
Anton Khirnov
645c6ff423
hevcdec: drop the prototype of a non-existing function
8 years ago
Anton Khirnov
c359d624d3
hevcdec: move decoder-independent declarations into a separate header
...
This way they can be reused by other code without including the whole
decoder-specific hevcdec.h
Also, add the HEVC_ prefix to them, since similarly named values exist
for H.264 as well and are sometimes used in the same code.
8 years ago
Anton Khirnov
4abe3b049d
hevc: rename hevc.[ch] to hevcdec.[ch]
...
This is more consistent with the rest of libav and frees up the hevc.h
name for decoder-independent shared declarations.
8 years ago
Kieran Kunhya
81f1f6c3f6
Add GBRAP12 pixel format support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Vittorio Giovara
14e7e19a90
lavc: bsf: Document input/output codecparam alloc/init process
8 years ago
Alexandra Hájková
112cee0241
hevc: Add SSE2 and AVX IDCT
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Martin Storsjö
9b2ccafb48
aarch64: Add missing sign extension in ff_h264_idct8_add_neon
...
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Yogender Gupta
cbd84b8a51
nvenc: Fix error log
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Yogender Gupta
da2848375a
nvenc: Force high_444 profile for 444 input
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Anton Khirnov
e4128c08d7
Revert "hevc: x86: Refactor IDCT macro declarations"
...
This reverts commit d9dccc0389
. There were
outstanding objections to this commit.
8 years ago
Diego Biurrun
5801f9ed24
h264_intrapred: x86: Update comments left behind in 95c89da36e
8 years ago
Diego Biurrun
d9dccc0389
hevc: x86: Refactor IDCT macro declarations
8 years ago
Steve Lhomme
be630b1e08
d3d11va: Use the proper decoding slice index
...
The decoding buffer index expected by D3D11VA is the one from the
ID3D11Texture2D not the one from the ID3D11VideoDecoderOutputView array
in AVD3D11VAContext.
Otherwise, when providing decoder slices that do not start from 0,
pictures appear in bogus order. For an invalid index crashes and
image corruption can occur.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Ronald S. Bultje
715f139c9b
vp9lpf/x86: make filter_16_h work on 32-bit.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Ronald S. Bultje
8915320db9
vp9lpf/x86: make filter_48/84/88_h work on 32-bit.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Ronald S. Bultje
725a216481
vp9lpf/x86: make filter_44_h work on 32-bit.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Ronald S. Bultje
5bfa96c4b3
vp9lpf/x86: make filter_16_v work on 32-bit.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Ronald S. Bultje
b905e8d2fe
vp9lpf/x86: make filter_48/84_v work on 32-bit.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Ronald S. Bultje
37637e6590
vp9lpf/x86: make filter_88_v work on 32-bit.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Ronald S. Bultje
be10834bd9
vp9lpf/x86: make filter_44_v work on 32-bit.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago