[FFmpeg-devel] [PATCH 1/4] hevc: move MAX_PB_SIZE declaration

Christophe Gisquet christophe.gisquet at gmail.com
Mon Jul 28 19:17:25 CEST 2014


---
 libavcodec/hevc.h    | 1 -
 libavcodec/hevcdsp.h | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 8420f38..0369d8f 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 c18bc86..be0b387 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
-- 
1.9.2.msysgit.0



More information about the ffmpeg-devel mailing list