Diego Biurrun
535a742c26
build: Change structure of the linker version script templates
Split version files into one line per symbol/directive to allow compatibility
with the Solaris linker without preprocessing and eliminate $ from version file
templates to simplify the postprocessing shell command.
9 years ago
Diego Biurrun
1e9c5bf4c1
asm: FF_-prefix internal macros used in inline assembly
These warnings conflict with system macros on Solaris, producing
truckloads of warnings about macro redefinition.
9 years ago
Anton Khirnov
b8bf9194af
hwcontext_vaapi: implement device creation
9 years ago
Anton Khirnov
8e70385a8e
hwcontext_dxva2: implement device creation
9 years ago
Anton Khirnov
2e219b491b
hwcontext_cuda: implement device creation
9 years ago
Anton Khirnov
38392b2af8
hwcontext_vdpau: implement device creation
9 years ago
Anton Khirnov
1c9e8616c5
hwcontext: add a function for opening devices
9 years ago
Diego Biurrun
ded4a6543d
xtea-test: Use struct allocation functions from the API
9 years ago
Diego Biurrun
8131bd4c22
blowfish-test: Use struct allocation functions from the API
9 years ago
Diego Biurrun
a86ef80494
blowfish-test: Return different values for different errors
9 years ago
Vittorio Giovara
0c4468dc18
stereo3d: Add API to get name from value or value from name
Use it in av_dump_format() instead of a huge switch case.
9 years ago
Anton Khirnov
c46db38cde
hwcontext: add a dxva2 implementation
10 years ago
Anton Mitrofanov
2fb1d17a5a
x86inc: Enable AVX emulation in additional cases
Allows emulation to work when dst is equal to src2 as long as the
instruction is commutative, e.g. `addps m0, m1, m0`.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Mitrofanov
300fb0df84
x86inc: Improve handling of %ifid with multi-token parameters
The yasm/nasm preprocessor only checks the first token, which means that
parameters such as `dword [rax]` are treated as identifiers, which is
generally not what we want.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Mitrofanov
8d02579fae
x86inc: Fix AVX emulation of some instructions
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Henrik Gramner
ba3eb745cc
x86inc: Fix AVX emulation of scalar float instructions
Those instructions are not commutative since they only change the first
element in the vector and leave the rest unmodified.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Diego Biurrun
257f00ec1a
Split global .gitignore file into per-directory files
9 years ago
Jan Ekström
1f77e634bb
colorspace: Add support for BT709
BT.709 coefficients were gathered from the first two parts of BT.709
to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2).
They were additionally confirmed by manually calculating values.
9 years ago
Vittorio Giovara
41ed7ab45f
cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Diego Biurrun
f2422b5875
testprogs: Mark some tables as static const
9 years ago
Thomas Guillem
785bfb1d7b
pixfmt: fix wrong comment
The h264/hevc Annex E colour primaries table says that AVCOL_SPC_SMPTE170M is
similar than AVCOL_SPC_SMPTE240M. These two values are not similar than
AVCOL_SPC_BT470BG.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
a0f469da74
hwcontext: initialize sw_format in av_hwframe_ctx_alloc()
9 years ago
Martin Storsjö
798845ce7e
testprogs: Add missing libm.h includes
This fixes building on MSVC 2010 and 2012 after d12b5b2f13 .
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
10 years ago
Diego Biurrun
01621202aa
build: miscellaneous cosmetics
Restore alphabetical order in lists, break overly long lines, do some
prettyprinting, add some explanatory section comments, group parts
together that belong together logically.
10 years ago
Diego Biurrun
3b08d9d932
testprogs: K&R formatting cosmetics
10 years ago
Diego Biurrun
439929859a
testprogs: Clean up #includes
10 years ago
Michael Niedermayer
564b4591bb
opt: Add av_opt_copy()
This includes documentation and other modifications by
Lukasz Marek and Martin Storsjö.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Lukasz Marek
8833f1508b
opt: Add const to av_opt_next
Also add const to pointers in static functions within opt.c where
possible/necessary.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Diego Biurrun
0d2fcdb1c5
opt-test: Merge struct declaration and initialization
10 years ago
Diego Biurrun
d3044cf37f
opt-test: Move some variable declarations to avoid block braces
10 years ago
Diego Biurrun
a84713e70d
parseutils-test: Move some variable declarations to avoid block braces
10 years ago
Diego Biurrun
52385410b7
des-test: Move a variable declaration to avoid an ifdef
10 years ago
Mark Thompson
551c6775ab
lavu: VAAPI hwcontext implementation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Mark Thompson
d264c720f7
lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPI
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Mark Thompson
b1f01e85a9
lavu: add a way to query hwcontext frame constraints
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Anton Khirnov
328e9a15c5
buffer: drop a reference to a non-existing function from the docs
This function only ever existed in the draft versions of the API.
10 years ago
Anton Khirnov
7480d00131
pixfmt: fix the AV_PIX_FMT_VAAPI_VLD doxy
10 years ago
wm4
7a6cf27714
lavu: improve documentation of some AVFrame functions
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Diego Biurrun
29c2d06d67
cosmetics: Drop empty comment lines
10 years ago
Anton Khirnov
d847a40888
hwcontext_cuda/vdpau: add to skipheaders
10 years ago
Anton Khirnov
ad884d1002
hwcontext: add a CUDA implementation
10 years ago
Anton Khirnov
7bc780cd44
pixfmt: add a CUDA hwaccelled format
10 years ago
Anton Khirnov
a001ce31bc
hwcontext: add a VDPAU implementation
10 years ago
Anton Khirnov
89923e418b
lavu: add a framework for handling hwaccel frames
10 years ago
Anton Khirnov
721a4efc05
buffer: add support for pools using caller data in allocation
This should allow using more complex allocators than simple malloc
wrappers.
10 years ago
James Almer
b624f0660b
x86: Add ymm_reg struct
Needed to declare 32-byte long constants
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Vittorio Giovara
6695f178a5
pixdesc: Use AV_CEIL_RSHIFT in documentation
10 years ago
Vittorio Giovara
1546a41ada
pixdesc: Drop unneeded deprecation warning guards
10 years ago