Create RefType enum.
Moves all functions that previously used usize to this type. Instead of direct conversions to a slot number, use a to_index fn. This also changes the size of the global mv state and context ref counting arrays as they don't need LAST_FRAME.
Showing
- src/context.rs 61 additions, 50 deletionssrc/context.rs
- src/deblock.rs 2 additions, 2 deletionssrc/deblock.rs
- src/encoder.rs 13 additions, 12 deletionssrc/encoder.rs
- src/header.rs 1 addition, 1 deletionsrc/header.rs
- src/me.rs 16 additions, 15 deletionssrc/me.rs
- src/partition.rs 51 additions, 18 deletionssrc/partition.rs
- src/rdo.rs 13 additions, 12 deletionssrc/rdo.rs
Loading
Please register or sign in to comment