Commit e1ee020
committed
core: support CV_16F mixChannels dispatch
OpenCV 4.13 leaves the CV_16F slot unset in the CPU mixChannels dispatch table, so mixChannels, extractChannel, and insertChannel assert for half-float Mats.
Lightricks uses CV_16F Mats for Metal half-float textures and tensors, including channel slicing and padding. Route CV_16F through the existing 16-bit copy implementation because mixChannels copies channel storage without interpreting numeric values.1 parent 3805b11 commit e1ee020
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
87 | 94 | | |
88 | 95 | | |
89 | 96 | | |
| |||
0 commit comments