Home
last modified time | relevance | path

Searched refs:rounding_offset (Results 1 – 12 of 12) sorted by relevance

/external/gemmlowp/meta/
Dquantized_mul_kernels_arm_64.h95 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
171 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
252 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
336 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
433 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
533 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
638 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
745 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
834 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
929 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
[all …]
Dquantized_mul_kernels_arm_32.h95 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
173 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
257 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
344 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
445 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
550 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
661 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
775 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
866 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
963 [rounding_offset] "r"(params.kernel.rounding_offset) in Multiply()
[all …]
Dquantized_mul_kernels.h30 int rounding_offset; member
67 std::cout << " kernel.rounding_offset: " << params.kernel.rounding_offset in Debug()
Dlegacy_single_thread_gemm.h66 params.fused_kernel.kernel.rounding_offset = (1 << (shift - 1)); in gemm_q8_strided()
110 params.fused_kernel.kernel.rounding_offset = (1 << (shift - 1)); in gemv_q8()
Dtest_gemm_correctness.cc266 params->fused_kernel.kernel.rounding_offset = (1 << (SHIFT - 1)); in setup_row_row()
283 params->fused_kernel.kernel.rounding_offset = (1 << (SHIFT - 1)); in setup_row_col()
/external/pdfium/core/fxge/dib/
Dcfx_cmyk_to_srgb.cpp1737 const float rounding_offset = 0.49999997f; in AdobeCMYK_to_sRGB() local
1738 uint8_t c1 = static_cast<int>(c * 255.f + rounding_offset); in AdobeCMYK_to_sRGB()
1739 uint8_t m1 = static_cast<int>(m * 255.f + rounding_offset); in AdobeCMYK_to_sRGB()
1740 uint8_t y1 = static_cast<int>(y * 255.f + rounding_offset); in AdobeCMYK_to_sRGB()
1741 uint8_t k1 = static_cast<int>(k * 255.f + rounding_offset); in AdobeCMYK_to_sRGB()
/external/gemmlowp/meta/generators/
Dqnt_Nx8_neon.py87 multiplicative_offset, rounding_offset, shift): argument
96 emitter.EmitVAdd('i32', lane[0], lane[0], rounding_offset)
109 rounding_offset, shift, alignment): argument
130 multiplicative_offset, rounding_offset, shift)
247 multiplicative_offset, rounding_offset, argument
264 multiplicative_offset, rounding_offset, shift)
300 rounding_offset = DuplicateRegister(emitter, registers,
319 rounding_offset, shift, 64 if aligned else None)
327 multiplicative_offset, rounding_offset,
Dquantized_mul_kernels_common.py64 self.rounding_offset = _DuplicateGeneralRegister(
95 self.rounding_offset)
/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.c413 int rounding_offset = (1 << (params->ar_coeff_shift - 1)); in generate_luma_grain_block() local
433 ((wsum + rounding_offset) >> params->ar_coeff_shift), in generate_luma_grain_block()
452 int rounding_offset = (1 << (params->ar_coeff_shift - 1)); in generate_chroma_grain_blocks() local
525 ((wsum_cb + rounding_offset) >> params->ar_coeff_shift), in generate_chroma_grain_blocks()
530 ((wsum_cr + rounding_offset) >> params->ar_coeff_shift), in generate_chroma_grain_blocks()
589 int rounding_offset = (1 << (params->scaling_shift - 1)); in add_noise_to_block() local
650 rounding_offset) >> in add_noise_to_block()
666 rounding_offset) >> in add_noise_to_block()
680 rounding_offset) >> in add_noise_to_block()
704 int rounding_offset = (1 << (params->scaling_shift - 1)); in add_noise_to_block_hbd() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddepthwiseconv_uint8.h83 const int rounding_offset = right_shift > 0 ? 1 << (right_shift - 1) : 0; variable
86 rounding_offset) >>
/external/gemmlowp/doc/
Dless-than-8-bit.md219 dst = (src * maxval + rounding_offset) / 255;
222 rounding_offset can be set to
224 rounding_offset = 127
227 to rounding_offset = 0).
257 dst = (src * maxval + rounding_offset) / 255;
259 but now the rounding_offset is a random value in [0 .. 254].
/external/libgav1/libgav1/src/tile/
Dprediction.cc965 const int rounding_offset = in ScaleMotionVector() local
981 rounding_offset; in ScaleMotionVector()
984 *start_x = LeftShift(orig_x, 6) + rounding_offset; in ScaleMotionVector()
998 rounding_offset; in ScaleMotionVector()
1001 *start_y = LeftShift(orig_y, 6) + rounding_offset; in ScaleMotionVector()