[PORT FROM R3]Change the frame skip query

BZ: 47812 44763

For better performance, in async mode, libmix need to know
if frame N is skipped before frame N-1 is completely encoded.
So video driver store the skip flag in frame N-2 instead of
frame N-1. See video driver patch 47812. In sync mode, libmix
also need to query last frame to check if its next frame is
Signed-off-by: Elaine Wang <elaine.wang@intel.com>

Change-Id: If3e163cbb47bf482e7e5a447d76398aaa1b68433
Reviewed-on: http://android.intel.com:8080/61656
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
1 file changed