Add cache info to OSD.
[xy_vsfilter.git] / src / filters / transform / vsfilter / IDirectVobSubXy.h
blob3abb35975b7ecb0f809df33c2add2a134ef3e85b
1 #pragma once
3 #include "../../../subtitles/STS.h"
4 #include "../BaseVideoFilter/BaseVideoFilter.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 [uuid("85E5D6F9-BEFB-4E01-B047-758359CDF9AB")]
11 interface IDirectVobSubXy : public IUnknown
13 STDMETHOD(get_ColorSpace) (THIS_
14 int* colorSpace
15 ) PURE;
17 STDMETHOD(put_ColorSpace) (THIS_
18 int colorSpace
19 ) PURE;
23 STDMETHOD(get_YuvRange) (THIS_
24 int* yuvRange
25 ) PURE;
27 STDMETHOD(put_YuvRange) (THIS_
28 int yuvRange
29 ) PURE;
33 STDMETHOD(get_OutputColorFormat) (THIS_
34 ColorSpaceId* preferredOrder,
35 bool* fSelected,
36 UINT* count
37 ) PURE;
38 STDMETHOD(put_OutputColorFormat) (THIS_
39 const ColorSpaceId* preferredOrder,
40 const bool* fSelected,
41 UINT count
42 ) PURE;
45 STDMETHOD(get_InputColorFormat) (THIS_
46 ColorSpaceId* preferredOrder,
47 bool* fSelected,
48 UINT* count
49 ) PURE;
50 STDMETHOD(put_InputColorFormat) (THIS_
51 const ColorSpaceId* preferredOrder,
52 const bool* fSelected,
53 UINT count
54 ) PURE;
57 STDMETHOD(get_OverlayCacheMaxItemNum) (THIS_
58 int* overlay_cache_max_item_num
59 ) PURE;
61 STDMETHOD(put_OverlayCacheMaxItemNum) (THIS_
62 int overlay_cache_max_item_num
63 ) PURE;
65 STDMETHOD(get_ScanLineDataCacheMaxItemNum) (THIS_
66 int* scan_line_data_cache_max_item_num
67 ) PURE;
69 STDMETHOD(put_ScanLineDataCacheMaxItemNum) (THIS_
70 int scan_line_data_cache_max_item_num
71 ) PURE;
73 STDMETHOD(get_PathDataCacheMaxItemNum) (THIS_
74 int* path_data_cache_max_item_num
75 ) PURE;
77 STDMETHOD(put_PathDataCacheMaxItemNum) (THIS_
78 int path_data_cache_max_item_num
79 ) PURE;
81 STDMETHOD(get_OverlayNoBlurCacheMaxItemNum) (THIS_
82 int* overlay_no_blur_cache_max_item_num
83 ) PURE;
85 STDMETHOD(put_OverlayNoBlurCacheMaxItemNum) (THIS_
86 int overlay_no_blur_cache_max_item_num
87 ) PURE;
89 struct CachesInfo
91 std::size_t path_cache_cur_item_num, path_cache_query_count,path_cache_hit_count,
92 scanline_cache2_cur_item_num, scanline_cache2_query_count,scanline_cache2_hit_count,
93 non_blur_cache_cur_item_num, non_blur_cache_query_count,non_blur_cache_hit_count,
94 overlay_cache_cur_item_num, overlay_cache_query_count,overlay_cache_hit_count,
95 bitmap_cache_cur_item_num, bitmap_cache_query_count, bitmap_cache_hit_count,
97 interpolate_cache_cur_item_num, interpolate_cache_query_count,interpolate_cache_hit_count,
98 text_info_cache_cur_item_num, text_info_cache_query_count, text_info_cache_hit_count,
99 word_info_cache_cur_item_num, word_info_cache_query_count, word_info_cache_hit_count,
101 scanline_cache_cur_item_num, scanline_cache_query_count,scanline_cache_hit_count,
102 overlay_key_cache_cur_item_num, overlay_key_cache_query_count, overlay_key_cache_hit_count,
103 clipper_cache_cur_item_num, clipper_cache_query_count, clipper_cache_hit_count;
105 STDMETHOD(get_CachesInfo) (THIS_
106 CachesInfo* cache_info
107 ) PURE;
110 STDMETHOD(get_SubpixelPositionLevel) (THIS_
111 int* subpixel_pos_level
112 ) PURE;
114 STDMETHOD(put_SubpixelPositionLevel) (THIS_
115 int subpixel_pos_level
116 ) PURE;
119 STDMETHOD(get_FollowUpstreamPreferredOrder) (THIS_
120 bool *fFollowUpstreamPreferredOrder
121 ) PURE;
123 STDMETHOD(put_FollowUpstreamPreferredOrder) (THIS_
124 bool fFollowUpstreamPreferredOrder
125 ) PURE;
128 STDMETHOD(get_HideTrayIcon) (THIS_
129 bool *fHideTrayIcon
130 ) PURE;
132 STDMETHOD(put_HideTrayIcon) (THIS_
133 bool fHideTrayIcon
134 ) PURE;
137 #ifdef __cplusplus
139 #endif