diff options
author | Zaggy1024 <zaggy1024@gmail.com> | 2022-11-25 20:45:56 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-11-30 08:28:30 +0100 |
commit | facb779b995c36cf47a310851f54d55b08e63834 (patch) | |
tree | c8265f3af57316f5f480aa2cedd03d05de182c24 /Userland/Libraries/LibVideo/VP9/Symbols.h | |
parent | 062da60443b64803921dcd23ac8c169737e8ed93 (diff) | |
download | serenity-facb779b995c36cf47a310851f54d55b08e63834.zip |
LibVideo/VP9: Replace (DCT|ADST)_(DCT_ADST) with struct TransformSet
Those previous constants were only set and used to select the first and
second transforms done by the Decoder class. By turning it into a
struct, we can make the code a bit more legible while keeping those
transform modes the same size as before or smaller.
Diffstat (limited to 'Userland/Libraries/LibVideo/VP9/Symbols.h')
-rw-r--r-- | Userland/Libraries/LibVideo/VP9/Symbols.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Libraries/LibVideo/VP9/Symbols.h b/Userland/Libraries/LibVideo/VP9/Symbols.h index 6a8cfcbff8..2f2d6af4ad 100644 --- a/Userland/Libraries/LibVideo/VP9/Symbols.h +++ b/Userland/Libraries/LibVideo/VP9/Symbols.h @@ -43,10 +43,6 @@ namespace Video::VP9 { #define PARTITION_TYPES 4 #define TX_SIZES 4 #define TX_MODES 5 -#define DCT_DCT 0 -#define ADST_DCT 1 -#define DCT_ADST 2 -#define ADST_ADST 3 #define MB_MODE_COUNT 14 #define INTRA_MODES 10 #define INTER_MODES 4 |