vh265: config hevc buf num by node
authorPeng Yixin <yixin.peng@amlogic.com>
Tue, 21 Aug 2018 08:26:17 +0000 (16:26 +0800)
committerZhi Zhou <zhi.zhou@amlogic.com>
Thu, 23 Aug 2018 05:32:05 +0000 (22:32 -0700)
commite7afd12e7ec3bb54d4ac237ce98a779963696bb5
tree186e43fcc662226e9dc94c589c9ea3f39c0dd01a
parent1e37ecaba24a7e63afe122946f02094659eafec2
vh265: config hevc buf num by node

PD#172077

the value of dynamic_buf_num_margin was not set before, it causes the allocation of memory fail when config 1G DDR, so modify the code to set its value in driver.

Change-Id: I86d1f1dac5936bad693f6643826ee35596fb0bac
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/frame_provider/decoder/h265/vh265.c