Home
last modified time | relevance | path

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

/external/ComputeLibrary/src/core/NEON/kernels/
DNENormalizationLayerKernel.cpp202 const int current_slice = dim == 0 ? x : id[dim]; in normalize_float() local
203 const int first_slice = std::max(current_slice - radius, 0); in normalize_float()
204 const int last_slice = std::min(current_slice + radius, max_right); in normalize_float()
215 …accu += *reinterpret_cast<const T *>(input_squared_ptr + (i - current_slice) * input_squared_strid… in normalize_float()
245 const int current_slice = dim == 0 ? x : id[dim]; in normalize_float() local
246 const int first_slice = std::max(current_slice - radius, 0); in normalize_float()
247 const int last_slice = std::min(current_slice + radius, max_right); in normalize_float()
258 … wrapper::vloadq(reinterpret_cast<const T *>(input_squared_ptr + (i - current_slice) * input_squar… in normalize_float()
/external/ComputeLibrary/src/core/CL/cl_kernels/nchw/
Dbatchnormalization_layer.cl114 const int current_slice = get_global_id(2);
117 denominator = *((__global DATA_TYPE *)(var.ptr + current_slice * var.stride_x));
121 numerator = *((__global DATA_TYPE *)(mean.ptr + current_slice * mean.stride_x));
127 gamma_vec = *((__global DATA_TYPE *)(gamma.ptr + current_slice * gamma.stride_x));
137 beta_vec = *((__global DATA_TYPE *)(beta.ptr + current_slice * beta.stride_x));
Dnormalize_planar_yuv_layer.cl71 const uint current_slice = get_global_id(2) % NUM_CHANNELS;
73 …const DATA_TYPE curr_mean = *((__global DATA_TYPE *)(mean.ptr + current_slice * sizeof(DATA_TYPE))…
74 …const DATA_TYPE curr_std = *((__global DATA_TYPE *)(std.ptr + current_slice * sizeof(DATA_TYPE)));
Dnormalize_planar_yuv_layer_quantized.cl77 const uint current_slice = get_global_id(2) % NUM_CHANNELS;
80 … (VEC_DATA_TYPE(float, VEC_SIZE))(*((__global DATA_TYPE *)(mean.ptr + current_slice * sizeof(DATA_…
84 …= (VEC_DATA_TYPE(float, VEC_SIZE))(*((__global DATA_TYPE *)(std.ptr + current_slice * sizeof(DATA_…
Dnormalization_layer.cl74 const int current_slice = get_global_id(2);
75 const int left_slice = max(-(int)RADIUS, -current_slice);
76 const int right_slice = min((int)RADIUS, (int)NUM_SLICES - 1 - current_slice);
/external/crosvm/media/cros-codecs/src/decoders/h264/
Ddecoder.rs1974 current_slice: &Slice<impl AsRef<[u8]>>, in short_term_pic_list_modification()
2028 RefPicList::RefPicList0 => current_slice.header().num_ref_idx_l0_active_minus1(), in short_term_pic_list_modification()
2029 RefPicList::RefPicList1 => current_slice.header().num_ref_idx_l1_active_minus1(), in short_term_pic_list_modification()
2057 current_slice: &Slice<impl AsRef<[u8]>>, in long_term_pic_list_modification()
2085 RefPicList::RefPicList0 => current_slice.header().num_ref_idx_l0_active_minus1(), in long_term_pic_list_modification()
2086 RefPicList::RefPicList1 => current_slice.header().num_ref_idx_l1_active_minus1(), in long_term_pic_list_modification()
2114 current_slice: &Slice<impl AsRef<[u8]>>, in modify_ref_pic_list()
2117 let hdr = current_slice.header(); in modify_ref_pic_list()
2154 current_slice, in modify_ref_pic_list()
2162 current_slice, in modify_ref_pic_list()
[all …]
/external/ComputeLibrary/cl_kernels/nchw/
Dnormalize_planar_yuv_layer.clembed1262 const uint current_slice = get_global_id(2) % NUM_CHANNELS;
1264 …const DATA_TYPE curr_mean = *((__global DATA_TYPE *)(mean.ptr + current_slice * sizeof(DATA_TYPE))…
1265 …const DATA_TYPE curr_std = *((__global DATA_TYPE *)(std.ptr + current_slice * sizeof(DATA_TYPE)));
Dnormalize_planar_yuv_layer_quantized.clembed1266 const uint current_slice = get_global_id(2) % NUM_CHANNELS;
1269 … (VEC_DATA_TYPE(float, VEC_SIZE))(*((__global DATA_TYPE *)(mean.ptr + current_slice * sizeof(DATA_…
1273 …= (VEC_DATA_TYPE(float, VEC_SIZE))(*((__global DATA_TYPE *)(std.ptr + current_slice * sizeof(DATA_…
Dbatchnormalization_layer.clembed2597 const int current_slice = get_global_id(2);
2600 denominator = *((__global DATA_TYPE *)(var.ptr + current_slice * var.stride_x));
2604 numerator = *((__global DATA_TYPE *)(mean.ptr + current_slice * mean.stride_x));
2610 gamma_vec = *((__global DATA_TYPE *)(gamma.ptr + current_slice * gamma.stride_x));
2620 beta_vec = *((__global DATA_TYPE *)(beta.ptr + current_slice * beta.stride_x));
Dnormalization_layer.clembed2134 const int current_slice = get_global_id(2);
2135 const int left_slice = max(-(int)RADIUS, -current_slice);
2136 const int right_slice = min((int)RADIUS, (int)NUM_SLICES - 1 - current_slice);