aboutsummaryrefslogtreecommitdiff
path: root/Src/libvp6/include/AVC.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Src/libvp6/include/AVC.hpp')
-rw-r--r--Src/libvp6/include/AVC.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/Src/libvp6/include/AVC.hpp b/Src/libvp6/include/AVC.hpp
new file mode 100644
index 00000000..0496a4ee
--- /dev/null
+++ b/Src/libvp6/include/AVC.hpp
@@ -0,0 +1,29 @@
+#ifndef AVC_HPP
+#define AVC_HPP
+
+namespace AVC
+{
+ struct Extra
+ {
+ unsigned __int16 samplesPerBlock;
+ unsigned __int16 blocksPerChunk;
+ unsigned __int32 version;
+ unsigned __int32 datarate;
+ unsigned __int32 flags;
+ };
+
+ enum
+ {
+ kFormatTag_SingleBlockPerChunk = 0x0500,
+ kFormatTag_MultipleBlocksPerChunk = 0x0501
+ };
+
+ enum
+ {
+ kArchaicFlag = 1,
+ kFancyFlag = 2,
+ kLooseFlag = 4
+ };
+}
+
+#endif