summaryrefslogtreecommitdiffstats
path: root/video/decode/hw_d3d11va.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-01 08:13:24 +0100
committerwm4 <wm4@nowhere>2017-12-01 17:58:56 +0100
commit1e4454090683b4cbc20f4422a531eb363ad76092 (patch)
tree8dc8e95551fac84ba48b47fe22c67ea414e9cc33 /video/decode/hw_d3d11va.c
parentb89f5084cc58362f53220b8135808bf6b1048962 (diff)
downloadmpv-1e4454090683b4cbc20f4422a531eb363ad76092.tar.bz2
mpv-1e4454090683b4cbc20f4422a531eb363ad76092.tar.xz
vd_lavc: delete hw_d3d11va.c/hw_dxva2.c and merge leftovers
Like with all hwaccels, there's little that is actually specific to decoding (which has been moved away anyway), and what is left are declarations (which will also go away soon).
Diffstat (limited to 'video/decode/hw_d3d11va.c')
-rw-r--r--video/decode/hw_d3d11va.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/video/decode/hw_d3d11va.c b/video/decode/hw_d3d11va.c
deleted file mode 100644
index 76af9a52a9..0000000000
--- a/video/decode/hw_d3d11va.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * This file is part of mpv.
- *
- * mpv is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * mpv is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with mpv. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include <libavcodec/d3d11va.h>
-#include <libavutil/mem.h>
-
-#include "config.h"
-
-#include "lavc.h"
-#include "common/common.h"
-#include "common/av_common.h"
-#include "osdep/windows_utils.h"
-#include "video/fmt-conversion.h"
-#include "video/mp_image_pool.h"
-#include "video/hwdec.h"
-
-#include "d3d.h"
-
-#include <libavutil/hwcontext.h>
-#include <libavutil/hwcontext_d3d11va.h>
-
-
-const struct vd_lavc_hwdec mp_vd_lavc_d3d11va = {
- .type = HWDEC_D3D11VA,
- .image_format = IMGFMT_D3D11VA,
- .generic_hwaccel = true,
- .set_hwframes = true,
-};
-
-const struct vd_lavc_hwdec mp_vd_lavc_d3d11va_copy = {
- .type = HWDEC_D3D11VA_COPY,
- .copying = true,
- .image_format = IMGFMT_D3D11VA,
- .generic_hwaccel = true,
- .create_standalone_dev = true,
- .create_standalone_dev_type = AV_HWDEVICE_TYPE_D3D11VA,
- .set_hwframes = true,
- .delay_queue = HWDEC_DELAY_QUEUE_COUNT,
-};