summaryrefslogtreecommitdiffstats
path: root/libavutil/pixfmt.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-04-10 16:34:16 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-05-24 00:42:31 +0200
commitf2ee0656389a6f9db348ce59c4fbb3c58dd648af (patch)
tree3055abecf35a937a182a5539f757a146797c22a5 /libavutil/pixfmt.h
parentd0ad91c258821708ce21b4ae53018922ef1f5614 (diff)
downloadffmpeg-streaming-f2ee0656389a6f9db348ce59c4fbb3c58dd648af.zip
ffmpeg-streaming-f2ee0656389a6f9db348ce59c4fbb3c58dd648af.tar.gz
lavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h
Move AVPALETTE_SIZE and AVPALETTE_COUNT definition from libavcodec/avcodec.h to libavutil/pixfmt.h. The definition is more useful in libavutil, where it can be shared for example by libavfilter and libswscale.
Diffstat (limited to 'libavutil/pixfmt.h')
-rw-r--r--libavutil/pixfmt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 1e81a2a..820cd3f 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -29,6 +29,9 @@
#include "libavutil/avconfig.h"
+#define AVPALETTE_SIZE 1024
+#define AVPALETTE_COUNT 256
+
/**
* Pixel format.
*
OpenPOWER on IntegriCloud