aboutsummaryrefslogtreecommitdiff
path: root/Src/libvp6/include/AVC.hpp
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/libvp6/include/AVC.hpp
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
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