PD#162632: di: fix 4K black screen issue
1. this is a patch for afbc;
2. close afbc for di temporary;
Change-Id: Ic70cb526dab431ef7caf827c322efe207bb7991f
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
if (vf->type & VIDTYPE_PIC)
return true;
-#if 0
+#if 1
if (vf->type & VIDTYPE_COMPRESS)
return true;
+#else
+ if (vf->type & VIDTYPE_COMPRESS) {
+ if ((vf->compHeight > (default_height + 8))
+ || (vf->compWidth > default_width))
+ return true;
+ }
#endif
if ((vf->width > default_width) ||
(vf->height > (default_height + 8)))