Mark Thompson
2708c8e8ef
hwcontext_vaapi: Set message callbacks on internally-created devices
...
The message callbacks are library-safe in libva2, so we can now use
them.
2017-10-25 00:01:41 +01:00
James Almer
4e9dc52a97
Merge commit '1bd986ed4b0e95ded368a8eeb5c044853c090f9b'
...
* commit '1bd986ed4b0e95ded368a8eeb5c044853c090f9b':
hwcontext: Move NONE to the be the first member of AVHWDeviceType
Merged-by: James Almer <jamrial@gmail.com >
2017-10-24 19:14:22 -03:00
Martin Storsjö
17f5171cd4
arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp
...
This was missed in e2710e790c since those functions weren't exercised
by checkasm.
Signed-off-by: Martin Storsjö <martin@martin.st >
2017-10-24 09:06:56 +03:00
James Almer
572b7a0b85
Merge commit '35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc'
...
* commit '35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc':
lavu: Drop deprecated av_dlog macro
Merged-by: James Almer <jamrial@gmail.com >
2017-10-23 18:20:07 -03:00
James Almer
c0cfc0ce11
Merge commit '619a433eca2c5655c41b799e0b06380020fb1498'
...
* commit '619a433eca2c5655c41b799e0b06380020fb1498':
lavu: Drop deprecated option type
Merged-by: James Almer <jamrial@gmail.com >
2017-10-23 18:18:00 -03:00
James Almer
b773a8d8c1
Merge commit 'dd343fd986459f467a2d1d70c26101dff1d47d68'
...
* commit 'dd343fd986459f467a2d1d70c26101dff1d47d68':
lavu: Drop deprecated VDPAU pixel formats
Merged-by: James Almer <jamrial@gmail.com >
2017-10-23 18:15:49 -03:00
James Almer
b46613dd9b
Merge commit 'dcc39ee10e82833ce24aa57926c00ffeb1948198'
...
* commit 'dcc39ee10e82833ce24aa57926c00ffeb1948198':
lavc: Remove deprecated XvMC support hacks
Merged-by: James Almer <jamrial@gmail.com >
2017-10-23 15:20:49 -03:00
James Almer
8c2b829123
avutil/frame: remove unneccessary metadata pointer getter
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-23 10:58:00 -03:00
Martin Storsjö
f1fd12ef85
lavu/arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp
...
This was missed in e754c8e8 / e2710e790c since those functions
weren't exercised by checkasm.
Fixes ticket #6766 .
2017-10-23 13:29:12 +02:00
Clément Bœsch
2b32031827
lavc: drop VDA
...
Deprecated (aka removed) in OSX 10.11, and we have a replacement for it
(VideoToolbox).
2017-10-23 11:56:15 +02:00
James Almer
90eb0a2180
avutil/tests/hmac: remove superfluous loop
...
The gap in enum values has been removed.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-22 20:25:38 -03:00
James Almer
1eb01cca6f
avutil/hmac: remove gap in AVHMACType enum values
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-22 19:47:05 -03:00
James Almer
382aaa3312
avutil/crc: remove gap in AVCRCId enum values
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-22 00:44:55 -03:00
James Almer
69b5ce64d2
Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5'
...
* commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5':
Bump major versions of all libraries
A few API deprecated ~2 years ago or more are also postponed here for
varying reasons.
FF_API_LOWRES:
Since this functionality depends on AVStream->codec, i figure the two can
be removed at the same time in the next bump or so.
FF_API_AVCTX_TIMEBASE:
Couldn't get this one to work. Not just libavcodec but apparently also
libavformat and ffmpeg.c expect AVCodecContext->time_base to be set for
decoding. Upon removal some tests report a different generic stream time
base (like 1/25), and others lose packet duration values. I guess it's
somehow tied to the AVStream->codec clusterfuck.
It can be dealt with alongside FF_API_LAVF_AVCTX in the next bump.
FF_API_OLD_FILTER_OPTS_ERROR:
This one is meant to remain after FF_API_OLD_FILTER_OPTS is removed.
Its purpose is displaying the corrected command line using the new syntax
as a suggestion as part of the error message.
Merged-by: James Almer <jamrial@gmail.com >
2017-10-21 14:57:53 -03:00
James Almer
072b14f390
Merge commit '8e2346154e6d58b733fd20326ce706f82fd91b3e'
...
* commit '8e2346154e6d58b733fd20326ce706f82fd91b3e':
libavutil: Hook up the rest of the gcc specific attributes to clang as well
Merged-by: James Almer <jamrial@gmail.com >
2017-10-21 14:25:55 -03:00
James Almer
1ba5e456dd
Merge commit '3aa9c523e9cf4f4a5e239ac737281e096c884907'
...
* commit '3aa9c523e9cf4f4a5e239ac737281e096c884907':
libavutil: Define the noreturn attribute for clang in MSVC mode as well
Merged-by: James Almer <jamrial@gmail.com >
2017-10-21 14:21:12 -03:00
James Almer
2904db9045
Merge commit '994c4bc10751e39c7ed9f67ffd0c0dea5223daf2'
...
* commit '994c4bc10751e39c7ed9f67ffd0c0dea5223daf2':
x86util: Port all macros to cpuflags
See d5f8a642f6
Merged-by: James Almer <jamrial@gmail.com >
2017-10-21 12:15:57 -03:00
Martin Storsjö
69ac24e556
aarch64: Get rid of a stray double space
...
The extra space got included as part of the expansion of ELF, which
later interfered with gas-preprocessor which earlier only stripped out
leftover lines starting with '#' if the line started with that char.
Signed-off-by: Martin Storsjö <martin@martin.st >
2017-10-18 10:49:28 +03:00
Diego Biurrun
7ac092d05d
build: CryptGenRandom --> wincrypt, it is a better name
2017-10-12 20:04:18 +02:00
Diego Biurrun
b46900914a
build: Merge mach/mach_time.h and mach_absolute_time() checks
2017-10-12 20:04:16 +02:00
Michael Niedermayer
80154b1b3a
Bump version for master after 3.4 branchpoint
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-10-11 02:45:37 +02:00
Michael Niedermayer
e1de9eab3a
Bump minor versions for branching 3.4
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-10-11 01:23:47 +02:00
Michael Niedermayer
832fc05a9b
avutil/frame: Fix project name
...
Issue introduced in: caa12027ba
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-10-11 00:02:07 +02:00
Kaustubh Raste
af9433b1d6
avcodec/mips: Improve avc bi-weighted mc msa functions
...
Replace generic with block size specific function.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-10-10 23:58:41 +02:00
Diego Biurrun
09c98327b9
build: Drop support for Tru64 Unix (OSF/1)
...
This proprietary Unix flavor dropped from the face of the earth more
than a decade ago. Nothing of value was lost.
2017-10-10 23:17:54 +02:00
James Almer
3d828c9fd5
cpu: split flag checks per arch in av_cpu_max_align()
...
Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2017-10-09 11:48:24 +02:00
Mark Thompson
b2f256a9f5
hwcontext_vaapi: Add support for mapping to DRM objects
...
Uses vaExportSurfaceHandle() from libva2.
2017-10-09 00:46:16 +01:00
Mark Thompson
309d660775
hwcontext: Perform usual initialisation on derived device contexts
...
The initialisation should be common. For libmfx, it was previously
happening in the derivation function and this moves it out. For VAAPI,
it fixes some failures when deriving from a DRM device because this
initialisation did not run.
2017-10-09 00:11:53 +01:00
Mark Thompson
f3602875b3
hwcontext_vaapi: Set message callbacks on internally-created devices
...
The message callbacks are library-safe in libva2, so we can now use
them.
2017-10-09 00:11:53 +01:00
Mark Thompson
5f39788668
hwcontext_vaapi: Factorise out common connection code
...
This was duplicated between normal device creation and creation by
derivation from a DRM device.
2017-10-09 00:11:53 +01:00
Carl Eugen Hoyos
cd01b3cbcf
lavu/opt: Use "&&" instead of "*" in boolean expression.
...
Fixes the following warning:
libavutil/opt.c:101:47: warning: '*' in boolean context, suggest '&&' instead
2017-10-08 23:15:53 +02:00
Carl Eugen Hoyos
d96d65dfeb
lavu/utils: Use "__asm__" like everywhere else in the codebase.
2017-10-08 01:13:16 +02:00
James Almer
7aa6b8a68f
Merge commit '4de220d2e3751c459f8739a08ac6ca52e63eba30'
...
* commit '4de220d2e3751c459f8739a08ac6ca52e63eba30':
frame: allow align=0 (meaning automatic) for av_frame_get_buffer()
See https://ffmpeg.org/pipermail/ffmpeg-devel/2017-September/215834.html
Merged-by: James Almer <jamrial@gmail.com >
2017-09-27 23:31:53 -03:00
James Almer
3b345d389b
avutil/cpu: split flag checks per arch in av_cpu_max_align()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-27 23:10:09 -03:00
James Almer
522f877086
Merge commit 'e6bff23f1e11aefb16a2b5d6ee72bf7469c5a66e'
...
* commit 'e6bff23f1e11aefb16a2b5d6ee72bf7469c5a66e':
cpu: add a function for querying maximum required data alignment
Adapted to work with the arbitrary runtime cpuflag changes av_force_cpu_flags()
can generate.
Merged-by: James Almer <jamrial@gmail.com >
2017-09-27 23:03:57 -03:00
James Almer
1a115a31d4
Merge commit 'ce6d72d10776b03c6780d4aa676414ce002285d4'
...
* commit 'ce6d72d10776b03c6780d4aa676414ce002285d4':
imgutils: Document av_image_get_buffer_size()
Merged-by: James Almer <jamrial@gmail.com >
2017-09-27 20:35:04 -03:00
Kaustubh Raste
10ab5534e0
avcodec/mips: Improve avc weighted mc msa functions
...
Replace generic with block size specific function.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-27 21:15:57 +02:00
Luca Barbato
ccbb31c14b
qsv: Make sure the session is set with the latest version
...
It is needed to have the calls to MFXJoinSession succeed.
2017-09-27 12:27:34 +00:00
James Almer
0c005fa86f
Merge commit '7abdd026df6a9a52d07d8174505b33cc89db7bf6'
...
* commit '7abdd026df6a9a52d07d8174505b33cc89db7bf6':
asm: Consistently uppercase SECTION markers
Merged-by: James Almer <jamrial@gmail.com >
2017-09-26 18:48:06 -03:00
James Almer
318778de9e
Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3'
...
* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3':
Mark some arrays that never change as const.
Merged-by: James Almer <jamrial@gmail.com >
2017-09-26 16:02:40 -03:00
Kaustubh Raste
7f8417f226
avcodec/mips: Improve hevc uni-w copy mc msa functions
...
Load the specific destination bytes instead of MSA load and pack.
Pack the data to half word before clipping.
Use immediate unsigned saturation for clip to max saving one vector register.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-24 02:33:48 +02:00
Vittorio Giovara
6f15f1cdc8
pixdesc: Add API to map color property names to enum values
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2017-09-21 13:33:29 +02:00
Vittorio Giovara
2b50847e0f
pixdesc: Add API to map color property names to enum values
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2017-09-21 13:23:21 +02:00
James Almer
18516d3e69
avutil/hwcontext_dxva2: return an error when buffer allocation fails
...
This also prevents the use of an uninitialized variable.
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-19 19:30:08 -03:00
Mark Thompson
b0ece2b31f
hwcontext_vaapi: Fix DRM format mapping
2017-09-19 22:47:04 +01:00
Michael Niedermayer
0f5576a22b
avutil/imgutils: Fix warning: missing braces around initializer
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-16 19:55:03 +02:00
Kaustubh Raste
1a85fb7e1e
avcodec/mips: Improve hevc sao band filter msa functions
...
Preload data in band filter 0-8 for better pipeline parallelization.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-15 22:36:42 +02:00
Jun Zhao
197d298ab3
hwcontext_vaapi: Fix build failure with old libdrm
...
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
Signed-off-by: Mark Thompson <sw@jkqxz.net >
2017-09-14 22:42:51 +01:00
Mark Thompson
170c65335c
hwcontext_vaapi: Add DRM to VAAPI mapping
2017-09-13 22:25:25 +01:00
Mark Thompson
9cb23cd9fe
lavu: Add DRM hwcontext
2017-09-13 22:03:27 +01:00