Handle chroma co-siting in the D3D11 shaders

This commit is contained in:
Cameron Gutman
2025-11-01 22:42:51 -05:00
parent 9b3050514b
commit f67272b153
15 changed files with 129 additions and 132 deletions
@@ -28,8 +28,6 @@ public:
enum PixelShaders {
GENERIC_YUV_420,
BT_601_LIMITED_YUV_420,
BT_2020_LIMITED_YUV_420,
GENERIC_AYUV,
GENERIC_Y410,
_COUNT
@@ -72,6 +70,8 @@ private:
DECODER_PARAMETERS m_DecoderParams;
int m_TextureAlignment;
DXGI_FORMAT m_TextureFormat;
UINT m_TextureWidth;
UINT m_TextureHeight;
int m_DisplayWidth;
int m_DisplayHeight;
int m_LastColorSpace;