Luca Barbato
7471352f19
pixfmt: Add GRAY12
8 years ago
Anton Khirnov
e8bbacbf52
hwcontext_qsv: support frame mapping
...
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
8 years ago
Anton Khirnov
8ea15afbf2
hwcontext_qsv: transfer data through the child context when VPP fails
...
Uploading/downloading data through VPP may not work for some formats, in
that case we can still try to call av_hwframe_transfer_data() on the
child context.
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
8 years ago
Anton Khirnov
b91ce48600
hwcontext_qsv: do not fail when download/upload VPP session creation fails
...
Certain pixel formats (e.g. P8) might not be supported for
download/upload through VPP operations, but can still be used otherwise.
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
8 years ago
Anton Khirnov
b115a35ea6
hwcontext_qsv: add support for the P8 format
...
When using GPU surfaces with QSV, one needs to supply a frame allocator,
which will be invoked to pass surface pools to libmfx.
For encoding, this allocator gets invoked not only for the pool of input
frames, but also for a separate pool of (apparently) reconstructed frames
and another pool of MFX_FOURCC_P8, which on Windows needs to return
D3DFMT_P8 D3D surfaces. Those are probably used to store the encoded
bitstream on the GPU.
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
8 years ago
Anton Khirnov
10065d9324
hwcontext_dxva2: add support for the P8 format
...
This format is used internally by the QSV encoder to store the encoded
bitstream.
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
8 years ago
Anton Khirnov
9109737654
hwcontext_dxva2: frame mapping support
...
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
8 years ago
James Almer
9ea69f4808
avutil/softfloat_ieee754: make all functions inline
...
Removes "defined but not used" warnings
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Matt Oliver
85db1f97eb
avutil/hwcontext_dxva.c: Use new safe dlopen code.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
8 years ago
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