PD#SWPL-13083
Problem:
tiny h264 stream decode error
Solution:
disable this read cache when frame width <= 64
IQIDCT_CONTROL, bit[16] – dcac_dma_read_cache_disable
Verify:
AC213
Change-Id: I8a07b70347b335709ebe7be44735f6aa667801c6
Signed-off-by: Gan Zhang <gan.zhang@amlogic.com>
j = 0;
h264_buffer_info_data_write_count = 0;
+ //disable this read cache when frame width <= 64 (4MBs)
+ //IQIDCT_CONTROL, bit[16] – dcac_dma_read_cache_disable
+ if (hw->frame_width <= 64)
+ SET_VREG_MASK(IQIDCT_CONTROL,(1 << 16));
+ else
+ CLEAR_VREG_MASK(IQIDCT_CONTROL,(1 << 16));
+
if (last_pic)
dpb_print(DECODE_ID(hw), PRINT_FLAG_ERRORFLAG_DBG,
"last_pic->data_flag %x slice_type %x last_pic->slice_type %x\n",