mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:57:35 +00:00
LibVideo/VP9: Fully qualify all reference frame type enum values
Since the enum is used as an index to arrays, it unfortunately can't be converted to an enum class, but at least we can make sure to use it with the qualified enum name to make things a bit clearer.
This commit is contained in:
parent
db9f1a18f8
commit
a4f14f220d
5 changed files with 55 additions and 55 deletions
|
@ -37,9 +37,9 @@ enum InterpolationFilter : u8 {
|
|||
};
|
||||
|
||||
enum ReferenceFrameType : u8 {
|
||||
// 0 is both INTRA_FRAME and NONE because the value's meaning changes depending on which index they're in on the ref_frame array
|
||||
// None represents both INTRA_FRAME and NONE in the spec. When the primary reference
|
||||
// frame type is None, that means that the frame/block is not inter-predicted.
|
||||
None = 0,
|
||||
IntraFrame = 0,
|
||||
LastFrame = 1,
|
||||
GoldenFrame = 2,
|
||||
AltRefFrame = 3,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue