feature request: program_opencl new parameter 'plane'
|Reported by:||Serg Silantyev||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Please make 'plane' available to kernel function in program_opencl.
For examle: now I'am working on fisheye to equirectangular conversion, and want to make unmapped pixels black.
If I run in YUV pixel formats, then I can't do it, because kernel function have not information on which plane it is working. I have green or pink colors, but not black. 'format=rgba' can help, but more than twise decreasing performance.
As a workaround I have to copy source pixel which a guaranted to be black, but it is also make 10% performance decreasing.