mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
LibVideo: Allow the VP9 decoder to decode ultra high resolution video
Previously, some integer overflows and truncations were causing parsing errors for 4K videos, with those fixed it can fully decode 8K video. This adds a test to ensure that 4K video will continue to be decoded. Note: There seems to be unexpectedly high memory usage while decoding them, causing 8K video to require more than a gigabyte of RAM. (!!!)
This commit is contained in:
parent
f894e8be62
commit
41cb705b47
6 changed files with 21 additions and 9 deletions
|
@ -141,7 +141,7 @@ private:
|
|||
void scale_mv(u8 ref_list, ReferenceFrame ref_frame);
|
||||
void add_mv_ref_list(u8 ref_list);
|
||||
|
||||
Gfx::Point<size_t> get_decoded_point_for_plane(u8 row, u8 column, u8 plane);
|
||||
Gfx::Point<size_t> get_decoded_point_for_plane(u32 row, u32 column, u8 plane);
|
||||
Gfx::Size<size_t> get_decoded_size_for_plane(u8 plane);
|
||||
|
||||
u8 m_profile { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue