commit | c59628d11b134fc016388a170880f7646e100d6f | [log] [tgz] |
---|---|---|
author | Boyuan Zhang <boyuan.zhang@amd.com> | Mon Aug 15 13:23:30 2016 -0400 |
committer | Leo Liu <leo.liu@amd.com> | Fri Aug 19 10:36:44 2016 -0400 |
tree | dd6201f9ecbd023c42216a7787e1c51f5907b133 | |
parent | 93d2b5c57632f5cc57e71511bc6e33f8474e40fd [diff] |
st/va: enable dual instances encode by sync surface This patch improves the performance of Vaapi Encode by enabling dual instances encoding. flush function is not called after each end_frame call. radeon/vce will do flush whenever 2 frames are submitted for encoding. Implement sync surface function to flush only if the frame hasn't been flushed yet. Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>