Skip to content

Commit

Permalink
Move D3D vendor constants to a shared header
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Jan 26, 2022
1 parent ba8f394 commit b6c5c74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions decoder/LAVVideo/decoders/dxva2/dxva_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
/* Align dimensions for hardware and codec requirements */
DWORD dxva_align_dimensions(AVCodecID codec, DWORD dim);

#define VEND_ID_ATI 0x1002
#define VEND_ID_NVIDIA 0x10DE
#define VEND_ID_INTEL 0x8086

/* hardware mode description */
typedef struct
{
Expand Down
4 changes: 0 additions & 4 deletions decoder/LAVVideo/decoders/dxva2dec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,6 @@ STDMETHODIMP CDecDXVA2::LoadDXVA2Functions()
return S_OK;
}

#define VEND_ID_ATI 0x1002
#define VEND_ID_NVIDIA 0x10DE
#define VEND_ID_INTEL 0x8086

static const struct
{
unsigned id;
Expand Down

0 comments on commit b6c5c74

Please sign in to comment.