mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:07:46 +00:00
LibVideo/VP9: Implement threaded tile column decoding
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.
This commit is contained in:
parent
ba5bf412e5
commit
036eb82aca
4 changed files with 70 additions and 9 deletions
|
@ -15,4 +15,4 @@ set(SOURCES
|
|||
)
|
||||
|
||||
serenity_lib(LibVideo video)
|
||||
target_link_libraries(LibVideo PRIVATE LibAudio LibCore LibIPC LibGfx)
|
||||
target_link_libraries(LibVideo PRIVATE LibAudio LibCore LibIPC LibGfx LibThreading)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue