include: Add IMFVideoProcessorControl3 definition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-08-02 13:05:52 +03:00 committed by Alexandre Julliard
parent 68d75bbded
commit 1c2b728ae3
1 changed files with 42 additions and 0 deletions

View File

@ -1231,6 +1231,48 @@ interface IMFVideoProcessorControl2 : IMFVideoProcessorControl
);
}
typedef enum _MFVideoSphericalFormat
{
MFVideoSphericalFormat_Unsupported,
MFVideoSphericalFormat_Equirectangular,
} MFVideoSphericalFormat;
typedef enum MFVideoSphericalProjectionMode
{
MFVideoSphericalProjectionMode_Spherical,
MFVideoSphericalProjectionMode_Flat,
} MFVideoSphericalProjectionMode;
[
object,
uuid(2424b3f2-eb23-40f1-91aa-74bddeea0883),
local
]
interface IMFVideoProcessorControl3 : IMFVideoProcessorControl2
{
HRESULT GetNaturalOutputType(
[out] IMFMediaType **media_type
);
HRESULT EnableSphericalVideoProcessing(
[in] BOOL enable,
[in] MFVideoSphericalFormat format,
[in] MFVideoSphericalProjectionMode projection_mode
);
HRESULT SetSphericalVideoProperties(
[in] float x,
[in] float y,
[in] float z,
[in] float w,
[in] float fov
);
HRESULT SetOutputDevice(
[in] IUnknown *output_device
);
}
[
object,
uuid(2347d60b-3fb5-480c-8803-8df3adcd3ef0),