1
0

AVC.hpp 496 B

1234567891011121314151617181920212223242526272829
  1. #ifndef AVC_HPP
  2. #define AVC_HPP
  3. namespace AVC
  4. {
  5. struct Extra
  6. {
  7. unsigned __int16 samplesPerBlock;
  8. unsigned __int16 blocksPerChunk;
  9. unsigned __int32 version;
  10. unsigned __int32 datarate;
  11. unsigned __int32 flags;
  12. };
  13. enum
  14. {
  15. kFormatTag_SingleBlockPerChunk = 0x0500,
  16. kFormatTag_MultipleBlocksPerChunk = 0x0501
  17. };
  18. enum
  19. {
  20. kArchaicFlag = 1,
  21. kFancyFlag = 2,
  22. kLooseFlag = 4
  23. };
  24. }
  25. #endif