Initial commit - from Precise source
[freerdp-ubuntu-pcb-backport.git] / channels / drdynvc / tsmf / tsmf_types.h
1 /**
2  * FreeRDP: A Remote Desktop Protocol client.
3  * Video Redirection Virtual Channel - Types
4  *
5  * Copyright 2010-2011 Vic Lee
6  *
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
10  *
11  *     http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  */
19
20 #ifndef __TSMF_TYPES_H
21 #define __TSMF_TYPES_H
22
23 #include <freerdp/types.h>
24
25 typedef struct _TS_AM_MEDIA_TYPE
26 {
27         int MajorType;
28         int SubType;
29         int FormatType;
30
31         uint32 Width;
32         uint32 Height;  
33         uint32 BitRate;
34         struct
35         {
36                 uint32 Numerator;
37                 uint32 Denominator;
38         } SamplesPerSecond;
39         uint32 Channels;
40         uint32 BitsPerSample;
41         uint32 BlockAlign;
42         const uint8* ExtraData;
43         uint32 ExtraDataSize;
44 } TS_AM_MEDIA_TYPE;
45
46 #endif
47