VideoFrame.copyTo() can convert pixel data to RGB pixel format Converting YUV video frames to RGB is often required for processing them in libraries like TensorFlow.js and OpenCV.js. Previously the only possible way to achieve this was rendering the frame on a canvas. Specifying VideoFrameCopyToOptions.format and VideoFrameCopyToOptions.colorSpace makes it possible to convert frames to RGB pixel formats by calling VideoFrame.copyTo() without having to use an extra canvas.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
https://wpt.fyi/results/webcodecs videoFrame-copyTo-rgb.any.js
Shipping on desktop | 126 |
Shipping on Android | 126 |
Can you please request reviews for privacy, security, enterprise,
etc in the chromestatus entry?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrGyVMDipu_nqd%3DKw_9eE2UMtdbiWjbqac0NquwNmm4DMg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrGyVMDipu_nqd%3DKw_9eE2UMtdbiWjbqac0NquwNmm4DMg%40mail.gmail.com.
--Thanks,Eugene Zemtsov.
+1. Would you mind also filing gecko and webkit positions? I
expect them to be positive, given the informal signals you have in
the spec PRs already - but this also lets them know we're moving
ahead with shipping. Thanks - Mike
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrGyVMDipu_nqd%3DKw_9eE2UMtdbiWjbqac0NquwNmm4DMg%40mail.gmail.com.
--
Thanks,Eugene Zemtsov.
I see that WebKit raised an API concern around
detectability. In your reply, you said "we should
consider...". Has that consideration happened, perhaps as
follow-up work? :)
Ergonomics-wise, it does not seem intuitive to use a method
called allocationSize() to feature detect copyTo support, even if
the semantics are the same. Besides a very careful reading of the
spec, how do we expect developers to know about it?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrGyVMDipu_nqd%3DKw_9eE2UMtdbiWjbqac0NquwNmm4DMg%40mail.gmail.com.
--
Thanks,Eugene Zemtsov.
--
Thanks,Eugene Zemtsov.
--
Thanks,Eugene Zemtsov.
--
Thanks,Eugene Zemtsov.--Thanks,Eugene Zemtsov.
LGTM2
/Daniel
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/221f4af8-b6b4-4d36-9225-3a8594dc5b14n%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrGyVMDipu_nqd%3DKw_9eE2UMtdbiWjbqac0NquwNmm4DMg%40mail.gmail.com.
--
Thanks,Eugene Zemtsov.
--
Thanks,Eugene Zemtsov.
--
Thanks,Eugene Zemtsov.
--
Thanks,Eugene Zemtsov.
--
Thanks,Eugene Zemtsov.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/221f4af8-b6b4-4d36-9225-3a8594dc5b14n%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c6cdcdbd-1a21-4202-95b1-78eca60d0c5f%40gmail.com.