aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dxvenc.c
diff options
context:
space:
mode:
authorConnor Worley <connorbworley@gmail.com>2024-02-10 14:58:45 -0800
committerLynne <dev@lynne.ee>2024-02-11 00:40:06 +0100
commit939bf30d8275ed13f76f31ae6629bdd4b4d53838 (patch)
tree370aaef5e27a143d199ae0e8acd2d1e8b1feb458 /libavcodec/dxvenc.c
parent5e2b0862eb1d408625232b37b7a2420403cd498f (diff)
downloadffmpeg-939bf30d8275ed13f76f31ae6629bdd4b4d53838.tar.gz
lavc/dxv: move tag definitions to common header
Signed-off-by: Connor Worley <connorbworley@gmail.com>
Diffstat (limited to 'libavcodec/dxvenc.c')
-rw-r--r--libavcodec/dxvenc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavcodec/dxvenc.c b/libavcodec/dxvenc.c
index 33a18d53d8..bb2c2f8526 100644
--- a/libavcodec/dxvenc.c
+++ b/libavcodec/dxvenc.c
@@ -27,6 +27,7 @@
#include "bytestream.h"
#include "codec_internal.h"
+#include "dxv.h"
#include "encode.h"
#include "texturedsp.h"
@@ -40,10 +41,6 @@
#define LOOKBACK_HT_ELEMS 0x40000
#define LOOKBACK_WORDS 0x20202
-enum DXVTextureFormat {
- DXV_FMT_DXT1 = MKBETAG('D', 'X', 'T', '1'),
-};
-
typedef struct HTEntry {
uint32_t key;
uint32_t pos;
@@ -120,7 +117,7 @@ typedef struct DXVEncContext {
TextureDSPThreadContext enc;
- enum DXVTextureFormat tex_fmt;
+ DXVTextureFormat tex_fmt;
int (*compress_tex)(AVCodecContext *avctx);
const AVCRC *crc_ctx;