]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/tiff.h
Fix segault
[frescor/ffmpeg.git] / libavcodec / tiff.h
index 77e8734c7ae5c39f591aba4a50e6beccb9c3cb5a..e53c6e85f3d902513155f8fe57bed5f85a9bc925 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
  */
 
-#ifndef TIFF_H
-#define TIFF_H
+/**
+ * TIFF tables
+ * @file libavcodec/tiff.h
+ * @author Konstantin Shishkov
+ */
+#ifndef AVCODEC_TIFF_H
+#define AVCODEC_TIFF_H
+
+#include <stdint.h>
 
-/* abridged list of TIFF tags */
+/** abridged list of TIFF tags */
 enum TiffTags{
     TIFF_SUBFILE = 0xfe,
     TIFF_WIDTH = 0x100,
@@ -40,6 +46,8 @@ enum TiffTags{
     TIFF_PLANAR = 0x11C,
     TIFF_XPOS = 0x11E,
     TIFF_YPOS = 0x11F,
+    TIFF_T4OPTIONS = 0x124,
+    TIFF_T6OPTIONS,
     TIFF_RES_UNIT = 0x128,
     TIFF_SOFTWARE_NAME = 0x131,
     TIFF_PREDICTOR = 0x13D,
@@ -50,6 +58,7 @@ enum TiffTags{
     TIFF_REFERENCE_BW = 0x214,
 };
 
+/** list of TIFF compression types */
 enum TiffCompr{
     TIFF_RAW = 1,
     TIFF_CCITT_RLE,
@@ -76,4 +85,4 @@ static const uint8_t type_sizes[6] = {
     0, 1, 100, 2, 4, 8
 };
 
-#endif                          /* TIFF_H */
+#endif /* AVCODEC_TIFF_H */