int16_t            13 apps/HelloAndroid/jni/hello_generator.cpp         tone_curve(x) = cast<int16_t>(pow(cast<float>(x)/256.0f, 1.8f) * 256.0f);
int16_t            16 apps/HelloAndroidCamera2/jni/edge_detect_generator.cpp         in16(x, y) = cast<int16_t>(clamped(x, y));
int16_t            25 apps/c_backend/run.cpp         int16_t *origin = (int16_t *)in->host;
int16_t            33 apps/c_backend/run.cpp         int16_t *dst = (int16_t *)(out->host);
int16_t           219 apps/camera_pipe/camera_pipe_generator.cpp     matrix(x, y) = cast<int16_t>(val * 256.0f); // Q8.8 fixed point
int16_t           231 apps/camera_pipe/camera_pipe_generator.cpp     r = cast<int16_t>(r/256);
int16_t           232 apps/camera_pipe/camera_pipe_generator.cpp     g = cast<int16_t>(g/256);
int16_t           233 apps/camera_pipe/camera_pipe_generator.cpp     b = cast<int16_t>(b/256);
int16_t           305 apps/camera_pipe/camera_pipe_generator.cpp     shifted(x, y) = cast<int16_t>(input(x+16, y+12));
int16_t           101 apps/camera_pipe/fcam/Demosaic_ARM.cpp         int16_t val = (int16_t)(colorMatrix_f[i*4+0] * 256 + 0.5);
int16_t           103 apps/camera_pipe/fcam/Demosaic_ARM.cpp         val = (int16_t)(colorMatrix_f[i*4+1] * 256 + 0.5);
int16_t           105 apps/camera_pipe/fcam/Demosaic_ARM.cpp         val = (int16_t)(colorMatrix_f[i*4+2] * 256 + 0.5);
int16_t           107 apps/camera_pipe/fcam/Demosaic_ARM.cpp         val = (int16_t)(colorMatrix_f[i*4+3] * 256 + 0.5);
int16_t           117 apps/camera_pipe/fcam/Demosaic_ARM.cpp     __attribute__((aligned(16))) int16_t scratch[VEC_WIDTH*VEC_HEIGHT*4*12];
int16_t           174 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register const int16_t *__restrict__ rawPtr = blockPtr;
int16_t           175 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register const int16_t *__restrict__ rawPtr2 = blockPtr + rawPixelsPerRow;
int16_t           179 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *__restrict__ g_gr_ptr = denoise ? G_GR_NOISY(0) : G_GR(0);
int16_t           180 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *__restrict__ r_r_ptr  = denoise ? R_R_NOISY(0)  : R_R(0);
int16_t           181 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *__restrict__ b_b_ptr  = denoise ? B_B_NOISY(0)  : B_B(0);
int16_t           182 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *__restrict__ g_gb_ptr = denoise ? G_GB_NOISY(0) : G_GB(0);
int16_t           218 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *__restrict__ ptr_in = nullptr;
int16_t           219 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *__restrict__ ptr_out = nullptr;
int16_t           292 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_gb_up_ptr = G_GB(i) - VEC_WIDTH*4;
int16_t           293 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_gb_here_ptr = G_GB(i);
int16_t           294 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_gb_left_ptr = G_GB(i) - 1;
int16_t           295 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_gr_down_ptr = G_GR(i) + VEC_WIDTH*4;
int16_t           296 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_gr_here_ptr = G_GR(i);
int16_t           297 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_gr_right_ptr = G_GR(i) + 1;
int16_t           298 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_r_ptr = G_R(i);
int16_t           299 apps/camera_pipe/fcam/Demosaic_ARM.cpp                 register int16_t *g_b_ptr = G_B(i);
int16_t            20 apps/hexagon_benchmarks/conv3x3_generator.cpp                 sum += cast<int16_t>(bounded_input(x+j, y+i)) * cast<int16_t>(mask(j+1, i+1));
int16_t            14 apps/hexagon_benchmarks/gaussian5x5_generator.cpp         input_16(x, y) = cast<int16_t>(bounded_input(x, y));
int16_t           113 apps/hexagon_benchmarks/process.h             int16_t sum = 0;
int16_t           116 apps/hexagon_benchmarks/process.h                     sum += static_cast<int16_t>(u8_in(clamp(x+rx, 0, W-1), clamp(y+ry, 0, H-1)))
int16_t           117 apps/hexagon_benchmarks/process.h                                                 * static_cast<int16_t>(i8_mask(rx+1, ry+1));
int16_t           121 apps/hexagon_benchmarks/process.h             sum = clamp<int16_t>(sum, 0, 255);
int16_t           315 apps/hexagon_benchmarks/process.h         const int16_t coeffs[5] = { 1, 4, 6, 4, 1 };
int16_t           318 apps/hexagon_benchmarks/process.h             int16_t blur = 0;
int16_t           320 apps/hexagon_benchmarks/process.h                 int16_t blur_y = 0;
int16_t           322 apps/hexagon_benchmarks/process.h                     int16_t val = static_cast<int16_t>(u8_in(clamp(x+rx, 0, W-1), clamp(y+ry, 0, H-1)));
int16_t           477 apps/hexagon_benchmarks/process.h                     sum += static_cast<int16_t>(u8_in(clamp(x+rx, 0, W-1), clamp(y+ry, 0, H-1)))
int16_t           478 apps/hexagon_benchmarks/process.h                                                 * static_cast<int16_t>(i8_mask(rx+1, ry+1));
int16_t            80 apps/simd_op_check/driver.cpp         make_buffer<int16_t>(W, H),
int16_t           180 python_bindings/python/BoundaryConditions.cpp         boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           197 python_bindings/python/BoundaryConditions.cpp         boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           214 python_bindings/python/BoundaryConditions.cpp         boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           232 python_bindings/python/BoundaryConditions.cpp         boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           251 python_bindings/python/BoundaryConditions.cpp         boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           306 python_bindings/python/Func.cpp         .def("realize", &func_realize_into<h::Buffer<int16_t>>,
int16_t           309 python_bindings/python/Func.cpp         .def("realize", &func_realize_into<h::Buffer<int16_t>, h::Target>,
int16_t           429 python_bindings/python/Image.cpp         p::manage_new_object::apply<h::Buffer<int16_t> *>::type converter;
int16_t           430 python_bindings/python/Image.cpp         obj = converter(new h::Buffer<int16_t>(im));
int16_t           452 python_bindings/python/Image.cpp     p::extract<h::Buffer<int16_t>> buffer_extract_int16(obj);
int16_t           486 python_bindings/python/Image.cpp     if (t == h::Int(16)) return bn::dtype::get_builtin<int16_t>();
int16_t           499 python_bindings/python/Image.cpp     if (t == bn::dtype::get_builtin<int16_t>()) return h::Int(16);
int16_t           563 python_bindings/python/Image.cpp         if (t == h::Int(16)) return create_buffer_object<int16_t>(args...);
int16_t           606 python_bindings/python/Image.cpp     defineBuffer_impl<int16_t>("_int16", h::Int(16));
int16_t           118 python_bindings/python/Param.cpp             .def("set", &image_param_set<int16_t>, p::args("self", "im"),
int16_t           388 python_bindings/python/Param.cpp     add_operators_with<pc_t, Param<int16_t>>(param_class);
int16_t           494 python_bindings/python/Param.cpp                          boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           566 python_bindings/python/Param.cpp             boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           573 python_bindings/python/Param.cpp             boost::int8_t, boost::int16_t, boost::int32_t,
int16_t           602 python_bindings/python/Param.cpp     defineParam_impl<int16_t>("_int16", h::Int(16));
int16_t          1508 src/Bounds.cpp     check(scope, cast<int32_t>(abs(cast<int16_t>(x/y))), 0, 32768);
int16_t          1144 src/CodeGen_Hexagon.cpp     internal_assert(max_index < std::numeric_limits<int16_t>::max())
int16_t           275 src/Expr.h         EXPORT explicit Expr(int16_t x)   : IRHandle(Internal::IntImm::make(Int(16), x)) {}
int16_t          1975 src/Generator.cpp         fn_typed(x) = cast<int16_t>(38);
int16_t           345 src/Generator.h     HALIDE_GENERATOR_PARAM_TYPED_SETTER(int16_t)
int16_t           429 src/Generator.h     HALIDE_GENERATOR_PARAM_TYPED_SETTER(int16_t)
int16_t            86 src/IROperator.h inline Expr make_const(Type t, int16_t val)   {return make_const(t, (int64_t)val);}
int16_t           161 src/Parameter.cpp         case 16: return Expr(get_scalar<int16_t>());
int16_t            56 src/ScheduleParam.h     HALIDE_SCHEDULE_PARAM_TYPED_SETTER(int16_t)
int16_t           207 src/ScheduleParam.h     HALIDE_SCHEDULE_PARAM_TYPED_SETTER(int16_t)
int16_t           140 src/Type.h     HALIDE_DECLARE_EXTERN_SIMPLE_TYPE(int16_t);
int16_t          1172 src/runtime/HalideRuntime.h         int16_t i16;
int16_t          1457 src/runtime/HalideRuntime.h HALIDE_ALWAYS_INLINE halide_type_t halide_type_of<int16_t>() {
int16_t            26 src/runtime/matlab.cpp typedef int16_t mxChar;
int16_t           346 src/runtime/matlab.cpp         case 16: *reinterpret_cast<int16_t *>(scalar) = static_cast<int16_t>(value); return halide_error_code_success;
int16_t          1574 src/runtime/opengl.cpp                 uniform_float[uniform_float_idx++] = *((int16_t*)args[i]);
int16_t           119 src/runtime/tracing.cpp                         ss << ((int16_t *)(e->value))[i];
int16_t            22 src/runtime/write_debug_image.cpp WEAK int16_t pixel_type_to_tiff_sample_type[] = {
int16_t            31 src/runtime/write_debug_image.cpp     int16_t type_code;
int16_t            35 src/runtime/write_debug_image.cpp         int16_t i16;
int16_t            39 src/runtime/write_debug_image.cpp     void assign16(uint16_t tag_code, int32_t count, int16_t value) __attribute__((always_inline)) {
int16_t            53 src/runtime/write_debug_image.cpp     void assign32(uint16_t tag_code, int16_t type_code, int32_t count, int32_t value)  __attribute__((always_inline)) {
int16_t            62 src/runtime/write_debug_image.cpp     int16_t byte_order_marker;
int16_t            63 src/runtime/write_debug_image.cpp     int16_t version;
int16_t            65 src/runtime/write_debug_image.cpp     int16_t entry_count;
int16_t           156 src/runtime/write_debug_image.cpp         tag++->assign16(258, 1, int16_t(bytes_per_element * 8)); // Bits per sample
int16_t           160 src/runtime/write_debug_image.cpp         tag++->assign16(277, 1, int16_t(channels));              // Samples per pixel
int16_t            27 test/correctness/bounds_inference_outer_split.cpp     ImageParam input(type_of<int16_t>(), 2);
int16_t            25 test/correctness/bounds_of_abs.cpp     Func f2 = lambda(x, input(abs(cast<int16_t>(x))));
int16_t            27 test/correctness/bounds_of_cast.cpp     Func f4 = lambda(x, input(cast<int16_t>(x)));
int16_t            79 test/correctness/constant_expr.cpp     test_expr_range<int16_t>();
int16_t            49 test/correctness/constant_type.cpp     ok = ok && test_type<int16_t>();
int16_t             8 test/correctness/left_shift_negative.cpp     f(x) = cast<int16_t>(-x);
int16_t             9 test/correctness/left_shift_negative.cpp     g(x) = cast<int16_t>(x % 8);
int16_t            21 test/correctness/left_shift_negative.cpp     powers(x) = cast<int16_t>(1) << g(x);
int16_t            29 test/correctness/left_shift_negative.cpp     Buffer<int16_t> im1 = h1.realize(1024);
int16_t            30 test/correctness/left_shift_negative.cpp     Buffer<int16_t> im2 = h2.realize(1024);
int16_t           184 test/correctness/lerp.cpp     check_range<int16_t, uint16_t>(0, 65536, -32768, 1,
int16_t            10 test/correctness/make_struct.cpp     int16_t c;
int16_t            45 test/correctness/make_struct.cpp     Expr c = cast<int16_t>(1234);
int16_t            44 test/correctness/math.cpp uint16_t absd(int16_t a, int16_t b) { return a < b ? b - a : a - b; }
int16_t           114 test/correctness/math.cpp   fun_1(int16_t, int16_t, name, name)            \
int16_t           149 test/correctness/math.cpp fun_1(uint16_t, int16_t, abs, abs)
int16_t           154 test/correctness/math.cpp fun_2(uint16_t, int16_t, absd, absd)
int16_t           242 test/correctness/math.cpp     const int16_t int16_min = std::numeric_limits<int16_t>::min();
int16_t           245 test/correctness/math.cpp     const int16_t int16_max = std::numeric_limits<int16_t>::max();
int16_t           257 test/correctness/math.cpp     call_1(int16_t, abs, 255, -int16_max, int16_max);
int16_t           262 test/correctness/math.cpp     call_2(int16_t, absd, 256, int16_min, int16_max, int16_min, int16_max);
int16_t            48 test/correctness/mod.cpp         test<int16_t>() &&
int16_t           512 test/correctness/mul_div_mod.cpp     success &= mul<int16_t, int16_t, int16_t, int64_t>(vector_width, scheduling, target);
int16_t           518 test/correctness/mul_div_mod.cpp     success &= mul<int8_t, int8_t, int16_t, int64_t>(vector_width, scheduling, target);
int16_t           519 test/correctness/mul_div_mod.cpp     success &= mul<int16_t, int16_t, int32_t, int64_t>(vector_width, scheduling, target);
int16_t           525 test/correctness/mul_div_mod.cpp     success &= mul<int16_t, int32_t, int32_t, uint64_t>(vector_width, scheduling, target);
int16_t           538 test/correctness/mul_div_mod.cpp     success &= div_mod<int16_t, int64_t>(vector_width, scheduling, target);
int16_t           101 test/correctness/multiple_outputs.cpp         g(x) = Tuple(cast<uint8_t>(x), cast<int16_t>(x+1));
int16_t           111 test/correctness/multiple_outputs.cpp         Buffer<int16_t> g1_im = r[2];
int16_t           226 test/correctness/saturating_casts.cpp     test_saturating<source_t, int16_t>();
int16_t           247 test/correctness/saturating_casts.cpp     test_concise<source_t, int16_t>(i16, false);
int16_t           249 test/correctness/saturating_casts.cpp     test_concise<source_t, int16_t>(i16_sat, true);
int16_t           272 test/correctness/saturating_casts.cpp     test_one_source<int16_t>();
int16_t           121 test/correctness/target.cpp     if (t1.natural_vector_size<int16_t>() != 8) {
int16_t           141 test/correctness/target.cpp     if (t1.natural_vector_size<int16_t>() != 8) {
int16_t           160 test/correctness/target.cpp     if (t1.natural_vector_size<int16_t>() != 16) {
int16_t           179 test/correctness/target.cpp     if (t1.natural_vector_size<int16_t>() != 8) {
int16_t            58 test/correctness/tuple_update_ops.cpp         f(x, _) = Tuple(cast<int16_t>(x), cast<int32_t>(g(_)));
int16_t            59 test/correctness/tuple_update_ops.cpp         f(x, _) += Tuple(cast<int16_t>(2*x), cast<int32_t>(x));
int16_t            62 test/correctness/tuple_update_ops.cpp         Buffer<int16_t> a = result[0];
int16_t            17 test/correctness/vector_cast.cpp DECL_SOT(int16_t);
int16_t           124 test/correctness/vector_cast.cpp     success = success && test<A, int16_t>(vec_width, target);
int16_t           155 test/correctness/vector_cast.cpp             success = success && test_all<int16_t>(vec_width, target);
int16_t            32 test/correctness/vector_math.cpp DECL_SOT(int16_t);
int16_t           108 test/correctness/vector_math.cpp struct with_unsigned<int16_t> {
int16_t           634 test/correctness/vector_math.cpp     futures.push_back(pool.async(test<int16_t>, 8));
int16_t            54 test/correctness/widening_reduction.cpp                 int16_t correct = 0;
int16_t            57 test/correctness/widening_reduction.cpp                         correct += static_cast<int16_t>(in(x + rx, y + ry)) * kernel(rx, ry);
int16_t            96 test/correctness/widening_reduction.cpp                 int16_t correct = 0;
int16_t            99 test/correctness/widening_reduction.cpp                         correct += static_cast<int16_t>(in(x + rx, y + ry)) * kernel(rx, ry);
int16_t            63 test/generator/cxx_mangling_aottest.cpp              int16_t, uint16_t,
int16_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) {
int16_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) {
int16_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) {
int16_t            29 test/generator/cxx_mangling_define_extern_generator.cpp         args.push_back(cast<int16_t>(3));
int16_t            38 test/generator/cxx_mangling_generator.cpp     Param<int16_t> offset_i16{"offset_i16", 0};
int16_t           139 test/generator/image_from_array_aottest.cpp     test<int16_t>();
int16_t           189 test/generator/metadata_tester_aottest.cpp const halide_scalar_value_t *make_scalar(int16_t v) {
int16_t           347 test/generator/metadata_tester_aottest.cpp           make_scalar<int16_t>(16),
int16_t           348 test/generator/metadata_tester_aottest.cpp           make_scalar<int16_t>(-16),
int16_t           349 test/generator/metadata_tester_aottest.cpp           make_scalar<int16_t>(127),
int16_t           536 test/generator/metadata_tester_aottest.cpp           make_scalar<int16_t>(16),
int16_t           545 test/generator/metadata_tester_aottest.cpp           make_scalar<int16_t>(16),
int16_t           554 test/generator/metadata_tester_aottest.cpp           make_scalar<int16_t>(16),
int16_t           563 test/generator/metadata_tester_aottest.cpp           make_scalar<int16_t>(16),
int16_t            17 test/generator/metadata_tester_generator.cpp     Input<int16_t> i16{ "i16", 16, -16, 127 };
int16_t            36 test/generator/metadata_tester_generator.cpp     Input<int16_t[]> array_i16{ "array_i16", 16 };  // must be overridden to size=2
int16_t            37 test/generator/metadata_tester_generator.cpp     Input<int16_t[2]> array2_i16{ "array2_i16", 16 };
int16_t            55 test/generator/stubtest_aottest.cpp     Buffer<int16_t> array_output0(kSize, kSize), array_output1(kSize, kSize);
int16_t            66 test/generator/stubtest_generator.cpp             array_output[i](x, y) = cast<int16_t>(array_input[i](x, y, 0) + int_arg[i]);
int16_t            98 test/generator/stubtest_jittest.cpp         Buffer<int16_t> g0 = array_output_realized;
int16_t           112 test/performance/const_division.cpp         success = success && test<int16_t>(1, i == 0);
int16_t           119 test/performance/const_division.cpp         success = success && test<int16_t>(16, i == 0);
int16_t            18 test/performance/vectorize.cpp DECL_SOT(int16_t);
int16_t           104 test/performance/vectorize.cpp     ok = ok && test<int16_t>(8);
int16_t            51 tools/halide_image_io.h inline void convert(int16_t in, uint8_t &out) {out = in >> 8;}
int16_t            61 tools/halide_image_io.h inline void convert(int16_t in, uint16_t &out) {out = in;}
int16_t            69 tools/halide_image_io.h inline void convert(uint8_t in, int16_t &out) {out = in << 8;}
int16_t            77 tools/halide_image_io.h inline void convert(uint16_t in, int16_t &out) {out = in;}
int16_t           104 tutorial/lesson_14_types.cpp         Expr s16 = cast<int16_t>(x);
int16_t            53 util/HalideTraceViz.cpp                 return (T)(((const int16_t *)value())[idx]);