morousg / cvGPUSpeedup

A faster implementation of OpenCV-CUDA that uses OpenCV objects, and more!
Apache License 2.0
30 stars 4 forks source link

Add convert NV12P10 to RGBA in ushort4 and the other way arround #56

Closed morousg closed 3 months ago

morousg commented 10 months ago

We want a read operation that reads NV12P10 pixels, and uses a unary function to convert from YUV P10 to RGB10.

Each thread will read an ushort luminance value, and an ushort2 chrominance value. (The same chorminance for each pack of 2x2 luminances).

Optionally it will return RGB or RGBA with the alpha value being maximum opacity.

We want to use the BT709 color primitive conversion factors

morousg commented 10 months ago

Add an option to select working with Limited or Full color range