mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-21 02:22:51 +00:00
This adds a new WorkerThread class to run one task asynchronously, and allow waiting for that thread to finish its work. TileContexts are placed into multiple tile column vectors with their streams to read from pre-created. Once those are ready, the threads can start their work on each vector separately. The main thread waits for those tasks to finish, then sums up the syntax element counts for each tile that was decoded.
18 lines
498 B
CMake
18 lines
498 B
CMake
set(SOURCES
|
|
Color/ColorConverter.cpp
|
|
Color/ColorPrimaries.cpp
|
|
Color/TransferCharacteristics.cpp
|
|
Containers/Matroska/MatroskaDemuxer.cpp
|
|
Containers/Matroska/Reader.cpp
|
|
PlaybackManager.cpp
|
|
VideoFrame.cpp
|
|
VP9/BooleanDecoder.cpp
|
|
VP9/Decoder.cpp
|
|
VP9/Parser.cpp
|
|
VP9/ProbabilityTables.cpp
|
|
VP9/SyntaxElementCounter.cpp
|
|
VP9/TreeParser.cpp
|
|
)
|
|
|
|
serenity_lib(LibVideo video)
|
|
target_link_libraries(LibVideo PRIVATE LibAudio LibCore LibIPC LibGfx LibThreading)
|