aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xwd.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-24 02:41:53 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-24 02:41:53 +0100
commit0bb57f8bf029427059be21a562527dcfa0e264c9 (patch)
tree8e6743c4fc1f16f36899bdea87e485735c0d8d59 /libavcodec/xwd.h
parentb955d4072e3e563b230c9ab4d6575577a3dc7314 (diff)
parent0fec2cb15cc6ff1fcc724c774ec36abadcb7b6ad (diff)
downloadffmpeg-0bb57f8bf029427059be21a562527dcfa0e264c9.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: Remove ffmpeg. aacenc: Simplify windowing aacenc: Move saved overlap samples to the beginning of the same buffer as incoming samples. aacenc: Deinterleave input samples before processing. aacenc: Store channel count in AACEncContext. aacenc: Move Q^3/4 calculation to it's own table aacenc: Request normalized float samples instead of converting s16 samples to float. aacpsy: Replace an if with FFMAX in LAME windowing. aacenc: cosmetics, replace 'rd' with 'bits' in codebook_trellis_rate to make it more clear what is being calculated. aacpsy: cosmetics, change a FIXME to a NOTE about subshort comparisons aacenc: cosmetics: move init() and end() to the bottom of the file. aacenc: aac_encode_init() cleanup XWD encoder and decoder vc1: don't read the interpfrm and bfraction elements for interlaced frames mxfdec: fix memleak on mxf_read_close() westwood: split the AUD and VQA demuxers into separate files. Conflicts: .gitignore Changelog Makefile configure doc/ffmpeg.texi ffmpeg.c libavcodec/Makefile libavcodec/aacenc.c libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/version.h libavformat/Makefile libavformat/img2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/xwd.h')
-rw-r--r--libavcodec/xwd.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/libavcodec/xwd.h b/libavcodec/xwd.h
new file mode 100644
index 0000000000..f41e2cd651
--- /dev/null
+++ b/libavcodec/xwd.h
@@ -0,0 +1,41 @@
+/*
+ * XWD image format
+ *
+ * Copyright (c) 2012 Paul B Mahol
+ *
+ * This file is part of Libav.
+ *
+ * Libav is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * Libav is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_XWD_H
+#define AVCODEC_XWD_H
+
+#define XWD_VERSION 7
+#define XWD_HEADER_SIZE 100
+#define XWD_CMAP_SIZE 12
+
+#define XWD_XY_BITMAP 0
+#define XWD_XY_PIXMAP 1
+#define XWD_Z_PIXMAP 2
+
+#define XWD_STATIC_GRAY 0
+#define XWD_GRAY_SCALE 1
+#define XWD_STATIC_COLOR 2
+#define XWD_PSEUDO_COLOR 3
+#define XWD_TRUE_COLOR 4
+#define XWD_DIRECT_COLOR 5
+
+#endif /* AVCODEC_XWD_H */