summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-18 16:32:18 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-19 09:28:08 +0200
commit5e83d9aced2fc2b2e1360452794c58aba55d497c (patch)
tree8504e1b7e82eae9ff30a42db618bbfa73610a049 /libavcodec/avcodec.h
parenta7f46586bf47174b5fa00a905b767b1781ec8b72 (diff)
h264: fully support cropping.
Based on a patch by Vittorio Giovara <vittorio.giovara@gmail.com> Fixes Bug 378.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 84a685986b..c36d976a52 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -609,6 +609,11 @@ typedef struct RcOverride{
Note: Not everything is supported yet.
*/
+/**
+ * Allow decoders to produce frames with data planes that are not aligned
+ * to CPU requirements (e.g. due to cropping).
+ */
+#define CODEC_FLAG_UNALIGNED 0x0001
#define CODEC_FLAG_QSCALE 0x0002 ///< Use fixed qscale.
#define CODEC_FLAG_4MV 0x0004 ///< 4 MV per MB allowed / advanced prediction for H.263.
#define CODEC_FLAG_QPEL 0x0010 ///< Use qpel MC.