aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-07-28 17:17:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2014-08-22 14:21:46 +0200
commitb9f3912a65ac98b7bc6916c9e3a9d60d79637416 (patch)
tree381347e7934dee6020a04c8767b033846da57240 /libavcodec
parentfb1a98ec5b4e34a3dc63ad06db707806906dc74c (diff)
downloadffmpeg-b9f3912a65ac98b7bc6916c9e3a9d60d79637416.tar.gz
hevc: move MAX_PB_SIZE declaration
Reviewed-by: Mickaƫl Raulet <mraulet@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hevc.h1
-rw-r--r--libavcodec/hevcdsp.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 8420f38dc3..0369d8fb53 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -56,7 +56,6 @@
#define MAX_TRANSFORM_DEPTH 5
#define MAX_TB_SIZE 32
-#define MAX_PB_SIZE 64
#define MAX_LOG2_CTB_SIZE 6
#define MAX_QP 51
#define DEFAULT_INTRA_TC_OFFSET 2
diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h
index 2736037dfc..6cc96e826d 100644
--- a/libavcodec/hevcdsp.h
+++ b/libavcodec/hevcdsp.h
@@ -27,6 +27,8 @@
#include "get_bits.h"
+#define MAX_PB_SIZE 64
+
typedef struct SAOParams {
int offset_abs[3][4]; ///< sao_offset_abs
int offset_sign[3][4]; ///< sao_offset_sign