X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=documentation%2Fbitwise__op_8cl.xhtml;h=2e042148b1e46619b964b914500637daf1d2e5ba;hb=HEAD;hp=2d05a220d391ac3dfc04519cf21d4e7f379789ee;hpb=bf8b01dfbfdca124673ade33c5eac8f3748d7abd;p=platform%2Fupstream%2Farmcl.git diff --git a/documentation/bitwise__op_8cl.xhtml b/documentation/bitwise__op_8cl.xhtml index 2d05a22..2e04214 100644 --- a/documentation/bitwise__op_8cl.xhtml +++ b/documentation/bitwise__op_8cl.xhtml @@ -4,7 +4,7 @@ - + Compute Library: src/core/CL/cl_kernels/bitwise_op.cl File Reference @@ -12,22 +12,24 @@ + + + @@ -38,7 +40,7 @@
Compute Library -  17.10 +  18.05
@@ -46,7 +48,7 @@ - + @@ -101,7 +103,7 @@ $(document).ready(function(){initNavTree('bitwise__op_8cl.xhtml','');}); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages +
@@ -117,23 +119,23 @@ $(document).ready(function(){initNavTree('bitwise__op_8cl.xhtml','');});
bitwise_op.cl File Reference
-
#include "helpers.h"
+
#include "helpers.h"

Go to the source code of this file.

- + - + - + - +

Functions

__kernel void bitwise_or (__global uchar *in1_ptr, uint in1_stride_x, uint in1_step_x, uint in1_stride_y, uint in1_step_y, uint in1_offset_first_element_in_bytes, __global uchar *in2_ptr, uint in2_stride_x, uint in2_step_x, uint in2_stride_y, uint in2_step_y, uint in2_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes)
 This function computes the bitwise OR of two input images. More...
 This function computes the bitwise OR of two input images. More...
 
__kernel void bitwise_and (__global uchar *in1_ptr, uint in1_stride_x, uint in1_step_x, uint in1_stride_y, uint in1_step_y, uint in1_offset_first_element_in_bytes, __global uchar *in2_ptr, uint in2_stride_x, uint in2_step_x, uint in2_stride_y, uint in2_step_y, uint in2_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes)
 This function computes the bitwise AND of two input images. More...
 This function computes the bitwise AND of two input images. More...
 
__kernel void bitwise_xor (__global uchar *in1_ptr, uint in1_stride_x, uint in1_step_x, uint in1_stride_y, uint in1_step_y, uint in1_offset_first_element_in_bytes, __global uchar *in2_ptr, uint in2_stride_x, uint in2_step_x, uint in2_stride_y, uint in2_step_y, uint in2_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes)
 This function computes the bitwise XOR of two input images. More...
 This function computes the bitwise XOR of two input images. More...
 
__kernel void bitwise_not (__global uchar *in_ptr, uint in_stride_x, uint in_step_x, uint in_stride_y, uint in_step_y, uint in_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes)
 This function computes the bitwise NOT of an image. More...
 This function computes the bitwise NOT of an image. More...
 

Function Documentation

@@ -284,22 +286,12 @@ Functions

Definition at line 83 of file bitwise_op.cl.

-

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

+

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

Referenced by arm_compute::test::validation::DATA_TEST_CASE().

-
87 {
-
88  Image in1 = CONVERT_TO_IMAGE_STRUCT(in1);
-
89  Image in2 = CONVERT_TO_IMAGE_STRUCT(in2);
-
90  Image out = CONVERT_TO_IMAGE_STRUCT(out);
-
91 
-
92  uchar16 in_a = vload16(0, in1.ptr);
-
93  uchar16 in_b = vload16(0, in2.ptr);
-
94 
-
95  vstore16(in_a & in_b, 0, out.ptr);
-
96 }
-
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:96
-
Structure to hold Image information.
Definition: helpers.h:134
-
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:136
+
87 {
88  Image in1 = CONVERT_TO_IMAGE_STRUCT(in1);
89  Image in2 = CONVERT_TO_IMAGE_STRUCT(in2);
90  Image out = CONVERT_TO_IMAGE_STRUCT(out);
91 
92  uchar16 in_a = vload16(0, in1.ptr);
93  uchar16 in_b = vload16(0, in2.ptr);
94 
95  vstore16(in_a & in_b, 0, out.ptr);
96 }
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:104
+
Structure to hold Image information.
Definition: helpers.h:142
+
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:144
@@ -408,18 +400,10 @@ Functions

