mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
LibVideo: Change all Span<u8 const> to ReadonlyBytes
This commit is contained in:
parent
72ed286e16
commit
40b0bb0914
7 changed files with 11 additions and 11 deletions
|
@ -19,7 +19,7 @@ Decoder::Decoder()
|
|||
{
|
||||
}
|
||||
|
||||
DecoderErrorOr<void> Decoder::receive_sample(Span<u8 const> chunk_data)
|
||||
DecoderErrorOr<void> Decoder::receive_sample(ReadonlyBytes chunk_data)
|
||||
{
|
||||
auto superframe_sizes = m_parser->parse_superframe_sizes(chunk_data);
|
||||
|
||||
|
@ -52,7 +52,7 @@ inline size_t index_from_row_and_column(u32 row, u32 column, u32 stride)
|
|||
return row * stride + column;
|
||||
}
|
||||
|
||||
DecoderErrorOr<void> Decoder::decode_frame(Span<u8 const> frame_data)
|
||||
DecoderErrorOr<void> Decoder::decode_frame(ReadonlyBytes frame_data)
|
||||
{
|
||||
// 1. The syntax elements for the coded frame are extracted as specified in sections 6 and 7. The syntax
|
||||
// tables include function calls indicating when the block decode processes should be triggered.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue