OSDN Git Service

Encoding/avcenc: Optimize the allocated VA surfaces to reduce the memory pressure
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 21 Nov 2014 07:32:21 +0000 (15:32 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 26 Nov 2014 05:38:43 +0000 (13:38 +0800)
commitc095cc6cf08523cd0dffcfe5ac4bce9122527f22
treee71ea25f9e3229584022cd8b78db679f55b73113
parentfd83a7d44f790d40626eaa90fda18fb5c42b2c45
Encoding/avcenc: Optimize the allocated VA surfaces to reduce the memory pressure

When it needs to encode one new frame, it will try to reuse the previously
used surface for the reconstructed frame. In such case it is helpfl to
reduce the memory pressure under multi-channel 4K encoding.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
test/encode/avcenc.c