Reduce bin buffer size to detect buffer overflows in first stage, which allows frame to be re-encoded with a different QP. Change-Id: Ifaa5f744491ba35ceee164afeae7d9de90f81e18 Signed-off-by: Mihir Ganu <[email protected]>
@@ -1449,7 +1449,7 @@ _yuv_bufcount_min, is_opb, num_vpp_pipes) \
if (work_mode == HFI_WORKMODE_2) \
{ \
total_bitbin_buffers = 3; \
- bitbin_size = bitstream_size * 17 / 10; \
+ bitbin_size = bitstream_size * 12 / 10; \
bitbin_size = HFI_ALIGN(bitbin_size, \
VENUS_DMA_ALIGNMENT); \
} \