libmix: fix the wrong reference frame issue when the POC of successive frames are same

BZ: 118207 122198

Fix this wrong reference frame issue by looking up latest ref frame in the DPB with specified
POC in case successive frames have same POC

Orig-Change-Id: I09f80dab92e720314db7f48a0eeaebcad1f73d7d
Orig-Change-Id: I30f10a8f2662e3aaa001388096c843a6846fcde4

Change-Id: Ifaea1ab43c6a8f7452e6e9a84c6c6f6aa98ed9de
Signed-off-by: ywan171 <yi.a.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/119118
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
2 files changed