Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Thanks!
// We disable zero copy images since the ImageBitmap spec says created bitmaps
nit: delete this comment
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
scoped_refptr<media::VideoFrame> frame,
The parameter names `frame`, `resource_provider`, and `video_renderer` are clear from their types and can be omitted from the function declaration in the header file. (Blink Style Guide: Naming - May leave obvious parameter names out of function declarations)
_To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **Won't fix**: reason | **b/<bug_id>** | **Invalid:** reason
This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent).AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve.[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
// We disable zero copy images since the ImageBitmap spec says created bitmaps
Vasiliy Telezhnikovnit: delete this comment
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The parameter names `frame`, `resource_provider`, and `video_renderer` are clear from their types and can be omitted from the function declaration in the header file. (Blink Style Guide: Naming - May leave obvious parameter names out of function declarations)
_To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **Won't fix**: reason | **b/<bug_id>** | **Invalid:** reasonThis comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent).AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve.[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Won't fix: this CL doesn't change names.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Thanks. Would be nice to get this working, but agree with deleting for now.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Thanks for the reviews.
Remove zero-copy path from CreateImageFromVideoFrame
All production use-cases pass non-empty destination rect [1][2][3][4],
so the code is essentially dead. There was few attempts to enable it for
various contexts, but more work is required to make it shippable and it
was in this state since the beginning.
We can revisit this after our shared image refactoring is done, but it's
easier to remove now.
[1]
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/media/html_video_element.cc;drc=c5fe0d8a9bd7720d7c8738130a24ac7597178c87;l=616
[2]
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webcodecs/video_frame.cc;drc=c5fe0d8a9bd7720d7c8738130a24ac7597178c87;l=1478
[3]
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webcodecs/video_frame.cc;drc=c5fe0d8a9bd7720d7c8738130a24ac7597178c87;l=1584
[4]
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc;drc=c5fe0d8a9bd7720d7c8738130a24ac7597178c87;l=6616
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |