ffmpeg/libavutil
wm4 3303511f33 lavu: add new D3D11 pixfmt and hwcontext
To be used with the new d3d11 hwaccel decode API.

With the new hwaccel API, we don't want surfaces to depend on the
decoder (other than the required dimension and format). The old D3D11VA
pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the
decoder configuration, and thus is incompatible with the new hwaccel
API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D
and an index. It's simpler and compatible with the new hwaccel API.

The introduced hwcontext supports only the new pixfmt.

Frame upload code untested.

Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with
heavy changes/rewrites.

Merges Libav commit fff90422d1.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-06-27 18:05:02 +02:00
..
aarch64 aarch64: Add parentheses around the offset parameter in movrel 2017-03-11 13:14:50 +02:00
arm Merge commit '6a1ea4ec932f4fc9fdc00ec51ee070b298ddb35f' 2017-04-04 16:04:29 -03:00
avr32
bfin
mips
ppc Merge commit '05a603a94e4b3eeefa5e18ae653a848001461e89' 2017-04-26 16:27:24 +02:00
sh4
tests avutil/tests: remove float_dsp test 2017-06-14 19:20:19 -03:00
tomi
x86 x86inc: don't use read-only data sections on COFF targets 2017-06-27 12:48:04 -03:00
.gitignore
adler32.c
adler32.h
aes_ctr.c
aes_ctr.h
aes_internal.h
aes.c
aes.h
atomic_gcc.h Revert "lavu/atomic: add support for the new memory model aware gcc built-ins" 2017-03-08 00:48:37 -03:00
atomic_suncc.h
atomic_win32.h
atomic.c
atomic.h
attributes.h Merge commit 'f637046d3134a331e4b5a7243ac3dfb92735b8a5' 2017-02-02 11:26:05 +01:00
audio_fifo.c Merge commit '0456e684394dc5a7b98ab9ebb48396d743bf3730' 2017-03-24 13:17:55 +01:00
audio_fifo.h
avassert.h
avstring.c avutil/avstring: improve av_strreplace implement 2017-04-11 10:54:35 +08:00
avstring.h avutil/avstring: improve av_strreplace implement 2017-04-11 10:54:35 +08:00
avutil.h lavu: add av_fourcc_make_string() and av_fourcc2str() 2017-03-29 14:49:29 +02:00
avutilres.rc
base64.c
base64.h
blowfish.c
blowfish.h
bprint.c
bprint.h
bswap.h
buffer_internal.h Merge commit '27079a426c9d3db918b158976e44b9b143d78e1c' 2017-03-22 17:46:01 +01:00
buffer.c Merge commit '27079a426c9d3db918b158976e44b9b143d78e1c' 2017-03-22 17:46:01 +01:00
buffer.h Merge commit 'ec021d48445a414325ad59a73f9cde3212b173e4' 2017-03-18 19:22:30 +01:00
camellia.c
camellia.h
cast5.c
cast5.h
channel_layout.c avutil/channel_layout: add av_get_extended_channel_layout 2017-01-24 23:51:36 +01:00
channel_layout.h avutil/channel_layout: add av_get_extended_channel_layout 2017-01-24 23:51:36 +01:00
color_utils.c
color_utils.h
colorspace.h
common.h
cpu_internal.h
cpu.c avutil: fix data race in av_get_cpu_flags() 2016-12-13 00:07:20 +01:00
cpu.h Merge commit '7d7355aa92bb36ca0765c49a569a999bcb96f332' 2017-01-31 15:17:19 -03:00
crc.c
crc.h
des.c
des.h
dict.c
dict.h
display.c
display.h Merge commit '075acbb6ff5740b2eea1bb7dd3afbc8e66e2ebf8' 2017-04-13 17:31:15 -03:00
downmix_info.c
downmix_info.h
dynarray.h
error.c
error.h
eval.c libavutil/eval: Add round function to expression parser 2017-06-06 18:31:47 +02:00
eval.h
ffmath.h
fifo.c
fifo.h
file_open.c
file.c
file.h
fixed_dsp.c
fixed_dsp.h
float_dsp.c avutil/float_dsp: add vector_dmac_scalar() 2017-04-10 12:04:14 +02:00
float_dsp.h avutil/float_dsp: add vector_dmac_scalar() 2017-04-10 12:04:14 +02:00
frame.c Merge commit '52627248e49e58eb4b78e4fcda90a64f4c476ea3' 2017-05-08 13:08:02 -03:00
frame.h Merge commit '52627248e49e58eb4b78e4fcda90a64f4c476ea3' 2017-05-08 13:08:02 -03:00
hash.c
hash.h
hmac.c Merge commit '00b6a765430e5c5cacf0bd1be8b318d631cd4e14' 2017-05-05 13:27:03 +02:00
hmac.h
hwcontext_cuda_internal.h
hwcontext_cuda.c hwcontext_cuda: implement frames_get_constraints 2017-01-23 16:21:18 +01:00
hwcontext_cuda.h
hwcontext_d3d11va.c lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
hwcontext_d3d11va.h lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
hwcontext_dxva2.c avutil/hwcontext_dxva2: Don't improperly free IDirect3DSurface9 objects 2017-05-16 21:45:52 +01:00
hwcontext_dxva2.h
hwcontext_internal.h lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
hwcontext_qsv.c hwcontext_qsv: Implement mapping frames to the child device type 2017-06-14 22:27:07 +01:00
hwcontext_qsv.h
hwcontext_vaapi.c hwcontext_vaapi: Try to support the VDPAU wrapper 2017-06-14 22:23:43 +01:00
hwcontext_vaapi.h hwcontext_vaapi: Try to support the VDPAU wrapper 2017-06-14 22:23:43 +01:00
hwcontext_vdpau.c Merge commit '09a145b3c837273b1379321e44386a3233156e75' 2017-03-20 16:05:51 +01:00
hwcontext_vdpau.h
hwcontext_videotoolbox.c videotoolbox: add hwcontext support 2017-05-15 11:30:36 +02:00
hwcontext_videotoolbox.h hwcontext_videotoolbox: fix fate-source 2017-05-15 18:50:04 +02:00
hwcontext.c lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
hwcontext.h lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
imgutils_internal.h Merge commit 'd7bc52bf456deba0f32d9fe5c288ec441f1ebef5' 2017-03-20 08:34:10 +01:00
imgutils.c Merge commit 'd7bc52bf456deba0f32d9fe5c288ec441f1ebef5' 2017-03-20 08:34:10 +01:00
imgutils.h Merge commit 'a1d9de304fe63614e3aa8117fef17491fa80093d' 2017-04-03 20:41:16 +02:00
integer.c
integer.h
internal.h avutil/internal: Do not enable CHECKED with DEBUG 2017-04-11 01:05:05 +02:00
intfloat.h
intmath.c
intmath.h
intreadwrite.h Merge commit 'f79d847400d218cfd0b95f10358fe6e65ec3c9c4' 2017-03-15 21:20:44 -03:00
lfg.c libavutil: add av_lfg_init_from_data() function 2017-01-22 02:28:53 +01:00
lfg.h libavutil: add av_lfg_init_from_data() function 2017-01-22 02:28:53 +01:00
libavutil.v
libm.h
lls.c
lls.h
log2_tab.c
log.c Fix all -Wformat warnings raised by DJGPP 2017-03-29 14:49:29 +02:00
log.h
lzo.c
lzo.h
macros.h
Makefile lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
mastering_display_metadata.c lavu: add support for Content Light Level side metadata 2017-04-06 11:26:25 -03:00
mastering_display_metadata.h lavu: add support for Content Light Level side metadata 2017-04-06 11:26:25 -03:00
mathematics.c lavu/mathematics: split closing bracket out of ifdefery 2017-03-18 23:50:05 +01:00
mathematics.h
md5.c Merge commit 'e435beb1ea5380a90774dbf51fdc8c941e486551' 2017-05-05 13:04:38 +02:00
md5.h Merge commit 'e435beb1ea5380a90774dbf51fdc8c941e486551' 2017-05-05 13:04:38 +02:00
mem_internal.h
mem.c Merge commit '4fb311c804098d78e5ce5f527f9a9c37536d3a08' 2017-03-20 08:54:44 +01:00
mem.h lavu/mem: clamp alignment to 16 for DJGPP 2017-03-29 14:49:29 +02:00
motion_vector.h
murmur3.c
murmur3.h
opencl_internal.c
opencl_internal.h
opencl.c
opencl.h
opt.c Merge commit '67351924fa91dea4339109100a4c0689f006581f' 2017-03-30 10:26:29 +02:00
opt.h
parseutils.c add locale month names to av_small_strptime 2017-02-26 17:16:22 +01:00
parseutils.h
pca.c
pca.h
pixdesc.c lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
pixdesc.h lavu: add AV_PIX_FMT_FLAG_BAYER 2017-03-20 08:02:30 +01:00
pixelutils.c
pixelutils.h
pixfmt.h lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
qsort.h
random_seed.c libavutil/random_seed: Ensure that get_generic_seed() spends at least 1/32 sec gathering entropy 2016-12-31 17:20:06 +01:00
random_seed.h
rational.c
rational.h
rc4.c
rc4.h
replaygain.h
reverse.c
reverse.h avutil/reverse: move the ff_reverse declaration to a separate header 2017-01-12 19:59:37 -03:00
ripemd.c
ripemd.h
samplefmt.c
samplefmt.h
sha512.c lavu/sha512: update length argument following sha+md5 changes 2017-05-05 13:24:35 +02:00
sha512.h lavu/sha512: update length argument following sha+md5 changes 2017-05-05 13:24:35 +02:00
sha.c Merge commit 'e435beb1ea5380a90774dbf51fdc8c941e486551' 2017-05-05 13:04:38 +02:00
sha.h Merge commit 'e435beb1ea5380a90774dbf51fdc8c941e486551' 2017-05-05 13:04:38 +02:00
softfloat_ieee754.h
softfloat_tables.h
softfloat.h avutil/softfloat: Fix sign error in and improve documentation of av_int2sf() 2017-06-04 23:41:08 +02:00
spherical.c avutil/spherical: add av_spherical_projection_name() 2017-03-31 13:26:56 -03:00
spherical.h avutil/spherical: add av_spherical_projection_name() 2017-03-31 13:26:56 -03:00
stereo3d.c
stereo3d.h Merge commit '075acbb6ff5740b2eea1bb7dd3afbc8e66e2ebf8' 2017-04-13 17:31:15 -03:00
tablegen.h
tea.c
tea.h
thread.h libavutil/thread.h: Fixed g++ build error when ASSERT_LEVEL is greater than 1 2017-04-22 23:32:41 +02:00
threadmessage.c
threadmessage.h
time_internal.h
time.c avutil/tile: check clock_gettime at runtime for apple platforms 2017-01-09 11:52:06 +08:00
time.h
timecode.c Fix all -Wformat warnings raised by DJGPP 2017-03-29 14:49:29 +02:00
timecode.h lavu/timecode: Increase AV_TIMECODE_STR_SIZE. 2017-05-05 10:09:12 +02:00
timer.h
timestamp.h
tree.c
tree.h
twofish.c
twofish.h
utils.c lavu: add av_fourcc_make_string() and av_fourcc2str() 2017-03-29 14:49:29 +02:00
version.h lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
wchar_filename.h
xga_font_data.c
xga_font_data.h
xtea.c
xtea.h