From f1863f28aafe49214e6ecd98761fad34e3c51e09 Mon Sep 17 00:00:00 2001 From: Akshata Sahukar Date: Thu, 6 Jun 2019 10:29:43 -0700 Subject: [PATCH] msm: vidc: Update in VP9 decoder height alignment Updated SIZE_VPXD_LB_RECON_DMA_METADATA_WR macro to align height to 16 from 8. Change-Id: Icf8dd8494df49251979557af890d91f6aaf5b5d0 Signed-off-by: Akshata Sahukar --- msm/vidc/msm_vidc_buffer_calculations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/vidc/msm_vidc_buffer_calculations.c b/msm/vidc/msm_vidc_buffer_calculations.c index 7c5836cca0ac..1dee2750eabc 100644 --- a/msm/vidc/msm_vidc_buffer_calculations.c +++ b/msm/vidc/msm_vidc_buffer_calculations.c @@ -203,7 +203,7 @@ max(((height + 31) >> 5) * MAX_SE_NBR_CTRL_LCU32_LINE_BUFFER_SIZE, \ ((height + 63) >> 6) * MAX_SE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE)) #define SIZE_VPXD_LB_RECON_DMA_METADATA_WR(width, height) \ - ALIGN((ALIGN(height, 8) / (4 / 2)) * 64, BUFFER_ALIGNMENT_SIZE(32)) + ALIGN((ALIGN(height, 16) / (4 / 2)) * 64, BUFFER_ALIGNMENT_SIZE(32)) #define SIZE_VP8D_LB_FE_TOP_DATA(width, height) \ ((ALIGN(width, 16) + 8) * 10 * 2) #define SIZE_VP9D_LB_FE_TOP_DATA(width, height) \