summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVideo/CMakeLists.txt
diff options
context:
space:
mode:
authorZaggy1024 <zaggy1024@gmail.com>2022-10-10 05:03:57 -0500
committerAndreas Kling <kling@serenityos.org>2022-10-25 11:06:11 +0200
commitcd127b65c3ebf26f8ff4ceab15fc1c3f26cd4c68 (patch)
treea93d79285b3f2999ba697779bdb9a45b338bea05 /Userland/Libraries/LibVideo/CMakeLists.txt
parentba79de0439ff797c3e922c5908d3ad60eafbdb43 (diff)
downloadserenity-cd127b65c3ebf26f8ff4ceab15fc1c3f26cd4c68.zip
LibVideo: Implement CICP color space conversion
This adds a struct called CodingIndependentCodePoints and related enums that are used by video codecs to define its color space that frames must be converted from when displaying a video. Pre-multiplied matrices and lookup tables are stored to avoid most of the floating point division and exponentiation in the conversion.
Diffstat (limited to 'Userland/Libraries/LibVideo/CMakeLists.txt')
-rw-r--r--Userland/Libraries/LibVideo/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibVideo/CMakeLists.txt b/Userland/Libraries/LibVideo/CMakeLists.txt
index 5da617f954..deffad34be 100644
--- a/Userland/Libraries/LibVideo/CMakeLists.txt
+++ b/Userland/Libraries/LibVideo/CMakeLists.txt
@@ -1,4 +1,7 @@
set(SOURCES
+ Color/ColorConverter.cpp
+ Color/ColorPrimaries.cpp
+ Color/TransferCharacteristics.cpp
MatroskaReader.cpp
VP9/BitStream.cpp
VP9/Decoder.cpp