ladybird/Userland/Libraries/LibVideo
Zaggy1024 f6830eaf73 LibVideo: Implement Matroska Cues for faster keyframe lookup
This implements the fastest seeking mode available for tracks with cues
using an array of cue points for each track. It approximates the index
based on the seeking timestamp and then finds the earliest cue point
before the timestamp. The approximation assumes that cues will be on
a regular interval, which I don't believe is always the case, but it
should at least be faster than iterating the whole set of cue points
each time.

Cues are stored per track, but most videos will only have cue points
for the video track(s) that are present. For now, this assumes that it
should only seek based on the cue points for the selected track. To
seek audio in a video file, we should copy the seeked iterator over to
the audio track's iterator after seeking is complete. The iterator will
then skip to the next audio block.
2022-11-25 23:28:39 +01:00
..
Color LibVideo: Treat BT.601/709/2020 input transfer characteristics as sRGB 2022-11-11 11:34:03 +01:00
Containers LibVideo: Implement Matroska Cues for faster keyframe lookup 2022-11-25 23:28:39 +01:00
VP9 LibVideo: Make all VP9 block intermediates stack-allocated arrays 2022-11-25 02:44:18 +03:30
CMakeLists.txt LibVideo: Reorganize demuxer file hierarchy and rename Matroska files 2022-11-25 23:28:39 +01:00
DecoderError.h LibVideo: Allow the VP9 decoder to queue multiple frames 2022-11-12 10:17:27 -07:00
PlaybackManager.cpp LibVideo: Implement Matroska Cues for faster keyframe lookup 2022-11-25 23:28:39 +01:00
PlaybackManager.h LibVideo: Add a fast seeking mode to seek only to keyframes 2022-11-25 23:28:39 +01: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: Abstract media container format demuxing 2022-10-31 14:47:13 +01:00
VideoDecoder.h LibVideo: Change all Span<u8 const> to ReadonlyBytes 2022-11-12 10:17:27 -07:00
VideoFrame.cpp LibVideo: Add VideoFrame class for decoded video frames 2022-10-31 14:47:13 +01:00
VideoFrame.h LibVideo: Add VideoFrame class for decoded video frames 2022-10-31 14:47:13 +01:00