| 70 | } |
| 71 | |
| 72 | void extract_r_from_rgb(const RawTensor &src, RawTensor &dst) |
| 73 | { |
| 74 | ARM_COMPUTE_ERROR_ON(src.size() != 3 * dst.size()); |
| 75 | |
| 76 | const size_t num_elements = dst.num_elements(); |
| 77 | |
| 78 | for (size_t i = 0, j = 0; j < num_elements; i += 3, ++j) |
| 79 | { |
| 80 | dst.data()[j] = src.data()[i]; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | void extract_g_from_rgb(const RawTensor &src, RawTensor &dst) |
| 85 | { |
nothing calls this directly
no test coverage detected