Definition at line 149 of file bitwise_op.cl.

-

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

-
152 {
- -
154  Image out = CONVERT_TO_IMAGE_STRUCT(out);
-
155 
-
156  uchar16 in_data = vload16(0, in.ptr);
-
157 
-
158  vstore16(~in_data, 0, out.ptr);
-
159 }
-
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:96
-
Structure to hold Image information.
Definition: helpers.h:134
-
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:136
+

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

+
152 {
154  Image out = CONVERT_TO_IMAGE_STRUCT(out);
155 
156  uchar16 in_data = vload16(0, in.ptr);
157 
158  vstore16(~in_data, 0, out.ptr);
159 }
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:104
+
Structure to hold Image information.
Definition: helpers.h:142
+
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:144
@@ -570,20 +554,10 @@ Functions

Definition at line 47 of file bitwise_op.cl.

-

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

-
51 {
-
52  Image in1 = CONVERT_TO_IMAGE_STRUCT(in1);
-
53  Image in2 = CONVERT_TO_IMAGE_STRUCT(in2);
-
54  Image out = CONVERT_TO_IMAGE_STRUCT(out);
-
55 
-
56  uchar16 in_a = vload16(0, in1.ptr);
-
57  uchar16 in_b = vload16(0, in2.ptr);
-
58 
-
59  vstore16(in_a | in_b, 0, out.ptr);
-
60 }
-
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:96
-
Structure to hold Image information.
Definition: helpers.h:134
-
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:136
+

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

+
51 {
52  Image in1 = CONVERT_TO_IMAGE_STRUCT(in1);
53  Image in2 = CONVERT_TO_IMAGE_STRUCT(in2);
54  Image out = CONVERT_TO_IMAGE_STRUCT(out);
55 
56  uchar16 in_a = vload16(0, in1.ptr);
57  uchar16 in_b = vload16(0, in2.ptr);
58 
59  vstore16(in_a | in_b, 0, out.ptr);
60 }
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:104
+
Structure to hold Image information.
Definition: helpers.h:142
+
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:144
@@ -734,20 +708,10 @@ Functions

Definition at line 119 of file bitwise_op.cl.

-

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

-
123 {
-
124  Image in1 = CONVERT_TO_IMAGE_STRUCT(in1);
-
125  Image in2 = CONVERT_TO_IMAGE_STRUCT(in2);
-
126  Image out = CONVERT_TO_IMAGE_STRUCT(out);
-
127 
-
128  uchar16 in_a = vload16(0, in1.ptr);
-
129  uchar16 in_b = vload16(0, in2.ptr);
-
130 
-
131  vstore16(in_a ^ in_b, 0, out.ptr);
-
132 }
-
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:96
-
Structure to hold Image information.
Definition: helpers.h:134
-
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:136
+

References CONVERT_TO_IMAGE_STRUCT, and Image::ptr.

+
123 {
124  Image in1 = CONVERT_TO_IMAGE_STRUCT(in1);
125  Image in2 = CONVERT_TO_IMAGE_STRUCT(in2);
126  Image out = CONVERT_TO_IMAGE_STRUCT(out);
127 
128  uchar16 in_a = vload16(0, in1.ptr);
129  uchar16 in_b = vload16(0, in2.ptr);
130 
131  vstore16(in_a ^ in_b, 0, out.ptr);
132 }
#define CONVERT_TO_IMAGE_STRUCT(name)
Definition: helpers.h:104
+
Structure to hold Image information.
Definition: helpers.h:142
+
__global uchar * ptr
Pointer to the starting postion of the buffer.
Definition: helpers.h:144
@@ -756,10 +720,10 @@ Functions