---
libavutil/hwcontext_qsv.c | 122 +++---
1 file changed, 93 insertions(+), 29 deletions(-)
diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c
index 3409e9b97..2d202017d 100644
--- a/libavutil/hwcontext_qsv.c
+++ b/libavutil/hwcontext_qsv.
---
configure | 1 +
libavfilter/Makefile| 1 +
libavfilter/allfilters.c| 1 +
libavfilter/vf_opencl_program.c | 259
4 files changed, 262 insertions(+)
create mode 100644 libavfilter/vf_opencl_program.c
dif
---
avtools/Makefile | 1 -
avtools/avconv.h | 1 -
avtools/avconv_opt.c | 4 +-
avtools/avconv_vdpau.c | 159 -
4 files changed, 2 insertions(+), 163 deletions(-)
delete mode 100644 avtools/avconv_vdpau.c
diff --git a/avtools/M
---
libavutil/hwcontext_qsv.c | 39 +--
1 file changed, 37 insertions(+), 2 deletions(-)
diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c
index a2506103a..40837a33d 100644
--- a/libavutil/hwcontext_qsv.c
+++ b/libavutil/hwcontext_qsv.c
@@ -583
---
libavfilter/opencl.c | 244 +++
libavfilter/opencl.h | 73 +++
2 files changed, 317 insertions(+)
create mode 100644 libavfilter/opencl.c
create mode 100644 libavfilter/opencl.h
diff --git a/libavfilter/opencl.c b/libavfilter/open
Factorises out existing surface initialisation code to reuse.
---
libavutil/hwcontext_qsv.c | 174 +-
1 file changed, 142 insertions(+), 32 deletions(-)
diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c
index 2d202017d..a2506103a 100644
---
configure |5 +-
doc/APIchanges |4 +
libavutil/Makefile |2 +
libavutil/hwcontext.c |4 +
libavutil/hwcontext.h |1 +
libavutil/hwcontext_internal.h |1 +
libavutil/hwcontext_opencl.c | 1182 +
From: wm4
This "reuses" the flags introduced for the av_vdpau_bind_context() API
function, and makes them available to all hwaccels. This does not affect
the current vdpau API, as av_vdpau_bind_context() should obviously
override the AVCodecContext.hwaccel_flags flags for the sake of
compatibilit
Use the flags argument of av_hwframe_ctx_create_derived() to pass the
mapping flags which will be used on allocation. Also, set the format
and hardware context on the allocated frame automatically - the user
should not be required to do this themselves.
---
libavutil/hwcontext.c | 14 +++
---
libavcodec/qsvdec.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index 96526a100..2c90436a1 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -42,7 +42,7 @@
#include "qsvdec.h"
static int qsv_ini
---
libavcodec/qsvenc.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index b2f2b4db7..bd8c24321 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -693,6 +693,13 @@ static int qsvenc_init_session(AVCodecContext *avctx,
QSVEncConte
Currently works only with RGBA on top of NV12 in BT.601.
---
configure | 1 +
libavfilter/Makefile| 1 +
libavfilter/allfilters.c| 1 +
libavfilter/opencl/overlay.cl | 125
libavfilter/vf_overlay_opencl.c | 314
Adds functions to convert to/from strings and a function to iterate
over all supported device types. Also adds a new invalid type
AV_HWDEVICE_TYPE_NONE, which acts as a sentinel value.
---
libavutil/hwcontext.c | 46 ++
libavutil/hwcontext.h | 28 ++
---
doc/APIchanges | 3 +++
libavutil/pixdesc.c | 4
libavutil/pixfmt.h | 7 +++
libavutil/version.h | 2 +-
4 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 1e84c3803..253454358 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@
This is something of a hack. It allocates a new hwframe context for
the target format, then maps it back to the source link and overwrites
the input link hw_frames_ctx so that the previous filter will receive
the frames we want from ff_get_video_buffer(). It may fail if
the previous filter impose
Uses the cl_intel_va_api_media_sharing extension, which supports only
NV12 surfaces and only mapping from QSV to OpenCL.
---
configure| 5 +
libavutil/hwcontext_opencl.c | 262 +++
2 files changed, 267 insertions(+)
diff --git a/config
From: wm4
This supports retrieving the device from a provided hw_frames_ctx, and
automatically creating a hw_frames_ctx if hw_device_ctx is set.
The old API is not deprecated yet. The user can still use
av_vdpau_bind_context() (with or without setting hw_frames_ctx), or use
the API before that b
Supports all surface formats that the OpenCL hwcontext does, with
mapping in both direction.
---
configure | 6 +
libavutil/hwcontext_internal.h | 3 +
libavutil/hwcontext_opencl.c | 421 +
libavutil/hwcontext_vaapi.c| 9 +
4
Notable changes since last time:
* Added more convenience functions for enum AVHWDeviceType [2].
* Removed the device table from avconv, made that setup a bit cleaner [3].
* Added hw_device_ctx support to QSV (for non-hwaccel cases, hwaccel qsvdec
still todo if wanted) [8-10].
* QSV mapping also
---
avtools/Makefile | 1 -
avtools/avconv.h | 2 -
avtools/avconv_opt.c | 20 -
avtools/avconv_vaapi.c | 231 -
4 files changed, 16 insertions(+), 238 deletions(-)
delete mode 100644 avtools/avconv_vaapi.c
diff --git a/avtoo
Creates a new device context from another of a different type which
refers to the same underlying hardware.
---
libavutil/hwcontext.c | 65 ++
libavutil/hwcontext.h | 26 +
libavutil/hwcontext_internal.h | 8 ++
3 files
---
libavcodec/qsv.c | 49 ---
libavcodec/qsv_internal.h | 9 ++---
libavcodec/qsvdec.c | 6 +++---
libavcodec/qsvenc.c | 6 +++---
4 files changed, 46 insertions(+), 24 deletions(-)
diff --git a/libavcodec/qsv.c b/libavcodec
Some frames contexts are not usable without additional format-specific
state in hwctx. This adds new functions map_frames_from and
map_frames_to to set this up appropriately when deriving a frames
context which will require it to be set.
---
libavutil/hwcontext.c | 9 -
libavutil
This only supports one device globally, but more can be used by
passing them with input streams in hw_frames_ctx or by deriving new
devices inside a filter graph with hwmap.
---
avtools/avconv.h| 1 +
avtools/avconv_filter.c | 10 --
avtools/avconv_opt.c| 21 ++
Not yet enabled for any hwaccels.
---
avtools/Makefile | 3 +-
avtools/avconv.c | 22 +++
avtools/avconv.h | 17 +++
avtools/avconv_hw.c | 386 +++
avtools/avconv_opt.c | 33 -
5 files changed, 455 insertions(+), 6 deletions(-)
Also refactor a little and improve error messages to make failure
cases easier to understand.
---
libavfilter/vf_hwmap.c | 67 +++---
1 file changed, 52 insertions(+), 15 deletions(-)
diff --git a/libavfilter/vf_hwmap.c b/libavfilter/vf_hwmap.c
index 11
26 matches
Mail list logo