added yuy2 and nv12 guid

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37466 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2010-07-11 12:00:06 +00:00
parent 61fae90060
commit 7a87728eea

View File

@ -36,6 +36,11 @@ usb_webcam_support_descriptor kSupportedDevices[] = {
{{ 0, 0, 0, 0, 0}, NULL, NULL, NULL }
};
/* Table 2-1 Compression Formats of USB Video Payload Uncompressed */
uint8 yuy2_guid = {0x59, 0x55, 0x59, 0x32, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00,
0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71};
uint8 nv12_guid = {0x4e, 0x56, 0x31, 0x32, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00,
0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71};
static void
print_guid(const uint8* buf)