add buffer based rc

This commit is contained in:
ruil2
2014-07-14 13:57:03 +08:00
parent 4cdee3b2d1
commit 36cfb3bd32
9 changed files with 56 additions and 24 deletions

View File

@@ -52,8 +52,6 @@ namespace WelsSVCEnc {
//trace
#define GOM_TRACE_FLAG 0
#define GOM_H_SCC 8
#define WELS_RC_DISABLE 0
#define WELS_RC_GOM 1
enum {
BITS_NORMAL,
@@ -71,6 +69,8 @@ GOM_MAX_QP_MODE = 36,
MAX_LOW_BR_QP = 42,
MIN_IDR_QP = 26,
MAX_IDR_QP = 32,
MIN_SCREEN_QP = 26,
MAX_SCREEN_QP = 32,
DELTA_QP = 2,
DELTA_QP_BGD_THD = 3,
@@ -232,7 +232,7 @@ PWelsRCMBInitFunc pfWelsRcMbInit;
PWelsRCMBInfoUpdateFunc pfWelsRcMbInfoUpdate;
} SWelsRcFunc;
void WelsRcInitModule (void* pCtx, int32_t iModule);
void WelsRcInitModule (void* pCtx,RC_MODES iRcMode);
void WelsRcFreeMemory (void* pCtx);
}