video: fix vp9 uncompressed header parser issue, add unittest for
SetupPastIndependence This CL fixes a bug reported about ref_frame_sign_bias issue in Vp9UncompressedHeaderParser::SetupPastIndependence. Also, unittest is added for SetupPastIndependence function. There are two bugs: 1. SetupPastIndependence() is not invoked in some cases. 2. ref_frame_sign_bias is not reset in SetupPastIndependence(). Their triggering conditions are identical, that is !show_existing_frame && frame_type!=KEYFRAME && !intra_only && error_resilient_mode According to VP9 Bitstream & Decoding Process Specification, section 7.2 (page 64), ref_frame_sign_bias should be reset in setup_past_independence. Change-Id: I4928e8363406ae7ee0e3f7c59ea4926483c68bf8 Bug: b:176566296 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2629652 Commit-Queue: Steve Cho <stevecho@chromium.org> Reviewed-by:Kuang-che Wu <kcwu@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#845245}
Showing
Please register or sign in to comment