Commit 380e37cd authored by Jingning Han's avatar Jingning Han

Reduce the MFMV_STACK_SIZE value

Drop it from 4 to 3 to reflect the actual use case.

Change-Id: Ifdadaf053153c21b4b4fef40a3298a557fd2ef92
parent 71da481d
......@@ -1659,7 +1659,7 @@ void av1_setup_motion_field(AV1_COMMON *cm) {
if (alt_frame_index < cur_frame_index) return;
int ref_stamp = 2;
int ref_stamp = MFMV_STACK_SIZE - 1;
// ======================
// Process last frame
......
......@@ -105,7 +105,7 @@ typedef enum {
} REFRESH_FRAME_CONTEXT_MODE;
#if CONFIG_MFMV
#define MFMV_STACK_SIZE 4
#define MFMV_STACK_SIZE 3
typedef struct {
int_mv mfmv[INTER_REFS_PER_FRAME][MFMV_STACK_SIZE];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment