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

LibVideo: Change all Span<u8 const> to ReadonlyBytes

This commit is contained in:
Zaggy1024 2022-11-04 18:00:09 -05:00 committed by Andrew Kaster
parent 72ed286e16
commit 40b0bb0914
7 changed files with 11 additions and 11 deletions

View file

@ -33,13 +33,13 @@ class Parser {
public:
explicit Parser(Decoder&);
~Parser();
DecoderErrorOr<void> parse_frame(Span<const u8>);
DecoderErrorOr<void> parse_frame(ReadonlyBytes);
void dump_info();
private:
/* Annex B: Superframes are a method of storing multiple coded frames into a single chunk
* See also section 5.26. */
Vector<size_t> parse_superframe_sizes(Span<const u8>);
Vector<size_t> parse_superframe_sizes(ReadonlyBytes);
DecoderErrorOr<FrameType> read_frame_type();
DecoderErrorOr<ColorRange> read_color_range();