RS: Fix VP9 LoopFilter to handle 4K video
One of the buffer allocated within the intrinsic was not
wide enough to accomodate space needed for 4K videos.
Change-Id: I3079e8a4c175a25ea427cefc80958ee660674e0b
diff --git a/cpu_ref/rsCpuIntrinsicLoopFilter.cpp b/cpu_ref/rsCpuIntrinsicLoopFilter.cpp
index fbf0f6c..ed58556 100644
--- a/cpu_ref/rsCpuIntrinsicLoopFilter.cpp
+++ b/cpu_ref/rsCpuIntrinsicLoopFilter.cpp
@@ -122,7 +122,7 @@
#define MAX_CPU_CORES 32
#define MAX_MB_PLANE 3
-#define MAX_SB_COL 32
+#define MAX_SB_ROW 64
struct LoopFilterProgressChart {
int start;
@@ -138,7 +138,7 @@
int wid;
int quit;
int doing;
- volatile int32_t chart[MAX_SB_COL];
+ volatile int32_t chart[MAX_SB_ROW];
int32_t sb_row_pro;
pthread_t *tid;
pthread_mutex_t *mutex;