| 467 | |
| 468 | template <int kNumStreams> |
| 469 | void ByteStreamSplitDecodeScalar(const uint8_t* data, int width, int64_t num_values, |
| 470 | int64_t stride, uint8_t* out) { |
| 471 | assert(width == kNumStreams); |
| 472 | std::array<const uint8_t*, kNumStreams> src_streams; |
| 473 | for (int stream = 0; stream < kNumStreams; ++stream) { |
| 474 | src_streams[stream] = &data[stream * stride]; |
| 475 | } |
| 476 | DoMergeStreams(src_streams.data(), kNumStreams, num_values, out); |
| 477 | } |
| 478 | |
| 479 | inline void ByteStreamSplitDecodeScalarDynamic(const uint8_t* data, int width, |
| 480 | int64_t num_values, int64_t stride, |
nothing calls this directly
no test coverage detected