[WebCodecs] Parse codec for VideoDecoder
This parses the codec information in EncodedVideoConfig. Size has to be explicitly specified in the config as well. With these changes, a basic VP9 encoding and decoding test can run correctly. This test can also cover the path of creating ImageBitmap from hardware decoder VideoFrame. Bug: 897297 Change-Id: Ifbac15db0305bcd781786707916b94be5a151215 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2301590 Commit-Queue: Jie A Chen <jie.a.chen@intel.com> Reviewed-by:Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#790744}
Showing
Please register or sign in to comment