mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:47:34 +00:00
LibVideo: Rename "ColorRange" to "VideoFullRangeFlag"
That matches the terminology used in ITU-T Rec. H.273, PNG's cICP chunk, and the ICC cicpTag. Also change the enum values to match the values in the spec -- 0 means "not full range" and 1 means "full range". (For now, keep the "Unspecified" entry around, and give it value 2. This value is not in the spec.) No intended behavior change.
This commit is contained in:
parent
49474d8718
commit
89b98830f6
7 changed files with 29 additions and 29 deletions
|
@ -241,7 +241,7 @@ struct SegmentFeature {
|
|||
struct ColorConfig {
|
||||
u8 bit_depth { 8 };
|
||||
ColorSpace color_space { ColorSpace::Bt601 };
|
||||
ColorRange color_range { ColorRange::Studio };
|
||||
VideoFullRangeFlag color_range { VideoFullRangeFlag::Studio };
|
||||
bool subsampling_x { true };
|
||||
bool subsampling_y { true };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue