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

LibVideo/VP9: Specify which spec section defines certain behaviors

This commit is contained in:
FalseHonesty 2021-06-26 13:31:34 -04:00 committed by Andreas Kling
parent ce524214c9
commit 91572a49c4
6 changed files with 51 additions and 36 deletions

View file

@ -22,6 +22,7 @@ Decoder::Decoder()
{
}
/* (6.1) */
bool Decoder::parse_frame(ByteBuffer const& frame_data)
{
m_bit_stream = make<BitStream>(frame_data.data(), frame_data.size());
@ -49,6 +50,7 @@ bool Decoder::parse_frame(ByteBuffer const& frame_data)
return true;
}
/* (6.2) */
bool Decoder::uncompressed_header()
{
auto frame_marker = m_bit_stream->read_f(2);