1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

LibVideo/VP9: Rename Decoder -> Parser & create an actual Decoder class

The class that was previously named Decoder handled section 6.X.X of
the spec, which actually deals with parsing out the syntax of the data,
not the actual decoding logic which is specified in section 8.X.X.
The new Decoder class will be in charge of owning and running the
Parser, as well as implementing all of the decoding behavior.
This commit is contained in:
FalseHonesty 2021-06-26 17:10:14 -04:00 committed by Andreas Kling
parent 66628053d4
commit 514559f074
8 changed files with 1464 additions and 1405 deletions

View file

@ -43,8 +43,8 @@ int main(int argc, char** argv)
auto const& frame = block.frame(0);
dbgln("Reading frame 0 from block @ {}", block.timestamp());
vp9_decoder.parse_frame(frame);
vp9_decoder.dump_info();
vp9_decoder.decode_frame(frame);
vp9_decoder.dump_frame_info();
}
}