1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavutil
Mark Thompson fe498ef514 hwcontext_vaapi: Return all formats for constraints without config
No longer make a dummy device configuration to query.  Instead, just
return everything we recognise from the whole format list.  Also
change the device setup code to query that list only, rather than
intersecting it with the constraint output.

This makes hwupload more usable on mesa/gallium where the video
processor only declares support for RGB formats, making it unable to
deal with YUV formats before this patch.  It might introduce some
different trickier failures in the internal upload/download code
because the set of allowed formats there has changed, though I didn't
find any obvious regressions with i965.
2016-06-21 20:42:22 +01:00
..
aarch64 arm64: add cycle counter support 2015-12-14 16:42:35 +01:00
arm arm: Fix vfp dead code elimination with have_vfp_vm 2016-01-08 23:52:59 +02:00
avr32 cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
bfin Remove all Blackfin architecture optimizations 2014-06-02 08:41:47 -07:00
mips mips: intreadwrite: Only execute that code for mips r1 or r2 2015-09-29 11:10:37 +02:00
ppc ppc: vsx: Implement diff_pixels and get_pixels 2015-05-31 12:07:11 +02:00
sh4 Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tests xtea-test: Use struct allocation functions from the API 2016-05-19 09:55:55 +02:00
tomi intreadwrite: tomi: Add missing attributes.h #include for av_always_inline 2013-02-20 00:45:30 +01:00
x86 asm: FF_-prefix internal macros used in inline assembly 2016-05-28 19:18:26 +02:00
.gitignore Split global .gitignore file into per-directory files 2016-05-13 14:55:56 +02:00
adler32.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
adler32.h adler32: Fix doxy group definition 2014-04-07 01:31:02 +02:00
aes.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
aes.h lavu: Drop deprecated context size variables 2015-08-28 16:04:27 +02:00
atomic_gcc.h atomic: fix CAS with armcc. 2013-03-09 08:36:40 +01:00
atomic_suncc.h cosmetics: Drop empty comment lines 2016-02-18 15:35:30 +01:00
atomic_win32.h atomic_win32: Drop unnecessary atomic.h #include 2014-08-15 09:52:57 +02:00
atomic.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
atomic.h atomics: cosmetics: Restructure ifdefs for greater clarity 2013-12-20 11:23:13 +01:00
attributes.h attributes: disable flatten on llvm/clang 2013-11-03 11:51:40 +01:00
audio_fifo.c Don't include common.h from avutil.h 2012-08-15 22:32:06 +03:00
audio_fifo.h audio_fifo: Split into a separate doxygen module 2014-07-06 11:44:10 -07:00
avassert.h cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
avstring.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
avstring.h avutil/avstring: Inline some tiny functions 2015-10-03 13:45:37 +02:00
avutil.h cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
base64.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
base64.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
blowfish.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
blowfish.h blowfish: add av_blowfish_alloc() 2015-07-31 09:04:09 +02:00
bswap.h aarch64: bswap inline assembly 2014-01-14 22:19:38 +01:00
buffer_internal.h buffer: add support for pools using caller data in allocation 2016-02-14 21:24:39 +01:00
buffer.c buffer: add support for pools using caller data in allocation 2016-02-14 21:24:39 +01:00
buffer.h buffer: drop a reference to a non-existing function from the docs 2016-03-07 13:57:10 +01:00
channel_layout.c channel_layout: Add a 16channel default layout 2015-08-23 21:44:38 +02:00
channel_layout.h channel_layout: Add a 16channel default layout 2015-08-23 21:44:38 +02:00
colorspace.h colorspace: Add support for BT709 2016-05-10 11:30:25 +02:00
common.h lavu: add AV_CEIL_RSHIFT and use it in various places 2016-01-11 15:32:56 -05:00
cpu_internal.h x86: Add helper macros to check for slow cpuflags 2015-05-31 12:07:11 +02:00
cpu.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
cpu.h arm: add a cpu flag for the VFPv2 vector mode 2015-12-14 16:42:35 +01:00
crc.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
crc.h crc: add ANSI CRC16 LE 2014-04-17 20:08:19 +02:00
des.c tests: Move all test programs to a subdirectory 2016-05-13 14:55:56 +02:00
des.h des: Add missing include 2015-08-31 17:06:32 +02:00
dict.c dict: Change return type of av_dict_copy() 2015-10-12 13:35:01 +02:00
dict.h cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
display.c mov: Write the display matrix in order 2015-03-23 20:53:28 +00:00
display.h mov: Write the display matrix in order 2015-03-23 20:53:28 +00:00
downmix_info.c lavu: add AV_FRAME_DATA_DOWNMIX_INFO side data type. 2014-02-15 22:24:53 +01:00
downmix_info.h lavu: add AV_FRAME_DATA_DOWNMIX_INFO side data type. 2014-02-15 22:24:53 +01:00
error.c avutil: Add AVERROR_EXPERIMENTAL 2012-10-21 22:38:21 +02:00
error.h avresample: Introduce AVFrame-based API 2014-08-10 14:26:37 +02:00
eval.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
eval.h Fix a bunch of common typos. 2011-12-11 00:32:25 +01:00
fifo.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
fifo.h lavu: remove disabled FF_API_AV_FIFO_PEEK cruft 2012-10-23 07:33:05 +02:00
file_open.c Share the utf8 to wchar conversion routine between lavf and lavu 2014-11-27 09:29:17 +02:00
file.c Don't anonymously typedef structs 2015-02-14 10:13:49 -08:00
file.h Don't include common.h from avutil.h 2012-08-15 22:32:06 +03:00
float_dsp.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
float_dsp.h aarch64: float_dsp NEON assembler 2014-03-18 22:56:07 +01:00
frame.c lavc: export the timestamps when decoding in AVFrame.pts 2016-06-21 19:54:42 +02:00
frame.h lavc: export the timestamps when decoding in AVFrame.pts 2016-06-21 19:54:42 +02:00
hmac.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
hmac.h hmac: add support for SHA-2 2015-07-29 22:09:16 +03:00
hwcontext_cuda.c hwcontext_cuda: implement device creation 2016-05-26 15:40:33 +02:00
hwcontext_cuda.h hwcontext: add a CUDA implementation 2016-02-14 22:08:33 +01:00
hwcontext_dxva2.c hwcontext_dxva2: implement device creation 2016-05-26 15:40:33 +02:00
hwcontext_dxva2.h hwcontext: add a dxva2 implementation 2016-05-17 09:11:25 +02:00
hwcontext_internal.h hwcontext: add a QSV implementation 2016-06-21 19:53:37 +02:00
hwcontext_qsv.c hwcontext: add a QSV implementation 2016-06-21 19:53:37 +02:00
hwcontext_qsv.h hwcontext: add a QSV implementation 2016-06-21 19:53:37 +02:00
hwcontext_vaapi.c hwcontext_vaapi: Return all formats for constraints without config 2016-06-21 20:42:22 +01:00
hwcontext_vaapi.h lavu: VAAPI hwcontext implementation 2016-03-19 15:40:22 +01:00
hwcontext_vdpau.c hwcontext_vdpau: implement device creation 2016-05-26 15:40:33 +02:00
hwcontext_vdpau.h hwcontext: add a VDPAU implementation 2016-02-14 22:06:04 +01:00
hwcontext.c hwcontext: add a QSV implementation 2016-06-21 19:53:37 +02:00
hwcontext.h hwcontext: add a QSV implementation 2016-06-21 19:53:37 +02:00
imgutils.c lavu: add AV_CEIL_RSHIFT and use it in various places 2016-01-11 15:32:56 -05:00
imgutils.h Replace a few leftover instances of enum PixelFormat with enum AVPixelFormat 2015-03-17 23:53:33 +02:00
internal.h libavutil: move FFALIGN macro from common.h to macros.h 2015-12-14 16:16:55 +01:00
intfloat.h intfloat: Don't use designated initializers in the public headers 2012-07-02 14:05:40 +03:00
intmath.c lavu: add av_ctz() for trailing zero bit count 2012-11-05 15:32:29 -05:00
intmath.h lavu: add av_ctz() for trailing zero bit count 2012-11-05 15:32:29 -05:00
intreadwrite.h intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses 2012-10-23 16:54:08 +02:00
lfg.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
lfg.h Give all anonymously typedeffed structs in headers a name 2012-10-06 09:27:11 +02:00
libavutil.v build: Change structure of the linker version script templates 2016-05-29 16:43:11 +02:00
libm.h libm: add fallbacks for various single-precision functions 2012-10-23 12:00:21 +01:00
lls.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
lls.h libavutil: move FFALIGN macro from common.h to macros.h 2015-12-14 16:16:55 +01:00
log2_tab.c avutil: Duplicate ff_log2_tab instead of sharing it across libs 2012-10-12 20:39:17 +02:00
log.c log: Print a full backtrace along with error messages under Valgrind 2015-04-20 19:20:57 +01:00
log.h log: Introduce a more verbose debug level 2015-04-19 12:41:59 +01:00
lzo.c lzo: Handle integer overflow 2014-06-23 10:20:57 +02:00
lzo.h avutil: Move memcpy_backptr() to mem.c 2012-10-25 11:36:57 +02:00
macros.h libavutil: move FFALIGN macro from common.h to macros.h 2015-12-14 16:16:55 +01:00
Makefile hwcontext: add a QSV implementation 2016-06-21 19:53:37 +02:00
mathematics.c lavu: Drop deprecated av_reverse function 2015-08-28 16:04:27 +02:00
mathematics.h mathematics: Don't use division by zero in NAN/INFINITY macros 2012-07-01 19:06:13 +03:00
md5.c cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
md5.h lavu: Drop deprecated context size variables 2015-08-28 16:04:27 +02:00
mem.c mem: fix pointer pointer aliasing violations 2015-02-01 02:28:40 +01:00
mem.h mem: add av_strndup() for duplicating substrings 2014-08-13 17:24:18 +00:00
opt.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
opt.h cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
parseutils.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
parseutils.h parseutils: Make av_small_strptime public 2015-04-07 12:36:11 +02:00
pixdesc.c pixdesc: Add new SMPTE 431, 432, and 2085 color properties 2016-06-21 09:29:04 -04:00
pixdesc.h pixdesc: Use AV_CEIL_RSHIFT in documentation 2016-01-25 12:02:20 -05:00
pixfmt.h pixdesc: Add new SMPTE 431, 432, and 2085 color properties 2016-06-21 09:29:04 -04:00
random_seed.c cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
random_seed.h doxy: provide a start page and document libavutil 2011-11-22 17:16:02 +01:00
rational.c Remove commented-out #includes 2013-05-15 23:01:21 +02:00
rational.h rational: add av_inv_q() returning the inverse of an AVRational 2012-08-05 17:46:41 +01:00
rc4.c rc4: add av_rc4_alloc() 2015-07-31 09:04:12 +02:00
rc4.h rc4: extend av_rc4_init() doxy 2015-07-31 09:04:12 +02:00
replaygain.h cosmetics: Drop empty comment lines 2016-02-18 15:35:30 +01:00
samplefmt.c samplefmt: avoid integer overflow in av_samples_get_buffer_size() 2014-02-04 12:32:47 -05:00
samplefmt.h cosmetics: Drop empty comment lines 2016-02-18 15:35:30 +01:00
sha.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
sha.h lavu: Drop deprecated context size variables 2015-08-28 16:04:27 +02:00
stereo3d.c stereo3d: Add API to get name from value or value from name 2016-05-17 12:25:27 -04:00
stereo3d.h stereo3d: Add API to get name from value or value from name 2016-05-17 12:25:27 -04:00
thread.h thread: Provide no-op variants for pthread_once 2015-10-14 14:35:34 +02:00
time_internal.h lavu: Provide fallbacks for gmtime_r and localtime_r 2014-10-26 00:14:54 +03:00
time.c lavu: Add av_gettime_relative 2014-10-24 09:53:41 +03:00
time.h lavu: Add av_gettime_relative 2014-10-24 09:53:41 +03:00
timer.h arm64: add cycle counter support 2015-12-14 16:42:35 +01:00
tree.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
tree.h lavu: Drop deprecated context size variables 2015-08-28 16:04:27 +02:00
utils.c lavu: add an API function to return the Libav version string 2015-07-02 23:22:53 +02:00
version.h lavc: export the timestamps when decoding in AVFrame.pts 2016-06-21 19:54:42 +02:00
wchar_filename.h Share the utf8 to wchar conversion routine between lavf and lavu 2014-11-27 09:29:17 +02:00
xtea.c build: Split test programs off into separate files 2016-04-07 16:14:42 +02:00
xtea.h xtea: Add functions for little endian mode 2015-11-13 21:53:54 +02:00