1 2 /* 3 This header file contains listings of STANDARD guids for video formats. 4 Please do not place non-registered, or incomplete entries in this file. 5 A list of some popular fourcc's are at: http://www.webartz.com/fourcc/ 6 For an explanation of fourcc <-> guid mappings see RFC2361. 7 */ 8 9 #ifndef _XF86_FOURCC_H_ 10 #define _XF86_FOURCC_H_ 1 11 12 #define FOURCC_YUY2 0x32595559 13 #define XVIMAGE_YUY2 \ 14 { \ 15 FOURCC_YUY2, \ 16 XvYUV, \ 17 LSBFirst, \ 18 {'Y','U','Y','2', \ 19 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \ 20 16, \ 21 XvPacked, \ 22 1, \ 23 0, 0, 0, 0, \ 24 8, 8, 8, \ 25 1, 2, 2, \ 26 1, 1, 1, \ 27 {'Y','U','Y','V', \ 28 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, \ 29 XvTopToBottom \ 30 } 31 32 #define FOURCC_YV12 0x32315659 33 #define XVIMAGE_YV12 \ 34 { \ 35 FOURCC_YV12, \ 36 XvYUV, \ 37 LSBFirst, \ 38 {'Y','V','1','2', \ 39 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \ 40 12, \ 41 XvPlanar, \ 42 3, \ 43 0, 0, 0, 0, \ 44 8, 8, 8, \ 45 1, 2, 2, \ 46 1, 2, 2, \ 47 {'Y','V','U', \ 48 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, \ 49 XvTopToBottom \ 50 } 51 52 #define FOURCC_I420 0x30323449 53 #define XVIMAGE_I420 \ 54 { \ 55 FOURCC_I420, \ 56 XvYUV, \ 57 LSBFirst, \ 58 {'I','4','2','0', \ 59 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \ 60 12, \ 61 XvPlanar, \ 62 3, \ 63 0, 0, 0, 0, \ 64 8, 8, 8, \ 65 1, 2, 2, \ 66 1, 2, 2, \ 67 {'Y','U','V', \ 68 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, \ 69 XvTopToBottom \ 70 } 71 72 #define FOURCC_UYVY 0x59565955 73 #define XVIMAGE_UYVY \ 74 { \ 75 FOURCC_UYVY, \ 76 XvYUV, \ 77 LSBFirst, \ 78 {'U','Y','V','Y', \ 79 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \ 80 16, \ 81 XvPacked, \ 82 1, \ 83 0, 0, 0, 0, \ 84 8, 8, 8, \ 85 1, 2, 2, \ 86 1, 1, 1, \ 87 {'U','Y','V','Y', \ 88 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, \ 89 XvTopToBottom \ 90 } 91 92 #define FOURCC_IA44 0x34344149 93 #define XVIMAGE_IA44 \ 94 { \ 95 FOURCC_IA44, \ 96 XvYUV, \ 97 LSBFirst, \ 98 {'I','A','4','4', \ 99 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \ 100 8, \ 101 XvPacked, \ 102 1, \ 103 0, 0, 0, 0, \ 104 8, 8, 8, \ 105 1, 1, 1, \ 106 1, 1, 1, \ 107 {'A','I', \ 108 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, \ 109 XvTopToBottom \ 110 } 111 112 #define FOURCC_AI44 0x34344941 113 #define XVIMAGE_AI44 \ 114 { \ 115 FOURCC_AI44, \ 116 XvYUV, \ 117 LSBFirst, \ 118 {'A','I','4','4', \ 119 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \ 120 8, \ 121 XvPacked, \ 122 1, \ 123 0, 0, 0, 0, \ 124 8, 8, 8, \ 125 1, 1, 1, \ 126 1, 1, 1, \ 127 {'I','A', \ 128 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, \ 129 XvTopToBottom \ 130 } 131 132 #endif /* _XF86_FOURCC_H_ */ 133