[webcodecs] Add rotation and flip init options on VideoFrame
This change implements rotation
and flip
options in VideoFrameInit
and VideoFrameBufferInit
, as described in
w3c/webcodecs#351 (comment).
Bug: 40243431
Change-Id: I9eae4f4f101df7a285abd6575f7271b7589a512c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5939863
Reviewed-by: Eugene Zemtsov eugene@chromium.org
Commit-Queue: Eugene Zemtsov eugene@chromium.org
Cr-Commit-Position: refs/heads/main@{#1379353}