summaryrefslogtreecommitdiff
path: root/libavcodec/svq1.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-11 00:24:20 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-14 16:14:24 +0200
commit42bde73b20b9fe8924df8640db80f245993bb247 (patch)
tree9af9a25872f7ee29bfe1632fa1fe26d60442bfae /libavcodec/svq1.h
parentbf64a75c5ae58ed575303f70b2ab9b2208ded339 (diff)
downloadffmpeg-42bde73b20b9fe8924df8640db80f245993bb247.tar.gz
avcodec/svq1enc: Inline constants
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/svq1.h')
-rw-r--r--libavcodec/svq1.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/svq1.h b/libavcodec/svq1.h
index 0ebc73a933..af8a7dfa04 100644
--- a/libavcodec/svq1.h
+++ b/libavcodec/svq1.h
@@ -42,6 +42,13 @@
#define SVQ1_BLOCK_INTER_4V 2
#define SVQ1_BLOCK_INTRA 3
+#define SVQ1_BLOCK_SKIP_CODE 1
+#define SVQ1_BLOCK_SKIP_LEN 1
+#define SVQ1_BLOCK_INTER_CODE 1
+#define SVQ1_BLOCK_INTER_LEN 2
+#define SVQ1_BLOCK_INTRA_CODE 0
+#define SVQ1_BLOCK_INTRA_LEN 3
+
extern const int8_t *const ff_svq1_inter_codebooks[6];
extern const int8_t *const ff_svq1_intra_codebooks[6];