Remove unused ProjectConfiguration
[xy_vsfilter.git] / src / subtitles / XySubRenderIntf.h
blobc0a921d0706aa2d6b72d5daafc14313689157689
1 #pragma once
3 enum XyColorSpace
5 XY_CS_ARGB,
6 XY_CS_AUYV,
7 XY_CS_AYUV,
8 XY_CS_AYUV_PLANAR
9 };
11 struct XyPlannerFormatExtra
13 LPCVOID plans[4];
16 [uuid("4237bf3b-14fd-44a4-9704-86ec87f89897")]
17 interface IXySubRenderFrame : public IUnknown
19 STDMETHOD(GetOutputRect)(RECT *outputRect) = 0;
21 STDMETHOD(GetClipRect)(RECT *clipRect) = 0;
23 STDMETHOD(GetXyColorSpace)(int *xyColorSpace) = 0;
25 STDMETHOD(GetBitmapCount)(int *count) = 0;
27 STDMETHOD(GetBitmap)(int index, ULONGLONG *id, POINT *position, SIZE *size, LPCVOID *pixels, int *pitch) = 0;
29 //if xyColorSpace == XY_AYUV_PLANAR, extra_info should point to a XyPlannerFormatExtra struct
30 STDMETHOD(GetBitmapExtra)(int index, LPVOID extra_info) = 0;