Avoid to allocate unnecessary Surface in ForceVPP and ForceGPU.
and Check all layer to avoid missing video_layer.
Change-Id: I777ee656cd93ce04453cea0f0dc630df6172d89a
Tests: Work well with 1 plane and Multiple plane case
Tracked-On: None
Signed-off-by: Shaofeng Tang shaofeng.tang@intel.com
Avoid to allocate unnecessary Surface in ForceVPP and ForceGPU. and Check all layer to avoid missing video_layer.
Change-Id: I777ee656cd93ce04453cea0f0dc630df6172d89a Tests: Work well with 1 plane and Multiple plane case Tracked-On: None Signed-off-by: Shaofeng Tang shaofeng.tang@intel.com