hey Eugene,

This is an exciting an useful addition! Have you looked into other platform 
APIs that could benefit from being able to explicitly specify intermediate 
format hinting and/or transformation? It's a place where (had the TAG been 
consulted) I would have expected to see a larger chain of additions to make 
this work in other areas, or at least a discussion of why they aren't (or 
are?) being pursued. Have you looked into that?

Best,

Alex

On Tuesday, April 30, 2024 at 3:51:01 PM UTC-7 Eugene Zemtsov wrote:

> > Can you please request reviews for privacy, security, enterprise, etc 
> in the chromestatus entry?
>
> Done
>
> On Mon, Apr 29, 2024 at 7:44 AM Mike Taylor <miketa...@chromium.org> 
> wrote:
>
>> Can you please request reviews for privacy, security, enterprise, etc in 
>> the chromestatus entry?
>> On 4/25/24 6:19 PM, 'Eugene Zemtsov' via blink-dev wrote:
>>
>> Contact emails ezemt...@google.com
>>
>> Explainer 
>> https://gist.github.com/Djuffin/9e2f98025ead49998524510cfeed8d33
>>
>> Specification https://www.w3.org/TR/webcodecs/#dom-videoframe-copyto
>>
>> Summary 
>>
>> 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. 
>>
>> Blink component Blink>Media>WebCodecs 
>> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EMedia%3EWebCodecs>
>>
>> Initial public proposal https://github.com/w3c/webcodecs/issues/92
>>
>> TAG review N/A since the change is minor
>>
>> Risks 
>>
>>
>> Interoperability and Compatibility 
>>
>> None
>>
>>
>> *Gecko*: Positive (
>> https://github.com/w3c/webcodecs/pull/754#pullrequestreview-2008590591)
>>
>> *WebKit*: Positive TPAC 2023. Media working group session.
>>
>> *Web developers*: 
>> https://github.com/w3c/webcodecs/issues/92#issuecomment-1594083978 
>>
>> *Other signals*:
>>
>> WebView application risks 
>>
>> Does this intent deprecate or change behavior of existing APIs, such that 
>> it has potentially high risk for Android WebView-based applications?
>>
>> None
>>
>>
>> Debuggability 
>>
>> None
>>
>>
>> Is this feature fully tested by web-platform-tests 
>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
>> ? Yes 
>>
>> https://wpt.fyi/results/webcodecs videoFrame-copyTo-rgb.any.js
>>
>>
>> Estimated milestones 
>> Shipping on desktop 126 
>> Shipping on Android 126 
>>
>> Link to entry on the Chrome Platform Status 
>> https://chromestatus.com/feature/4668827056209920
>>
>> -- 
>> 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+unsubscr...@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
>>  
>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK8JDrGyVMDipu_nqd%3DKw_9eE2UMtdbiWjbqac0NquwNmm4DMg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>
> -- 
> 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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9b2e1d6e-be76-42ce-8e4f-73ebe0409ab2n%40chromium.org.

Reply via email to