T-API: optimized ocl_flip