mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +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
|
@ -28,7 +28,7 @@ public:
|
|||
Decoder();
|
||||
~Decoder() override { }
|
||||
/* (8.1) General */
|
||||
DecoderErrorOr<void> receive_sample(Span<u8 const>) override;
|
||||
DecoderErrorOr<void> receive_sample(ReadonlyBytes) override;
|
||||
void dump_frame_info();
|
||||
|
||||
DecoderErrorOr<NonnullOwnPtr<VideoFrame>> get_decoded_frame() override;
|
||||
|
@ -36,7 +36,7 @@ public:
|
|||
private:
|
||||
typedef i32 Intermediate;
|
||||
|
||||
DecoderErrorOr<void> decode_frame(Span<u8 const>);
|
||||
DecoderErrorOr<void> decode_frame(ReadonlyBytes);
|
||||
DecoderErrorOr<void> create_video_frame();
|
||||
|
||||
DecoderErrorOr<void> allocate_buffers();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue