Mark Thompson
8ad9f9d675
hwcontext_vaapi: Frame mapping support
...
Can map to any supported software format (using a GPU copy if it
doesn't actually match the surface format underneath).
8 years ago
Mark Thompson
d06aa24ba5
hwcontext: Hardware frame mapping
...
Adds the new av_hwframe_map() function, which allows mapping between
hardware frames and normal memory, along with internal support for
implementing it.
Also adds av_hwframe_ctx_create_derived(), for creating a hardware
frames context associated with one device using frames mapped from
another by some hardware-specific means.
8 years ago
Diego Biurrun
67351924fa
Drop unreachable break and return statements
8 years ago
Diego Biurrun
99434f4df8
float_dsp: Have implementation match function pointer prototype
...
libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 1 different from declaration
libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 2 different from declaration
8 years ago
Diego Biurrun
0456e68439
audio_fifo: Drop write-only variable
8 years ago
Michael Niedermayer
1609935b6c
Bump minor versions after 3.2 branchpoint to seperate release
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
3f3025205f
Bump minor versions for 3.2
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Behrisch
c5ac86256b
lavu: remove comma at final enumeration items to fix pedantic warnings
8 years ago
Michael Niedermayer
051517648b
avutil/x86/emms: Document the emms_c() vs alloc/free relation.
...
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Zhou Xiaoyong
b9cd922660
avutil/mips: loongson add mmi utils header file
...
1.mmiutils.h defined MMI_ load/store macros for loongson2e/2f/3a
2.mmiutils.h defined some mmi assembly macors
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
f5495c970c
avutil/avassert: Add av_assertX_fpu()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Andreas Cadhalpun
c8a6eb58d7
doc: fix spelling errors
...
Thanks to Mathieu Malaterre <malat@debian.org> for reporting the
Que/Queue typo. (https://bugs.debian.org/839542 )
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years ago
Vittorio Giovara
0d9b9bd37f
lavu: Add JEDEC P22 color primaries
8 years ago
Diego Biurrun
7911186ed6
emms: Give apriv_emms_yasm() a more general name
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
Thomas Turner
09d39177dc
avutil: Improved selftest coverage for libavutil/fifo.c
...
Tested functions: av_fifo_generic_peek(), av_fifo_grow()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
d790e48830
avutil/audio_fifo: Use av_fifo_freep() and remove redundant if()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Kieran Kunhya
81f1f6c3f6
Add GBRAP12 pixel format support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Michael Niedermayer
1e93aa69a6
Add GBRP12 pixel format support
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Michael Niedermayer
1bda0ee530
avutil/hwcontext_vdpau: Fix warning: "GET_CALLBACK" redefined
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Timothy Gu
54220ce731
pixfmt: Use enum assignment for aliases
...
This way, Doxygen is happier as aliases are now grouped together, and
it never handled #define's in an enum well in the first place.
Y400A already exists as an enum assignment.
8 years ago
Timothy Gu
bdcd586c0d
pixdesc: Order function prototypes semantically
8 years ago
Shivraj Patil
c1cc13cd2a
avutil/mips/generic_macros_msa: rename macro variable which causes segfault for mips r6
...
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Timo Rothenpieler
a0d7ce1406
avutil/hwcontext_cuda: align allocated frames
8 years ago
Vittorio Giovara
310c55f179
pixfmt: Document alternative names for smpte 431 and 432
8 years ago
Mark Thompson
eaaaabf6c9
hwcontext_vaapi: Enable P010 support
...
This is required for 10-bit surfaces.
8 years ago
Anton Khirnov
5cc0057f49
lavu: remove the custom atomic API
...
It has been replaced by C11 stdatomic.h and is now unused.
8 years ago
Anton Khirnov
27079a426c
buffer: convert to stdatomic
8 years ago
Anton Khirnov
2124711b95
hwcontext_vaapi: add a quirk for the missing MemoryType attribute
...
The Intel binary iHD driver does not support the
VASurfaceAttribMemoryType, so surface allocation will fail when using
it.
8 years ago
Timo Rothenpieler
97e7f03d35
avutil/hwcontext_cuda: use proper synchronization flag
8 years ago
James Almer
13dd5edb88
avutil/hwcontext: use CONFIG_QSV instead of CONFIG_LIBMFX for qsv
...
See "[FFmpeg-devel] [PATCH] hwcontext: add a QSV implementation"
Suggested-by: nablet developer <sdk@nablet.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Luca Barbato
0e8d1fc1f0
lavu: Bump version for the 12bit Planar YUV support
8 years ago
Luca Barbato
9bd6ea5695
pixfmt: Add yuv444p12 pixel format
8 years ago
Luca Barbato
0aebbbd024
pixfmt: Add yuv422p12 pixel format
8 years ago
Luca Barbato
85406e7a8d
pixfmt: Add yuv420p12 pixel format
8 years ago
Yogender Kumar Gupta
340f12f712
hwcontext_cuda: Add P010 and YUV444P16 pixel format
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Sasi Inguva
3cb400c11a
avutil/frame: Add a flag to discard frame after decode.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Alexandra Hájková
07e1f99a1b
x86util: Document SBUTTERFLY macro
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Mark Thompson
7081620aca
hwcontext_vdpau: Fix missing subscripts
...
Also remove the redundant casts which were hiding the error here.
8 years ago
Mark Thompson
09a145b3c8
hwcontext_vdpau: Remove duplicate definition of GET_CALLBACK
8 years ago
Diego Biurrun
4fb311c804
Drop memalign hack
...
It no longer serves a useful purpose.
8 years ago
Mark Thompson
a2c912c3b6
lavu/timestamp: Avoid C++-unfriendly code in user header
...
Including this header in a C++11 program (inside extern "C") will
throw an error because it looks like a user-defined literal. Add a
space between the two tokens to avoid the problem.
8 years ago
Anton Khirnov
f01f7a7846
hwcontext_dxva2: use the special UC copy for downloading frames
8 years ago
Anton Khirnov
d7bc52bf45
imgutils: add a function for copying image data from GPU mapped memory
...
See https://software.intel.com/en-us/articles/copying-accelerated-video-decode-frame-buffers
8 years ago
Michael Niedermayer
ac028794ad
avutil/version: Improve lib versioning scheme for release branches with the next major release
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
adbf1c9054
avutil/version: Mention similarities and differences to semver
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
21f70940ae
avutil/mem: remove av_realloc / av_malloc incompatibility warning
...
memalign() is not guranteed to be compatible with free() or realloc()
and for platforms in this category we have --enable-memalign-hack
(which should be enabled automatically if such system is detected)
Trying to somehow half support systems that can free() memalign memory
but not reallocate it seems not worth the amount of work needed to
keep 2 then incompatible allocation systems and ensure their
seperation. That is unless this would affect a major platform
on which we want to avoid the memalign hack code
The warnings also cause wasted time and effort as people try
to maintain a separation that does not exist currently.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Umair Khan
fb1f67a70b
avutil: Softfloat implementation for IEEE 754 floating point
...
Signed-off-by: Umair Khan <omerjerk@gmail.com>
8 years ago
Timothy Gu
1ae4b1e09d
mem: Extend and edit Doxygen
8 years ago
Paul B Mahol
9876d8fc6d
swresample: add int64 sample format
8 years ago