avi.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * copyright (c) 2001 Fabrice Bellard
  3. *
  4. * This file is part of FFmpeg.
  5. *
  6. * FFmpeg is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * FFmpeg is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with FFmpeg; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #ifndef AVFORMAT_AVI_H
  21. #define AVFORMAT_AVI_H
  22. #include "metadata.h"
  23. #define AVIF_HASINDEX 0x00000010 // Index at end of file?
  24. #define AVIF_MUSTUSEINDEX 0x00000020
  25. #define AVIF_ISINTERLEAVED 0x00000100
  26. #define AVIF_TRUSTCKTYPE 0x00000800 // Use CKType to find key frames?
  27. #define AVIF_WASCAPTUREFILE 0x00010000
  28. #define AVIF_COPYRIGHTED 0x00020000
  29. #define AVI_MAX_RIFF_SIZE 0x40000000LL
  30. #define AVI_MASTER_INDEX_SIZE 256
  31. #define AVI_MAX_STREAM_COUNT 100
  32. /* index flags */
  33. #define AVIIF_INDEX 0x10
  34. extern const AVMetadataConv ff_avi_metadata_conv[];
  35. /**
  36. * A list of AVI info tags.
  37. */
  38. extern const char ff_avi_tags[][5];
  39. #endif /* AVFORMAT_AVI_H */