| 82 | } |
| 83 | |
| 84 | void extract_g_from_rgb(const RawTensor &src, RawTensor &dst) |
| 85 | { |
| 86 | ARM_COMPUTE_ERROR_ON(src.size() != 3 * dst.size()); |
| 87 | |
| 88 | const size_t num_elements = dst.num_elements(); |
| 89 | |
| 90 | for (size_t i = 1, j = 0; j < num_elements; i += 3, ++j) |
| 91 | { |
| 92 | dst.data()[j] = src.data()[i]; |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | void extract_b_from_rgb(const RawTensor &src, RawTensor &dst) |
| 97 | { |
nothing calls this directly
no test coverage detected