mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Issue #2101 - Part 1: Add mColorRange info to YCbCrBuffer
https://hg.mozilla.org/integration/autoland/rev/6f4c7904cda8
This commit is contained in:
parent
3e62b1fc9f
commit
c0c76cd455
2 changed files with 7 additions and 0 deletions
|
|
@ -449,6 +449,7 @@ public:
|
||||||
|
|
||||||
Plane mPlanes[3];
|
Plane mPlanes[3];
|
||||||
YUVColorSpace mYUVColorSpace = YUVColorSpace::BT601;
|
YUVColorSpace mYUVColorSpace = YUVColorSpace::BT601;
|
||||||
|
ColorRange mColorRange = ColorRange::LIMITED;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Constructs a VideoData object. If aImage is nullptr, creates a new Image
|
// Constructs a VideoData object. If aImage is nullptr, creates a new Image
|
||||||
|
|
|
||||||
|
|
@ -123,6 +123,12 @@ enum class YUVColorSpace {
|
||||||
UNKNOWN,
|
UNKNOWN,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum class ColorRange {
|
||||||
|
LIMITED,
|
||||||
|
FULL,
|
||||||
|
UNKNOWN,
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace mozilla
|
} // namespace mozilla
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue