uint8_t 9 apps/HelloAndroid/jni/hello_generator.cpp Input<Buffer<uint8_t>> input{"input", 2}; uint8_t 10 apps/HelloAndroid/jni/hello_generator.cpp Output<Buffer<uint8_t>> result{"result", 2}; uint8_t 22 apps/HelloAndroid/jni/hello_generator.cpp result(x, y) = cast<uint8_t>(clamp(sharper(x, y), 0, 255)); uint8_t 66 apps/HelloAndroid/jni/hello_wrapper.cpp uint8_t *dst = (uint8_t *)buf.bits; uint8_t 80 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.host = (uint8_t *)src; uint8_t 89 apps/HelloAndroid/jni/hello_wrapper.cpp srcBuf.type = halide_type_of<uint8_t>(); uint8_t 106 apps/HelloAndroid/jni/hello_wrapper.cpp dstBuf.type = halide_type_of<uint8_t>(); uint8_t 21 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp uint8_t *srcLumaPtr = reinterpret_cast<uint8_t *>( uint8_t 23 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp uint8_t *srcChromaUPtr = reinterpret_cast<uint8_t *>( uint8_t 25 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp uint8_t *srcChromaVPtr = reinterpret_cast<uint8_t *>( uint8_t 38 apps/HelloAndroidCamera2/jni/LockedSurface.cpp uint8_t *lumaPtr = reinterpret_cast<uint8_t *>(buffer_.bits); uint8_t 45 apps/HelloAndroidCamera2/jni/LockedSurface.cpp uint8_t *chromaVPtr = lumaPtr + lumaSizeBytes; uint8_t 46 apps/HelloAndroidCamera2/jni/LockedSurface.cpp uint8_t *chromaUPtr = lumaPtr + lumaSizeBytes + chromaSizeBytes; uint8_t 8 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp YuvBufferT::YuvBufferT(uint8_t *lumaPointer, uint8_t 11 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp uint8_t *chromaUPointer, uint8_t 14 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp uint8_t *chromaVPointer, uint8_t 25 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp luma_ = Halide::Runtime::Buffer<uint8_t>(lumaPointer, 2, lumaShape); uint8_t 31 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaU_ = Halide::Runtime::Buffer<uint8_t>(chromaUPointer, 2, chromaUShape); uint8_t 37 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaV_ = Halide::Runtime::Buffer<uint8_t>(chromaVPointer, 2, chromaVShape); uint8_t 72 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp interleavedChromaView_ = Halide::Runtime::Buffer<uint8_t>(); uint8_t 78 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp interleavedChromaView_ = Halide::Runtime::Buffer<uint8_t>(chromaUPointer, 2, chromaShape); uint8_t 84 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp interleavedChromaView_ = Halide::Runtime::Buffer<uint8_t>(chromaVPointer, 2, chromaShape); uint8_t 104 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp Halide::Runtime::Buffer<uint8_t> YuvBufferT::luma() const { uint8_t 108 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp Halide::Runtime::Buffer<uint8_t> YuvBufferT::chromaU() const { uint8_t 112 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp Halide::Runtime::Buffer<uint8_t> YuvBufferT::chromaV() const { uint8_t 120 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp Halide::Runtime::Buffer<uint8_t> YuvBufferT::interleavedChromaView() const { uint8_t 124 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp Halide::Runtime::Buffer<uint8_t> YuvBufferT::packedPlanarChromaView() const { uint8_t 142 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp void YuvBufferT::fill(uint8_t y, uint8_t u, uint8_t v) { uint8_t 147 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp void YuvBufferT::fillUV(uint8_t u, uint8_t v) { uint8_t 159 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp Halide::Runtime::Buffer<uint8_t> rotateBuffer180(Halide::Runtime::Buffer<uint8_t> buf) { uint8_t 165 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp return Halide::Runtime::Buffer<uint8_t>(&buf(buf.width()-1, buf.height()-1), 2, shape); uint8_t 40 apps/HelloAndroidCamera2/jni/YuvBufferT.h YuvBufferT(uint8_t *lumaPointer, uint8_t 43 apps/HelloAndroidCamera2/jni/YuvBufferT.h uint8_t *chromaUPointer, uint8_t 46 apps/HelloAndroidCamera2/jni/YuvBufferT.h uint8_t *chromaVPointer, uint8_t 54 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> luma() const; uint8_t 56 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> chromaU() const; uint8_t 58 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> chromaV() const; uint8_t 68 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> interleavedChromaView() const; uint8_t 77 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> packedPlanarChromaView() const; uint8_t 86 apps/HelloAndroidCamera2/jni/YuvBufferT.h void fill(uint8_t y, uint8_t u, uint8_t v); uint8_t 89 apps/HelloAndroidCamera2/jni/YuvBufferT.h void fillUV(uint8_t u, uint8_t v); uint8_t 93 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> luma_; uint8_t 94 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> chromaU_; uint8_t 95 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> chromaV_; uint8_t 99 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> interleavedChromaView_; uint8_t 100 apps/HelloAndroidCamera2/jni/YuvBufferT.h Halide::Runtime::Buffer<uint8_t> packedPlanarChromaView_; uint8_t 30 apps/HelloAndroidCamera2/jni/edge_detect_generator.cpp result(x, y) = cast<uint8_t>(clamp(grad_mag(x, y), 0, 255)); uint8_t 31 apps/HelloAndroidGL/jni/halide_gl_filter.cpp result(x, y, c) = cast<uint8_t>( uint8_t 13 apps/HelloHexagon/pipeline.cpp return cast<uint8_t>((x0 + 4*x1 + 6*x2 + 4*x3 + x4 + 8)/16); uint8_t 19 apps/HelloHexagon/pipeline.cpp Input<Buffer<uint8_t>> input{"input", 3}; uint8_t 22 apps/HelloHexagon/pipeline.cpp Output<Buffer<uint8_t>> blur{"blur", 3}; uint8_t 88 apps/HelloHexagon/pipeline.cpp const int vector_size = natural_vector_size<uint8_t>(); uint8_t 51 apps/HelloHexagon/process.cpp Halide::Runtime::Buffer<uint8_t> in(nullptr, W, H, 3); uint8_t 52 apps/HelloHexagon/process.cpp Halide::Runtime::Buffer<uint8_t> out(nullptr, W, H, 3); uint8_t 58 apps/HelloHexagon/process.cpp in.for_each_value([&](uint8_t &x) { uint8_t 59 apps/HelloHexagon/process.cpp x = static_cast<uint8_t>(rand()); uint8_t 101 apps/HelloHexagon/process.cpp uint8_t out_xy = out(x, y, c); uint8_t 178 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Output<Buffer<uint8_t>> render{"render", 3}; uint8_t 197 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr bgra = select(c == 0, cast<uint8_t>(B * 255), uint8_t 198 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp c == 1, cast<uint8_t>(G * 255), uint8_t 199 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp c == 2, cast<uint8_t>(R * 255), uint8_t 200 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp /*c==3*/cast<uint8_t>(A * 255)); uint8_t 202 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp Expr rgba = select(c == 0, cast<uint8_t>(R * 255), uint8_t 203 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp c == 1, cast<uint8_t>(G * 255), uint8_t 204 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp c == 2, cast<uint8_t>(B * 255), uint8_t 205 apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp /*c==3*/cast<uint8_t>(A * 255)); uint8_t 292 apps/camera_pipe/camera_pipe_generator.cpp curved(x, y, c) = cast<uint8_t>((cast<uint16_t>(y0)*lutResample + (y1 - y0)*u)/lutResample); uint8_t 75 apps/camera_pipe/fcam/Demosaic.cpp void demosaic(Halide::Runtime::Buffer<uint16_t> input, Halide::Runtime::Buffer<uint8_t> out, float colorTemp, float contrast, bool denoise, int blackLevel, int whiteLevel, float gamma) { uint8_t 21 apps/camera_pipe/fcam/Demosaic.h Halide::Runtime::Buffer<uint8_t> out, uint8_t 18 apps/camera_pipe/fcam/Demosaic_ARM.cpp void demosaic_ARM(Halide::Runtime::Buffer<uint16_t> input, Halide::Runtime::Buffer<uint8_t> out, float colorTemp, float contrast, bool denoise, int blackLevel, int whiteLevel, float gamma) { uint8_t 10 apps/camera_pipe/fcam/Demosaic_ARM.h void demosaic_ARM(Halide::Runtime::Buffer<uint16_t> input, Halide::Runtime::Buffer<uint8_t> out, float colorTemp, float contrast, bool denoise, int blackLevel, int whiteLevel, float gamma); uint8_t 32 apps/camera_pipe/process.cpp Buffer<uint8_t> output(((input.width() - 32)/32)*32, ((input.height() - 24)/32)*32, 3); uint8_t 76 apps/camera_pipe/process.cpp Buffer<uint8_t> output_c(output.width(), output.height(), output.channels()); uint8_t 87 apps/camera_pipe/process.cpp Buffer<uint8_t> output_asm(output.width(), output.height(), output.channels()); uint8_t 20 apps/glsl/halide_blur_glsl_generator.cpp out(x, y, c) = cast<uint8_t>(blur_y(x, y, c) * 255.f); uint8_t 27 apps/glsl/halide_ycc_glsl_generator.cpp out(x, y, c) = cast<uint8_t>(select(c == 0, Y(x,y), uint8_t 16 apps/glsl/opengl_test.cpp Buffer<uint8_t> input(W, H, C); uint8_t 17 apps/glsl/opengl_test.cpp Buffer<uint8_t> output(W, H, C); uint8_t 26 apps/glsl/opengl_test.cpp Buffer<uint8_t> input(W, H, C); uint8_t 27 apps/glsl/opengl_test.cpp Buffer<uint8_t> output(W, H, C); uint8_t 36 apps/glsl/opengl_test.cpp Buffer<uint8_t> temp(W, H, C); uint8_t 9 apps/hexagon_benchmarks/conv3x3_generator.cpp Input<Buffer<uint8_t>> input{"input", 2}; uint8_t 12 apps/hexagon_benchmarks/conv3x3_generator.cpp Output<Buffer<uint8_t>> output{"output", 2}; uint8_t 23 apps/hexagon_benchmarks/conv3x3_generator.cpp output(x, y) = cast<uint8_t>(clamp(sum >> 4, 0, 255)); uint8_t 52 apps/hexagon_benchmarks/conv3x3_generator.cpp const int vector_size = natural_vector_size<uint8_t>(); uint8_t 8 apps/hexagon_benchmarks/dilate3x3_generator.cpp Input<Buffer<uint8_t>> input{"input", 2}; uint8_t 10 apps/hexagon_benchmarks/dilate3x3_generator.cpp Output<Buffer<uint8_t>> output{"output", 2}; uint8_t 45 apps/hexagon_benchmarks/dilate3x3_generator.cpp const int vector_size = natural_vector_size<uint8_t>(); uint8_t 7 apps/hexagon_benchmarks/gaussian5x5_generator.cpp Input<Buffer<uint8_t>> input{"input", 2}; uint8_t 8 apps/hexagon_benchmarks/gaussian5x5_generator.cpp Output<Buffer<uint8_t>> output{"output", 2}; uint8_t 19 apps/hexagon_benchmarks/gaussian5x5_generator.cpp output(x, y) = cast<uint8_t> (cols(x, y) >> 8); uint8_t 52 apps/hexagon_benchmarks/gaussian5x5_generator.cpp const int vector_size = natural_vector_size<uint8_t>(); uint8_t 13 apps/hexagon_benchmarks/median3x3_generator.cpp Input<Buffer<uint8_t>> input{"input", 2}; uint8_t 15 apps/hexagon_benchmarks/median3x3_generator.cpp Output<Buffer<uint8_t>> output{"output", 2}; uint8_t 56 apps/hexagon_benchmarks/median3x3_generator.cpp const int vector_size = natural_vector_size<uint8_t>(); uint8_t 68 apps/hexagon_benchmarks/process.h Halide::Runtime::Buffer<uint8_t> u8_in, u8_out; uint8_t 81 apps/hexagon_benchmarks/process.h u8_in.for_each_value([&](uint8_t &x) { uint8_t 82 apps/hexagon_benchmarks/process.h x = static_cast<uint8_t>(rand()); uint8_t 122 apps/hexagon_benchmarks/process.h uint8_t out_xy = u8_out(x, y); uint8_t 151 apps/hexagon_benchmarks/process.h Halide::Runtime::Buffer<uint8_t> u8_in, u8_out; uint8_t 153 apps/hexagon_benchmarks/process.h static uint8_t max3(uint8_t a, uint8_t b, uint8_t c) { uint8_t 164 apps/hexagon_benchmarks/process.h u8_in.for_each_value([&](uint8_t &x) { uint8_t 165 apps/hexagon_benchmarks/process.h x = static_cast<uint8_t>(rand()); uint8_t 185 apps/hexagon_benchmarks/process.h uint8_t max_y[3]; uint8_t 192 apps/hexagon_benchmarks/process.h uint8_t max_val = max3(max_y[0], max_y[1], max_y[2]); uint8_t 194 apps/hexagon_benchmarks/process.h uint8_t out_xy = u8_out(x, y); uint8_t 222 apps/hexagon_benchmarks/process.h Halide::Runtime::Buffer<uint8_t> u8_in, u8_out; uint8_t 232 apps/hexagon_benchmarks/process.h u8_in.for_each_value([&](uint8_t &x) { uint8_t 233 apps/hexagon_benchmarks/process.h x = static_cast<uint8_t>(rand()); uint8_t 253 apps/hexagon_benchmarks/process.h uint8_t inp9[9] = { u8_in_bounded(x-1, y-1), u8_in_bounded(x, y-1), u8_in_bounded(x+1, y-1), uint8_t 259 apps/hexagon_benchmarks/process.h uint8_t median_val = inp9[4]; uint8_t 260 apps/hexagon_benchmarks/process.h uint8_t out_xy = u8_out(x, y); uint8_t 288 apps/hexagon_benchmarks/process.h Halide::Runtime::Buffer<uint8_t> u8_in, u8_out; uint8_t 298 apps/hexagon_benchmarks/process.h u8_in.for_each_value([&](uint8_t &x) { uint8_t 299 apps/hexagon_benchmarks/process.h x = static_cast<uint8_t>(rand()); uint8_t 327 apps/hexagon_benchmarks/process.h uint8_t blur_val = blur >> 8; uint8_t 328 apps/hexagon_benchmarks/process.h uint8_t out_xy = u8_out(x, y); uint8_t 356 apps/hexagon_benchmarks/process.h Halide::Runtime::Buffer<uint8_t> u8_in, u8_out; uint8_t 366 apps/hexagon_benchmarks/process.h u8_in.for_each_value([&](uint8_t &x) { uint8_t 367 apps/hexagon_benchmarks/process.h x = static_cast<uint8_t>(rand()); uint8_t 400 apps/hexagon_benchmarks/process.h uint8_t sobel_val = static_cast<uint8_t>(clamp(sobel_x + sobel_y, 0, 255)); uint8_t 402 apps/hexagon_benchmarks/process.h uint8_t out_xy = u8_out(x, y); uint8_t 430 apps/hexagon_benchmarks/process.h Halide::Runtime::Buffer<uint8_t> u8_in, u8_out; uint8_t 443 apps/hexagon_benchmarks/process.h u8_in.for_each_value([&](uint8_t &x) { uint8_t 444 apps/hexagon_benchmarks/process.h x = static_cast<uint8_t>(rand()); uint8_t 483 apps/hexagon_benchmarks/process.h uint8_t out_xy = u8_out(x, y); uint8_t 7 apps/hexagon_benchmarks/sobel_generator.cpp Input<Buffer<uint8_t>> input{"input", 2}; uint8_t 8 apps/hexagon_benchmarks/sobel_generator.cpp Output<Buffer<uint8_t>> output{"output", 2}; uint8_t 24 apps/hexagon_benchmarks/sobel_generator.cpp output(x, y) = cast<uint8_t>(clamp(sobel_x(x, y) + sobel_y(x, y), 0, 255)); uint8_t 50 apps/hexagon_benchmarks/sobel_generator.cpp const int vector_size = natural_vector_size<uint8_t>(); uint8_t 9 apps/hexagon_matmul/pipeline.cpp Input<Buffer<uint8_t>> A{"A", 2}; uint8_t 10 apps/hexagon_matmul/pipeline.cpp Input<Buffer<uint8_t>> B{"B", 2}; uint8_t 53 apps/hexagon_matmul/pipeline.cpp int vector_size_u8 = target.natural_vector_size<uint8_t>(); uint8_t 52 apps/hexagon_matmul/process.cpp Halide::Runtime::Buffer<uint8_t> mat_a(nullptr, N, M); uint8_t 53 apps/hexagon_matmul/process.cpp Halide::Runtime::Buffer<uint8_t> mat_b(nullptr, K, N); uint8_t 61 apps/hexagon_matmul/process.cpp mat_a.for_each_value([&](uint8_t &x) { uint8_t 62 apps/hexagon_matmul/process.cpp x = static_cast<uint8_t>(rand()); uint8_t 64 apps/hexagon_matmul/process.cpp mat_b.for_each_value([&](uint8_t &x) { uint8_t 65 apps/hexagon_matmul/process.cpp x = static_cast<uint8_t>(rand()); uint8_t 54 apps/opengl_demo/layout.cpp void Layout::draw_image(enum location location, const uint8_t *data, int width, int height, const std::string &label) uint8_t 21 apps/opengl_demo/layout.h void draw_image(enum location location, const uint8_t *data, int width, int height, const std::string &label); uint8_t 41 apps/opengl_demo/main.cpp std::string run_cpu_filter(const uint8_t *image_data, uint8_t *result_data, int width, int height) uint8_t 47 apps/opengl_demo/main.cpp input_buf.host = (uint8_t *) image_data; // OK to break the const, since we know halide won't change the input uint8_t 64 apps/opengl_demo/main.cpp std::string run_opengl_filter_from_host_to_host(const uint8_t *image_data, uint8_t *result_data, int width, int height) uint8_t 73 apps/opengl_demo/main.cpp input_buf.host = (uint8_t *) image_data; // OK to break the const, since we know halide won't change the input uint8_t 146 apps/opengl_demo/main.cpp const auto cpu_result_data = (uint8_t *) calloc(width * height * 4, sizeof(uint8_t)); uint8_t 155 apps/opengl_demo/main.cpp const auto opengl_result_data = (uint8_t *) calloc(width * height * 4, sizeof(uint8_t)); uint8_t 16 apps/opengl_demo/opengl_helpers.cpp GLuint OpenGLHelpers::create_texture(int width, int height, const uint8_t *data) uint8_t 14 apps/opengl_demo/opengl_helpers.h GLuint create_texture(int width, int height, const uint8_t *data); uint8_t 9 apps/opengl_demo/png_helpers.h const uint8_t *data; uint8_t 14 apps/opengl_demo/sample_filter.cpp filter(x, y, c) = select(c == 3, input(x,y,c), Halide::cast<uint8_t>(255.0f-input(x, y, c))); uint8_t 53 apps/simd_op_check/driver.cpp buf.host = (uint8_t *)mem; uint8_t 79 apps/simd_op_check/driver.cpp make_buffer<uint8_t>(W, H), uint8_t 59 apps/templates/tests/example_test.cpp Buffer<uint8_t> input(kWidth, kHeight, channels, 0, (layout == kChunky)); uint8_t 60 apps/templates/tests/example_test.cpp Buffer<uint8_t> output(kWidth, kHeight, channels, 0, (layout == kChunky)); uint8_t 61 apps/templates/tests/example_test.cpp (void) halide_smooth_buffer_host<uint8_t>(uc, kSeed, input); uint8_t 94 apps/templates/tests/example_test.cpp int errors = check<uint8_t>(input, output); uint8_t 121 apps/templates/tests/example_test.cpp Buffer<uint8_t> randomness(300, 400, 3); uint8_t 122 apps/templates/tests/example_test.cpp (void) halide_randomize_buffer_host<uint8_t>(uc, 0, 0, 255, randomness); uint8_t 128 apps/templates/tests/example_test.cpp Buffer<uint8_t> smoothness(300, 400, 3); uint8_t 129 apps/templates/tests/example_test.cpp (void) halide_smooth_buffer_host<uint8_t>(uc, 0, smoothness); uint8_t 23 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t, h::Expr, h::Expr, h::Expr>( uint8_t 26 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t, h::Expr>( uint8_t 29 python_bindings/python/Argument.cpp .def(p::init<std::string, Argument::Kind, h::Type, uint8_t>( uint8_t 179 python_bindings/python/BoundaryConditions.cpp boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 196 python_bindings/python/BoundaryConditions.cpp boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 213 python_bindings/python/BoundaryConditions.cpp boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 231 python_bindings/python/BoundaryConditions.cpp boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 250 python_bindings/python/BoundaryConditions.cpp boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 282 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<uint8_t>>, uint8_t 285 python_bindings/python/Func.cpp .def("realize", &func_realize_into<h::Buffer<uint8_t>, h::Target>, uint8_t 417 python_bindings/python/Image.cpp p::manage_new_object::apply<h::Buffer<uint8_t> *>::type converter; uint8_t 418 python_bindings/python/Image.cpp obj = converter(new h::Buffer<uint8_t>(im)); uint8_t 448 python_bindings/python/Image.cpp p::extract<h::Buffer<uint8_t>> buffer_extract_uint8(obj); uint8_t 482 python_bindings/python/Image.cpp if (t == h::UInt(8)) return bn::dtype::get_builtin<uint8_t>(); uint8_t 491 python_bindings/python/Image.cpp return bn::dtype::get_builtin<uint8_t>(); uint8_t 495 python_bindings/python/Image.cpp if (t == bn::dtype::get_builtin<uint8_t>()) return h::UInt(8); uint8_t 559 python_bindings/python/Image.cpp if (t == h::UInt(8)) return create_buffer_object<uint8_t>(args...); uint8_t 601 python_bindings/python/Image.cpp defineBuffer_impl<uint8_t>("_uint8", h::UInt(8)); uint8_t 110 python_bindings/python/Param.cpp .def("set", &image_param_set<uint8_t>, p::args("self", "im"), uint8_t 383 python_bindings/python/Param.cpp add_operators_with<pc_t, Param<uint8_t>>(param_class); uint8_t 493 python_bindings/python/Param.cpp typedef boost::mpl::list<boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 565 python_bindings/python/Param.cpp boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 572 python_bindings/python/Param.cpp boost::uint8_t, boost::uint16_t, boost::uint32_t, uint8_t 597 python_bindings/python/Param.cpp defineParam_impl<uint8_t>("_uint8", h::UInt(8)); uint8_t 24 python_bindings/tests/the_sort_function.c uint8_t* host; uint8_t 46 src/Argument.h uint8_t dimensions; uint8_t 65 src/Argument.h name(_name), kind(_kind), dimensions((uint8_t) _dimensions), type(_type), def(_def), min(_min), max(_max) { uint8_t 219 src/AssociativeOpsTable.cpp {cast<uint8_t>(min(cast<uint16_t>(x0 + y0), k0_uint16)), zero, true}, uint8_t 220 src/AssociativeOpsTable.cpp {cast<uint8_t>(min(cast<uint32_t>(x0 + y0), k0_uint32)), zero, true}, uint8_t 221 src/AssociativeOpsTable.cpp {cast<uint8_t>(min(cast<uint64_t>(x0 + y0), k0_uint64)), zero, true}, uint8_t 1519 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+250), make_const(UInt(8), 0), make_const(UInt(8), 255)); uint8_t 1520 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+10)*20, make_const(UInt(8), 0), make_const(UInt(8), 255)); uint8_t 1521 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+10)*(cast<uint8_t>(x)+5), make_const(UInt(8), 0), make_const(UInt(8), 255)); uint8_t 1522 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+10)-(cast<uint8_t>(x)+5), make_const(UInt(8), 0), make_const(UInt(8), 255)); uint8_t 1525 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+240), make_const(UInt(8), 240), make_const(UInt(8), 250)); uint8_t 1526 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+10)*10, make_const(UInt(8), 100), make_const(UInt(8), 200)); uint8_t 1527 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+10)*(cast<uint8_t>(x)), make_const(UInt(8), 0), make_const(UInt(8), 200)); uint8_t 1528 src/Bounds.cpp check(scope, (cast<uint8_t>(x)+20)-(cast<uint8_t>(x)+5), make_const(UInt(8), 5), make_const(UInt(8), 25)); uint8_t 1535 src/Bounds.cpp cast<uint8_t>(clamp(cast<uint16_t>(x/y), cast<uint16_t>(0), cast<uint16_t>(128))), uint8_t 1538 src/Bounds.cpp Expr u8_1 = cast<uint8_t>(Load::make(Int(8), "buf", x, Buffer<>(), Parameter(), const_true())); uint8_t 1539 src/Bounds.cpp Expr u8_2 = cast<uint8_t>(Load::make(Int(8), "buf", x + 17, Buffer<>(), Parameter(), const_true())); uint8_t 138 src/CPlusPlusMangle.cpp void handle_modifier(uint8_t modifier) { uint8_t 184 src/CPlusPlusMangle.cpp for (uint8_t modifier : type.handle_type->cpp_type_modifiers) { uint8_t 420 src/CPlusPlusMangle.cpp for (uint8_t modifier : type.handle_type->cpp_type_modifiers) { uint8_t 979 src/CPlusPlusMangle.cpp std::vector<uint8_t> mods; uint8_t 1002 src/CPlusPlusMangle.cpp for (uint8_t mods = 0; mods < 16; mods++) { uint8_t 45 src/Closure.h uint8_t dimensions; uint8_t 1010 src/CodeGen_OpenGL_Dev.cpp check(cast<uint8_t>(Variable::make(Float(32), "x")), uint8_t 1042 src/CodeGen_OpenGL_Dev.cpp check(lerp(cast<uint8_t>(0), cast<uint8_t>(255), cast<uint8_t>(127)), uint8_t 1048 src/CodeGen_OpenGL_Dev.cpp check(lerp(cast<uint8_t>(0), cast<uint8_t>(255), 0.3f), uint8_t 39 src/DeviceArgument.h uint8_t dimensions; uint8_t 73 src/DeviceArgument.h uint8_t _dimensions, uint8_t 89 src/Elf.cpp uint8_t e_ident[16]; uint8_t 207 src/Elf.cpp uint8_t st_info; uint8_t 208 src/Elf.cpp uint8_t st_other; uint8_t 211 src/Elf.cpp uint8_t get_binding() const { return st_info >> 4; } uint8_t 212 src/Elf.cpp uint8_t get_type() const { return st_info & 0xf; } uint8_t 214 src/Elf.cpp static uint8_t make_info(uint8_t binding, uint8_t type) { uint8_t 218 src/Elf.cpp void set_binding(uint8_t binding) { uint8_t 221 src/Elf.cpp void set_type(uint8_t type) { uint8_t 45 src/Elf.h enum Binding : uint8_t { uint8_t 53 src/Elf.h enum Type : uint8_t { uint8_t 63 src/Elf.h enum Visibility : uint8_t { uint8_t 278 src/Expr.h EXPORT explicit Expr(uint8_t x) : IRHandle(Internal::UIntImm::make(UInt(8), x)) {} uint8_t 22 src/ExternalCode.h std::vector<uint8_t> code; uint8_t 27 src/ExternalCode.h ExternalCode(Kind kind, const Target &llvm_target, DeviceAPI device_api, const std::vector<uint8_t> &code, const std::string &name) uint8_t 44 src/ExternalCode.h static ExternalCode bitcode_wrapper(const Target &cpu_type, const std::vector<uint8_t> &code, const std::string &name) { uint8_t 69 src/ExternalCode.h static ExternalCode device_code_wrapper(DeviceAPI device_api, const std::vector<uint8_t> &code, const std::string &name) { uint8_t 87 src/ExternalCode.h static ExternalCode c_plus_plus_code_wrapper(const std::vector<uint8_t> &code, const std::string &name) { uint8_t 120 src/ExternalCode.h const std::vector<uint8_t> &contents() const { return code; } uint8_t 13 src/FastIntegerDivide.cpp Buffer<uint8_t> integer_divide_table_u8() { uint8_t 17 src/FastIntegerDivide.cpp static Buffer<uint8_t> im(256, 2); uint8_t 30 src/FastIntegerDivide.cpp Buffer<uint8_t> integer_divide_table_s8() { uint8_t 34 src/FastIntegerDivide.cpp static Buffer<uint8_t> im(256, 2); uint8_t 119 src/FastIntegerDivide.cpp return numerator / cast<uint8_t>(denominator); uint8_t 137 src/FastIntegerDivide.cpp Buffer<uint8_t> table = IntegerDivideTable::integer_divide_table_u8(); uint8_t 179 src/FastIntegerDivide.cpp Buffer<uint8_t> table = IntegerDivideTable::integer_divide_table_s8(); uint8_t 13 src/FastIntegerDivide.h EXPORT Buffer<uint8_t> integer_divide_table_u8(); uint8_t 14 src/FastIntegerDivide.h EXPORT Buffer<uint8_t> integer_divide_table_s8(); uint8_t 2911 src/Func.cpp void Func::set_custom_do_par_for(int (*cust_do_par_for)(void *, int (*)(void *, int, uint8_t *), int, int, uint8_t *)) { uint8_t 2915 src/Func.cpp void Func::set_custom_do_task(int (*cust_do_task)(void *, int (*)(void *, int, uint8_t *), int, uint8_t *)) { uint8_t 773 src/Func.h int (*custom_do_task)(void *, int (*)(void *, int, uint8_t *), uint8_t 774 src/Func.h int, uint8_t *)); uint8_t 801 src/Func.h int (*custom_do_par_for)(void *, int (*)(void *, int, uint8_t *), int, uint8_t 802 src/Func.h int, uint8_t *)); uint8_t 1938 src/Generator.cpp Input<uint8_t> input_byte{"input_byte"}; uint8_t 1943 src/Generator.cpp Input<Buffer<uint8_t>> input_buffer_typed{ "input_buffer_typed", 3 }; uint8_t 1971 src/Generator.cpp const uint8_t b = 0x42; uint8_t 1979 src/Generator.cpp Buffer<uint8_t> buf_typed(1, 1, 1); uint8_t 348 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(uint8_t) uint8_t 432 src/Generator.h HALIDE_GENERATOR_PARAM_TYPED_SETTER(uint8_t) uint8_t 522 src/HexagonOffload.cpp static const uint8_t hexagon_plt1[] = { uint8_t 640 src/HexagonOffload.cpp Expr buffer_ptr(const uint8_t* buffer, size_t size, const char* name) { uint8_t 641 src/HexagonOffload.cpp Buffer<uint8_t> code((int)size, name); uint8_t 865 src/HexagonOffload.cpp Buffer<uint8_t> compile_module_to_hexagon_shared_object(const Module &device_code) { uint8_t 939 src/HexagonOffload.cpp Halide::Buffer<uint8_t> result_buf(shared_object.size(), device_code.name()); uint8_t 19 src/HexagonOffload.h Buffer<uint8_t> compile_module_to_hexagon_shared_object(const Module &device_code); uint8_t 89 src/IROperator.h inline Expr make_const(Type t, uint8_t val) {return make_const(t, (uint64_t)val);} uint8_t 733 src/Introspection.cpp const uint8_t *inst_ptr = (const uint8_t *)address; uint8_t 1034 src/Introspection.cpp uint8_t address_size = e.getU8(&off); uint8_t 1148 src/Introspection.cpp const uint8_t *payload = nullptr; uint8_t 1171 src/Introspection.cpp payload = (const uint8_t *)(debug_info.data() + off); uint8_t 1178 src/Introspection.cpp payload = (const uint8_t *)(debug_info.data() + off); uint8_t 1200 src/Introspection.cpp payload = (const uint8_t *)(debug_info.data() + off); uint8_t 1207 src/Introspection.cpp payload = (const uint8_t *)(debug_info.data() + off); uint8_t 1214 src/Introspection.cpp payload = (const uint8_t *)(debug_info.data() + off); uint8_t 1242 src/Introspection.cpp payload = (const uint8_t *)(debug_str.data() + offset); uint8_t 1304 src/Introspection.cpp payload = (const uint8_t *)(debug_info.data() + off); uint8_t 1880 src/Introspection.cpp uint8_t min_instruction_length = e.getU8(&off); uint8_t 1881 src/Introspection.cpp uint8_t max_ops_per_instruction = 1; uint8_t 1886 src/Introspection.cpp uint8_t default_is_stmt = e.getU8(&off); uint8_t 1888 src/Introspection.cpp uint8_t line_range = e.getU8(&off); uint8_t 1889 src/Introspection.cpp uint8_t opcode_base = e.getU8(&off); uint8_t 1891 src/Introspection.cpp vector<uint8_t> standard_opcode_length(opcode_base); uint8_t 1966 src/Introspection.cpp uint8_t opcode = e.getU8(&off); uint8_t 1973 src/Introspection.cpp uint8_t sub_opcode = e.getU8(&off); uint8_t 2054 src/Introspection.cpp uint8_t adjust_opcode = 255 - opcode_base; uint8_t 2084 src/Introspection.cpp uint8_t args = standard_opcode_length[opcode]; uint8_t 2091 src/Introspection.cpp uint8_t adjust_opcode = opcode - opcode_base; uint8_t 2137 src/Introspection.cpp int64_t get_sleb128(const uint8_t *ptr) { uint8_t 2140 src/Introspection.cpp uint8_t byte = 0; uint8_t 2161 src/Introspection.cpp int64_t get_uleb128(const uint8_t *ptr) { uint8_t 2164 src/Introspection.cpp uint8_t byte = 0; uint8_t 2219 src/Introspection.cpp const uint8_t *ptr = (const uint8_t *)(fn); uint8_t 174 src/JITModule.cpp std::vector<std::pair<uint8_t *, size_t>> code_pages; uint8_t 194 src/JITModule.cpp virtual uint8_t *allocateCodeSection(uintptr_t size, unsigned alignment, unsigned section_id, StringRef section_name) override { uint8_t 195 src/JITModule.cpp uint8_t *result = SectionMemoryManager::allocateCodeSection(size, alignment, section_id, section_name); uint8_t 203 src/JITModule.cpp uint8_t *start = p.first; uint8_t 204 src/JITModule.cpp uint8_t *end = p.first + p.second; uint8_t 228 src/JITModule.cpp start = (uint8_t *)(((uintptr_t)start) & ~4095); uint8_t 229 src/JITModule.cpp end = (uint8_t *)(((uintptr_t)end + 4095) & ~4095); uint8_t 532 src/JITModule.cpp uint8_t *closure) { uint8_t 542 src/JITModule.cpp int min, int size, uint8_t *closure) { uint8_t 123 src/JITModule.h typedef int (*halide_task)(void *user_context, int, uint8_t *); uint8_t 129 src/JITModule.h int (*custom_do_task)(void *, halide_task, int, uint8_t *){nullptr}; uint8_t 130 src/JITModule.h int (*custom_do_par_for)(void *, halide_task, int, int, uint8_t *){nullptr}; uint8_t 958 src/LLVM_Runtime_Linker.cpp const std::vector<uint8_t> &bitcode, const std::string &name) { uint8_t 31 src/LLVM_Runtime_Linker.h const std::vector<uint8_t> &bitcode, const std::string &name); uint8_t 265 src/Memoization.cpp args.push_back(Variable::make(type_of<uint8_t *>(), key_allocation_name)); uint8_t 286 src/Memoization.cpp args.push_back(Variable::make(type_of<uint8_t *>(), key_allocation_name)); uint8_t 237 src/Module.cpp Buffer<uint8_t> Module::compile_to_buffer() const { uint8_t 260 src/Module.cpp Buffer<uint8_t> result(object.size(), name()); uint8_t 261 src/Module.cpp memcpy(result.data(), reinterpret_cast<uint8_t*>(&object[0]), object.size()); uint8_t 31 src/Module.h LoweredArgument(const std::string &_name, Kind _kind, const Type &_type, uint8_t _dimensions, uint8_t 124 src/Module.h EXPORT Buffer<uint8_t> compile_to_buffer() const; uint8_t 168 src/Parameter.cpp case 8: return Expr(get_scalar<uint8_t>()); uint8_t 453 src/Pipeline.cpp void Pipeline::set_custom_do_par_for(int (*cust_do_par_for)(void *, int (*)(void *, int, uint8_t *), int, int, uint8_t *)) { uint8_t 458 src/Pipeline.cpp void Pipeline::set_custom_do_task(int (*cust_do_task)(void *, int (*)(void *, int, uint8_t *), int, uint8_t *)) { uint8_t 248 src/Pipeline.h int (*custom_do_task)(void *, int (*)(void *, int, uint8_t *), uint8_t 249 src/Pipeline.h int, uint8_t *)); uint8_t 276 src/Pipeline.h int (*custom_do_par_for)(void *, int (*)(void *, int, uint8_t *), int, uint8_t 277 src/Pipeline.h int, uint8_t *)); uint8_t 59 src/ScheduleParam.h HALIDE_SCHEDULE_PARAM_TYPED_SETTER(uint8_t) uint8_t 210 src/ScheduleParam.h HALIDE_SCHEDULE_PARAM_TYPED_SETTER(uint8_t) uint8_t 84 src/Type.h enum Modifier : uint8_t { uint8_t 92 src/Type.h std::vector<uint8_t> cpp_type_modifiers; uint8_t 99 src/Type.h enum ReferenceType : uint8_t { uint8_t 109 src/Type.h const std::vector<uint8_t> &modifiers = { }, uint8_t 139 src/Type.h HALIDE_DECLARE_EXTERN_SIMPLE_TYPE(uint8_t); uint8_t 187 src/Type.h (uint8_t)(halide_handle_cplusplus_type::Pointer | uint8_t 208 src/Type.h (uint8_t)((is_ptr ? halide_handle_cplusplus_type::Pointer : 0) | uint8_t 311 src/Type.h : type(code, (uint8_t)bits, (uint16_t)lanes), handle_type(handle_type) { uint8_t 123 src/runtime/HalideBuffer.h add_const_if_T_is_const<uint8_t>, uint8_t 442 src/runtime/HalideBuffer.h return (size_t)((const uint8_t *)end() - (const uint8_t *)begin()); uint8_t 662 src/runtime/HalideBuffer.h uint8_t *unaligned_ptr = ((uint8_t *)alloc) + sizeof(AllocationHeader); uint8_t 663 src/runtime/HalideBuffer.h buf.host = (uint8_t *)((uintptr_t)(unaligned_ptr + alignment - 1) & ~(alignment - 1)); uint8_t 773 src/runtime/HalideBuffer.h buf.host = (uint8_t *)vals; uint8_t 790 src/runtime/HalideBuffer.h buf.host = (uint8_t *)data; uint8_t 803 src/runtime/HalideBuffer.h buf.host = (uint8_t *)data; uint8_t 815 src/runtime/HalideBuffer.h buf.host = (uint8_t *)data; uint8_t 830 src/runtime/HalideBuffer.h buf.host = (uint8_t *)data; uint8_t 844 src/runtime/HalideBuffer.h buf.host = (uint8_t *)data; uint8_t 857 src/runtime/HalideBuffer.h buf.host = (uint8_t *)data; uint8_t 994 src/runtime/HalideBuffer.h using MemType = uint8_t; uint8_t 122 src/runtime/HalideRuntime.h typedef int (*halide_task_t)(void *user_context, int task_number, uint8_t *closure); uint8_t 125 src/runtime/HalideRuntime.h int min, int size, uint8_t *closure); uint8_t 131 src/runtime/HalideRuntime.h typedef int (*halide_do_par_for_t)(void *, halide_task_t, int, int, uint8_t*); uint8_t 137 src/runtime/HalideRuntime.h typedef int (*halide_do_task_t)(void *, halide_task_t, int, uint8_t *); uint8_t 140 src/runtime/HalideRuntime.h uint8_t *closure); uint8_t 231 src/runtime/HalideRuntime.h : uint8_t uint8_t 260 src/runtime/HalideRuntime.h HALIDE_ATTRIBUTE_ALIGN(1) uint8_t code; // halide_type_code_t uint8_t 264 src/runtime/HalideRuntime.h HALIDE_ATTRIBUTE_ALIGN(1) uint8_t bits; uint8_t 274 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE halide_type_t(halide_type_code_t code, uint8_t bits, uint16_t lanes = 1) uint8_t 578 src/runtime/HalideRuntime.h extern int halide_memoization_cache_lookup(void *user_context, const uint8_t *cache_key, int32_t size, uint8_t 596 src/runtime/HalideRuntime.h extern int halide_memoization_cache_store(void *user_context, const uint8_t *cache_key, int32_t size, uint8_t 808 src/runtime/HalideRuntime.h uint8_t code_given, uint8_t correct_code, uint8_t 809 src/runtime/HalideRuntime.h uint8_t bits_given, uint8_t correct_bits, uint8_t 1007 src/runtime/HalideRuntime.h uint8_t* host; uint8_t 1069 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE uint8_t *begin() const { uint8_t 1080 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE uint8_t *end() const { uint8_t 1097 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE uint8_t *address_of(const int *pos) const { uint8_t 1130 src/runtime/HalideRuntime.h uint8_t* host; uint8_t 1137 src/runtime/HalideRuntime.h HALIDE_ATTRIBUTE_ALIGN(1) uint8_t _padding[10 - sizeof(void *)]; uint8_t 1175 src/runtime/HalideRuntime.h uint8_t u8; uint8_t 1432 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE halide_type_t halide_type_of<uint8_t>() { uint8_t 117 src/runtime/HalideRuntimeHexagonHost.h const uint8_t *code, uint64_t code_size); uint8_t 18 src/runtime/buffer_t.cpp uint8_t *_halide_buffer_get_host(const halide_buffer_t *buf) { uint8_t 85 src/runtime/buffer_t.cpp uint8_t _halide_buffer_get_type_code(const halide_buffer_t *buf) { uint8_t 90 src/runtime/buffer_t.cpp uint8_t _halide_buffer_get_type_bits(const halide_buffer_t *buf) { uint8_t 108 src/runtime/buffer_t.cpp dst->host = (uint8_t *)host; uint8_t 112 src/runtime/buffer_t.cpp dst->type.bits = (uint8_t)type_bits; uint8_t 36 src/runtime/cache.cpp WEAK void debug_print_key(void *user_context, const char *msg, const uint8_t *cache_key, int32_t key_size) { uint8_t 63 src/runtime/cache.cpp WEAK bool keys_equal(const uint8_t *key1, const uint8_t *key2, size_t key_size) { uint8_t 87 src/runtime/cache.cpp uint8_t *metadata_storage; uint8_t 89 src/runtime/cache.cpp uint8_t *key; uint8_t 99 src/runtime/cache.cpp bool init(const uint8_t *cache_key, size_t cache_key_size, uint8_t 113 src/runtime/cache.cpp WEAK CacheBlockHeader *get_pointer_to_header(uint8_t * host) { uint8_t 117 src/runtime/cache.cpp WEAK bool CacheEntry::init(const uint8_t *cache_key, size_t cache_key_size, uint8_t 145 src/runtime/cache.cpp metadata_storage = (uint8_t *)halide_malloc(NULL, storage_bytes); uint8_t 184 src/runtime/cache.cpp WEAK uint32_t djb_hash(const uint8_t *key, size_t key_size) { uint8_t 329 src/runtime/cache.cpp WEAK int halide_memoization_cache_lookup(void *user_context, const uint8_t *cache_key, int32_t size, uint8_t 399 src/runtime/cache.cpp buf->host = ((uint8_t *)halide_malloc(user_context, buf->size_in_bytes() + extra_bytes_host_bytes)); uint8_t 420 src/runtime/cache.cpp WEAK int halide_memoization_cache_store(void *user_context, const uint8_t *cache_key, int32_t size, uint8_t 532 src/runtime/cache.cpp CacheBlockHeader *header = get_pointer_to_header((uint8_t *)host); uint8_t 303 src/runtime/device_interface.cpp buf->host = (uint8_t *)halide_malloc(user_context, size); uint8_t 31 src/runtime/errors.cpp uint8_t code_given, uint8_t correct_code, uint8_t 32 src/runtime/errors.cpp uint8_t bits_given, uint8_t correct_bits, uint8_t 5 src/runtime/fake_thread_pool.cpp uint8_t *closure); uint8_t 11 src/runtime/fake_thread_pool.cpp uint8_t *closure) { uint8_t 16 src/runtime/fake_thread_pool.cpp int min, int size, uint8_t *closure) { uint8_t 71 src/runtime/fake_thread_pool.cpp uint8_t *closure) { uint8_t 76 src/runtime/fake_thread_pool.cpp int min, int size, uint8_t *closure) { uint8_t 29 src/runtime/gcd_thread_pool.cpp uint8_t *closure); uint8_t 80 src/runtime/gcd_thread_pool.cpp WEAK int default_do_task(void *user_context, int (*f)(void *, int, uint8_t *), uint8_t 81 src/runtime/gcd_thread_pool.cpp int idx, uint8_t *closure) { uint8_t 86 src/runtime/gcd_thread_pool.cpp int (*f)(void *, int, uint8_t *); uint8_t 88 src/runtime/gcd_thread_pool.cpp uint8_t *closure; uint8_t 102 src/runtime/gcd_thread_pool.cpp int min, int size, uint8_t *closure) { uint8_t 177 src/runtime/gcd_thread_pool.cpp uint8_t *closure) { uint8_t 182 src/runtime/gcd_thread_pool.cpp int min, int size, uint8_t *closure) { uint8_t 183 src/runtime/hexagon_host.cpp const uint8_t *code, uint64_t code_size) { uint8_t 261 src/runtime/hexagon_host.cpp mapped_arg.data = reinterpret_cast<uint8_t*>(ion_handle->buffer); uint8_t 265 src/runtime/hexagon_host.cpp mapped_arg.data = (uint8_t*)args[i]; uint8_t 464 src/runtime/hexagon_host.cpp buf->host = (uint8_t *)ion; uint8_t 627 src/runtime/hexagon_host.cpp buf->host = (uint8_t *)halide_hexagon_get_device_handle(user_context, buf); uint8_t 169 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t* stack; uint8_t 170 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t* stackEnd; uint8_t 203 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c *ppbuf = (uint8_t*)_ALIGN_SIZE((uintptr_t)me->stackEnd, al); uint8_t 204 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c me->stackEnd = (uint8_t*)_ALIGN_SIZE((uintptr_t)me->stackEnd, al) + size; uint8_t 224 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c static __inline void _allocator_init(_allocator* me, uint8_t* stack, int stackSize) { uint8_t 304 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t bInterfaceNotNil;\ uint8_t 306 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t type;\ uint8_t 307 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t nativeAlignment\ uint8_t 333 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c const uint8_t* value8s; uint8_t 350 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t inAlignment; uint8_t 351 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t routAlignmentPrimIn; uint8_t 352 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t routAlignmentPrimROut; uint8_t 353 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t inCaseAlignment; uint8_t 354 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t routCaseAlignmentPrimIn; uint8_t 355 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t routCaseAlignmentPrimROut; uint8_t 356 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t nativeCaseAlignment; uint8_t 357 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t bDefaultCase; uint8_t 366 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t inAlignment; uint8_t 367 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t routAlignmentPrimIn; uint8_t 368 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t routAlignmentPrimROut; uint8_t 374 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t mode; uint8_t 375 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t bNotNil; uint8_t 389 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t primInAlignment; uint8_t 390 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c uint8_t primROutAlignment; uint8_t 169 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t* stack; uint8_t 170 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t* stackEnd; uint8_t 203 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c *ppbuf = (uint8_t*)_ALIGN_SIZE((uintptr_t)me->stackEnd, al); uint8_t 204 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c me->stackEnd = (uint8_t*)_ALIGN_SIZE((uintptr_t)me->stackEnd, al) + size; uint8_t 224 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c static __inline void _allocator_init(_allocator* me, uint8_t* stack, int stackSize) { uint8_t 304 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t bInterfaceNotNil;\ uint8_t 306 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t type;\ uint8_t 307 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t nativeAlignment\ uint8_t 333 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c const uint8_t* value8s; uint8_t 350 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t inAlignment; uint8_t 351 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t routAlignmentPrimIn; uint8_t 352 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t routAlignmentPrimROut; uint8_t 353 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t inCaseAlignment; uint8_t 354 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t routCaseAlignmentPrimIn; uint8_t 355 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t routCaseAlignmentPrimROut; uint8_t 356 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t nativeCaseAlignment; uint8_t 357 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t bDefaultCase; uint8_t 366 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t inAlignment; uint8_t 367 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t routAlignmentPrimIn; uint8_t 368 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t routAlignmentPrimROut; uint8_t 374 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t mode; uint8_t 375 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t bNotNil; uint8_t 389 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t primInAlignment; uint8_t 390 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c uint8_t primROutAlignment; uint8_t 22 src/runtime/hexagon_remote/dlib.cpp uint8_t e_ident[16]; uint8_t 68 src/runtime/hexagon_remote/dlib.cpp uint8_t st_info; uint8_t 69 src/runtime/hexagon_remote/dlib.cpp uint8_t st_other; uint8_t 379 src/runtime/hexagon_remote/halide_remote.cpp uint8_t* host; uint8_t 127 src/runtime/hexagon_remote/sim_remote.cpp uint8_t *closure) { uint8_t 132 src/runtime/hexagon_remote/sim_remote.cpp int min, int size, uint8_t *closure) { uint8_t 367 src/runtime/hexagon_remote/sim_remote.cpp uint8_t* host; uint8_t 93 src/runtime/hexagon_remote/thread_pool.cpp uint8_t *closure; uint8_t 107 src/runtime/hexagon_remote/thread_pool.cpp int min, int size, uint8_t *closure) { uint8_t 146 src/runtime/hexagon_remote/thread_pool.cpp int ret = Halide::Runtime::Internal::default_do_par_for(user_context, task, min, size, (uint8_t *)&c); uint8_t 158 src/runtime/hexagon_remote/thread_pool.cpp int idx, uint8_t *closure) { uint8_t 291 src/runtime/matlab.cpp buf->host = (uint8_t *)mxGetData(arr); uint8_t 353 src/runtime/matlab.cpp case 8: *reinterpret_cast<uint8_t *>(scalar) = static_cast<uint8_t>(value); return halide_error_code_success; uint8_t 126 src/runtime/metal.cpp typedef void (*set_fast_math_method)(objc_id options, objc_sel sel, uint8_t flag); uint8_t 733 src/runtime/metal.cpp buffer->host = (uint8_t *)buffer_contents(metal_buffer); uint8_t 88 src/runtime/noos.cpp uint8_t *closure) { uint8_t 93 src/runtime/noos.cpp int min, int size, uint8_t *closure) { uint8_t 32 src/runtime/objc_support.h typedef objc_id (*init_with_bytes_no_copy_method)(objc_id ns_string, objc_sel sel, const char *string, size_t length, size_t encoding, uint8_t freeWhenDone); uint8_t 21 src/runtime/old_buffer_t.cpp case 1: new_buf->type = halide_type_of<uint8_t>(); break; uint8_t 806 src/runtime/opengl.cpp if (buf->type == halide_type_of<uint8_t>()) { uint8_t 1226 src/runtime/opengl.cpp halide_to_interleaved<uint8_t>(buf, (uint8_t*)tmp.ptr); uint8_t 1373 src/runtime/opengl.cpp interleaved_to_halide<uint8_t>(user_context, (uint8_t*)tmp.ptr, texture_channels, buf); uint8_t 1571 src/runtime/opengl.cpp uniform_float[uniform_float_idx++] = *((uint8_t*)args[i]); uint8_t 84 src/runtime/qurt_hvx.cpp uint8_t* host; uint8_t 88 src/runtime/qurt_hvx.cpp WEAK uint8_t *_halide_hexagon_buffer_get_host(const hexagon_buffer_t_arg *buf) { uint8_t 31 src/runtime/thread_pool.cpp uint8_t *closure) { uint8_t 36 src/runtime/thread_pool.cpp int min, int size, uint8_t *closure) { uint8_t 6 src/runtime/thread_pool_common.h int (*f)(void *, int, uint8_t *); uint8_t 9 src/runtime/thread_pool_common.h uint8_t *closure; uint8_t 63 src/runtime/thread_pool_common.h uint8_t *closure) { uint8_t 165 src/runtime/thread_pool_common.h int min, int size, uint8_t *closure) { uint8_t 62 src/runtime/tracing.cpp uint8_t buffer[4096]; uint8_t 127 src/runtime/tracing.cpp ss << ((uint8_t *)(e->value))[i]; uint8_t 237 src/runtime/tracing.cpp event.type.bits = (uint8_t)type_bits; uint8_t 220 src/runtime/write_debug_image.cpp uint8_t temp[TEMP_SIZE]; uint8_t 230 src/runtime/write_debug_image.cpp uint8_t *loc = buf->address_of(idx); uint8_t 124 test/correctness/bitwise_ops.cpp Expr b8 = min(31, cast<uint8_t>(input(x+1))); uint8_t 129 test/correctness/bitwise_ops.cpp int shift_amount = (uint8_t)(input(x+1)); uint8_t 179 test/correctness/boundary_conditions.cpp Buffer<uint8_t> input(W, H); uint8_t 230 test/correctness/boundary_conditions.cpp const uint8_t exterior = 42; uint8_t 24 test/correctness/bounds_of_cast.cpp Func f1 = lambda(x, input(cast<uint8_t>(x))); uint8_t 34 test/correctness/buffer_t.cpp static_assert(ALIGN_OF(halide_buffer_t) >= ALIGN_OF(uint8_t*), "align is wrong"); uint8_t 6 test/correctness/computed_index.cpp Buffer<uint8_t> in1(256, 256); uint8_t 7 test/correctness/computed_index.cpp Buffer<uint8_t> in2(256, 256, 10); uint8_t 13 test/correctness/computed_index.cpp Buffer<uint8_t> out = f.realize(256, 256); uint8_t 75 test/correctness/constant_expr.cpp test_expr_range<uint8_t>(); uint8_t 45 test/correctness/constant_type.cpp ok = ok && test_type<uint8_t>(); uint8_t 9 test/correctness/dilate3x3.cpp Buffer<uint8_t> in(W, H); uint8_t 36 test/correctness/dilate3x3.cpp dilate3x3.vectorize(x, target.natural_vector_size<uint8_t>()); uint8_t 40 test/correctness/dilate3x3.cpp Buffer<uint8_t> out = dilate3x3.realize(W, H, target); uint8_t 19 test/correctness/extern_bounds_inference.cpp Halide::Runtime::Buffer<uint8_t> out_buf(*out); uint8_t 21 test/correctness/extern_bounds_inference.cpp out_buf.copy_from(Halide::Runtime::Buffer<uint8_t>(*in)); uint8_t 30 test/correctness/extern_bounds_inference.cpp Buffer<uint8_t> buf = im.get(); uint8_t 36 test/correctness/extern_stage.cpp assert(in1->type == halide_type_of<uint8_t>()); uint8_t 38 test/correctness/extern_stage.cpp assert(out->type == halide_type_of<uint8_t>()); uint8_t 54 test/correctness/extern_stage.cpp uint8_t *dst = (uint8_t *)(out->host) - out->dim[0].min; uint8_t 55 test/correctness/extern_stage.cpp uint8_t *src1 = (uint8_t *)(in1->host) - in1->dim[0].min; uint8_t 74 test/correctness/extern_stage.cpp Buffer<uint8_t> input(100); uint8_t 76 test/correctness/extern_stage.cpp lambda(x, cast<uint8_t>(x*x)).realize(input); uint8_t 78 test/correctness/extern_stage.cpp assert(input(-99) == (uint8_t)(-99*-99)); uint8_t 94 test/correctness/extern_stage.cpp Buffer<uint8_t> result = h.realize(100); uint8_t 97 test/correctness/extern_stage.cpp uint8_t correct = 4*i*i; uint8_t 22 test/correctness/external_code.cpp std::vector<uint8_t> bitcode; uint8_t 7 test/correctness/gameoflife.cpp return cast<uint8_t>(a); uint8_t 36 test/correctness/gameoflife.cpp Buffer<uint8_t> board1(32, 32), board2(32, 32), board3(32, 32); uint8_t 40 test/correctness/gameoflife.cpp uint8_t val = ((rand() & 0xff) < 128) ? 1 : 0; uint8_t 18 test/correctness/gpu_non_contiguous_copy.cpp cropped.raw_buffer()->host = (uint8_t *)&(full(x_off, y_off, z_off, w_off)); uint8_t 9 test/correctness/gpu_reuse_shared_memory.cpp f1(x, y, z) = cast<uint8_t>(1); uint8_t 14 test/correctness/gpu_reuse_shared_memory.cpp f6(x, y, z) = cast<uint8_t>(f5(x+1, y, z) + f5(x, y+1, z)); uint8_t 28 test/correctness/gpu_reuse_shared_memory.cpp Buffer<uint8_t> out = f6.realize(size_x, size_y, size_z); uint8_t 30 test/correctness/gpu_reuse_shared_memory.cpp uint8_t correct = 32; uint8_t 38 test/correctness/gpu_transpose.cpp Buffer<uint8_t> input(256, 256); uint8_t 39 test/correctness/gpu_transpose.cpp lambda(x, y, cast<uint8_t>(x * 17 + y)).realize(input); uint8_t 42 test/correctness/gpu_transpose.cpp Buffer<uint8_t> output = out.realize(256, 256); uint8_t 46 test/correctness/gpu_transpose.cpp uint8_t correct = y * 17 + x; uint8_t 20 test/correctness/histogram.cpp reference_hist[uint8_t(in(x, y))] += 1; uint8_t 11 test/correctness/histogram_equalize.cpp Buffer<uint8_t> in(W, H); uint8_t 40 test/correctness/histogram_equalize.cpp rescaled(i, _) = cast<uint8_t>((equalized(i, _)*256)/pixels); uint8_t 42 test/correctness/histogram_equalize.cpp Buffer<uint8_t> out = rescaled.realize(in.width(), in.height()); uint8_t 15 test/correctness/image_io.cpp void test_round_trip(Buffer<uint8_t> buf, std::string format) { uint8_t 21 test/correctness/image_io.cpp Buffer<uint8_t> reloaded = Tools::load_image(filename); uint8_t 70 test/correctness/image_io.cpp f(x, y, c) = cast<uint8_t>(clamp(make_noise(10)(x, y, c), 0.0f, 1.0f) * 255.0f); uint8_t 72 test/correctness/image_io.cpp Buffer<uint8_t> color_buf = f.realize(width, height, 3); uint8_t 74 test/correctness/image_io.cpp Buffer<uint8_t> luma_buf(width, height, 1); uint8_t 23 test/correctness/infer_arguments.cpp Param<uint8_t> thresh("thresh"); uint8_t 14 test/correctness/input_larger_than_two_gigs.cpp uint8_t c[4096]; uint8_t 20 test/correctness/input_larger_than_two_gigs.cpp Halide::Buffer<uint8_t> buf(c, 3, shape); uint8_t 283 test/correctness/interleave.cpp define(output6(x, y), cast<uint8_t>(x), elements); uint8_t 287 test/correctness/interleave.cpp define(output6(2*r, 0), cast<uint8_t>(3), elements); uint8_t 288 test/correctness/interleave.cpp define(output6(2*r+1, 0), cast<uint8_t>(4), elements); uint8_t 291 test/correctness/interleave.cpp define(output6(2*r, 1), cast<uint8_t>(3), elements); uint8_t 292 test/correctness/interleave.cpp define(output6(2*r+1, 1), cast<uint8_t>(4), elements); uint8_t 295 test/correctness/interleave.cpp define(output6(3*r, 3), cast<uint8_t>(3), elements); uint8_t 296 test/correctness/interleave.cpp define(output6(3*r+1, 3), cast<uint8_t>(4), elements); uint8_t 309 test/correctness/interleave.cpp define(output6(3*r, 3), cast<uint8_t>(7), elements); uint8_t 310 test/correctness/interleave.cpp define(output6(3*r+2, 3), cast<uint8_t>(9), elements); uint8_t 311 test/correctness/interleave.cpp define(output6(3*r+1, 3), cast<uint8_t>(8), elements); uint8_t 326 test/correctness/interleave.cpp Buffer<uint8_t> ref = (*refs)[e]; uint8_t 327 test/correctness/interleave.cpp Buffer<uint8_t> out = outs[e]; uint8_t 30 test/correctness/interleave_rgb.cpp interleaved.vectorize(x, target.natural_vector_size<uint8_t>()).unroll(c); uint8_t 50 test/correctness/interleave_rgb.cpp if (!test_interleave<uint8_t>()) return -1; uint8_t 126 test/correctness/lerp.cpp check_range<bool, uint8_t>(0, 2, 0, 1, uint8_t 132 test/correctness/lerp.cpp check_range<uint8_t, uint8_t>(0, 256, 0, 1, uint8_t 136 test/correctness/lerp.cpp check_range<int8_t, uint8_t>(0, 256, -128, 1, uint8_t 140 test/correctness/lerp.cpp check_range<uint8_t, float>(0, 256, 0, 1, uint8_t 161 test/correctness/lerp.cpp check_range<uint16_t, uint8_t>(0, 1, 0, 1, uint8_t 169 test/correctness/lerp.cpp check_range<uint32_t, uint8_t>(0, 1, 0, 1, uint8_t 208 test/correctness/lerp.cpp check_range<float, uint8_t>(0, 100, -5, .1f, uint8_t 234 test/correctness/lerp.cpp Buffer<uint8_t> input_a_img(16, 16); uint8_t 235 test/correctness/lerp.cpp Buffer<uint8_t> input_b_img(16, 16); uint8_t 7 test/correctness/logical.cpp return cast<uint8_t>(a); uint8_t 16 test/correctness/logical.cpp Buffer<uint8_t> input(128, 64); uint8_t 40 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); uint8_t 46 test/correctness/logical.cpp uint8_t correct = cond ? 255 : 0; uint8_t 73 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); uint8_t 80 test/correctness/logical.cpp uint8_t correct = cond ? 255 : 0; uint8_t 104 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); uint8_t 109 test/correctness/logical.cpp uint8_t correct = cond ? 0 : input(x,y); uint8_t 133 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); uint8_t 138 test/correctness/logical.cpp uint8_t correct = cond ? 255 : 0; uint8_t 23 test/correctness/loop_invariant_extern_calls.cpp int not_really_parallel_for(void *ctx, int (*f)(void *, int, uint8_t *), int min, int extent, uint8_t *closure) { uint8_t 70 test/correctness/many_small_extern_stages.cpp uint8_t correct = 0; uint8_t 43 test/correctness/math.cpp uint8_t absd(int8_t a, int8_t b) { return a < b ? b - a : a - b; } uint8_t 46 test/correctness/math.cpp uint8_t absd(uint8_t a, uint8_t b) { return a < b ? b - a : a - b; } uint8_t 116 test/correctness/math.cpp fun_1(uint8_t, uint8_t, name, name) \ uint8_t 148 test/correctness/math.cpp fun_1(uint8_t, int8_t, abs, abs) uint8_t 153 test/correctness/math.cpp fun_2(uint8_t, int8_t, absd, absd) uint8_t 156 test/correctness/math.cpp fun_2(uint8_t, uint8_t, absd, absd) uint8_t 248 test/correctness/math.cpp const uint8_t uint8_min = std::numeric_limits<uint8_t>::min(); uint8_t 251 test/correctness/math.cpp const uint8_t uint8_max = std::numeric_limits<uint8_t>::max(); uint8_t 264 test/correctness/math.cpp call_2(uint8_t, absd, 256, uint8_min, uint8_max, uint8_min, uint8_max); uint8_t 17 test/correctness/median3x3.cpp Buffer<uint8_t> in(W, H); uint8_t 53 test/correctness/median3x3.cpp median3x3.vectorize(x, target.natural_vector_size<uint8_t>()); uint8_t 57 test/correctness/median3x3.cpp Buffer<uint8_t> out = median3x3.realize(W, H, target); uint8_t 61 test/correctness/median3x3.cpp uint8_t inp[9] = {in(x-1, y-1), in(x, y-1), in(x+1, y-1), uint8_t 65 test/correctness/median3x3.cpp uint8_t correct = inp[4]; uint8_t 22 test/correctness/memoize.cpp Halide::Runtime::Buffer<uint8_t>(*out).fill(42); uint8_t 29 test/correctness/memoize.cpp extern "C" DLLEXPORT int count_calls_with_arg(uint8_t val, halide_buffer_t *out) { uint8_t 32 test/correctness/memoize.cpp Halide::Runtime::Buffer<uint8_t>(*out).fill(val); uint8_t 39 test/correctness/memoize.cpp extern "C" DLLEXPORT int count_calls_with_arg_parallel(uint8_t val, halide_buffer_t *out) { uint8_t 42 test/correctness/memoize.cpp Halide::Runtime::Buffer<uint8_t>(*out).fill(val); uint8_t 49 test/correctness/memoize.cpp extern "C" DLLEXPORT int count_calls_staged(int32_t stage, uint8_t val, halide_buffer_t *in, halide_buffer_t *out) { uint8_t 57 test/correctness/memoize.cpp Halide::Runtime::Buffer<uint8_t> out_buf(*out), in_buf(*in); uint8_t 58 test/correctness/memoize.cpp out_buf.for_each_value([&](uint8_t &out, uint8_t &in) {out = in + val;}, in_buf); uint8_t 93 test/correctness/memoize.cpp Buffer<uint8_t> result1 = f.realize(); uint8_t 94 test/correctness/memoize.cpp Buffer<uint8_t> result2 = f.realize(); uint8_t 116 test/correctness/memoize.cpp Buffer<uint8_t> out1 = g.realize(256, 256); uint8_t 117 test/correctness/memoize.cpp Buffer<uint8_t> out2 = g.realize(256, 256); uint8_t 128 test/correctness/memoize.cpp Buffer<uint8_t> out3 = g.realize(256, 256); uint8_t 129 test/correctness/memoize.cpp Buffer<uint8_t> out4 = g.realize(256, 256); uint8_t 150 test/correctness/memoize.cpp Buffer<uint8_t> out1 = f.realize(256, 256); uint8_t 151 test/correctness/memoize.cpp Buffer<uint8_t> out2 = f.realize(256, 256); uint8_t 166 test/correctness/memoize.cpp count_calls_23.define_extern("count_calls_with_arg", {cast<uint8_t>(23)}, UInt(8), 2); uint8_t 169 test/correctness/memoize.cpp count_calls_42.define_extern("count_calls_with_arg", {cast<uint8_t>(42)}, UInt(8), 2); uint8_t 177 test/correctness/memoize.cpp Buffer<uint8_t> out1 = f.realize(256, 256); uint8_t 178 test/correctness/memoize.cpp Buffer<uint8_t> out2 = f.realize(256, 256); uint8_t 190 test/correctness/memoize.cpp Param<uint8_t> val1; uint8_t 191 test/correctness/memoize.cpp Param<uint8_t> val2; uint8_t 209 test/correctness/memoize.cpp Buffer<uint8_t> out1 = f.realize(256, 256); uint8_t 210 test/correctness/memoize.cpp Buffer<uint8_t> out2 = f.realize(256, 256); uint8_t 213 test/correctness/memoize.cpp Buffer<uint8_t> out3 = f.realize(256, 256); uint8_t 216 test/correctness/memoize.cpp Buffer<uint8_t> out4 = f.realize(256, 256); uint8_t 219 test/correctness/memoize.cpp Buffer<uint8_t> out5 = f.realize(256, 256); uint8_t 222 test/correctness/memoize.cpp Buffer<uint8_t> out6 = f.realize(256, 256); uint8_t 243 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg", {cast<uint8_t>(val)}, UInt(8), 2); uint8_t 251 test/correctness/memoize.cpp Buffer<uint8_t> out1 = f.realize(256, 256); uint8_t 253 test/correctness/memoize.cpp Buffer<uint8_t> out2 = f.realize(256, 256); uint8_t 269 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg", {memoize_tag(cast<uint8_t>(val))}, UInt(8), 2); uint8_t 277 test/correctness/memoize.cpp Buffer<uint8_t> out1 = f.realize(256, 256); uint8_t 279 test/correctness/memoize.cpp Buffer<uint8_t> out2 = f.realize(256, 256); uint8_t 297 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg", {cast<uint8_t>(val)}, UInt(8), 2); uint8_t 301 test/correctness/memoize.cpp f(x) = count_calls(x, 0) + cast<uint8_t>(x); uint8_t 310 test/correctness/memoize.cpp Buffer<uint8_t> out1 = h.realize(1); uint8_t 312 test/correctness/memoize.cpp assert(out1(0) == (uint8_t)(2 * 23 + 4 + 2)); uint8_t 318 test/correctness/memoize.cpp assert(out1(0) == (uint8_t)(2 * 23 + 4 + 4)); uint8_t 328 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg", {cast<uint8_t>(val)}, UInt(8), 2); uint8_t 332 test/correctness/memoize.cpp f(x, y) = Tuple(count_calls(x, y) + cast<uint8_t>(x), x); uint8_t 341 test/correctness/memoize.cpp Buffer<uint8_t> out0 = out[0]; uint8_t 347 test/correctness/memoize.cpp assert(out0(i, j) == (uint8_t)(3 * 23 + i + (i - 1) + (i + 1))); uint8_t 358 test/correctness/memoize.cpp assert(out0(i, j) == (uint8_t)(3 * 23 + i + (i - 1) + (i + 1))); uint8_t 371 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg", {cast<uint8_t>(val)}, UInt(8), 2); uint8_t 375 test/correctness/memoize.cpp f(x, y) = count_calls(x, y) + cast<uint8_t>(x); uint8_t 385 test/correctness/memoize.cpp Buffer<uint8_t> out1 = g.realize(128, 128); uint8_t 389 test/correctness/memoize.cpp assert(out1(i, j) == (uint8_t)(3 * r + i + (i - 1) + (i + 1))); uint8_t 406 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg", {cast<uint8_t>(val)}, UInt(8), 2); uint8_t 410 test/correctness/memoize.cpp f(x, y) = count_calls(x, y) + cast<uint8_t>(x); uint8_t 420 test/correctness/memoize.cpp Buffer<uint8_t> out1 = g.realize(128, 128); uint8_t 424 test/correctness/memoize.cpp assert(out1(i, j) == (uint8_t)(3 * r + i + (i - 1) + (i + 1))); uint8_t 433 test/correctness/memoize.cpp Buffer<uint8_t> big = g.realize(1024, 1024); uint8_t 434 test/correctness/memoize.cpp Buffer<uint8_t> big2 = g.realize(1024, 1024); uint8_t 443 test/correctness/memoize.cpp Buffer<uint8_t> out1 = g.realize(128, 128); uint8_t 447 test/correctness/memoize.cpp assert(out1(i, j) == (uint8_t)(3 * r + i + (i - 1) + (i + 1))); uint8_t 463 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg_parallel", {cast<uint8_t>(val)}, UInt(8), 3); uint8_t 469 test/correctness/memoize.cpp f(x, y) = count_calls(x, y % 4, memoize_tag(y / 16, 0)) + cast<uint8_t>(x); uint8_t 479 test/correctness/memoize.cpp Buffer<uint8_t> out = g.realize(128, 128); uint8_t 483 test/correctness/memoize.cpp assert(out(i, j) == (uint8_t)(3 * 23 + i + (i - 1) + (i + 1))); uint8_t 501 test/correctness/memoize.cpp f(x, y) = cast<uint8_t>((x << 8) + y); uint8_t 525 test/correctness/memoize.cpp Buffer<uint8_t> result = output.realize(128, 128); uint8_t 529 test/correctness/memoize.cpp assert(result(i, j) == (uint8_t)((i << 8) + j + 4 * 23)); uint8_t 540 test/correctness/memoize.cpp assert(result(i, j) == (uint8_t)((i << 8) + j + 4 * 23)); uint8_t 555 test/correctness/memoize.cpp count_calls.define_extern("count_calls_with_arg", {cast<uint8_t>(val)}, UInt(8), 2); uint8_t 559 test/correctness/memoize.cpp f(x, y) = Tuple(count_calls(x, y) + cast<uint8_t>(x), x); uint8_t 581 test/correctness/memoize.cpp Buffer<uint8_t> out0 = out[0]; uint8_t 586 test/correctness/memoize.cpp assert(out0(i, j) == (uint8_t)(3 * (23 + trial) + i + (i - 1) + (i + 1))); uint8_t 601 test/correctness/memoize.cpp assert(out0(i, j) == (uint8_t)(3 * (23 + trial) + i + (i - 1) + (i + 1))); uint8_t 51 test/correctness/mod.cpp test<uint8_t>()) { uint8_t 508 test/correctness/mul_div_mod.cpp success &= mul<uint8_t, uint8_t, uint8_t, uint64_t>(vector_width, scheduling, target); uint8_t 516 test/correctness/mul_div_mod.cpp success &= mul<uint8_t, uint8_t, uint16_t, uint64_t>(vector_width, scheduling, target); uint8_t 534 test/correctness/mul_div_mod.cpp success &= div_mod<uint8_t, uint64_t>(vector_width, scheduling, target); uint8_t 101 test/correctness/multiple_outputs.cpp g(x) = Tuple(cast<uint8_t>(x), cast<int16_t>(x+1)); uint8_t 110 test/correctness/multiple_outputs.cpp Buffer<uint8_t> g0_im = r[1]; uint8_t 8 test/correctness/obscure_image_references.cpp Buffer<uint8_t> im2(10), im3(20); uint8_t 44 test/correctness/out_of_memory.cpp funcs.push_back(lambda(x, cast<uint8_t>(x))); uint8_t 16 test/correctness/output_larger_than_two_gigs.cpp identity_uint8(x, y, z) = cast<uint8_t>(42); uint8_t 18 test/correctness/output_larger_than_two_gigs.cpp uint8_t c[4096]; uint8_t 24 test/correctness/output_larger_than_two_gigs.cpp Buffer<uint8_t> output(c, 3, shape); uint8_t 7 test/correctness/partition_loops.cpp Buffer<uint8_t> input(1024, 1024, 3); uint8_t 18 test/correctness/realize_larger_than_two_gigs.cpp big(x, y, z, w) = cast<uint8_t>(42); uint8_t 22 test/correctness/realize_larger_than_two_gigs.cpp grand_total() = cast<uint8_t>(sum(big(r.x, r.y, r.z, r.w))); uint8_t 31 test/correctness/realize_larger_than_two_gigs.cpp Buffer<uint8_t> result = grand_total.realize(); uint8_t 403 test/correctness/rfactor.cpp reference_hist[uint8_t(in(x, y))] += 1; uint8_t 904 test/correctness/rfactor.cpp Buffer<uint8_t> input(8, 8, "input"); uint8_t 224 test/correctness/saturating_casts.cpp test_saturating<source_t, uint8_t>(); uint8_t 243 test/correctness/saturating_casts.cpp test_concise<source_t, uint8_t>(u8, false); uint8_t 245 test/correctness/saturating_casts.cpp test_concise<source_t, uint8_t>(u8_sat, true); uint8_t 271 test/correctness/saturating_casts.cpp test_one_source<uint8_t>(); uint8_t 63 test/correctness/skip_stages_external_array_functions.cpp f1(x) = cast<uint8_t>(x); uint8_t 76 test/correctness/skip_stages_external_array_functions.cpp Buffer<uint8_t> result1 = f4.realize(10); uint8_t 85 test/correctness/skip_stages_external_array_functions.cpp Buffer<uint8_t> result2 = f4.realize(10); uint8_t 117 test/correctness/target.cpp if (t1.natural_vector_size<uint8_t>() != 16) { uint8_t 137 test/correctness/target.cpp if (t1.natural_vector_size<uint8_t>() != 16) { uint8_t 156 test/correctness/target.cpp if (t1.natural_vector_size<uint8_t>() != 32) { uint8_t 175 test/correctness/target.cpp if (t1.natural_vector_size<uint8_t>() != 16) { uint8_t 71 test/correctness/tracing_stack.cpp buf->host = (uint8_t *)17; uint8_t 117 test/correctness/trim_no_ops.cpp f(x, y) = cast<uint8_t>(random_int()); uint8_t 14 test/correctness/vector_cast.cpp DECL_SOT(uint8_t); uint8_t 120 test/correctness/vector_cast.cpp success = success && test<A, uint8_t>(vec_width, target); uint8_t 151 test/correctness/vector_cast.cpp success = success && test_all<uint8_t>(vec_width, target); uint8_t 29 test/correctness/vector_math.cpp DECL_SOT(uint8_t); uint8_t 104 test/correctness/vector_math.cpp typedef uint8_t type; uint8_t 631 test/correctness/vector_math.cpp futures.push_back(pool.async(test<uint8_t>, 16)); uint8_t 10 test/correctness/widening_reduction.cpp Buffer<uint8_t> in(W, H); uint8_t 46 test/correctness/widening_reduction.cpp f.vectorize(x, target.natural_vector_size<uint8_t>()); uint8_t 50 test/correctness/widening_reduction.cpp Buffer<uint8_t> out = f.realize(W, H, target); uint8_t 88 test/correctness/widening_reduction.cpp g.vectorize(x, target.natural_vector_size<uint8_t>()); uint8_t 92 test/correctness/widening_reduction.cpp Buffer<uint8_t> out = g.realize(W, H, target); uint8_t 12 test/error/bad_const_cast.cpp f(x) = cast<uint8_t>(x) % 256; uint8_t 13 test/error/bad_host_alignment.cpp Buffer<uint8_t> param_buf(11, 10); uint8_t 21 test/error/bad_host_alignment.cpp Buffer<uint8_t> result = f.realize(10, 10); uint8_t 7 test/error/buffer_larger_than_two_gigs.cpp Buffer<uint8_t> result(1 << 24, 1 << 24, 1 << 24); uint8_t 9 test/error/buffer_larger_than_two_gigs.cpp Buffer<uint8_t> result(1 << 12, 1 << 12, 1 << 8); uint8_t 10 test/error/lerp_mismatch.cpp f() = lerp(cast<uint16_t>(0), cast<uint8_t>(42), 0.5f); uint8_t 10 test/error/lerp_signed_weight.cpp f() = lerp(cast<uint8_t>(0), cast<uint8_t>(42), cast<int8_t>(16)); uint8_t 12 test/error/memoize_different_compute_store.cpp f(x, y) = val + cast<uint8_t>(x); uint8_t 20 test/error/memoize_different_compute_store.cpp Buffer<uint8_t> out = g.realize(128, 128); uint8_t 24 test/error/memoize_different_compute_store.cpp assert(out(i, j) == (uint8_t)(3 * 23 + i + (i - 1) + (i + 1))); uint8_t 17 test/error/realize_constantly_larger_than_two_gigs.cpp big(x, y, z) = cast<uint8_t>(42); uint8_t 22 test/error/realize_constantly_larger_than_two_gigs.cpp grand_total() = cast<uint8_t>(sum(big(r.x, r.y, r.z))); uint8_t 25 test/error/realize_constantly_larger_than_two_gigs.cpp Buffer<uint8_t> result = grand_total.realize(); uint8_t 11 test/error/reduction_type_mismatch.cpp f(x) = cast<uint8_t>(0); // The type here... uint8_t 38 test/generator/cxx_mangling_aottest.cpp Buffer<uint8_t> input(100); uint8_t 62 test/generator/cxx_mangling_aottest.cpp int8_t, uint8_t, uint8_t 28 test/generator/cxx_mangling_define_extern_aottest.cpp int cxx_mangling_1(void *ctx, halide_buffer_t *_input_buffer, int8_t _offset_i8, uint8_t _offset_u8, int16_t _offset_i16, uint16_t _offset_u16, int32_t _offset_i32, uint32_t _offset_u32, int64_t _offset_i64, uint64_t _offset_u64, bool _scale_direction, float _scale_f, double _scale_d, int32_t *_ptr, int32_t const *_const_ptr, void *_void_ptr, void const *_const_void_ptr, void *_string_ptr, void const *_const_string_ptr, halide_buffer_t *_f_buffer) { uint8_t 32 test/generator/cxx_mangling_define_extern_aottest.cpp int cxx_mangling_2(void *ctx, halide_buffer_t *_input_buffer, int8_t _offset_i8, uint8_t _offset_u8, int16_t _offset_i16, uint16_t _offset_u16, int32_t _offset_i32, uint32_t _offset_u32, int64_t _offset_i64, uint64_t _offset_u64, bool _scale_direction, float _scale_f, double _scale_d, int32_t *_ptr, int32_t const *_const_ptr, void *_void_ptr, void const *_const_void_ptr, void *_string_ptr, void const *_const_string_ptr, halide_buffer_t *_f_buffer) { uint8_t 36 test/generator/cxx_mangling_define_extern_aottest.cpp extern "C" int cxx_mangling_3(void *ctx, halide_buffer_t *_input_buffer, int8_t _offset_i8, uint8_t _offset_u8, int16_t _offset_i16, uint16_t _offset_u16, int32_t _offset_i32, uint32_t _offset_u32, int64_t _offset_i64, uint64_t _offset_u64, bool _scale_direction, float _scale_f, double _scale_d, int32_t *_ptr, int32_t const *_const_ptr, void *_void_ptr, void const *_const_void_ptr, void *_string_ptr, void const *_const_string_ptr, halide_buffer_t *_f_buffer) { uint8_t 43 test/generator/cxx_mangling_define_extern_aottest.cpp Buffer<uint8_t> input(100); uint8_t 28 test/generator/cxx_mangling_define_extern_generator.cpp args.push_back(cast<uint8_t>(2)); uint8_t 37 test/generator/cxx_mangling_generator.cpp Param<uint8_t> offset_u8{"offset_u8", 0}; uint8_t 28 test/generator/error_codes_aottest.cpp in.host = (uint8_t *)malloc(64*64*4); uint8_t 33 test/generator/error_codes_aottest.cpp out.host = (uint8_t *)malloc(64*64*4); uint8_t 31 test/generator/external_code_generator.cpp std::vector<uint8_t> code_vector(code, code + code_length); uint8_t 43 test/generator/gpu_only_aottest.cpp output_no_host.host = (uint8_t *)1; uint8_t 48 test/generator/gpu_only_aottest.cpp output_no_host.host = (uint8_t *)output.data(); uint8_t 133 test/generator/image_from_array_aottest.cpp test<uint8_t>(); uint8_t 26 test/generator/memory_profiler_mandelbrot_aottest.cpp const int argmin_stack_peak = vectorize*sizeof(uint8_t) + vectorize*sizeof(int32_t); uint8_t 35 test/generator/memory_profiler_mandelbrot_aottest.cpp int stack_size = vectorize*sizeof(uint8_t) + vectorize*sizeof(int32_t); uint8_t 62 test/generator/memory_profiler_mandelbrot_aottest.cpp int launcher_task(void *user_context, int index, uint8_t *closure) { uint8_t 210 test/generator/metadata_tester_aottest.cpp const halide_scalar_value_t *make_scalar(uint8_t v) { uint8_t 374 test/generator/metadata_tester_aottest.cpp make_scalar<uint8_t>(80), uint8_t 375 test/generator/metadata_tester_aottest.cpp make_scalar<uint8_t>(8), uint8_t 376 test/generator/metadata_tester_aottest.cpp make_scalar<uint8_t>(255), uint8_t 761 test/generator/metadata_tester_aottest.cpp Buffer<uint8_t> input = make_image<uint8_t>(); uint8_t 11 test/generator/metadata_tester_generator.cpp Input<Buffer<uint8_t>> typed_input_buffer{ "typed_input_buffer", 3 }; uint8_t 20 test/generator/metadata_tester_generator.cpp Input<uint8_t> u8{ "u8", 80, 8, 255 }; uint8_t 93 test/generator/multitarget_aottest.cpp Buffer<uint8_t> bad_type(W, H); uint8_t 49 test/generator/old_buffer_t_aottest.cpp out.host = (uint8_t *)malloc(60*40*sizeof(int)); uint8_t 76 test/generator/old_buffer_t_aottest.cpp in1.host = (uint8_t *)malloc(in1.extent[0] * in1.extent[1] * in1.elem_size); uint8_t 77 test/generator/old_buffer_t_aottest.cpp in2.host = (uint8_t *)malloc(in2.extent[0] * in2.extent[1] * in2.elem_size); uint8_t 47 test/generator/stubtest_aottest.cpp Buffer<uint8_t> buffer_input = make_image<uint8_t>(0); uint8_t 56 test/generator/stubtest_aottest.cpp Buffer<uint8_t> static_compiled_buffer_output(kSize, kSize, 3); uint8_t 32 test/generator/stubtest_generator.cpp Input<Buffer<uint8_t>> typed_buffer_input{ "typed_buffer_input", 3 }; uint8_t 45 test/generator/stubtest_generator.cpp Output<Buffer<uint8_t>> static_compiled_buffer_output{ "static_compiled_buffer_output", 3 }; uint8_t 71 test/generator/stubtest_generator.cpp Buffer<uint8_t> static_compiled_buffer = make_image<uint8_t>(42); uint8_t 56 test/generator/stubtest_jittest.cpp Buffer<uint8_t> buffer_input = make_image<uint8_t>(0); uint8_t 111 test/generator/stubtest_jittest.cpp Buffer<uint8_t> b2 = static_compiled_buffer_output_realized; uint8_t 51 test/generator/stubuser_aottest.cpp Buffer<uint8_t> input = make_image<uint8_t>(); uint8_t 52 test/generator/stubuser_aottest.cpp Buffer<uint8_t> calculated_output(kSize, kSize, 3); uint8_t 59 test/generator/stubuser_aottest.cpp verify<uint8_t, int32_t>(input, 1.f, 0, 0.f, int32_buffer_output); uint8_t 26 test/generator/stubuser_generator.cpp Input<Buffer<uint8_t>> input{ "input", 3 }; uint8_t 27 test/generator/stubuser_generator.cpp Output<Buffer<uint8_t>> calculated_output{"calculated_output" }; uint8_t 33 test/generator/stubuser_generator.cpp Buffer<uint8_t> constant_image = make_image<uint8_t>(); uint8_t 52 test/generator/stubuser_generator.cpp calculated_output(x, y, c) = cast<uint8_t>(stub.tuple_output(x, y, c)[1] + kOffset); uint8_t 47 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> buffer_factory_planar(int w, int h, int c) { uint8_t 48 test/generator/tiled_blur_aottest.cpp return Buffer<uint8_t>(w, h, c); uint8_t 51 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> buffer_factory_interleaved(int w, int h, int c) { uint8_t 52 test/generator/tiled_blur_aottest.cpp return Buffer<uint8_t>::make_interleaved(w, h, c); uint8_t 55 test/generator/tiled_blur_aottest.cpp void test(Buffer<uint8_t> (*factory)(int w, int h, int c)) { uint8_t 56 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> input = factory(W, H, 3); uint8_t 60 test/generator/tiled_blur_aottest.cpp input(x, y, c) = (uint8_t)((x % 7) + (y % 3)); uint8_t 62 test/generator/tiled_blur_aottest.cpp input(x, y, c) = (uint8_t)(x + y); uint8_t 64 test/generator/tiled_blur_aottest.cpp input(x, y, c) = (uint8_t)((x * 5) + (y * 2)); uint8_t 67 test/generator/tiled_blur_aottest.cpp Buffer<uint8_t> output = factory(W, H, 3); uint8_t 19 test/generator/tiled_blur_generator.cpp Input<Buffer<uint8_t>> input{ "input", 3 }; uint8_t 20 test/generator/tiled_blur_generator.cpp Output<Buffer<uint8_t>> output{ "output", 3 }; uint8_t 38 test/generator/tiled_blur_generator.cpp output(x, y, c) = saturating_cast<uint8_t>(tiled_blur_brightened * 255.f); uint8_t 21 test/generator/user_context_insanity_aottest.cpp int launcher_task(void *user_context, int index, uint8_t *closure) { uint8_t 12 test/opengl/copy_pixels.cpp Buffer<uint8_t> input(255, 10, 3); uint8_t 21 test/opengl/copy_pixels.cpp Buffer<uint8_t> out(255, 10, 3); uint8_t 27 test/opengl/copy_pixels.cpp if (!Testing::check_result<uint8_t>(out, [&](int x, int y, int c) { return input(x, y, c); })) { uint8_t 13 test/opengl/copy_to_device.cpp Buffer<uint8_t> input(255, 10, 3); uint8_t 28 test/opengl/copy_to_device.cpp Buffer<uint8_t> out(255, 10, 3); uint8_t 32 test/opengl/copy_to_device.cpp if (!Testing::check_result<uint8_t>(out, [&](int x, int y, int c) { return input(x, y, c); })) { uint8_t 16 test/opengl/copy_to_host.cpp gpu(x, y, c) = cast<uint8_t>(select(c == 0, 10 * x + y, uint8_t 26 test/opengl/copy_to_host.cpp Buffer<uint8_t> out(10, 10, 3); uint8_t 29 test/opengl/copy_to_host.cpp if (!Testing::check_result<uint8_t>(out, [&](int x, int y, int c) { uint8_t 21 test/opengl/lut.cpp Buffer<uint8_t> input(8, 8, 3); uint8_t 26 test/opengl/lut.cpp return (uint8_t)(v * 255.0f); uint8_t 28 test/opengl/lut.cpp return (uint8_t)((1.0f - v) * 255.0f); uint8_t 30 test/opengl/lut.cpp return (uint8_t)((v > 0.5 ? 1.0 : 0.0) * 255.0f); uint8_t 15 test/opengl/multiple_stages.cpp g(x, y, c) = cast<uint8_t>(x); uint8_t 17 test/opengl/multiple_stages.cpp f(x, y, c) = h(x, y, c) + cast<uint8_t>(y); uint8_t 22 test/opengl/multiple_stages.cpp Buffer<uint8_t> result = f.realize(10, 10, 3, target); uint8_t 25 test/opengl/multiple_stages.cpp if (!Testing::check_result<uint8_t>(result, [&](int i, int j, int k) { return i + j + 1; })) { uint8_t 21 test/opengl/produce.cpp Buffer<uint8_t> input(8, 8, 3); uint8_t 25 test/opengl/produce.cpp case 0: return (uint8_t)(v * 255.0f); uint8_t 26 test/opengl/produce.cpp case 1: return (uint8_t)((1.0f - v) * 255.0f); uint8_t 27 test/opengl/produce.cpp default: return (uint8_t)((v > 0.5 ? 1.0 : 0.0) * 255.0f); uint8_t 35 test/opengl/rewrap_texture.cpp Buffer<uint8_t> input(width, height, 3); uint8_t 36 test/opengl/rewrap_texture.cpp Buffer<uint8_t> out1(width, height, 3); uint8_t 37 test/opengl/rewrap_texture.cpp Buffer<uint8_t> out2(width, height, 3); uint8_t 38 test/opengl/rewrap_texture.cpp Buffer<uint8_t> out3(width, height, 3); uint8_t 307 test/opengl/save_state.cpp Buffer<uint8_t> input(255, 10, 3); uint8_t 308 test/opengl/save_state.cpp Buffer<uint8_t> out(UInt(8), 255, 10, 3); uint8_t 18 test/opengl/select.cpp gpu(x, y, c) = cast<uint8_t>(select(c == 0, 128, uint8_t 28 test/opengl/select.cpp Buffer<uint8_t> out(10, 10, 4); uint8_t 32 test/opengl/select.cpp if (!Testing::check_result<uint8_t>(out, [&](int x, int y, int c) { uint8_t 60 test/opengl/select.cpp gpu(x, y, c) = cast<uint8_t>(select(flag != 0, 128, uint8_t 69 test/opengl/select.cpp Buffer<uint8_t> out(10, 10, 4); uint8_t 73 test/opengl/select.cpp if (!Testing::check_result<uint8_t>(out, [&](int x, int y, int c) { uint8_t 97 test/opengl/select.cpp Buffer<uint8_t> image(10, 10, 4); uint8_t 106 test/opengl/select.cpp gpu(x, y, c) = cast<uint8_t>(select(flag != 0, image(x, y, c), uint8_t 115 test/opengl/select.cpp Buffer<uint8_t> out(10, 10, 4); uint8_t 119 test/opengl/select.cpp if (!Testing::check_result<uint8_t>(out, [&](int x, int y, int c) { uint8_t 138 test/opengl/select.cpp Expr temp = cast<uint8_t>(select(x == 0, 1, 2)); uint8_t 147 test/opengl/select.cpp Buffer<uint8_t> out = f.realize(width, height, channels, target); uint8_t 152 test/opengl/select.cpp uint8_t temp = x == 0 ? 1 : 2; uint8_t 153 test/opengl/select.cpp uint8_t expected = y == 0 ? temp : 255 - temp; uint8_t 154 test/opengl/select.cpp uint8_t actual = out(x, y, c); uint8_t 174 test/opengl/select.cpp Expr temp = cast<uint8_t>(select(x - c > 0, 1, 2)); uint8_t 183 test/opengl/select.cpp Buffer<uint8_t> out = f.realize(width, height, channels, target); uint8_t 188 test/opengl/select.cpp uint8_t temp = x - c > 0 ? 1 : 2; uint8_t 189 test/opengl/select.cpp uint8_t expected = y == 0 ? temp : 255 - temp; uint8_t 190 test/opengl/select.cpp uint8_t actual = out(x, y, c); uint8_t 15 test/opengl/set_pixels.cpp f(x, y, c) = cast<uint8_t>(42); uint8_t 17 test/opengl/set_pixels.cpp Buffer<uint8_t> out(10, 10, 3); uint8_t 22 test/opengl/set_pixels.cpp if (!Testing::check_result<uint8_t>(out, [](int x, int y, int c) { return 42; })) { uint8_t 92 test/opengl/special_funcs.cpp if (!test_exact<uint8_t>(0, 0, 0)) { uint8_t 96 test/opengl/special_funcs.cpp if (!test_exact<uint8_t>(clamp(x + y, 0, 255), 0, 0)) { uint8_t 101 test/opengl/special_funcs.cpp if (!test_exact<uint8_t>( uint8_t 128 test/opengl/special_funcs.cpp if (!test_approx<uint8_t>( uint8_t 137 test/opengl/special_funcs.cpp if (!test_exact<uint8_t>( uint8_t 138 test/opengl/special_funcs.cpp lerp(cast<uint8_t>(x), cast<uint8_t>(y), cast<uint8_t>(128)), uint8_t 139 test/opengl/special_funcs.cpp lerp(cast<uint8_t>(x), cast<uint8_t>(y), 0.5f), uint8_t 140 test/opengl/special_funcs.cpp cast<uint8_t>(lerp(cast<float>(x), cast<float>(y), 0.2f)))) { uint8_t 12 test/opengl/tuples.cpp Buffer<uint8_t> input(255, 10, 3); uint8_t 27 test/opengl/tuples.cpp Buffer<uint8_t> out(255, 10, 3); uint8_t 34 test/opengl/tuples.cpp if (!Testing::check_result<uint8_t>(out, [&](int x, int y, int c) { return input(x, y, c) / 2; })) { uint8_t 49 test/performance/const_division.cpp h(x, y) = Halide::fast_integer_divide(input(x, y), cast<uint8_t>(y + min_val)); uint8_t 58 test/performance/const_division.cpp h(x, y) = Halide::fast_integer_modulo(input(x, y), cast<uint8_t>(y + min_val)); uint8_t 116 test/performance/const_division.cpp success = success && test<uint8_t>(1, i == 0); uint8_t 123 test/performance/const_division.cpp success = success && test<uint8_t>(32, i == 0); uint8_t 22 test/performance/memcpy.cpp Buffer<uint8_t> input(buffer_size); uint8_t 23 test/performance/memcpy.cpp Buffer<uint8_t> output(buffer_size); uint8_t 10 test/performance/packed_planar_fusion.cpp double test_copy(Buffer<uint8_t> src, Buffer<uint8_t> dst) { uint8_t 43 test/performance/packed_planar_fusion.cpp Buffer<uint8_t> make_packed(uint8_t *host, int W, int H) { uint8_t 44 test/performance/packed_planar_fusion.cpp return Buffer<uint8_t>::make_interleaved(host, W, H, 3); uint8_t 47 test/performance/packed_planar_fusion.cpp Buffer<uint8_t> make_planar(uint8_t *host, int W, int H) { uint8_t 48 test/performance/packed_planar_fusion.cpp return Buffer<uint8_t>(host, W, H, 3); uint8_t 56 test/performance/packed_planar_fusion.cpp uint8_t *storage_1(new uint8_t[W * H * 3 + 32]); uint8_t 57 test/performance/packed_planar_fusion.cpp uint8_t *storage_2(new uint8_t[W * H * 3 + 32]); uint8_t 59 test/performance/packed_planar_fusion.cpp uint8_t *ptr_1 = storage_1, *ptr_2 = storage_2; uint8_t 76 test/performance/rfactor.cpp Buffer<uint8_t> in(W, H); uint8_t 166 test/performance/rfactor.cpp Buffer<uint8_t> vec(size, size, size, size); uint8_t 31 test/performance/rgb_interleaved.cpp Buffer<uint8_t> src_image = Buffer<uint8_t>::make_interleaved(1 << 12, 1 << 12, 3); uint8_t 34 test/performance/rgb_interleaved.cpp Buffer<uint8_t> dst_image(1 << 12, 1 << 12, 3); uint8_t 64 test/performance/rgb_interleaved.cpp dst_image = Buffer<uint8_t>(1 << 12, 3, 1 << 12); uint8_t 106 test/performance/rgb_interleaved.cpp Buffer<uint8_t> src_image(1 << 12, 1 << 12, 3); uint8_t 109 test/performance/rgb_interleaved.cpp Buffer<uint8_t> dst_image = Buffer<uint8_t>::make_interleaved(1 << 12, 1 << 12, 3); uint8_t 15 test/performance/vectorize.cpp DECL_SOT(uint8_t); uint8_t 101 test/performance/vectorize.cpp ok = ok && test<uint8_t>(16); uint8_t 47 tools/halide_image_io.h inline void convert(uint8_t in, uint8_t &out) {out = in;} uint8_t 48 tools/halide_image_io.h inline void convert(uint16_t in, uint8_t &out) {out = in >> 8;} uint8_t 49 tools/halide_image_io.h inline void convert(uint32_t in, uint8_t &out) {out = in >> 24;} uint8_t 50 tools/halide_image_io.h inline void convert(int8_t in, uint8_t &out) {out = in;} uint8_t 51 tools/halide_image_io.h inline void convert(int16_t in, uint8_t &out) {out = in >> 8;} uint8_t 52 tools/halide_image_io.h inline void convert(int32_t in, uint8_t &out) {out = in >> 24;} uint8_t 53 tools/halide_image_io.h inline void convert(float in, uint8_t &out) {out = (uint8_t)(in*255.0f);} uint8_t 54 tools/halide_image_io.h inline void convert(double in, uint8_t &out) {out = (uint8_t)(in*255.0f);} uint8_t 57 tools/halide_image_io.h inline void convert(uint8_t in, uint16_t &out) {out = in << 8;} uint8_t 67 tools/halide_image_io.h inline void convert(uint8_t in, uint32_t &out) {out = in << 24;} uint8_t 68 tools/halide_image_io.h inline void convert(uint8_t in, int8_t &out) {out = in;} uint8_t 69 tools/halide_image_io.h inline void convert(uint8_t in, int16_t &out) {out = in << 8;} uint8_t 70 tools/halide_image_io.h inline void convert(uint8_t in, int32_t &out) {out = in << 24;} uint8_t 71 tools/halide_image_io.h inline void convert(uint8_t in, float &out) {out = in/255.0f;} uint8_t 72 tools/halide_image_io.h inline void convert(uint8_t in, double &out) {out = in/255.0f;} uint8_t 211 tools/halide_image_io.h uint8_t *srcPtr = (uint8_t *)(row_pointers.p[y]); uint8_t 221 tools/halide_image_io.h uint8_t *srcPtr = (uint8_t *)(row_pointers.p[y]); uint8_t 300 tools/halide_image_io.h uint8_t *dstPtr = (uint8_t *)(row_pointers.p[y]); uint8_t 316 tools/halide_image_io.h uint8_t out; uint8_t 376 tools/halide_image_io.h std::vector<uint8_t> data(width*height); uint8_t 377 tools/halide_image_io.h if (!check(fread((void *) &data[0], sizeof(uint8_t), width*height, f.f) == (size_t) (width*height), "Could not read PGM 8-bit data\n")) return false; uint8_t 379 tools/halide_image_io.h uint8_t *p = &data[0]; uint8_t 421 tools/halide_image_io.h std::vector<uint8_t> data(width*height); uint8_t 422 tools/halide_image_io.h uint8_t *p = &data[0]; uint8_t 428 tools/halide_image_io.h if (!check(fwrite((void *) &data[0], sizeof(uint8_t), width*height, f.f) == (size_t) (width*height), "Could not write PGM 8-bit data\n")) return false; uint8_t 481 tools/halide_image_io.h std::vector<uint8_t> data(width*height*3); uint8_t 482 tools/halide_image_io.h if (!check(fread((void *) &data[0], sizeof(uint8_t), width*height*3, f.f) == (size_t) (width*height*3), "Could not read PPM 8-bit data\n")) return false; uint8_t 484 tools/halide_image_io.h uint8_t *row = &data[0]; uint8_t 533 tools/halide_image_io.h std::vector<uint8_t> data(width*height*3); uint8_t 534 tools/halide_image_io.h uint8_t *p = &data[0]; uint8_t 553 tools/halide_image_io.h if (!check(fwrite((void *) &data[0], sizeof(uint8_t), width*height*3, f.f) == (size_t) (width*height*3), "Could not write PPM 8-bit data\n")) return false; uint8_t 33 tutorial/lesson_02_input_image.cpp Halide::Buffer<uint8_t> input = load_image("images/rgb.png"); uint8_t 66 tutorial/lesson_02_input_image.cpp value = Halide::cast<uint8_t>(value); uint8_t 94 tutorial/lesson_02_input_image.cpp Halide::Buffer<uint8_t> output = uint8_t 34 tutorial/lesson_07_multi_stage_pipelines.cpp Buffer<uint8_t> input = load_image("images/rgb.png"); uint8_t 54 tutorial/lesson_07_multi_stage_pipelines.cpp output(x, y, c) = cast<uint8_t>(blur_y(x, y, c)); uint8_t 85 tutorial/lesson_07_multi_stage_pipelines.cpp Buffer<uint8_t> result(input.width()-2, input.height()-2, 3); uint8_t 102 tutorial/lesson_07_multi_stage_pipelines.cpp Buffer<uint8_t> input = load_image("images/rgb.png"); uint8_t 156 tutorial/lesson_07_multi_stage_pipelines.cpp output(x, y, c) = cast<uint8_t>(blur_y(x, y, c)); uint8_t 160 tutorial/lesson_07_multi_stage_pipelines.cpp Buffer<uint8_t> result = output.realize(input.width(), input.height(), 3); uint8_t 39 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> input = load_image("images/gray.png"); uint8_t 663 tutorial/lesson_09_update_definitions.cpp blurry(x, y) = cast<uint8_t>(local_sum(x, y) / 25); uint8_t 665 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> halide_result = blurry.realize(input.width(), input.height()); uint8_t 674 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> c_result(input.width(), input.height()); uint8_t 690 tutorial/lesson_09_update_definitions.cpp c_result(x, y) = (uint8_t)(local_sum[0] / 25); uint8_t 790 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> halide_result = spread.realize(input.width(), input.height()); uint8_t 801 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> c_result(input.width(), input.height()); uint8_t 819 tutorial/lesson_09_update_definitions.cpp uint8_t *clamped_storage = (uint8_t *)malloc(clamped_width * 8); uint8_t 824 tutorial/lesson_09_update_definitions.cpp uint8_t *output_row = &c_result(0, y); uint8_t 833 tutorial/lesson_09_update_definitions.cpp uint8_t *clamped_row = uint8_t 839 tutorial/lesson_09_update_definitions.cpp uint8_t *input_row = &input(0, clamped_y); uint8_t 861 tutorial/lesson_09_update_definitions.cpp uint8_t *clamped_row = uint8_t 878 tutorial/lesson_09_update_definitions.cpp uint8_t *clamped_row = uint8_t 46 tutorial/lesson_10_aot_compilation_generate.cpp Param<uint8_t> offset; uint8_t 54 tutorial/lesson_10_aot_compilation_generate.cpp ImageParam input(type_of<uint8_t>(), 2); uint8_t 43 tutorial/lesson_10_aot_compilation_run.cpp Halide::Runtime::Buffer<uint8_t> input(640, 480), output(640, 480); uint8_t 61 tutorial/lesson_10_aot_compilation_run.cpp uint8_t input_val = input(x, y); uint8_t 62 tutorial/lesson_10_aot_compilation_run.cpp uint8_t output_val = output(x, y); uint8_t 63 tutorial/lesson_10_aot_compilation_run.cpp uint8_t correct_val = input_val + offset; uint8_t 31 tutorial/lesson_11_cross_compilation.cpp Param<uint8_t> offset; uint8_t 32 tutorial/lesson_11_cross_compilation.cpp ImageParam input(type_of<uint8_t>(), 2); uint8_t 93 tutorial/lesson_11_cross_compilation.cpp uint8_t arm_32_android_magic[] = {0x7f, 'E', 'L', 'F', // ELF format uint8_t 99 tutorial/lesson_11_cross_compilation.cpp uint8_t header[32]; uint8_t 113 tutorial/lesson_11_cross_compilation.cpp uint8_t win_64_magic[] = {0x64, 0x86}; uint8_t 39 tutorial/lesson_12_using_the_gpu.cpp Buffer<uint8_t> input; uint8_t 41 tutorial/lesson_12_using_the_gpu.cpp MyPipeline(Buffer<uint8_t> in) : input(in) { uint8_t 47 tutorial/lesson_12_using_the_gpu.cpp lut(i) = cast<uint8_t>(clamp(pow(i / 255.0f, 1.2f) * 255.0f, 0, 255)); uint8_t 203 tutorial/lesson_12_using_the_gpu.cpp Buffer<uint8_t> output(input.width(), input.height(), input.channels()); uint8_t 233 tutorial/lesson_12_using_the_gpu.cpp void test_correctness(Buffer<uint8_t> reference_output) { uint8_t 234 tutorial/lesson_12_using_the_gpu.cpp Buffer<uint8_t> output = uint8_t 260 tutorial/lesson_12_using_the_gpu.cpp Buffer<uint8_t> input = load_image("images/rgb.png"); uint8_t 263 tutorial/lesson_12_using_the_gpu.cpp Buffer<uint8_t> reference_output(input.width(), input.height(), input.channels()); uint8_t 78 tutorial/lesson_14_types.cpp assert(cast<uint8_t>(x).type() == UInt(8)); uint8_t 82 tutorial/lesson_14_types.cpp f1(x) = cast<uint8_t>(x); uint8_t 99 tutorial/lesson_14_types.cpp Expr u8 = cast<uint8_t>(x); uint8_t 170 tutorial/lesson_14_types.cpp int32_t result32 = evaluate<int>(cast<int32_t>(cast<uint8_t>(255))); uint8_t 209 tutorial/lesson_14_types.cpp assert(average(cast<uint8_t>(x), cast<uint8_t>(3)).type() == UInt(8)); uint8_t 35 tutorial/lesson_15_generators.cpp Param<uint8_t> offset{"offset"}; uint8_t 104 tutorial/lesson_15_generators.cpp Param<uint8_t> offset{"offset"}; uint8_t 53 tutorial/lesson_16_rgb_generate.cpp Param<uint8_t> offset{"offset"}; uint8_t 43 tutorial/lesson_16_rgb_run.cpp Halide::Runtime::Buffer<uint8_t> planar_input(1024, 768, 3); uint8_t 44 tutorial/lesson_16_rgb_run.cpp Halide::Runtime::Buffer<uint8_t> planar_output(1024, 768, 3); uint8_t 45 tutorial/lesson_16_rgb_run.cpp Halide::Runtime::Buffer<uint8_t> interleaved_input = uint8_t 46 tutorial/lesson_16_rgb_run.cpp Halide::Runtime::Buffer<uint8_t>::make_interleaved(1024, 768, 3); uint8_t 47 tutorial/lesson_16_rgb_run.cpp Halide::Runtime::Buffer<uint8_t> interleaved_output = uint8_t 48 tutorial/lesson_16_rgb_run.cpp Halide::Runtime::Buffer<uint8_t>::make_interleaved(1024, 768, 3); uint8_t 30 tutorial/lesson_18_parallel_associative_reductions.cpp Buffer<uint8_t> input(8, 8, "input"); uint8_t 39 util/HalideTraceViz.cpp uint8_t payload[4096]; uint8_t 65 util/HalideTraceViz.cpp return (T)(((const uint8_t *)value())[idx]); uint8_t 114 util/HalideTraceViz.cpp uint8_t *dst = (uint8_t *)d; uint8_t 275 util/HalideTraceViz.cpp void composite(uint8_t *a, uint8_t *b, uint8_t *dst) { uint8_t 276 util/HalideTraceViz.cpp uint8_t alpha = b[3]; uint8_t 307 util/HalideTraceViz.cpp uint8_t *font_ptr = inconsolata_raw + chr * (FONT_W * FONT_H); uint8_t 649 util/HalideTraceViz.cpp uint8_t *anim_decay_px = (uint8_t *)(anim_decay + i); uint8_t 650 util/HalideTraceViz.cpp uint8_t *anim_px = (uint8_t *)(anim + i); uint8_t 651 util/HalideTraceViz.cpp uint8_t *image_px = (uint8_t *)(image + i); uint8_t 652 util/HalideTraceViz.cpp uint8_t *text_px = (uint8_t *)(text + i); uint8_t 653 util/HalideTraceViz.cpp uint8_t *blend_px = (uint8_t *)(blend + i); uint8_t 820 util/HalideTraceViz.cpp uint8_t int_value = (uint8_t)value;