Opened 6 years ago

Last modified 4 years ago

#7190 open enhancement

feature request: program_opencl new parameter 'plane'

Reported by: Serg Silantyev Owned by:
Priority: wish Component: avfilter
Version: git-master Keywords: opencl
Cc: Blocked 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.

Change History (2)

comment:1 by Carl Eugen Hoyos, 6 years ago

Priority: normalwish
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.