Luca Barbato
638b216d4f
pixfmt: Add GRAY12
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-10 00:42:48 +01:00
Vittorio Giovara
17dac56b8f
lavu: Rename ycgco color space appropriately
...
Planes are ordered as the name suggests now.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-11-08 11:22:29 -05:00
Luca Barbato
7471352f19
pixfmt: Add GRAY12
2016-11-07 22:42:00 +01:00
Anton Khirnov
e8bbacbf52
hwcontext_qsv: support frame mapping
...
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
2016-11-07 12:47:40 +01:00
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>
2016-11-07 12:47:33 +01:00
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>
2016-11-07 12:47:26 +01:00
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>
2016-11-07 12:47:20 +01:00
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>
2016-11-07 12:47:14 +01:00
Anton Khirnov
9109737654
hwcontext_dxva2: frame mapping support
...
Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
2016-11-07 12:46:59 +01:00
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>
2016-11-05 17:53:26 -03:00
Matt Oliver
85db1f97eb
avutil/hwcontext_dxva.c: Use new safe dlopen code.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2016-11-05 18:08:43 +11:00
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).
2016-11-03 23:49:05 +00:00
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.
2016-11-03 23:49:01 +00:00
Diego Biurrun
67351924fa
Drop unreachable break and return statements
2016-11-03 20:17:12 +01:00
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
2016-11-03 17:43:55 +01:00
Diego Biurrun
0456e68439
audio_fifo: Drop write-only variable
2016-10-27 12:21:46 +02:00
Michael Niedermayer
1609935b6c
Bump minor versions after 3.2 branchpoint to seperate release
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-26 20:52:42 +02:00
Michael Niedermayer
3f3025205f
Bump minor versions for 3.2
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-26 20:52:42 +02:00
Michael Behrisch
c5ac86256b
lavu: remove comma at final enumeration items to fix pedantic warnings
2016-10-26 19:36:09 +02:00
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>
2016-10-23 13:02:37 +02:00
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>
2016-10-23 03:23:09 +02:00
Michael Niedermayer
f5495c970c
avutil/avassert: Add av_assertX_fpu()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-22 13:50:09 +02:00
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>
2016-10-21 23:58:47 +02:00
Vittorio Giovara
0d9b9bd37f
lavu: Add JEDEC P22 color primaries
2016-10-21 11:46:21 -04:00
Diego Biurrun
7911186ed6
emms: Give apriv_emms_yasm() a more general name
2016-10-18 13:09:09 +02:00
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
2016-10-17 16:31:26 +02:00
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>
2016-10-14 23:14:33 +02:00
Michael Niedermayer
d790e48830
avutil/audio_fifo: Use av_fifo_freep() and remove redundant if()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-14 17:08:51 +02:00
Kieran Kunhya
81f1f6c3f6
Add GBRAP12 pixel format support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-10-12 21:33:34 +02:00
Michael Niedermayer
1e93aa69a6
Add GBRP12 pixel format support
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-10-12 17:39:30 +02:00
Michael Niedermayer
1bda0ee530
avutil/hwcontext_vdpau: Fix warning: "GET_CALLBACK" redefined
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-10 02:41:24 +02:00
Hendrik Leppkes
e8487d71be
Merge commit 'fe498ef5144d3712b887f44a0c5e654add99ead7'
...
* commit 'fe498ef5144d3712b887f44a0c5e654add99ead7':
hwcontext_vaapi: Return all formats for constraints without config
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-10-07 13:19:53 +02:00
Hendrik Leppkes
3f9137c57d
Merge commit '32c8359093d1ff4f45ed19518b449b3ac3769d27'
...
* commit '32c8359093d1ff4f45ed19518b449b3ac3769d27':
lavc: export the timestamps when decoding in AVFrame.pts
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-10-07 13:03:36 +02:00
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.
2016-10-05 17:17:50 -07:00
Timothy Gu
bdcd586c0d
pixdesc: Order function prototypes semantically
2016-10-05 17:17:50 -07:00
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>
2016-10-05 23:44:03 +02:00
Timo Rothenpieler
a0d7ce1406
avutil/hwcontext_cuda: align allocated frames
2016-10-03 15:49:22 +02:00
Vittorio Giovara
310c55f179
pixfmt: Document alternative names for smpte 431 and 432
2016-10-02 15:42:03 -04:00
Mark Thompson
eaaaabf6c9
hwcontext_vaapi: Enable P010 support
...
This is required for 10-bit surfaces.
2016-10-02 20:23:18 +01:00
Anton Khirnov
5cc0057f49
lavu: remove the custom atomic API
...
It has been replaced by C11 stdatomic.h and is now unused.
2016-10-02 19:35:55 +02:00
Anton Khirnov
27079a426c
buffer: convert to stdatomic
2016-10-02 18:58:04 +02:00
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.
2016-10-02 11:41:45 +02:00
Timo Rothenpieler
97e7f03d35
avutil/hwcontext_cuda: use proper synchronization flag
2016-09-29 22:58:34 +02:00
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>
2016-09-28 15:13:10 -03:00
James Almer
eba0414768
Merge commit '59e7361cc791e5103be1712dc59a2055f118d0da'
...
* commit '59e7361cc791e5103be1712dc59a2055f118d0da':
hwcontext: add a QSV implementation
Conflicts:
doc/APIchanges
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com>
2016-09-28 13:30:27 -03:00
James Almer
6e76c9c450
Merge commit 'a8164323374e86ce5f93759230868c98356833a2'
...
* commit 'a8164323374e86ce5f93759230868c98356833a2':
pixdesc: Add new SMPTE 431, 432, and 2085 color properties
Conflicts:
libavcodec/options_table.h
libavcodec/version.h
libavutil/pixdesc.c
libavutil/pixfmt.h
libavutil/version.h
Merged-by: James Almer <jamrial@gmail.com>
2016-09-28 13:12:18 -03:00
Luca Barbato
0e8d1fc1f0
lavu: Bump version for the 12bit Planar YUV support
2016-09-27 18:48:30 +02:00
Luca Barbato
9bd6ea5695
pixfmt: Add yuv444p12 pixel format
2016-09-27 18:48:30 +02:00
Luca Barbato
0aebbbd024
pixfmt: Add yuv422p12 pixel format
2016-09-27 18:48:30 +02:00
Luca Barbato
85406e7a8d
pixfmt: Add yuv420p12 pixel format
2016-09-27 18:48:30 +02:00