diff options
Diffstat (limited to 'arm_compute/core/CL/kernels/CLChannelExtractKernel.h')
-rw-r--r-- | arm_compute/core/CL/kernels/CLChannelExtractKernel.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/arm_compute/core/CL/kernels/CLChannelExtractKernel.h b/arm_compute/core/CL/kernels/CLChannelExtractKernel.h index 371f17ff2b..1f2cc8900a 100644 --- a/arm_compute/core/CL/kernels/CLChannelExtractKernel.h +++ b/arm_compute/core/CL/kernels/CLChannelExtractKernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 ARM Limited. + * Copyright (c) 2016-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -60,11 +60,27 @@ public: void configure(const ICLTensor *input, Channel channel, ICLTensor *output); /** Set the input and output of the kernel * + * @param[in] compile_context The compile context to be used. + * @param[in] input Source tensor. Formats supported: RGB888/RGBA8888/YUYV422/UYVY422 + * @param[in] channel Channel to extract. + * @param[out] output Destination tensor. Must be of U8 format. + */ + void configure(CLCompileContext &compile_context, const ICLTensor *input, Channel channel, ICLTensor *output); + /** Set the input and output of the kernel + * * @param[in] input Multi-planar source image. Formats supported: NV12/NV21/IYUV/YUV444 * @param[in] channel Channel to extract. * @param[out] output Single-planar 2D destination image. Must be of U8 format. */ void configure(const ICLMultiImage *input, Channel channel, ICLImage *output); + /** Set the input and output of the kernel + * + * @param[in] compile_context The compile context to be used. + * @param[in] input Multi-planar source image. Formats supported: NV12/NV21/IYUV/YUV444 + * @param[in] channel Channel to extract. + * @param[out] output Single-planar 2D destination image. Must be of U8 format. + */ + void configure(CLCompileContext &compile_context, const ICLMultiImage *input, Channel channel, ICLImage *output); // Inherited methods overridden: void run(const Window &window, cl::CommandQueue &queue) override; |