avcodec/d3d12va_mpeg2|vc1: remove the unused macros

These macros are no longer used. Remove them.

Signed-off-by: Tong Wu <tong1.wu@intel.com>
release/7.0
Tong Wu 1 year ago committed by Haihao Xiang
parent 8b41e9cfbe
commit 8c99a1429a
  1. 4
      libavcodec/d3d12va_mpeg2.c
  2. 4
      libavcodec/d3d12va_vc1.c

@ -31,10 +31,6 @@
#define MAX_SLICES 1024
#define INVALID_REF 0xffff
#define REF_RESOURCE(index) if (index != INVALID_REF) { \
ctx->ref_resources[index] = frames_hwctx->texture_infos[index].texture; \
}
typedef struct D3D12DecodePictureContext {
DXVA_PictureParameters pp;
DXVA_QmatrixData qm;

@ -33,10 +33,6 @@
#define MAX_SLICES 1024
#define INVALID_REF 0xffff
#define REF_RESOURCE(index) if (index != INVALID_REF) { \
ctx->ref_resources[index] = frames_hwctx->texture_infos[index].texture; \
}
typedef struct D3D12DecodePictureContext {
DXVA_PictureParameters pp;
unsigned slice_count;

Loading…
Cancel
Save