mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:47:34 +00:00
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.
This commit is contained in:
parent
062da60443
commit
facb779b99
9 changed files with 65 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue