ARM Compute Library
17.04
|
#include "helpers.h"
Go to the source code of this file.
Functions | |
__kernel void | channel_combine_RGB888 (__global uchar *plane0_ptr, uint plane0_stride_x, uint plane0_step_x, uint plane0_stride_y, uint plane0_step_y, uint plane0_offset_first_element_in_bytes, __global uchar *plane1_ptr, uint plane1_stride_x, uint plane1_step_x, uint plane1_stride_y, uint plane1_step_y, uint plane1_offset_first_element_in_bytes, __global uchar *plane2_ptr, uint plane2_stride_x, uint plane2_step_x, uint plane2_stride_y, uint plane2_step_y, uint plane2_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes) |
This function combines three planes to a single RGB image. More... | |
__kernel void | channel_combine_RGBA8888 (__global uchar *plane0_ptr, uint plane0_stride_x, uint plane0_step_x, uint plane0_stride_y, uint plane0_step_y, uint plane0_offset_first_element_in_bytes, __global uchar *plane1_ptr, uint plane1_stride_x, uint plane1_step_x, uint plane1_stride_y, uint plane1_step_y, uint plane1_offset_first_element_in_bytes, __global uchar *plane2_ptr, uint plane2_stride_x, uint plane2_step_x, uint plane2_stride_y, uint plane2_step_y, uint plane2_offset_first_element_in_bytes, __global uchar *plane3_ptr, uint plane3_stride_x, uint plane3_step_x, uint plane3_stride_y, uint plane3_step_y, uint plane3_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes) |
This function combines three planes to a single RGBA image. More... | |
__kernel void | channel_combine_YUYV422 (__global uchar *plane0_ptr, uint plane0_stride_x, uint plane0_step_x, uint plane0_stride_y, uint plane0_step_y, uint plane0_offset_first_element_in_bytes, __global uchar *plane1_ptr, uint plane1_stride_x, uint plane1_step_x, uint plane1_stride_y, uint plane1_step_y, uint plane1_offset_first_element_in_bytes, __global uchar *plane2_ptr, uint plane2_stride_x, uint plane2_step_x, uint plane2_stride_y, uint plane2_step_y, uint plane2_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes) |
This function combines three planes to a single YUYV image. More... | |
__kernel void | channel_combine_UYVY422 (__global uchar *plane0_ptr, uint plane0_stride_x, uint plane0_step_x, uint plane0_stride_y, uint plane0_step_y, uint plane0_offset_first_element_in_bytes, __global uchar *plane1_ptr, uint plane1_stride_x, uint plane1_step_x, uint plane1_stride_y, uint plane1_step_y, uint plane1_offset_first_element_in_bytes, __global uchar *plane2_ptr, uint plane2_stride_x, uint plane2_step_x, uint plane2_stride_y, uint plane2_step_y, uint plane2_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes) |
This function combines three planes to a single UYUV image. More... | |
__kernel void | channel_combine_NV (__global uchar *src_plane0_ptr, uint src_plane0_stride_x, uint src_plane0_step_x, uint src_plane0_stride_y, uint src_plane0_step_y, uint src_plane0_offset_first_element_in_bytes, __global uchar *src_plane1_ptr, uint src_plane1_stride_x, uint src_plane1_step_x, uint src_plane1_stride_y, uint src_plane1_step_y, uint src_plane1_offset_first_element_in_bytes, __global uchar *src_plane2_ptr, uint src_plane2_stride_x, uint src_plane2_step_x, uint src_plane2_stride_y, uint src_plane2_step_y, uint src_plane2_offset_first_element_in_bytes, __global uchar *dst_plane0_ptr, uint dst_plane0_stride_x, uint dst_plane0_step_x, uint dst_plane0_stride_y, uint dst_plane0_step_y, uint dst_plane0_offset_first_element_in_bytes, __global uchar *dst_plane1_ptr, uint dst_plane1_stride_x, uint dst_plane1_step_x, uint dst_plane1_stride_y, uint dst_plane1_step_y, uint dst_plane1_offset_first_element_in_bytes, uint height) |
This function combines three planes to a single NV12/NV21 image. More... | |
__kernel void | copy_planes_3p (__global uchar *src_plane0_ptr, uint src_plane0_stride_x, uint src_plane0_step_x, uint src_plane0_stride_y, uint src_plane0_step_y, uint src_plane0_offset_first_element_in_bytes, __global uchar *src_plane1_ptr, uint src_plane1_stride_x, uint src_plane1_step_x, uint src_plane1_stride_y, uint src_plane1_step_y, uint src_plane1_offset_first_element_in_bytes, __global uchar *src_plane2_ptr, uint src_plane2_stride_x, uint src_plane2_step_x, uint src_plane2_stride_y, uint src_plane2_step_y, uint src_plane2_offset_first_element_in_bytes, __global uchar *dst_plane0_ptr, uint dst_plane0_stride_x, uint dst_plane0_step_x, uint dst_plane0_stride_y, uint dst_plane0_step_y, uint dst_plane0_offset_first_element_in_bytes, __global uchar *dst_plane1_ptr, uint dst_plane1_stride_x, uint dst_plane1_step_x, uint dst_plane1_stride_y, uint dst_plane1_step_y, uint dst_plane1_offset_first_element_in_bytes, __global uchar *dst_plane2_ptr, uint dst_plane2_stride_x, uint dst_plane2_step_x, uint dst_plane2_stride_y, uint dst_plane2_step_y, uint dst_plane2_offset_first_element_in_bytes, uint height) |
This function combines three planes to a single YUV444 or IYUV image. More... | |
__kernel void channel_combine_NV | ( | __global uchar * | src_plane0_ptr, |
uint | src_plane0_stride_x, | ||
uint | src_plane0_step_x, | ||
uint | src_plane0_stride_y, | ||
uint | src_plane0_step_y, | ||
uint | src_plane0_offset_first_element_in_bytes, | ||
__global uchar * | src_plane1_ptr, | ||
uint | src_plane1_stride_x, | ||
uint | src_plane1_step_x, | ||
uint | src_plane1_stride_y, | ||
uint | src_plane1_step_y, | ||
uint | src_plane1_offset_first_element_in_bytes, | ||
__global uchar * | src_plane2_ptr, | ||
uint | src_plane2_stride_x, | ||
uint | src_plane2_step_x, | ||
uint | src_plane2_stride_y, | ||
uint | src_plane2_step_y, | ||
uint | src_plane2_offset_first_element_in_bytes, | ||
__global uchar * | dst_plane0_ptr, | ||
uint | dst_plane0_stride_x, | ||
uint | dst_plane0_step_x, | ||
uint | dst_plane0_stride_y, | ||
uint | dst_plane0_step_y, | ||
uint | dst_plane0_offset_first_element_in_bytes, | ||
__global uchar * | dst_plane1_ptr, | ||
uint | dst_plane1_stride_x, | ||
uint | dst_plane1_step_x, | ||
uint | dst_plane1_stride_y, | ||
uint | dst_plane1_step_y, | ||
uint | dst_plane1_offset_first_element_in_bytes, | ||
uint | height | ||
) |
This function combines three planes to a single NV12/NV21 image.
[in] | src_plane0_ptr | Pointer to the first plane. Supported Format: U8 |
[in] | src_plane0_stride_x | Stride of the first plane in X dimension (in bytes) |
[in] | src_plane0_step_x | src_plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | src_plane0_stride_y | Stride of the first plane in Y dimension (in bytes) |
[in] | src_plane0_step_y | src_plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | src_plane0_offset_first_element_in_bytes | The offset of the first element in the first plane |
[in] | src_plane1_ptr | Pointer to the second plane. Supported Format: U8 |
[in] | src_plane1_stride_x | Stride of the second plane in X dimension (in bytes) |
[in] | src_plane1_step_x | src_plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | src_plane1_stride_y | Stride of the second plane in Y dimension (in bytes) |
[in] | src_plane1_step_y | src_plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | src_plane1_offset_first_element_in_bytes | The offset of the first element in the second plane |
[in] | src_plane2_ptr | Pointer to the third plane. Supported Format: U8 |
[in] | src_plane2_stride_x | Stride of the third plane in X dimension (in bytes) |
[in] | src_plane2_step_x | src_plane2_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | src_plane2_stride_y | Stride of the third plane in Y dimension (in bytes) |
[in] | src_plane2_step_y | src_plane2_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | src_plane2_offset_first_element_in_bytes | The offset of the first element in the third plane |
[in] | dst_plane0_ptr | Pointer to the first plane of the destination image. Supported Format: U8 |
[in] | dst_plane0_stride_x | Stride of the first plane of the destination image in X dimension (in bytes) |
[in] | dst_plane0_step_x | dst_plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_plane0_stride_y | Stride of the first plane of the destination image in Y dimension (in bytes) |
[in] | dst_plane0_step_y | dst_plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_plane0_offset_first_element_in_bytes | The offset of the first element in the first plane of the destination image |
[in] | dst_plane1_ptr | Pointer to the second plane of the destination image. Supported Format: UV88 |
[in] | dst_plane1_stride_x | Stride of the second plane of the destination image in X dimension (in bytes) |
[in] | dst_plane1_step_x | dst_plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_plane1_stride_y | Stride of the second plane of the destination image in Y dimension (in bytes) |
[in] | dst_plane1_step_y | dst_plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_plane1_offset_first_element_in_bytes | The offset of the first element in the second plane of the destination image |
[in] | height | Sub-sampled height |
Definition at line 317 of file channel_combine.cl.
References CONVERT_TO_IMAGE_STRUCT, offset(), and Image::ptr.
__kernel void channel_combine_RGB888 | ( | __global uchar * | plane0_ptr, |
uint | plane0_stride_x, | ||
uint | plane0_step_x, | ||
uint | plane0_stride_y, | ||
uint | plane0_step_y, | ||
uint | plane0_offset_first_element_in_bytes, | ||
__global uchar * | plane1_ptr, | ||
uint | plane1_stride_x, | ||
uint | plane1_step_x, | ||
uint | plane1_stride_y, | ||
uint | plane1_step_y, | ||
uint | plane1_offset_first_element_in_bytes, | ||
__global uchar * | plane2_ptr, | ||
uint | plane2_stride_x, | ||
uint | plane2_step_x, | ||
uint | plane2_stride_y, | ||
uint | plane2_step_y, | ||
uint | plane2_offset_first_element_in_bytes, | ||
__global uchar * | dst_ptr, | ||
uint | dst_stride_x, | ||
uint | dst_step_x, | ||
uint | dst_stride_y, | ||
uint | dst_step_y, | ||
uint | dst_offset_first_element_in_bytes | ||
) |
This function combines three planes to a single RGB image.
[in] | plane0_ptr | Pointer to the first plane. Supported Format: U8 |
[in] | plane0_stride_x | Stride of the first plane in X dimension (in bytes) |
[in] | plane0_step_x | plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane0_stride_y | Stride of the first plane in Y dimension (in bytes) |
[in] | plane0_step_y | plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane0_offset_first_element_in_bytes | The offset of the first element in the first plane |
[in] | plane1_ptr | Pointer to the second plane. Supported Format: U8 |
[in] | plane1_stride_x | Stride of the second plane in X dimension (in bytes) |
[in] | plane1_step_x | plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane1_stride_y | Stride of the second plane in Y dimension (in bytes) |
[in] | plane1_step_y | plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane1_offset_first_element_in_bytes | The offset of the first element in the second plane |
[in] | plane2_ptr | Pointer to the third plane. Supported Format: U8 |
[in] | plane2_stride_x | Stride of the third plane in X dimension (in bytes) |
[in] | plane2_step_x | plane2_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane2_stride_y | Stride of the third plane in Y dimension (in bytes) |
[in] | plane2_step_y | plane2_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane2_offset_first_element_in_bytes | The offset of the first element in the third plane |
[in] | dst_ptr | Pointer to the destination image. Supported Format: RGB |
[in] | dst_stride_x | Stride of the destination image in X dimension (in bytes) |
[in] | dst_step_x | dst_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_stride_y | Stride of the destination image in Y dimension (in bytes) |
[in] | dst_step_y | dst_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_offset_first_element_in_bytes | The offset of the first element in the destination image |
Definition at line 53 of file channel_combine.cl.
References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.
__kernel void channel_combine_RGBA8888 | ( | __global uchar * | plane0_ptr, |
uint | plane0_stride_x, | ||
uint | plane0_step_x, | ||
uint | plane0_stride_y, | ||
uint | plane0_step_y, | ||
uint | plane0_offset_first_element_in_bytes, | ||
__global uchar * | plane1_ptr, | ||
uint | plane1_stride_x, | ||
uint | plane1_step_x, | ||
uint | plane1_stride_y, | ||
uint | plane1_step_y, | ||
uint | plane1_offset_first_element_in_bytes, | ||
__global uchar * | plane2_ptr, | ||
uint | plane2_stride_x, | ||
uint | plane2_step_x, | ||
uint | plane2_stride_y, | ||
uint | plane2_step_y, | ||
uint | plane2_offset_first_element_in_bytes, | ||
__global uchar * | plane3_ptr, | ||
uint | plane3_stride_x, | ||
uint | plane3_step_x, | ||
uint | plane3_stride_y, | ||
uint | plane3_step_y, | ||
uint | plane3_offset_first_element_in_bytes, | ||
__global uchar * | dst_ptr, | ||
uint | dst_stride_x, | ||
uint | dst_step_x, | ||
uint | dst_stride_y, | ||
uint | dst_step_y, | ||
uint | dst_offset_first_element_in_bytes | ||
) |
This function combines three planes to a single RGBA image.
[in] | plane0_ptr | Pointer to the first plane. Supported Format: U8 |
[in] | plane0_stride_x | Stride of the first plane in X dimension (in bytes) |
[in] | plane0_step_x | plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane0_stride_y | Stride of the first plane in Y dimension (in bytes) |
[in] | plane0_step_y | plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane0_offset_first_element_in_bytes | The offset of the first element in the first plane |
[in] | plane1_ptr | Pointer to the second plane. Supported Format: U8 |
[in] | plane1_stride_x | Stride of the second plane in X dimension (in bytes) |
[in] | plane1_step_x | plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane1_stride_y | Stride of the second plane in Y dimension (in bytes) |
[in] | plane1_step_y | plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane1_offset_first_element_in_bytes | The offset of the first element in the second plane |
[in] | plane2_ptr | Pointer to the third plane. Supported Format: U8 |
[in] | plane2_stride_x | Stride of the third plane in X dimension (in bytes) |
[in] | plane2_step_x | plane2_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane2_stride_y | Stride of the third plane in Y dimension (in bytes) |
[in] | plane2_step_y | plane2_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane2_offset_first_element_in_bytes | The offset of the first element in the third plane |
[in] | plane3_ptr | Pointer to the fourth plane. Supported Format: U8 |
[in] | plane3_stride_x | Stride of the fourth plane in X dimension (in bytes) |
[in] | plane3_step_x | plane3_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane3_stride_y | Stride of the fourth plane in Y dimension (in bytes) |
[in] | plane3_step_y | plane3_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane3_offset_first_element_in_bytes | The offset of the first element in the fourth plane |
[in] | dst_ptr | Pointer to the destination image. Supported Format: RGBA |
[in] | dst_stride_x | Stride of the destination image in X dimension (in bytes) |
[in] | dst_step_x | dst_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_stride_y | Stride of the destination image in Y dimension (in bytes) |
[in] | dst_step_y | dst_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_offset_first_element_in_bytes | The offset of the first element in the destination image |
Definition at line 127 of file channel_combine.cl.
References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.
__kernel void channel_combine_UYVY422 | ( | __global uchar * | plane0_ptr, |
uint | plane0_stride_x, | ||
uint | plane0_step_x, | ||
uint | plane0_stride_y, | ||
uint | plane0_step_y, | ||
uint | plane0_offset_first_element_in_bytes, | ||
__global uchar * | plane1_ptr, | ||
uint | plane1_stride_x, | ||
uint | plane1_step_x, | ||
uint | plane1_stride_y, | ||
uint | plane1_step_y, | ||
uint | plane1_offset_first_element_in_bytes, | ||
__global uchar * | plane2_ptr, | ||
uint | plane2_stride_x, | ||
uint | plane2_step_x, | ||
uint | plane2_stride_y, | ||
uint | plane2_step_y, | ||
uint | plane2_offset_first_element_in_bytes, | ||
__global uchar * | dst_ptr, | ||
uint | dst_stride_x, | ||
uint | dst_step_x, | ||
uint | dst_stride_y, | ||
uint | dst_step_y, | ||
uint | dst_offset_first_element_in_bytes | ||
) |
This function combines three planes to a single UYUV image.
[in] | plane0_ptr | Pointer to the first plane. Supported Format: U8 |
[in] | plane0_stride_x | Stride of the first plane in X dimension (in bytes) |
[in] | plane0_step_x | plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane0_stride_y | Stride of the first plane in Y dimension (in bytes) |
[in] | plane0_step_y | plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane0_offset_first_element_in_bytes | The offset of the first element in the first plane |
[in] | plane1_ptr | Pointer to the second plane. Supported Format: U8 |
[in] | plane1_stride_x | Stride of the second plane in X dimension (in bytes) |
[in] | plane1_step_x | plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane1_stride_y | Stride of the second plane in Y dimension (in bytes) |
[in] | plane1_step_y | plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane1_offset_first_element_in_bytes | The offset of the first element in the second plane |
[in] | plane2_ptr | Pointer to the third plane. Supported Format: U8 |
[in] | plane2_stride_x | Stride of the third plane in X dimension (in bytes) |
[in] | plane2_step_x | plane2_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane2_stride_y | Stride of the third plane in Y dimension (in bytes) |
[in] | plane2_step_y | plane2_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane2_offset_first_element_in_bytes | The offset of the first element in the third plane |
[in] | dst_ptr | Pointer to the destination image. Supported Format: UYUV |
[in] | dst_stride_x | Stride of the destination image in X dimension (in bytes) |
[in] | dst_step_x | dst_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_stride_y | Stride of the destination image in Y dimension (in bytes) |
[in] | dst_step_y | dst_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_offset_first_element_in_bytes | The offset of the first element in the destination image |
Definition at line 253 of file channel_combine.cl.
References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.
__kernel void channel_combine_YUYV422 | ( | __global uchar * | plane0_ptr, |
uint | plane0_stride_x, | ||
uint | plane0_step_x, | ||
uint | plane0_stride_y, | ||
uint | plane0_step_y, | ||
uint | plane0_offset_first_element_in_bytes, | ||
__global uchar * | plane1_ptr, | ||
uint | plane1_stride_x, | ||
uint | plane1_step_x, | ||
uint | plane1_stride_y, | ||
uint | plane1_step_y, | ||
uint | plane1_offset_first_element_in_bytes, | ||
__global uchar * | plane2_ptr, | ||
uint | plane2_stride_x, | ||
uint | plane2_step_x, | ||
uint | plane2_stride_y, | ||
uint | plane2_step_y, | ||
uint | plane2_offset_first_element_in_bytes, | ||
__global uchar * | dst_ptr, | ||
uint | dst_stride_x, | ||
uint | dst_step_x, | ||
uint | dst_stride_y, | ||
uint | dst_step_y, | ||
uint | dst_offset_first_element_in_bytes | ||
) |
This function combines three planes to a single YUYV image.
[in] | plane0_ptr | Pointer to the first plane. Supported Format: U8 |
[in] | plane0_stride_x | Stride of the first plane in X dimension (in bytes) |
[in] | plane0_step_x | plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane0_stride_y | Stride of the first plane in Y dimension (in bytes) |
[in] | plane0_step_y | plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane0_offset_first_element_in_bytes | The offset of the first element in the first plane |
[in] | plane1_ptr | Pointer to the second plane. Supported Format: U8 |
[in] | plane1_stride_x | Stride of the second plane in X dimension (in bytes) |
[in] | plane1_step_x | plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane1_stride_y | Stride of the second plane in Y dimension (in bytes) |
[in] | plane1_step_y | plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane1_offset_first_element_in_bytes | The offset of the first element in the second plane |
[in] | plane2_ptr | Pointer to the third plane. Supported Format: U8 |
[in] | plane2_stride_x | Stride of the third plane in X dimension (in bytes) |
[in] | plane2_step_x | plane2_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | plane2_stride_y | Stride of the third plane in Y dimension (in bytes) |
[in] | plane2_step_y | plane2_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | plane2_offset_first_element_in_bytes | The offset of the first element in the third plane |
[in] | dst_ptr | Pointer to the destination image. Supported Format: YUYV |
[in] | dst_stride_x | Stride of the destination image in X dimension (in bytes) |
[in] | dst_step_x | dst_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_stride_y | Stride of the destination image in Y dimension (in bytes) |
[in] | dst_step_y | dst_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_offset_first_element_in_bytes | The offset of the first element in the destination image |
Definition at line 198 of file channel_combine.cl.
References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.
__kernel void copy_planes_3p | ( | __global uchar * | src_plane0_ptr, |
uint | src_plane0_stride_x, | ||
uint | src_plane0_step_x, | ||
uint | src_plane0_stride_y, | ||
uint | src_plane0_step_y, | ||
uint | src_plane0_offset_first_element_in_bytes, | ||
__global uchar * | src_plane1_ptr, | ||
uint | src_plane1_stride_x, | ||
uint | src_plane1_step_x, | ||
uint | src_plane1_stride_y, | ||
uint | src_plane1_step_y, | ||
uint | src_plane1_offset_first_element_in_bytes, | ||
__global uchar * | src_plane2_ptr, | ||
uint | src_plane2_stride_x, | ||
uint | src_plane2_step_x, | ||
uint | src_plane2_stride_y, | ||
uint | src_plane2_step_y, | ||
uint | src_plane2_offset_first_element_in_bytes, | ||
__global uchar * | dst_plane0_ptr, | ||
uint | dst_plane0_stride_x, | ||
uint | dst_plane0_step_x, | ||
uint | dst_plane0_stride_y, | ||
uint | dst_plane0_step_y, | ||
uint | dst_plane0_offset_first_element_in_bytes, | ||
__global uchar * | dst_plane1_ptr, | ||
uint | dst_plane1_stride_x, | ||
uint | dst_plane1_step_x, | ||
uint | dst_plane1_stride_y, | ||
uint | dst_plane1_step_y, | ||
uint | dst_plane1_offset_first_element_in_bytes, | ||
__global uchar * | dst_plane2_ptr, | ||
uint | dst_plane2_stride_x, | ||
uint | dst_plane2_step_x, | ||
uint | dst_plane2_stride_y, | ||
uint | dst_plane2_step_y, | ||
uint | dst_plane2_offset_first_element_in_bytes, | ||
uint | height | ||
) |
This function combines three planes to a single YUV444 or IYUV image.
[in] | src_plane0_ptr | Pointer to the first plane. Supported Format: U8 |
[in] | src_plane0_stride_x | Stride of the first plane in X dimension (in bytes) |
[in] | src_plane0_step_x | src_plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | src_plane0_stride_y | Stride of the first plane in Y dimension (in bytes) |
[in] | src_plane0_step_y | src_plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | src_plane0_offset_first_element_in_bytes | The offset of the first element in the first plane |
[in] | src_plane1_ptr | Pointer to the second plane. Supported Format: U8 |
[in] | src_plane1_stride_x | Stride of the second plane in X dimension (in bytes) |
[in] | src_plane1_step_x | src_plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | src_plane1_stride_y | Stride of the second plane in Y dimension (in bytes) |
[in] | src_plane1_step_y | src_plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | src_plane1_offset_first_element_in_bytes | The offset of the first element in the second plane |
[in] | src_plane2_ptr | Pointer to the third plane. Supported Format: U8 |
[in] | src_plane2_stride_x | Stride of the third plane in X dimension (in bytes) |
[in] | src_plane2_step_x | src_plane2_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | src_plane2_stride_y | Stride of the third plane in Y dimension (in bytes) |
[in] | src_plane2_step_y | src_plane2_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | src_plane2_offset_first_element_in_bytes | The offset of the first element in the third plane |
[in] | dst_plane0_ptr | Pointer to the first plane of the destination image. Supported Format: U8 |
[in] | dst_plane0_stride_x | Stride of the first plane of the destination image in X dimension (in bytes) |
[in] | dst_plane0_step_x | dst_plane0_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_plane0_stride_y | Stride of the first plane of the destination image in Y dimension (in bytes) |
[in] | dst_plane0_step_y | dst_plane0_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_plane0_offset_first_element_in_bytes | The offset of the first element in the first plane of the destination image |
[in] | dst_plane1_ptr | Pointer to the second plane of the destination image. Supported Format: U8 |
[in] | dst_plane1_stride_x | Stride of the second plane of the destination image in X dimension (in bytes) |
[in] | dst_plane1_step_x | dst_plane1_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_plane1_stride_y | Stride of the second plane of the destination image in Y dimension (in bytes) |
[in] | dst_plane1_step_y | dst_plane1_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_plane1_offset_first_element_in_bytes | The offset of the first element in the second plane of the destination image |
[in] | dst_plane2_ptr | Pointer to the third plane of the destination image. Supported Format: U8 |
[in] | dst_plane2_stride_x | Stride of the third plane of the destination image in X dimension (in bytes) |
[in] | dst_plane2_step_x | dst_plane2_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_plane2_stride_y | Stride of the third plane of the destination image in Y dimension (in bytes) |
[in] | dst_plane2_step_y | dst_plane2_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_plane2_offset_first_element_in_bytes | The offset of the first element in the third plane of the destination image |
[in] | height | Sub-sampled height |
Definition at line 389 of file channel_combine.cl.
References CONVERT_TO_IMAGE_STRUCT, offset(), and Image::ptr.