Centralize colorspace and color range handling

This commit is contained in:
Cameron Gutman
2022-09-24 12:28:23 -05:00
parent 78b522ec1d
commit 99885f5b4b
10 changed files with 93 additions and 121 deletions
@@ -49,8 +49,8 @@ private:
int m_TextureAlignment;
int m_DisplayWidth;
int m_DisplayHeight;
AVColorSpace m_LastColorSpace;
AVColorRange m_LastColorRange;
int m_LastColorSpace;
bool m_LastFullRange;
bool m_AllowTearing;