mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
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.
This commit is contained in:
parent
ba79de0439
commit
cd127b65c3
15 changed files with 935 additions and 18 deletions
|
@ -25,6 +25,8 @@ enum class DecoderErrorCategory : u32 {
|
|||
Memory,
|
||||
// The input is corrupted.
|
||||
Corrupted,
|
||||
// Invalid call.
|
||||
Invalid,
|
||||
// The input uses features that are not yet implemented.
|
||||
NotImplemented,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue