1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 10:37:34 +00:00
serenity/Userland/Libraries/LibVideo
Zaggy1024 57c7389200 LibVideo/VP9: Fix rounding of components in the motion vector selection
The division in the `round_mv_...()` functions contained in the motion
vector selection process was done by bit shifting right. However, since
bit shifting negative values will truncate towards the negative end, it
was flooring instead of rounding.

This changes it to match the spec and rely on the compiler to simplify
down to a bit shift.
2023-04-25 17:44:36 -04:00
..
Color LibVideo: Add a video_full_range_flag_to_string() function 2023-02-09 16:35:08 +00:00
Containers LibVideo/Matroska: Remove assertion that cue seeks find earlier samples 2023-04-14 12:05:52 +01:00
VP9 LibVideo/VP9: Fix rounding of components in the motion vector selection 2023-04-25 17:44:36 -04:00
CMakeLists.txt LibVideo/VP9: Implement threaded tile column decoding 2023-04-23 23:14:30 +02:00
DecoderError.h LibVideo: Add a forwarding header 2023-04-09 23:55:05 +02:00
Forward.h LibVideo: Add a forwarding header 2023-04-09 23:55:05 +02:00
PlaybackManager.cpp LibVideo: Remove hook to override LibVideo's playback timers 2023-04-25 18:02:22 +02:00
PlaybackManager.h LibVideo: Remove hook to override LibVideo's playback timers 2023-04-25 18:02:22 +02:00
Sample.h LibVideo: Read Matroska lazily so that large files can start quickly 2022-11-25 23:28:39 +01:00
Track.h LibVideo: Add a forwarding header 2023-04-09 23:55:05 +02:00
VideoDecoder.h LibVideo: Change all Span<u8 const> to ReadonlyBytes 2022-11-12 10:17:27 -07:00
VideoFrame.cpp AK: Remove try_ prefix from FixedArray creation functions 2023-01-28 22:41:36 +01:00
VideoFrame.h LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00