signed mismatch mvrefcount
Change-Id: Ie34820c1b6eaba9cf9316415a46f48af79c41646
This commit is contained in:
@@ -456,7 +456,7 @@ void vp9_init_mode_contexts(VP9_COMMON *pc) {
|
|||||||
void vp9_accum_mv_refs(VP9_COMMON *pc,
|
void vp9_accum_mv_refs(VP9_COMMON *pc,
|
||||||
MB_PREDICTION_MODE m,
|
MB_PREDICTION_MODE m,
|
||||||
const int context) {
|
const int context) {
|
||||||
int (*mv_ref_ct)[4][2];
|
unsigned int (*mv_ref_ct)[4][2];
|
||||||
|
|
||||||
mv_ref_ct = pc->fc.mv_ref_ct;
|
mv_ref_ct = pc->fc.mv_ref_ct;
|
||||||
|
|
||||||
@@ -486,7 +486,7 @@ void vp9_accum_mv_refs(VP9_COMMON *pc,
|
|||||||
#define MVREF_MAX_UPDATE_FACTOR 128
|
#define MVREF_MAX_UPDATE_FACTOR 128
|
||||||
void vp9_update_mode_context(VP9_COMMON *pc) {
|
void vp9_update_mode_context(VP9_COMMON *pc) {
|
||||||
int i, j;
|
int i, j;
|
||||||
int (*mv_ref_ct)[4][2];
|
unsigned int (*mv_ref_ct)[4][2];
|
||||||
int (*mode_context)[4];
|
int (*mode_context)[4];
|
||||||
|
|
||||||
mode_context = pc->fc.vp9_mode_contexts;
|
mode_context = pc->fc.vp9_mode_contexts;
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ typedef struct frame_contexts {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
int vp9_mode_contexts[INTER_MODE_CONTEXTS][4];
|
int vp9_mode_contexts[INTER_MODE_CONTEXTS][4];
|
||||||
int mv_ref_ct[INTER_MODE_CONTEXTS][4][2];
|
unsigned int mv_ref_ct[INTER_MODE_CONTEXTS][4][2];
|
||||||
} FRAME_CONTEXT;
|
} FRAME_CONTEXT;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ static void update_refpred_stats(VP9_COMP *cpi) {
|
|||||||
static void update_mode_probs(VP9_COMMON *cm,
|
static void update_mode_probs(VP9_COMMON *cm,
|
||||||
int mode_context[INTER_MODE_CONTEXTS][4]) {
|
int mode_context[INTER_MODE_CONTEXTS][4]) {
|
||||||
int i, j;
|
int i, j;
|
||||||
int (*mv_ref_ct)[4][2];
|
unsigned int (*mv_ref_ct)[4][2];
|
||||||
|
|
||||||
vpx_memcpy(mode_context, cm->fc.vp9_mode_contexts,
|
vpx_memcpy(mode_context, cm->fc.vp9_mode_contexts,
|
||||||
sizeof(cm->fc.vp9_mode_contexts));
|
sizeof(cm->fc.vp9_mode_contexts));
|
||||||
|
|||||||
Reference in New Issue
Block a user