2 * FreeRDP: A Remote Desktop Protocol Client
3 * Multimedia Redirection Virtual Channel Types
5 * Copyright 2011 Vic Lee
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
26 enum RDP_EVENT_TYPE_TSMF
28 RDP_EVENT_TYPE_TSMF_VIDEO_FRAME = 1,
29 RDP_EVENT_TYPE_TSMF_REDRAW
32 struct _RDP_VIDEO_FRAME_EVENT
44 uint16 num_visible_rects;
45 RDP_RECT* visible_rects;
47 typedef struct _RDP_VIDEO_FRAME_EVENT RDP_VIDEO_FRAME_EVENT;
49 struct _RDP_REDRAW_EVENT
57 typedef struct _RDP_REDRAW_EVENT RDP_REDRAW_EVENT;
59 /* RDP_VIDEO_FRAME_EVENT.frame_pixfmt */
60 /* http://www.fourcc.org/yuv.php */
61 #define RDP_PIXFMT_I420 0x30323449
62 #define RDP_PIXFMT_YV12 0x32315659
64 #endif /* __TSMF_PLUGIN */