libmix: optimize video decoder MW to avoid unnecessary delay when playback starts

BZ: 78808

optimization:
(1) if AVC ES is baseline profile, low delay mode is automatically enabled
(2) if DPB size of AVC ES is smaller than OUTPUT_WINDOW_SIZE, DPB will be used as output window size

Change-Id: Ic14d535c294f4fa043848f0a9e295368248a6fc1
Signed-off-by: ywan171 <yi.a.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/85536
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: Liang, Dan <dan.liang@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
3 files changed