Home
last modified time | relevance | path

Searched refs:input_offset (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
Ddecoder_jni.cc19 size_t input_offset; member
57 handle->input_offset = 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate()
118 if (handle->input_offset < handle->input_length) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
121 handle->input_offset = 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
126 const uint8_t* in = handle->input_start + handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
127 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
131 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
135 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
174 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePull()
177 context[1] = (handle->input_offset == handle->input_length) ? 2 : 4; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePull()
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/
Dencoder_jni.cc19 size_t input_offset; member
56 handle->input_offset = 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativeCreate()
130 if (handle->input_offset < handle->input_last) { in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
133 handle->input_offset = 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
138 const uint8_t* in = handle->input_start + handle->input_offset; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
139 size_t in_size = handle->input_last - handle->input_offset; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
143 handle->input_offset = handle->input_last - in_size; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
147 context[3] = (handle->input_offset != handle->input_last) ? 1 : 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
171 context[3] = (handle->input_offset != handle->input_last) ? 1 : 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePull()
/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/
Dbatchnorm.py32 input_offset = self.inputs[2]
39 …if input_x.dtype == "float16" and input_scale.dtype == "float32" and input_offset.dtype == "float3…
57 input_offset = graph_builder.emit(
58 … 'Reshape', [input_offset], attrs={'shape': ExpandDims.infer_shape(input_offset.shape, [-1, -1])})
67 res_y = graph_builder.emit('Add', [input_offset, x_div])
76 input_offset = self.inputs[2]
130 … 'Reshape', [input_offset], attrs={'shape': ExpandDims.infer_shape(input_offset.shape, [-1, -1])})
132 input_offset_expand = input_offset
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dargmax_impl.cu28 size_t input_offset = x * bound * inner_size + 0 * inner_size + y; in Argmax() local
29 T max_data = input[input_offset]; in Argmax()
31 input_offset = x * bound * inner_size + i * inner_size + y; in Argmax()
32 auto input_data = input[input_offset]; in Argmax()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dcumsum_fp32.c55 int input_offset = exclusive ? 0 : 1; in Cumsum() local
57 const float *layer_input = input + i * axis_dim * inner_dim + inner_dim * input_offset; in Cumsum()
115 int input_offset = exclusive ? 0 : 1; in CumsumReverse() local
117 … const float *layer_input = input + (i + 1) * axis_dim * inner_dim - 1 - input_offset * inner_dim; in CumsumReverse()
176 int input_offset = exclusive ? 0 : 1; in CumsumInt() local
178 const int *layer_input = input + i * axis_dim * inner_dim + inner_dim * input_offset; in CumsumInt()
221 int input_offset = exclusive ? 0 : 1; in CumsumReverseInt() local
223 const int *layer_input = input + (i + 1) * axis_dim * inner_dim - 1 - input_offset * inner_dim; in CumsumReverseInt()
Darg_min_max_fp32.c53 int input_offset = output_offset * axis_count; in ArgMaxTopK1() local
58 float value_tmp = input[input_offset + k * after_axis_count + j]; in ArgMaxTopK1()
83 int input_offset = output_offset * axis_count; in ArgMinTopK1() local
88 float value_tmp = input[input_offset + k * after_axis_count + j]; in ArgMinTopK1()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dreduce_grad.c34 size_t input_offset = GetInputOffset(input_num_dims, input_dims, input_iter); in ReduceMeanByAxes() local
36 output_data[output_offset] += input_data[input_offset]; in ReduceMeanByAxes()
84 size_t input_offset = GetInputOffset(num_dims, input_dims, input_iter); in ReduceSumByAxes() local
86 output[output_offset] += input[input_offset]; in ReduceSumByAxes()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dgather_d_cpu_kernel.cc40 size_t input_offset = 0; in CopyTask() local
50 input_offset += (*pos)[j] * input_cargo_size[j]; in CopyTask()
54 input[input_offset] = output[out_offset]; in CopyTask()
56 output[out_offset] = input[input_offset]; in CopyTask()
Dgather_d_grad_cpu_kernel.cc41 size_t input_offset = 0; in GatherDGradCopyTask() local
51 input_offset += (*pos)[j] * input_cargo_size[j]; in GatherDGradCopyTask()
54 input[input_offset] += output[out_offset]; in GatherDGradCopyTask()
Dshift_cpu_kernel.cc121 size_t input_offset = offset + copy_src_begin_ * inner_size; in Launch() local
125 auto ret = memcpy_s(output + output_offset, dst_max_size, input + input_offset, copy_size); in Launch()
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/
Dradix_sort.hpp339 uint_ input_offset = static_cast<uint_>(first.get_index()); in radix_sort_impl() local
350 count_kernel.set_arg(1, input_offset); in radix_sort_impl()
402 scatter_kernel.set_arg(1, input_offset); in radix_sort_impl()
423 std::swap(input_offset, output_offset); in radix_sort_impl()
/third_party/boost/boost/compute/algorithm/detail/
Dradix_sort.hpp339 uint_ input_offset = static_cast<uint_>(first.get_index()); in radix_sort_impl() local
350 count_kernel.set_arg(1, input_offset); in radix_sort_impl()
402 scatter_kernel.set_arg(1, input_offset); in radix_sort_impl()
423 std::swap(input_offset, output_offset); in radix_sort_impl()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_prim_assembler.c122 unsigned input_offset = asmblr->input_verts->stride * idx; in copy_verts() local
123 memcpy(output + output_offset, input + input_offset, in copy_verts()
138 unsigned input_offset = asmblr->input_verts->stride * idx; in inject_primid() local
139 struct vertex_header *v = (struct vertex_header*)(input + input_offset); in inject_primid()
Ddraw_vs_variant.c330 fetch.element[i].input_offset = key->element[i].in.offset; in draw_vs_create_variant_generic()
346 emit.element[i].input_offset = key->element[i].out.vs_output * 4 * sizeof(float); in draw_vs_create_variant_generic()
350 assert(emit.element[i].input_offset <= fetch.output_stride); in draw_vs_create_variant_generic()
356 emit.element[i].input_offset = 0; in draw_vs_create_variant_generic()
Ddraw_pt_fetch.c94 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare()
105 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare()
116 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare()
Ddraw_pt_emit.c109 hw_key.element[i].input_offset = src_offset; in draw_pt_emit_prepare()
Ddraw_pipe_vbuf.c236 hw_key.element[i].input_offset = src_offset; in vbuf_start_prim()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Darg_min_max_fp16.c52 size_t input_offset = output_offset * axis_count; in ArgMaxTopK1Fp16() local
57 float16_t value_tmp = input[input_offset + k * after_axis_count + j]; in ArgMaxTopK1Fp16()
82 size_t input_offset = output_offset * axis_count; in ArgMinTopK1Fp16() local
87 float16_t value_tmp = input[input_offset + k * after_axis_count + j]; in ArgMinTopK1Fp16()
/third_party/ffmpeg/libavfilter/
Daf_afir.h41 int input_offset; member
Daf_afir.c92 … s->fdsp->vector_fmul_scalar(src + seg->input_offset, in, s->dry_gain, FFALIGN(nb_samples, 4)); in fir_quantum()
96 src[seg->input_offset + n] = in[n] * s->dry_gain; in fir_quantum()
394 seg->input_offset = offset; in init_segment()
602 av_log(ctx, AV_LOG_DEBUG, "input_offset: %d\n", seg->input_offset); in convert_coeffs()
/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h73 unsigned input_offset:24; member
Dtranslate_generic.c56 unsigned input_offset; member
741 tg->attrib[i].input_offset); in generic_set_buffer()
819 tg->attrib[i].input_offset = key->element[i].input_offset; in translate_generic_create()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Darg_min_max_int8.c43 int input_offset = output_offset * axis_count; in DoArgMinMaxQuant() local
51 … float value_tmp = input[input_offset + k * after_axis_count + j] * in_quant_arg->scale_ + bias; in DoArgMinMaxQuant()
/third_party/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c150 key.element[0].input_offset = 0; in main()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_print.c362 instr->prefetch.input_offset); in print_instr()

12