width 47 apps/HelloAndroid/src/com/example/hellohalide/CameraPreview.java processFrame(data, s.width, s.height, mCameraOrientation, mFiltered.getHolder().getSurface()); width 84 apps/HelloAndroid/src/com/example/hellohalide/CameraPreview.java Log.d(TAG, "Camera Preview Size: " + s.width + "x" + s.height); width 87 apps/HelloAndroid/src/com/example/hellohalide/CameraPreview.java int stride = ((s.width + 15) / 16) * 16; width 38 apps/HelloAndroidCamera2/jni/HalideFilters.cpp if (src->luma().width() != dst->luma().width() || width 40 apps/HelloAndroidCamera2/jni/HalideFilters.cpp src->chromaU().width() != dst->chromaU().width() || width 42 apps/HelloAndroidCamera2/jni/HalideFilters.cpp src->chromaV().width() != dst->chromaV().width() || width 48 apps/HelloAndroidCamera2/jni/HalideFilters.cpp src->luma().width(), src->luma().height(), width 49 apps/HelloAndroidCamera2/jni/HalideFilters.cpp src->chromaU().width(), src->chromaU().height(), width 50 apps/HelloAndroidCamera2/jni/HalideFilters.cpp src->chromaV().width(), src->chromaV().height(), width 51 apps/HelloAndroidCamera2/jni/HalideFilters.cpp dst->luma().width(), dst->luma().height(), width 52 apps/HelloAndroidCamera2/jni/HalideFilters.cpp dst->chromaU().width(), dst->chromaU().height(), width 53 apps/HelloAndroidCamera2/jni/HalideFilters.cpp dst->chromaV().width(), dst->chromaV().height()); width 49 apps/HelloAndroidCamera2/jni/LockedSurface.cpp buffer_.width, buffer_.height, width 52 apps/HelloAndroidCamera2/jni/LockedSurface.cpp buffer_.width / 2, buffer_.height / 2, width 55 apps/HelloAndroidCamera2/jni/LockedSurface.cpp buffer_.width / 2, buffer_.height / 2, width 42 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp if (chromaU_.width() == chromaV_.width() && width 59 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp if (chromaU_.width() == chromaU_.dim(1).stride() && width 60 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp chromaV_.width() == chromaV_.dim(1).stride()) { width 165 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp return Halide::Runtime::Buffer<uint8_t>(&buf(buf.width()-1, buf.height()-1), 2, shape); width 23 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AndroidBufferUtilities.java public static native long allocNativeYuvBufferT(int width, int height, ByteBuffer luma, width 54 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java public void setAspectRatio(int width, int height) { width 55 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java if (width < 0 || height < 0) { width 58 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java mRatioWidth = width; width 66 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java int width = MeasureSpec.getSize(widthMeasureSpec); width 70 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java + " dimension to: %d x %d", width, height)); width 71 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java setMeasuredDimension(width, height); width 73 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java if (width < height * mRatioWidth / mRatioHeight) { width 74 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java Log.d(TAG, String.format("setting measured dimension to %d x %d", width, height)); width 75 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java setMeasuredDimension(width, width * mRatioHeight / mRatioWidth); width 77 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AutoFitSurfaceView.java Log.d(TAG, String.format("setting measured dimension to %d x %d", width, height)); width 85 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/Camera2BasicFragment.java public void surfaceChanged(SurfaceHolder holder, int format, int width, width 566 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/Camera2BasicFragment.java private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { width 573 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/Camera2BasicFragment.java option.getWidth() <= width && option.getHeight() <= height) { width 19 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp JNIEnv *env, jobject obj, jint dst, jint width, jint height) { width 22 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp dstBuf.extent[0] = width; width 26 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp dstBuf.stride[1] = 4 * width; width 24 apps/HelloAndroidGL/src/org/halide_lang/hellohalidegl/HelloHalideGL.java private static native void processTextureHalide(int dst, int width, int height); width 68 apps/HelloMatlab/iir_blur.cpp Expr width = input.width(); width 80 apps/HelloMatlab/iir_blur.cpp Func blur = blur_cols_transpose(blury_T, width, alpha); width 26 apps/bilateral_grid/filter.cpp Buffer<float> output(input.width(), input.height(), 1); width 22 apps/blur/test.cpp Buffer<uint16_t> tmp(in.width()-8, in.height()); width 23 apps/blur/test.cpp Buffer<uint16_t> out(in.width()-8, in.height()-2); width 27 apps/blur/test.cpp for (int x = 0; x < tmp.width(); x++) width 31 apps/blur/test.cpp for (int x = 0; x < out.width(); x++) width 40 apps/blur/test.cpp Buffer<uint16_t> out(in.width()-8, in.height()-2); width 48 apps/blur/test.cpp for (int xTile = 0; xTile < out.width(); xTile += 128) { width 123 apps/blur/test.cpp Buffer<uint16_t> out(in.width()-8, in.height()-2); width 125 apps/blur/test.cpp int vw = in.width()/8; width 178 apps/blur/test.cpp Buffer<uint16_t> out(in.width()-8, in.height()-2); width 201 apps/blur/test.cpp for (int x = 0; x < input.width(); x++) { width 222 apps/blur/test.cpp for (int x = 64; x < input.width() - 64; x++) { width 15 apps/c_backend/pipeline_generator.cpp f(x, y) = (input(clamp(x+2, 0, input.width()-1), clamp(y-2, 0, input.height()-1)) * 17)/13; width 43 apps/c_backend/run.cpp for (int x = 0; x < in.width(); x++) { width 56 apps/c_backend/run.cpp for (int x = 0; x < out_native.width(); x++) { width 72 apps/c_backend/run_cpp.cpp for (int x = 0; x < in.width(); x++) { width 85 apps/c_backend/run_cpp.cpp for (int x = 0; x < out_native.width(); x++) { width 315 apps/camera_pipe/camera_pipe_generator.cpp Expr out_width = processed.output_buffer().width(); width 80 apps/camera_pipe/fcam/Demosaic.cpp int rawWidth = input.width(); width 84 apps/camera_pipe/fcam/Demosaic.cpp outWidth = min(outWidth, out.width()); width 32 apps/camera_pipe/fcam/Demosaic_ARM.cpp input = input.subImage(1, 0, Size(input.width()-2, input.height())); width 35 apps/camera_pipe/fcam/Demosaic_ARM.cpp input = input.subImage(0, 1, Size(input.width(), input.height()-2)); width 38 apps/camera_pipe/fcam/Demosaic_ARM.cpp input = input.subImage(1, 1, Size(input.width()-2, input.height()-2)); width 44 apps/camera_pipe/fcam/Demosaic_ARM.cpp int rawWidth = out.width(); width 58 apps/camera_pipe/fcam/Demosaic_ARM.cpp outWidth = min(outWidth, out.width()); width 67 apps/camera_pipe/fcam/Demosaic_ARM.cpp if (((input.width() - 8) != (unsigned)outWidth) || width 69 apps/camera_pipe/fcam/Demosaic_ARM.cpp int offX = (input.width() - 8 - outWidth)/2; width 31 apps/camera_pipe/process.cpp fprintf(stderr, " %d %d\n", input.width(), input.height()); width 32 apps/camera_pipe/process.cpp Buffer<uint8_t> output(((input.width() - 32)/32)*32, ((input.height() - 24)/32)*32, 3); width 74 apps/camera_pipe/process.cpp fprintf(stderr, " %d %d\n", output.width(), output.height()); width 76 apps/camera_pipe/process.cpp Buffer<uint8_t> output_c(output.width(), output.height(), output.channels()); width 85 apps/camera_pipe/process.cpp fprintf(stderr, " %d %d\n", output_c.width(), output_c.height()); width 87 apps/camera_pipe/process.cpp Buffer<uint8_t> output_asm(output.width(), output.height(), output.channels()); width 96 apps/camera_pipe/process.cpp fprintf(stderr, " %d %d\n", output_asm.width(), output_asm.height()); width 52 apps/interpolate/interpolate.cpp Expr w = input.width()/(1 << l); width 132 apps/interpolate/interpolate.cpp .bound(x, 0, input.width()) width 168 apps/interpolate/interpolate.cpp .tile(x, y, xo, yo, xi, yi, input.width()/4, input.height()/4) width 210 apps/interpolate/interpolate.cpp Buffer<float> out(in_png.width(), in_png.height(), 3); width 42 apps/linear_algebra/src/blas_l1_generators.cpp void Schedule(Func result, Expr width) { width 61 apps/linear_algebra/src/blas_l1_generators.cpp Expr size = x_.width(); width 78 apps/linear_algebra/src/blas_l1_generators.cpp result.bound(i, 0, x_.width()); width 79 apps/linear_algebra/src/blas_l1_generators.cpp result.output_buffer().set_bounds(0, 0, x_.width()); width 82 apps/linear_algebra/src/blas_l1_generators.cpp y_.set_bounds(0, 0, x_.width()); width 123 apps/linear_algebra/src/blas_l1_generators.cpp Expr size = x_.width(); width 190 apps/linear_algebra/src/blas_l1_generators.cpp Expr size = x_.width(); width 211 apps/linear_algebra/src/blas_l1_generators.cpp RDom k(0, x_.width()); width 50 apps/linear_algebra/src/blas_l2_generators.cpp const Expr sum_size = A_.width(); width 112 apps/linear_algebra/src/blas_l2_generators.cpp x_.set_bounds(0, 0, A_.width()); width 116 apps/linear_algebra/src/blas_l2_generators.cpp const Expr size = A_.width(); width 156 apps/linear_algebra/src/blas_l2_generators.cpp y_.set_bounds(0, 0, A_.width()); width 157 apps/linear_algebra/src/blas_l2_generators.cpp result.output_buffer().set_bounds(0, 0, A_.width()); width 164 apps/linear_algebra/src/blas_l2_generators.cpp const Expr size = x_.width(); width 211 apps/linear_algebra/src/blas_l2_generators.cpp Expr num_rows = A_.width(); width 228 apps/linear_algebra/src/blas_l2_generators.cpp x_.set_bounds(0, 0, A_.width()); width 232 apps/linear_algebra/src/blas_l2_generators.cpp .set_bounds(0, 0, A_.width()) width 32 apps/linear_algebra/src/blas_l3_generators.cpp const Expr num_rows = A_.width(); width 127 apps/linear_algebra/src/blas_l3_generators.cpp .specialize(A_.width() >= 256 && A_.height() >= 256).parallel(jo, 4); width 23 apps/local_laplacian/process.cpp Buffer<uint16_t> output(input.width(), input.height(), 3); width 35 apps/opengl_demo/glfw_helpers.cpp struct info GlfwHelpers::setup(int width, int height) width 42 apps/opengl_demo/glfw_helpers.cpp window = glfwCreateWindow(width, height, "opengl_halide_test", NULL, NULL); width 54 apps/opengl_demo/glfw_helpers.cpp info.dpi_scale = float(framebuffer_width) / float(width); width 10 apps/opengl_demo/glfw_helpers.h struct info setup(int width, int height); width 22 apps/opengl_demo/layout.cpp void Layout::draw_texture(enum location location, GLuint texture_id, int width, int height, const std::string &label) width 28 apps/opengl_demo/layout.cpp x0 = border_sz; x1 = x0 + width; width 33 apps/opengl_demo/layout.cpp x1 = state.window_width - border_sz; x0 = x1 - width; width 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) width 56 apps/opengl_demo/layout.cpp const auto texture_id = OpenGLHelpers::create_texture(width, height, data); width 57 apps/opengl_demo/layout.cpp draw_texture(location, texture_id, width, height, label); width 21 apps/opengl_demo/layout.h void draw_image(enum location location, const uint8_t *data, int width, int height, const std::string &label); width 22 apps/opengl_demo/layout.h void draw_texture(enum location location, GLuint texture_id, int width, int height, const std::string &label); width 19 apps/opengl_demo/main.cpp buffer_t create_buffer(int width, int height) width 25 apps/opengl_demo/main.cpp buf.stride[1] = channels * width; width 28 apps/opengl_demo/main.cpp buf.extent[0] = width; width 41 apps/opengl_demo/main.cpp std::string run_cpu_filter(const uint8_t *image_data, uint8_t *result_data, int width, int height) width 46 apps/opengl_demo/main.cpp auto input_buf = create_buffer(width, height); width 50 apps/opengl_demo/main.cpp auto output_buf = create_buffer(width, height); width 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) width 72 apps/opengl_demo/main.cpp auto input_buf = create_buffer(width, height); width 79 apps/opengl_demo/main.cpp auto output_buf = create_buffer(width, height); width 93 apps/opengl_demo/main.cpp std::string run_opengl_filter_from_texture_to_texture(GLuint input_texture_id, GLuint output_texture_id, int width, int height) width 100 apps/opengl_demo/main.cpp auto input_buf = create_buffer(width, height); width 106 apps/opengl_demo/main.cpp auto output_buf = create_buffer(width, height); width 128 apps/opengl_demo/main.cpp const auto width = image.width; width 132 apps/opengl_demo/main.cpp const auto layout = Layout::setup(width, height); width 139 apps/opengl_demo/main.cpp Layout::draw_image(Layout::UL, image.data, width, height, "Input"); width 146 apps/opengl_demo/main.cpp const auto cpu_result_data = (uint8_t *) calloc(width * height * 4, sizeof(uint8_t)); width 147 apps/opengl_demo/main.cpp report = run_cpu_filter(image.data, cpu_result_data, width, height); width 148 apps/opengl_demo/main.cpp Layout::draw_image(Layout::UR, cpu_result_data, width, height, report); width 155 apps/opengl_demo/main.cpp const auto opengl_result_data = (uint8_t *) calloc(width * height * 4, sizeof(uint8_t)); width 156 apps/opengl_demo/main.cpp report = run_opengl_filter_from_host_to_host(image.data, opengl_result_data, width, height); width 157 apps/opengl_demo/main.cpp Layout::draw_image(Layout::LL, opengl_result_data, width, height, report); width 164 apps/opengl_demo/main.cpp const auto image_texture_id = OpenGLHelpers::create_texture(width, height, image.data); width 165 apps/opengl_demo/main.cpp const auto result_texture_id = OpenGLHelpers::create_texture(width, height, nullptr); width 166 apps/opengl_demo/main.cpp report = run_opengl_filter_from_texture_to_texture(image_texture_id, result_texture_id, width, height); width 167 apps/opengl_demo/main.cpp Layout::draw_texture(Layout::LR, result_texture_id, width, height, report); width 16 apps/opengl_demo/opengl_helpers.cpp GLuint OpenGLHelpers::create_texture(int width, int height, const uint8_t *data) width 26 apps/opengl_demo/opengl_helpers.cpp glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, data); width 14 apps/opengl_demo/opengl_helpers.h GLuint create_texture(int width, int height, const uint8_t *data); width 34 apps/opengl_demo/png_helpers.cpp const auto width = png_get_image_width(png, png_info); width 73 apps/opengl_demo/png_helpers.cpp return { width, height, image_data }; width 7 apps/opengl_demo/png_helpers.h unsigned int width; width 111 apps/openglcompute/jni/oglc_run.cpp for (int i = 0; i < std::min(buf.width(), 10); i++) { width 183 apps/openglcompute/jni/oglc_run.cpp int width = 4096; width 187 apps/openglcompute/jni/oglc_run.cpp auto input = Buffer<T>::make_interleaved(width, height, channels); width 188 apps/openglcompute/jni/oglc_run.cpp LOGI("Allocated memory for %dx%dx%d image", width, height, channels); width 197 apps/openglcompute/jni/oglc_run.cpp auto output = Buffer<T>::make_interleaved(width, height, channels); width 198 apps/openglcompute/jni/oglc_run.cpp auto output_arm = Buffer<T>::make_interleaved(width, height, channels); width 23 apps/openglcompute/jni/oglc_two_kernels_run.cpp for (int i = 0; i < std::min(buf.width(), 10); i++) { width 41 apps/openglcompute/jni/oglc_two_kernels_run.cpp int width = 128; width 45 apps/openglcompute/jni/oglc_two_kernels_run.cpp auto input = Halide::Runtime::Buffer<int>::make_interleaved(width, height, channels); width 46 apps/openglcompute/jni/oglc_two_kernels_run.cpp LOGI("Allocated memory for %dx%dx%d image", width, height, channels); width 55 apps/openglcompute/jni/oglc_two_kernels_run.cpp auto output = Halide::Runtime::Buffer<int>::make_interleaved(width, height, channels); width 181 apps/resize/resize.cpp int out_width = in_png.width() * scaleFactor; width 187 apps/resize/resize.cpp in_png.width(), in_png.height(), width 18 apps/templates/tests/example_generator.cpp output(x, y, c) = input(input.width() - x - 1, y, c); width 42 apps/wavelet/wavelet.cpp Buffer<T> rearranged(t.width()*2, t.height(), 1); width 44 apps/wavelet/wavelet.cpp for (int x = 0; x < t.width(); x++) { width 46 apps/wavelet/wavelet.cpp rearranged(x + t.width(), y, 0) = clamp(t(x, y, 1)*4.f + 0.5f, 0.0f, 1.0f); width 62 apps/wavelet/wavelet.cpp Buffer<float> transformed(input.width()/2, input.height(), 2); width 63 apps/wavelet/wavelet.cpp Buffer<float> inverse_transformed(input.width(), input.height(), 1); width 192 python_bindings/python/Image.cpp return im.width(); width 90 python_bindings/python/Param.cpp .def("width", &ImageParam::width, p::arg("self"), width 224 src/Buffer.h static Buffer<T> make_interleaved(int width, int height, int channels, const std::string &name = "") { width 225 src/Buffer.h return Buffer<T>(Runtime::Buffer<T>::make_interleaved(width, height, channels), width 229 src/Buffer.h static Buffer<> make_interleaved(Type t, int width, int height, int channels, const std::string &name = "") { width 230 src/Buffer.h return Buffer<>(Runtime::Buffer<>::make_interleaved(t, width, height, channels), width 234 src/Buffer.h static Buffer<T> make_interleaved(T *data, int width, int height, int channels, const std::string &name = "") { width 235 src/Buffer.h return Buffer<T>(Runtime::Buffer<T>::make_interleaved(data, width, height, channels), width 240 src/Buffer.h make_interleaved(Type t, T *data, int width, int height, int channels, const std::string &name = "") { width 242 src/Buffer.h return Buffer<T2>(Runtime::Buffer<T2>::make_interleaved(t, data, width, height, channels), width 325 src/Buffer.h HALIDE_BUFFER_FORWARD_CONST(width) width 1561 src/CodeGen_LLVM.cpp int64_t width = 1; width 1573 src/CodeGen_LLVM.cpp width = next_power_of_two(ramp->lanes * stride); width 1575 src/CodeGen_LLVM.cpp while (base % width) { width 1576 src/CodeGen_LLVM.cpp base -= base % width; width 1577 src/CodeGen_LLVM.cpp width *= 2; width 1601 src/CodeGen_LLVM.cpp for (int w = 1024; w >= width; w /= 2) { width 101 src/OutputImageParam.h EXPORT Expr width() const; width 921 src/runtime/HalideBuffer.h int width() const { width 1293 src/runtime/HalideBuffer.h static Buffer<void, D> make_interleaved(halide_type_t t, int width, int height, int channels) { width 1294 src/runtime/HalideBuffer.h Buffer<void, D> im(t, channels, width, height); width 1306 src/runtime/HalideBuffer.h static Buffer<T, D> make_interleaved(int width, int height, int channels) { width 1307 src/runtime/HalideBuffer.h Buffer<T, D> im(channels, width, height); width 1315 src/runtime/HalideBuffer.h make_interleaved(halide_type_t t, T *data, int width, int height, int channels) { width 1316 src/runtime/HalideBuffer.h Buffer<add_const_if_T_is_const<void>, D> im(t, data, channels, width, height); width 1323 src/runtime/HalideBuffer.h static Buffer<T, D> make_interleaved(T *data, int width, int height, int channels) { width 1324 src/runtime/HalideBuffer.h Buffer<T, D> im(data, channels, width, height); width 12 src/runtime/metal_objc_platform_dependent.cpp unsigned long width; width 18 src/runtime/metal_objc_platform_dependent.cpp threadgroupsPerGrid.width = blocks_x; width 23 src/runtime/metal_objc_platform_dependent.cpp threadsPerThreadgroup.width = threads_x; width 86 src/runtime/mini_opengl.h GLsizei width, GLsizei height, width 92 src/runtime/mini_opengl.h GLsizei width, GLsizei height, width 95 src/runtime/mini_opengl.h typedef void (*PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); width 97 src/runtime/mini_opengl.h GLsizei width, GLsizei height, width 886 src/runtime/opengl.cpp WEAK bool get_texture_dimensions(void *user_context, halide_buffer_t *buf, GLint *width, width 893 src/runtime/opengl.cpp *width = buf->dim[0].extent; width 894 src/runtime/opengl.cpp if (*width == 0) { width 895 src/runtime/opengl.cpp error(user_context) << "Invalid dim[0].extent: " << *width << "\n"; width 970 src/runtime/opengl.cpp GLint width, height; width 972 src/runtime/opengl.cpp global_state.GetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &width); width 977 src/runtime/opengl.cpp if (width < buf->dim[0].extent || height < buf->dim[1].extent) { width 980 src/runtime/opengl.cpp << "Texture size: " << width << "x" << height width 1019 src/runtime/opengl.cpp GLint width, height, channels; width 1020 src/runtime/opengl.cpp if (!get_texture_dimensions(user_context, buf, &width, &height, &channels)) { width 1025 src/runtime/opengl.cpp global_state.TexImage2D(GL_TEXTURE_2D, 0, internal_format, width, height, 0, format, type, NULL); width 1036 src/runtime/opengl.cpp << " of size " << width << " x " << height << "\n"; width 1107 src/runtime/opengl.cpp int width = (src_buf->dimensions > 0) ? src_buf->dim[0].extent : 1; width 1114 src/runtime/opengl.cpp int dstidx = y * width * channels; width 1115 src/runtime/opengl.cpp for (int x = 0; x < width; x++) { width 1134 src/runtime/opengl.cpp int width = (dst_buf->dimensions > 0) ? dst_buf->dim[0].extent : 1; width 1144 src/runtime/opengl.cpp int srcidx = y * width * src_channels; width 1145 src/runtime/opengl.cpp for (int x = 0; x < width; x++) { width 1196 src/runtime/opengl.cpp GLint width, height, buffer_channels; width 1197 src/runtime/opengl.cpp if (!get_texture_dimensions(user_context, buf, &width, &height, &buffer_channels)) { width 1209 src/runtime/opengl.cpp global_state.TexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, buf->host); width 1217 src/runtime/opengl.cpp size_t texture_size = width * height * buffer_channels * buf->type.bytes(); width 1237 src/runtime/opengl.cpp global_state.TexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, tmp.ptr); width 1267 src/runtime/opengl.cpp GLint width, height, buffer_channels; width 1268 src/runtime/opengl.cpp if (!get_texture_dimensions(user_context, buf, &width, &height, &buffer_channels)) { width 1345 src/runtime/opengl.cpp size_t texture_size = width * height * texture_channels * buf->type.bytes(); width 1764 src/runtime/opengl.cpp int width = num_coords_dim0; width 1767 src/runtime/opengl.cpp int vertex_buffer_size = width*height*num_padded_attributes; width 1769 src/runtime/opengl.cpp int element_buffer_size = (width-1)*(height-1)*6; width 1774 src/runtime/opengl.cpp for (int w=0;w!=(width-1);++w) { width 1777 src/runtime/opengl.cpp int v = w+h*width; width 1780 src/runtime/opengl.cpp element_buffer[idx++] = v+width+1; width 1782 src/runtime/opengl.cpp element_buffer[idx++] = v+width+1; width 1783 src/runtime/opengl.cpp element_buffer[idx++] = v+width; width 130 src/runtime/write_debug_image.cpp int32_t width = shape[0].extent; width 154 src/runtime/write_debug_image.cpp tag++->assign32(256, 1, width); // Image width width 87 test/common/check_call_graphs.h for (int x = 0; x < im.width(); x++) { width 102 test/common/check_call_graphs.h for (int x = 0; x < im.width(); x++) { width 17 test/correctness/autotune_bug.cpp input(x,y) = in_img(clamp(x, 1, in_img.width()-1), width 49 test/correctness/boundary_conditions.cpp if (x < 0 || y < 0 || x >= input.width() || y >= input.height()) { width 76 test/correctness/boundary_conditions.cpp int32_t clamped_x = std::min(input.width() - 1, std::max(0, x)); width 101 test/correctness/boundary_conditions.cpp while (mapped_x < 0) mapped_x += input.width(); width 102 test/correctness/boundary_conditions.cpp while (mapped_x > input.width() - 1) mapped_x -= input.width(); width 128 test/correctness/boundary_conditions.cpp mapped_x = mapped_x % (2 * input.width()); width 129 test/correctness/boundary_conditions.cpp if (mapped_x > (input.width() - 1)) { width 130 test/correctness/boundary_conditions.cpp mapped_x = (2 * input.width() - 1) - mapped_x; width 159 test/correctness/boundary_conditions.cpp int32_t mapped_x = abs(x) % (input.width() * 2 - 2); width 160 test/correctness/boundary_conditions.cpp if (mapped_x > input.width() - 1) { width 161 test/correctness/boundary_conditions.cpp mapped_x = input.width() * 2 - 2 - mapped_x; width 19 test/correctness/bounds_of_monotonic_math.cpp if (in.width() != correct) { width 20 test/correctness/bounds_of_monotonic_math.cpp printf("Width is %d instead of %d\n", in.width(), correct); width 25 test/correctness/cast_handle.cpp for (int x = 0; x < out1.width(); x++) { width 35 test/correctness/compute_at_split_rvar.cpp for (int i = 0; i < im.width(); i++) { width 59 test/correctness/compute_at_split_rvar.cpp for (int i = 0; i < im.width(); i++) { width 83 test/correctness/compute_at_split_rvar.cpp for (int i = 0; i < im.width(); i++) { width 109 test/correctness/compute_at_split_rvar.cpp for (int i = 0; i < im.width(); i++) { width 134 test/correctness/compute_at_split_rvar.cpp for (int i = 0; i < im.width(); i++) { width 32 test/correctness/deinterleave4.cpp for (int x = 0; x < o2.width(); x++) { width 11 test/correctness/dynamic_reduction_bounds.cpp RDom dom(0, input.width()*8); width 13 test/correctness/dynamic_reduction_bounds.cpp Expr hard_to_reason_about = cast<int>(hypot(input.width(), input.height())); width 10 test/correctness/func_lifetime.cpp for (int i = 0; i < im.width(); i++) { width 10 test/correctness/func_lifetime_2.cpp for (int i = 0; i < im.width(); i++) { width 22 test/correctness/fuzz_float_stores.cpp for (int i = 0; i < im_ref.width(); i++) { width 43 test/correctness/fuzz_float_stores.cpp for (int i = 0; i < im_ref.width(); i++) { width 29 test/correctness/fuzz_simplify.cpp Type random_type(int width) { width 31 test/correctness/fuzz_simplify.cpp if (width > 1) { width 32 test/correctness/fuzz_simplify.cpp T = T.with_lanes(width); width 21 test/correctness/gameoflife.cpp Expr w = input.width(), h = input.height(); width 97 test/correctness/gameoflife.cpp Expr w = input.width(), h = input.height(); width 8 test/correctness/gpu_mixed_shared_mem_types.cpp for (int x = 0; x < output.width(); x++) { width 152 test/correctness/gpu_reuse_shared_memory.cpp for (int x = 0; x < out.width(); x++) { width 55 test/correctness/gpu_specialize.cpp for (int x = 0; x < out1.width(); x++) { width 92 test/correctness/gpu_specialize.cpp for (int x = 0; x < out.width(); x++) { width 19 test/correctness/gpu_sum_scan.cpp Expr blocks = im.width() / B; width 47 test/correctness/gpu_sum_scan.cpp out.bound(x, 0, im.width()/B * B); width 86 test/correctness/gpu_thread_barrier.cpp for (int x = 0; x < out.width(); x++) { width 29 test/correctness/gpu_vectorized_shared_memory.cpp for (int x = 0; x < out.width(); x++) { width 70 test/correctness/handle.cpp for (int i = 0; i < im.width(); i++) { width 42 test/correctness/histogram_equalize.cpp Buffer<uint8_t> out = rescaled.realize(in.width(), in.height()); width 50 test/correctness/histogram_equalize.cpp for (int x = 0; x < out.width(); x++) { width 57 test/correctness/histogram_equalize.cpp int correct = (in.width()*in.height())/16; width 64 test/correctness/image_io.cpp const int width = 1600; width 72 test/correctness/image_io.cpp Buffer<uint8_t> color_buf = f.realize(width, height, 3); width 74 test/correctness/image_io.cpp Buffer<uint8_t> luma_buf(width, height, 1); width 15 test/correctness/implicit_args_tests.cpp for (int x = 0; x < im.width(); x++) { width 22 test/correctness/infer_arguments.cpp Param<int32_t> width("width"); width 32 test/correctness/infer_arguments.cpp f(x, y, c) = frac * (input1(clamp(x, 0, height), clamp(y, 0, width), c) + width 329 test/correctness/interleave.cpp for (int x = 0; x < ref.width(); x++) { width 36 test/correctness/interleave_rgb.cpp for (int x = 0; x < buff.width(); x++) { width 26 test/correctness/interleave_x.cpp for (int x = 0; x < out.width(); x++) { width 23 test/correctness/inverse.cpp for (int i = 0; i < a.width(); i++) { width 32 test/correctness/left_shift_negative.cpp for (int i = 0; i < im1.width(); i++) { width 19 test/correctness/logical.cpp for (int x = 0; x < input.width(); x++) { width 20 test/correctness/logical.cpp input(x, y) = y*input.width() + x; width 40 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); width 43 test/correctness/logical.cpp for (int x = 0; x < input.width(); x++) { width 73 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); width 76 test/correctness/logical.cpp for (int x = 0; x < input.width(); x++) { width 104 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); width 107 test/correctness/logical.cpp for (int x = 0; x < input.width(); x++) { width 133 test/correctness/logical.cpp Buffer<uint8_t> output = f.realize(input.width(), input.height(), target); width 136 test/correctness/logical.cpp for (int x = 0; x < input.width(); x++) { width 186 test/correctness/logical.cpp Realization r = out.realize(input.width(), input.height(), target); width 191 test/correctness/logical.cpp for (int x = 0; x < input.width(); x++) { width 69 test/correctness/many_small_extern_stages.cpp for (int x = 0; x < result.width(); x++) { width 40 test/correctness/min_extent.cpp for (int i = 0; i < out.width(); i++) { width 177 test/correctness/mul_div_mod.cpp Buffer<T> init(Type t, int unique, int width, int height) { width 178 test/correctness/mul_div_mod.cpp if (width < 2) width = 2; width 181 test/correctness/mul_div_mod.cpp Buffer<T> result(width, height); width 189 test/correctness/mul_div_mod.cpp for (int i = 0; i < width; i++) { width 216 test/correctness/mul_div_mod.cpp for (int i = 0; i < width; i++) { width 240 test/correctness/mul_div_mod.cpp for (int i = 0; i < width; i++) { width 81 test/correctness/multiple_outputs.cpp for (int x = 0; x < f_im.width(); x++) { width 88 test/correctness/multiple_outputs.cpp for (int x = 0; x < g_im.width(); x++) { width 113 test/correctness/multiple_outputs.cpp for (int x = 0; x < f_im.width(); x++) { width 120 test/correctness/multiple_outputs.cpp for (int x = 0; x < g0_im.width(); x++) { width 127 test/correctness/multiple_outputs.cpp for (int x = 0; x < g1_im.width(); x++) { width 17 test/correctness/obscure_image_references.cpp f(x) = x + im1.width(); width 19 test/correctness/oddly_sized_output.cpp for (int x = 0; x < out.width(); x++) { width 11 test/correctness/partition_loops.cpp for (int x = 0; x < input.width(); x++) { width 38 test/correctness/partition_loops.cpp for (int x = 0; x < input.width(); x++) { width 55 test/correctness/partition_loops_bug.cpp for (int x = 0; x < im1.width(); x++) { width 93 test/correctness/process_some_tiles.cpp for (int x = 0; x < result.width(); x++) { width 92 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 125 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 154 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 197 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 236 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 277 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 324 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 369 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 396 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 441 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 495 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 536 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im1.width(); x++) { width 551 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im2.width(); x++) { width 586 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im1.width(); x++) { width 624 test/correctness/reduction_non_rectangular.cpp for (int i = 0; i < r0.width(); i++) { width 660 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 692 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 741 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 763 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 784 test/correctness/reduction_non_rectangular.cpp Expr w = (f.output_buffer().width()/2)*2; width 797 test/correctness/reduction_non_rectangular.cpp for (int x = 0; x < im.width(); x++) { width 799 test/correctness/reduction_non_rectangular.cpp if ((1 <= x && x < im.width() - 1) && (1 <= y && y < im.height() - 1) && width 25 test/correctness/reduction_schedule.cpp RDom r(0, noise.width(), 1, noise.height()-1); width 26 test/correctness/reduction_schedule.cpp Expr xm = max(r.x - 1, 0), xp = min(r.x + 1, noise.width() - 1); width 30 test/correctness/reuse_stack_alloc.cpp for (int i = 0; i < result.width(); i++) { width 1332 test/correctness/simd_op_check.cpp for (int width = 128; width <= 128*4; width *= 2) { width 1334 test/correctness/simd_op_check.cpp if (width <= bits*2) continue; width 1339 test/correctness/simd_op_check.cpp tmp2.compute_root().vectorize(x, width/bits); width 1341 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st2"), width/bits, tmp2(0, 0) + tmp2(0, 63)); width 1349 test/correctness/simd_op_check.cpp for (int width = 128; width <= 128*4; width *= 2) { width 1351 test/correctness/simd_op_check.cpp if (width <= bits*2) continue; width 1357 test/correctness/simd_op_check.cpp tmp2.compute_root().vectorize(x, width/bits); width 1359 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st2"), width/bits, tmp2(0, 0) + tmp2(0, 127)); width 1366 test/correctness/simd_op_check.cpp for (int width = 192; width <= 192*4; width *= 2) { width 1368 test/correctness/simd_op_check.cpp if (width <= bits*3) continue; width 1375 test/correctness/simd_op_check.cpp tmp2.compute_root().vectorize(x, width/bits); width 1377 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st3"), width/bits, tmp2(0, 0) + tmp2(0, 127)); width 1384 test/correctness/simd_op_check.cpp for (int width = 256; width <= 256*4; width *= 2) { width 1386 test/correctness/simd_op_check.cpp if (width <= bits*4) continue; width 1394 test/correctness/simd_op_check.cpp tmp2.compute_root().vectorize(x, width/bits); width 1396 test/correctness/simd_op_check.cpp check(arm32 ? op : string("st4"), width/bits, tmp2(0, 0) + tmp2(0, 127)); width 42 test/correctness/skip_stages_memoize.cpp for (int x = 0; x < out.width(); ++x) { width 57 test/correctness/skip_stages_memoize.cpp for (int x = 0; x < out.width(); ++x) { width 22 test/correctness/sliding_reduction.cpp for (int x = 0; x < im.width(); x++) { width 84 test/correctness/specialize.cpp Expr cond = (f.output_buffer().width() >= 4); width 106 test/correctness/specialize.cpp for (int i = 0; i < out.width(); i++) { width 115 test/correctness/specialize.cpp for (int i = 0; i < out.width(); i++) { width 134 test/correctness/specialize.cpp for (int i = 0; i < out.width(); i++) { width 143 test/correctness/specialize.cpp for (int i = 0; i < out.width(); i++) { width 222 test/correctness/specialize.cpp f.specialize(im.dim(0).stride() == 1 && im.width() >= 8).vectorize(x, 8); width 336 test/correctness/specialize.cpp Expr cond = f.output_buffer().width() >= 4; width 468 test/correctness/specialize.cpp int w = im.get().width(); width 478 test/correctness/specialize.cpp w = im.get().width(); width 502 test/correctness/specialize.cpp int w = im.get().width(); width 517 test/correctness/specialize.cpp w = im.get().width(); width 17 test/correctness/split_by_non_factor.cpp for (int i = 0; i < result.width(); i++) { width 61 test/correctness/split_by_non_factor.cpp for (int i = 0; i < result.width(); i++) { width 51 test/correctness/storage_folding.cpp g.specialize(g.output_buffer().width() > 4).vectorize(x, 4); width 73 test/correctness/storage_folding.cpp g.specialize(g.output_buffer().width() > 4).vectorize(x, 4); width 113 test/correctness/storage_folding.cpp for (int x = 0; x < im.width(); x++) { width 147 test/correctness/storage_folding.cpp for (int x = 0; x < im.width(); x++) { width 184 test/correctness/storage_folding.cpp for (int x = 0; x < im.width(); x++) { width 223 test/correctness/storage_folding.cpp for (int x = 0; x < im.width(); x++) { width 261 test/correctness/storage_folding.cpp for (int x = 0; x < im.width(); x++) { width 295 test/correctness/storage_folding.cpp for (int x = 0; x < im.width(); x++) { width 39 test/correctness/stream_compaction.cpp for (int i = 0; i < result.width(); i++) { width 10 test/correctness/tracing.cpp int type_code, bits, width, value_index; width 21 test/correctness/tracing.cpp assert(e.num_int_args <= 4 && e.width <= 4); width 42 test/correctness/tracing.cpp for (int i = 0; i < e.width; i++) { width 52 test/correctness/tracing.cpp e.func, e.parent_id, e.event_type, e.type_code, e.bits, e.width, e.value_index, width 69 test/correctness/tracing.cpp a.width == b.width && width 92 test/correctness/tracing.cpp e.width = ev->type.lanes; width 65 test/correctness/trim_no_ops.cpp for (int x = 0; x < im.width(); x++) { width 100 test/correctness/trim_no_ops.cpp for (int x = 0; x < im.width(); x++) { width 217 test/correctness/trim_no_ops.cpp for (int x = 0; x < im.width(); x++) { width 22 test/correctness/truncated_pyramid.cpp Param<int> width, height; width 24 test/correctness/truncated_pyramid.cpp sizes[0] = { width, height }; width 42 test/correctness/truncated_pyramid.cpp .specialize(max(width, height) > 32) width 60 test/correctness/truncated_pyramid.cpp .specialize(max(width, height) > 32) width 68 test/correctness/truncated_pyramid.cpp width.set(1000); width 22 test/correctness/tuple_partial_update.cpp for (int x = 0; x < a.width(); x++) { width 44 test/correctness/tuple_partial_update.cpp for (int x = 0; x < a.width(); x++) { width 33 test/correctness/tuple_reduction.cpp for (int x = 0; x < a.width(); x++) { width 80 test/correctness/tuple_reduction.cpp for (int x = 0; x < a.width(); x++) { width 123 test/correctness/tuple_reduction.cpp for (int x = 0; x < a.width(); x++) { width 167 test/correctness/tuple_reduction.cpp for (int x = 0; x < a.width(); x++) { width 61 test/correctness/tuple_undef.cpp for (int x = 0; x < a.width(); x++) { width 89 test/correctness/tuple_undef.cpp for (int x = 0; x < a.width(); x++) { width 117 test/correctness/tuple_undef.cpp for (int x = 0; x < a.width(); x++) { width 17 test/correctness/tuple_update_ops.cpp for (int x = 0; x < a.width(); x++) { width 40 test/correctness/tuple_update_ops.cpp for (int x = 0; x < a.width(); x++) { width 66 test/correctness/tuple_update_ops.cpp for (int x = 0; x < a.width(); x++) { width 89 test/correctness/tuple_update_ops.cpp for (int x = 0; x < a.width(); x++) { width 112 test/correctness/tuple_update_ops.cpp for (int x = 0; x < a.width(); x++) { width 28 test/correctness/vectorized_load_from_vectorized_allocation.cpp for (int x = 0; x < im.width(); x++) { width 58 test/correctness/vectorized_reduction_bug.cpp for (int x = 0; x < im.width(); x++) { width 29 test/error/expanding_reduction.cpp assert(in.height() == 102 && in.width() == 100); width 35 test/error/five_d_gpu_buffer.cpp for (int i = 0; i < result.width(); i++) { width 12 test/error/impossible_constraints.cpp out() = input(input.width(), input.height()) + input(0, 0); width 10 test/error/init_def_should_be_all_vars.cpp RDom r(0, in.width(), 0, in.height()); width 12 test/error/init_def_should_be_all_vars.cpp f.realize(in.width(), in.height()); width 213 test/generator/acquire_release_aottest.cpp for (int x = 0; x < input.width(); x++) { width 227 test/generator/acquire_release_aottest.cpp for (int x = 0; x < output.width(); x++) { width 19 test/generator/blur2x2_generator.cpp Input<int32_t> width{ "width" }; width 35 test/generator/blur2x2_generator.cpp input, 0, width, 0, height); width 39 test/generator/gpu_object_lifetime_aottest.cpp for (int x = 0; x < output.width(); x++) { width 20 test/generator/gpu_only_aottest.cpp for (int x = 0; x < input.width(); x++) { width 19 test/generator/mandelbrot_aottest.cpp mandelbrot(-2.0f, 2.0f, -1.4f, 1.4f, fx, fy, iters, output.width(), output.height(), width 26 test/generator/mandelbrot_aottest.cpp for (int x = 0; x < output.width(); x++) { width 18 test/generator/memory_profiler_mandelbrot_aottest.cpp const int width = 100; width 30 test/generator/memory_profiler_mandelbrot_aottest.cpp const int x_niters = (width + tile_x - 1)/tile_x; width 63 test/generator/memory_profiler_mandelbrot_aottest.cpp Buffer<int> output(width, height); width 66 test/generator/memory_profiler_mandelbrot_aottest.cpp output.width(), output.height(), output); width 16 test/generator/pyramid_aottest.cpp for (int x = 0; x < input.width(); x++) { width 34 test/generator/pyramid_aottest.cpp for (int x = 0; x < input.width(); x++) { width 46 test/generator/pyramid_aottest.cpp for (int x = 0; x < input.width() >> l; x++) { width 32 test/generator/pyramid_generator.cpp p.specialize(p.output_buffer().width() >= v).vectorize(x, v); width 26 test/generator/stubtest_aottest.cpp if (input.width() != output.width() || width 28 test/generator/stubtest_aottest.cpp fprintf(stderr, "size mismatch: %dx%d vs %dx%d\n",input.width(),input.height(),output.width(),output.height()); width 32 test/generator/stubtest_aottest.cpp for (int x = 0; x < output.width(); x++) { width 33 test/generator/stubtest_jittest.cpp if (input.width() != output.width() || width 39 test/generator/stubtest_jittest.cpp for (int x = 0; x < output.width(); x++) { width 29 test/generator/stubuser_aottest.cpp if (input.width() != output.width() || width 35 test/generator/stubuser_aottest.cpp for (int x = 0; x < output.width(); x++) { width 29 test/generator/tiled_blur_aottest.cpp int min_x = ev->coordinates[0], width = ev->coordinates[1]; width 31 test/generator/tiled_blur_aottest.cpp int max_x = min_x + width - 1; width 34 test/generator/tiled_blur_aottest.cpp printf("Using %d x %d input tile over [%d - %d] x [%d - %d]\n", width, height, min_x, max_x, width 41 test/generator/tiled_blur_aottest.cpp assert(width == 33 || width == 34); width 15 test/opengl/conv_select.cpp const int width = 10, height = 10, channels = 4, res_channels = 2; width 16 test/opengl/conv_select.cpp Buffer<float> input(width, height, channels); width 26 test/opengl/conv_select.cpp Expr coordx = clamp(x + r, 0, input.width() - 1); width 37 test/opengl/conv_select.cpp Buffer<float> result = g.realize(width, height, res_channels, target); width 32 test/opengl/rewrap_texture.cpp const int width = 255; width 35 test/opengl/rewrap_texture.cpp Buffer<uint8_t> input(width, height, 3); width 36 test/opengl/rewrap_texture.cpp Buffer<uint8_t> out1(width, height, 3); width 37 test/opengl/rewrap_texture.cpp Buffer<uint8_t> out2(width, height, 3); width 38 test/opengl/rewrap_texture.cpp Buffer<uint8_t> out3(width, height, 3); width 55 test/opengl/rewrap_texture.cpp glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); width 99 test/opengl/select.cpp for (int x = 0; x < image.width(); x++) { width 146 test/opengl/select.cpp const int width = 10, height = 10; width 147 test/opengl/select.cpp Buffer<uint8_t> out = f.realize(width, height, channels, target); width 182 test/opengl/select.cpp const int width = 10, height = 10; width 183 test/opengl/select.cpp Buffer<uint8_t> out = f.realize(width, height, channels, target); width 42 test/opengl/special_funcs.cpp for (int x = 0; x < gpu_result.width(); x++) { width 72 test/opengl/special_funcs.cpp for (int x = 0; x < gpu_result.width(); x++) { width 13 test/opengl/sum_reduction.cpp const int width = 10, height = 10, channels = 4; width 14 test/opengl/sum_reduction.cpp Buffer<float> input(width, height, channels); width 23 test/opengl/sum_reduction.cpp Expr coordx = clamp(x + r, 0, input.width() - 1); width 30 test/opengl/sum_reduction.cpp Buffer<float> result = g.realize(width, height, channels, target); width 37 test/opengl/sum_reduction.cpp temp += input(std::min(x + r, input.width() - 1), y, c); width 13 test/opengl/sumcolor_reduction.cpp const int width = 10, height = 10, channels = 3; width 14 test/opengl/sumcolor_reduction.cpp Buffer<float> input(width, height, channels); width 127 test/performance/block_transpose.cpp for (int x = 0; x < im2.width(); x++) { width 22 test/performance/clamped_vector_load.cpp for (int x = 0; x < output.width(); x++) { width 45 test/performance/clamped_vector_load.cpp for (int x = 0; x < input.width(); x++) { width 35 test/performance/const_division.cpp for (int x = 0; x < input.width(); x++) { width 62 test/performance/const_division.cpp f.bound(y, 0, num_vals).bound(x, 0, input.width()).unroll(y); width 63 test/performance/const_division.cpp h.bound(x, 0, input.width()); width 73 test/performance/const_division.cpp Buffer<T> correct = g.realize(input.width(), num_vals); width 76 test/performance/const_division.cpp Buffer<T> fast = f.realize(input.width(), num_vals); width 79 test/performance/const_division.cpp Buffer<T> fast_dynamic = h.realize(input.width(), num_vals); width 85 test/performance/const_division.cpp for (int x = 0; x < input.width(); x++) { width 33 test/performance/fast_inverse.cpp slow_time *= 1e9 / (out_fast.width() * N); width 34 test/performance/fast_inverse.cpp fast_time *= 1e9 / (out_fast.width() * N); width 67 test/performance/fast_pow.cpp int timing_N = timing_scratch.width() * timing_scratch.height() * 10; width 68 test/performance/fast_pow.cpp int correctness_N = fast_result.width() * fast_result.height(); width 8 test/performance/matrix_multiplication.cpp void simple_version(float* A, float *B, float *C, int width, int stride) { width 9 test/performance/matrix_multiplication.cpp for (int iy = 0; iy < width; iy++) { width 10 test/performance/matrix_multiplication.cpp for (int ix = 0; ix < width; ix++) { width 14 test/performance/matrix_multiplication.cpp for (int ik = 0; ik < width; ik++) { width 79 test/performance/matrix_multiplication.cpp simple_version(mat_A.data(), mat_B.data(), output_ref.data(), mat_A.width(), mat_A.stride(1)); width 32 test/performance/memcpy.cpp memcpy(output.data(), input.data(), input.width()); width 149 test/performance/wrap.cpp for (int x = 0; x < out3.width(); x++) { width 158 test/performance/wrap.cpp for (int x = 0; x < out3.width(); x++) { width 120 tools/halide_image_info.h std::cout << tag << " width = " << img.width() << std::endl; width 178 tools/halide_image_io.h int width = png_get_image_width(png_ptr, info_ptr); width 189 tools/halide_image_io.h *im = ImageType(width, height, channels); width 191 tools/halide_image_io.h *im = ImageType(width, height); width 212 tools/halide_image_io.h for (int x = 0; x < im->width(); x++) { width 222 tools/halide_image_io.h for (int x = 0; x < im->width(); x++) { width 284 tools/halide_image_io.h png_set_IHDR(png_ptr, info_ptr, im.width(), im.height(), width 303 tools/halide_image_io.h for (int x = 0; x < im.width(); x++) { width 314 tools/halide_image_io.h for (int x = 0; x < im.width(); x++) { width 350 tools/halide_image_io.h int width, height, maxval; width 362 tools/halide_image_io.h if (!check(sscanf(buf, "%d %d\n", &width, &height) == 2, "Could not read PGM width and height\n")) return false; width 372 tools/halide_image_io.h *im = ImageType(width, height); width 376 tools/halide_image_io.h std::vector<uint8_t> data(width*height); width 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; width 381 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 387 tools/halide_image_io.h std::vector<uint16_t> data(width*height); width 388 tools/halide_image_io.h if (!check(fread((void *) &data[0], sizeof(uint16_t), width*height, f.f) == (size_t) (width*height), "Could not read PGM 16-bit data\n")) return false; width 392 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 417 tools/halide_image_io.h fprintf(f.f, "P5\n%d %d\n%d\n", im.width(), im.height(), (1<<bit_depth)-1); width 418 tools/halide_image_io.h int width = im.width(), height = im.height(); width 421 tools/halide_image_io.h std::vector<uint8_t> data(width*height); width 424 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 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; width 431 tools/halide_image_io.h std::vector<uint16_t> data(width*height); width 434 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 441 tools/halide_image_io.h if (!check(fwrite((void *) &data[0], sizeof(uint16_t), width*height, f.f) == (size_t) (width*height), "Could not write PGM 16-bit data\n")) return false; width 455 tools/halide_image_io.h int width, height, maxval; width 467 tools/halide_image_io.h if (!check(sscanf(buf, "%d %d\n", &width, &height) == 2, "Could not read PPM width and height\n")) return false; width 477 tools/halide_image_io.h *im = ImageType(width, height, channels); width 481 tools/halide_image_io.h std::vector<uint8_t> data(width*height*3); width 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; width 486 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 487 tools/halide_image_io.h Internal::convert(*row++, im_data[(0*height+y)*width+x]); width 488 tools/halide_image_io.h Internal::convert(*row++, im_data[(1*height+y)*width+x]); width 489 tools/halide_image_io.h Internal::convert(*row++, im_data[(2*height+y)*width+x]); width 494 tools/halide_image_io.h std::vector<uint16_t> data(width*height*3); width 495 tools/halide_image_io.h if (!check(fread((void *) &data[0], sizeof(uint16_t), width*height*3, f.f) == (size_t) (width*height*3), "Could not read PPM 16-bit data\n")) return false; width 499 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 503 tools/halide_image_io.h Internal::convert(value, im_data[(0*height+y)*width+x]); width 506 tools/halide_image_io.h Internal::convert(value, im_data[(1*height+y)*width+x]); width 509 tools/halide_image_io.h Internal::convert(value, im_data[(2*height+y)*width+x]); width 529 tools/halide_image_io.h fprintf(f.f, "P6\n%d %d\n%d\n", im.width(), im.height(), (1<<bit_depth)-1); width 530 tools/halide_image_io.h int width = im.width(), height = im.height(), channels = im.channels(); width 533 tools/halide_image_io.h std::vector<uint8_t> data(width*height*3); width 538 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 546 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 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; width 556 tools/halide_image_io.h std::vector<uint16_t> data(width*height*3); width 561 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 576 tools/halide_image_io.h for (int x = 0; x < width; x++) { width 586 tools/halide_image_io.h if (!check(fwrite((void *) &data[0], sizeof(uint16_t), width*height*3, f.f) == (size_t) (width*height*3), "Could not write PPM 16-bit data\n")) return false; width 630 tools/halide_image_io.h cinfo.image_width = im.width(); width 644 tools/halide_image_io.h std::vector<JSAMPLE> row(im.width() * channels); width 649 tools/halide_image_io.h for (int x = 0; x < im.width(); x++) { width 653 tools/halide_image_io.h for (int x = 0; x < im.width(); x++) { width 698 tools/halide_image_io.h std::vector<JSAMPLE> row(im->width() * channels); width 704 tools/halide_image_io.h for (int x = 0; x < im->width(); x++) { width 710 tools/halide_image_io.h for (int x = 0; x < im->width(); x++) { width 90 tutorial/lesson_01_basics.cpp for (int i = 0; i < output.width(); i++) { width 95 tutorial/lesson_02_input_image.cpp brighter.realize(input.width(), input.height(), input.channels()); width 85 tutorial/lesson_07_multi_stage_pipelines.cpp Buffer<uint8_t> result(input.width()-2, input.height()-2, 3); width 110 tutorial/lesson_07_multi_stage_pipelines.cpp Expr clamped_x = clamp(x, 0, input.width()-1); width 160 tutorial/lesson_07_multi_stage_pipelines.cpp Buffer<uint8_t> result = output.realize(input.width(), input.height(), 3); width 201 tutorial/lesson_09_update_definitions.cpp RDom r(0, input.width(), 0, input.height()); width 216 tutorial/lesson_09_update_definitions.cpp for (int r_x = 0; r_x < input.width(); r_x++) { width 665 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> halide_result = blurry.realize(input.width(), input.height()); width 674 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> c_result(input.width(), input.height()); width 676 tutorial/lesson_09_update_definitions.cpp for (int x = 0; x < input.width(); x++) { width 684 tutorial/lesson_09_update_definitions.cpp int clamped_x = std::min(std::max(x + r_x, 0), input.width()-1); width 696 tutorial/lesson_09_update_definitions.cpp for (int x = 0; x < input.width(); x++) { width 766 tutorial/lesson_09_update_definitions.cpp Expr x_clamped = clamp(x, 0, input.width()-1); width 790 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> halide_result = spread.realize(input.width(), input.height()); width 801 tutorial/lesson_09_update_definitions.cpp Buffer<uint8_t> c_result(input.width(), input.height()); width 818 tutorial/lesson_09_update_definitions.cpp int clamped_width = input.width() + 4; width 842 tutorial/lesson_09_update_definitions.cpp for (int x = -2; x < input.width() + 2; x++) { width 843 tutorial/lesson_09_update_definitions.cpp int clamped_x = std::min(std::max(x, 0), input.width()-1); width 849 tutorial/lesson_09_update_definitions.cpp for (int x_vec = 0; x_vec < (input.width() + 15)/16; x_vec++) { width 850 tutorial/lesson_09_update_definitions.cpp int x_base = std::min(x_vec * 16, input.width() - 16); width 925 tutorial/lesson_09_update_definitions.cpp for (int x = 0; x < input.width(); x++) { width 50 tutorial/lesson_12_using_the_gpu.cpp padded(x, y, c) = input(clamp(x, 0, input.width()-1), width 203 tutorial/lesson_12_using_the_gpu.cpp Buffer<uint8_t> output(input.width(), input.height(), input.channels()); width 235 tutorial/lesson_12_using_the_gpu.cpp curved.realize(input.width(), input.height(), input.channels()); width 240 tutorial/lesson_12_using_the_gpu.cpp for (int x = 0; x < input.width(); x++) { width 263 tutorial/lesson_12_using_the_gpu.cpp Buffer<uint8_t> reference_output(input.width(), input.height(), input.channels()); width 279 tutorial/lesson_13_tuples.cpp for (int x = 0; x < result.width(); x++) { width 45 tutorial/lesson_18_parallel_associative_reductions.cpp RDom r(0, input.width(), 0, input.height()); width 77 tutorial/lesson_18_parallel_associative_reductions.cpp RDom rx(0, input.width()); width 119 tutorial/lesson_18_parallel_associative_reductions.cpp RDom r(0, input.width(), 0, input.height()); width 172 tutorial/lesson_18_parallel_associative_reductions.cpp for (int r_x = 0; r_x < input.width(); r_x++) { width 204 tutorial/lesson_18_parallel_associative_reductions.cpp RDom r(0, input.width(), 0, input.height()); width 233 tutorial/lesson_18_parallel_associative_reductions.cpp for (int u = 0; u < input.width(); u++) { width 239 tutorial/lesson_18_parallel_associative_reductions.cpp for (int u = 0; u < input.width() / 8; u++) { width 251 tutorial/lesson_18_parallel_associative_reductions.cpp for (int r_x = 0; r_x < input.width(); r_x++) { width 272 tutorial/lesson_18_parallel_associative_reductions.cpp RDom r(0, input.width(), 0, input.height()); width 305 tutorial/lesson_18_parallel_associative_reductions.cpp for (int u = 0; u < input.width() / 2; u++) { width 312 tutorial/lesson_18_parallel_associative_reductions.cpp /* parallel */ for (int u = 0; u < input.width() / 2; u++) { width 327 tutorial/lesson_18_parallel_associative_reductions.cpp for (int rx_outer = 0; rx_outer < input.width() / 2; rx_outer++) {