Add DEC_U8A_2

This commit is contained in:
raven02 committed 2013-09-02 14:47:15 +08:00
1 parent b3bc4c5830
commit ebcccdbb6f
1 file changed
+9 -1
+9 -1
View File
@@ -315,7 +315,15 @@ public:
uv[1] = f[1];
}
break;
case DEC_U8A_2:
{
const u8 *b = (const u8 *)(data_ + decFmt_.uvoff);
uv[0] = (float)b[0];
uv[1] = (float)b[1];
}
break;
case DEC_U16A_2:
{
const u16 *p = (const u16 *)(data_ + decFmt_.uvoff);