Comments (1)
LGTM.
DEPTH to GRAY8 conversion should be possible. Converting DEPTH to/from other formats probably does not make sense, and throwing in such cases makes sense.
We use the following DEPTH to GRAY8 conversion in https://w3c.github.io/mediacapture-depth/#dfn-convert-the-depth-map-value-to-grayscale to retrofit depth to canvas-based workflow that is limited to 8 bits per pixel. The mediacapture-worker spec would enable processing of 16-bit depth values per pixel for more advanced use cases as noted in https://w3c.github.io/mediacapture-depth/#introduction
/cc @huningxin
from mediacapture-worker.
Related Issues (20)
- ImageBitmapFactory::createImageBitmap(FromBufferSource) should throw if the given format is not supported.
- Add constructors to both ChannelPixelLayout and ImageFormatPixelLayout HOT 6
- Decouple VideoProcessor from Workers HOT 16
- Consider leveraging `Canvas::captureMedia` for generating content HOT 5
- Consider leveraging Worklet to decouple monitor/processor from WebWorker.
- Processing offline context. HOT 9
- Elaborate the backpressure handling
- Security Considerations
- [UseCases] Re-sample the video frame rate.
- Support asynchronous processing in the VideoProcessor case? HOT 3
- Change the VideoProcessorEvent.outputImageBitmap to VideoProcessorEvent.setOutputImageBitmap() HOT 1
- The name of enum DataType is too generic HOT 1
- Simplify the ChannelPixelLayout and ImageFormatPixelLayout HOT 1
- Call mapDataInto() on an ImageBitmap which was created with a cropping area that is outside of the source image. HOT 3
- Use SharedArrayBuffer as the parameter type of mapDataInto() to indicate that data racing might happen. HOT 10
- Crop YUV422/YUV420 data? HOT 1
- The data type of HSV and Lab should be floating point
- Drop the cropping variant of creating ImageBitmap from an ArrayBuffer. HOT 1
- Publish First Public Working Draft HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediacapture-worker.