[GMP] Factor out more detailed CheckDimensions function for CreateFrame.

This commit is contained in:
Moonchild 2024-10-02 10:34:38 +02:00 • committed by roytam1
commit b848a924bc
2 changed files with 33 additions and 5 deletions

View file

@ -65,6 +65,9 @@ public:
void ResetSize() override;
private:
bool CheckDimensions(int32_t aWidth, int32_t aHeight, int32_t aStride_y,
int32_t aStride_u, int32_t aStride_v, int32_t aSize_y,
int32_t aSize_u, int32_t aSize_v);
bool CheckDimensions(int32_t aWidth, int32_t aHeight,
int32_t aStride_y, int32_t aStride_u, int32_t aStride_v);