Home
last modified time | relevance | path

Searched refs:inputStride (Results 1 – 1 of 1) sorted by relevance

/frameworks/rs/tests/cpp_api/cppbasic-getpointer/
Dcompute.cpp39 size_t inputStride, outputStride; in test_compute() local
41 uint32_t *input = (uint32_t*)ain->getPointer(&inputStride); in test_compute()
45 printf("Input stride: %zu\n", inputStride); in test_compute()
49 inputStride /= sizeof(uint32_t); in test_compute()
54 input[i * inputStride + j] = rand(); in test_compute()
55 output[i * inputStride + j] = 0; in test_compute()
75 if (input[i * inputStride + j] != ~(output[i * inputStride + j])) { in test_compute()