Skip to content

Commit

Permalink
video: move d3d.c out of decode sub directory
Browse files Browse the repository at this point in the history
It makes more sense to have it in the general video directory (along
with vdpau.c and vaapi.c), since the decoder source files don't even
access it anymore.
  • Loading branch information
wm4 committed Dec 1, 2017
1 parent 1e44540 commit 9f52a92
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion video/out/d3d11/hwdec_d3d11va.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "options/m_config.h"
#include "osdep/windows_utils.h"
#include "video/hwdec.h"
#include "video/decode/d3d.h"
#include "video/d3d.h"
#include "video/out/d3d11/ra_d3d11.h"
#include "video/out/gpu/hwdec.h"

Expand Down
2 changes: 1 addition & 1 deletion video/out/opengl/hwdec_d3d11egl.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "video/out/gpu/hwdec.h"
#include "ra_gl.h"
#include "video/hwdec.h"
#include "video/decode/d3d.h"
#include "video/d3d.h"

#ifndef EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE
#define EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE 0x33AB
Expand Down
2 changes: 1 addition & 1 deletion video/out/opengl/hwdec_d3d11eglrgb.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "video/out/gpu/hwdec.h"
#include "ra_gl.h"
#include "video/hwdec.h"
#include "video/decode/d3d.h"
#include "video/d3d.h"

#ifndef EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE
#define EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE 0x3AAB
Expand Down
2 changes: 1 addition & 1 deletion video/out/opengl/hwdec_dxva2egl.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "video/out/gpu/hwdec.h"
#include "ra_gl.h"
#include "video/hwdec.h"
#include "video/decode/d3d.h"
#include "video/d3d.h"

struct priv_owner {
struct mp_hwdec_ctx hwctx;
Expand Down
2 changes: 1 addition & 1 deletion video/out/opengl/hwdec_dxva2gldx.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "video/out/gpu/hwdec.h"
#include "ra_gl.h"
#include "video/hwdec.h"
#include "video/decode/d3d.h"
#include "video/d3d.h"

// for WGL_ACCESS_READ_ONLY_NV
#include <GL/wglext.h>
Expand Down
2 changes: 1 addition & 1 deletion wscript_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def build(ctx):

## Video
( "video/csputils.c" ),
( "video/d3d.c", "d3d-hwaccel" ),
( "video/fmt-conversion.c" ),
( "video/image_loader.c" ),
( "video/image_writer.c" ),
Expand All @@ -361,7 +362,6 @@ def build(ctx):
( "video/vaapi.c", "vaapi" ),
( "video/vdpau.c", "vdpau" ),
( "video/vdpau_mixer.c", "vdpau" ),
( "video/decode/d3d.c", "d3d-hwaccel" ),
( "video/decode/dec_video.c"),
( "video/decode/hw_mediacodec.c", "android" ),
( "video/decode/vd_lavc.c" ),
Expand Down

0 comments on commit 9f52a92

Please sign in to comment.