dxva2-Video_Decoder: Use a bigger estimation for the maximum slice size (required for some HD videos).

This commit is contained in:
Sebastian Lackner 2015-03-21 20:31:54 +01:00
parent b0cf640a90
commit d1451cd34f

View File

@ -88,7 +88,7 @@ index 0000000..1a5817e
+
+static inline UINT estimate_maximum_slice_size( UINT width, UINT height )
+{
+ return (2 * width * height * min(width, height)) / max(width, height);
+ return (3 * width * height * min(width, height)) / max(width, height);
+}
+
+typedef struct