/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_mul_op.cc | 113 void VectorMultiply(OpKernelContext* context, const T* x_data, int32 offset_x, in VectorMultiply() argument 117 output[i] = (static_cast<int32>(x_data[i]) - offset_x) * in VectorMultiply() 125 const quint8* x_data, int32 offset_x, in VectorMultiply() argument 128 const uint8x8_t offset_x_8x8 = vmov_n_u8(offset_x); in VectorMultiply() 182 output[i] = (static_cast<int32>(x_data[i]) - offset_x) * in VectorMultiply() 310 const int32 offset_x = FloatToQuantizedUnclamped<T>(0.0f, min_x, max_x); in Compute() local 320 x_data[0], offset_x, z_data); in Compute() 322 ScalarMultiply<T, Toutput>(context, x_data, offset_x, x.NumElements(), in Compute() 325 VectorMultiply<T, Toutput>(context, x_data, offset_x, y_data, offset_y, in Compute() 338 vector_offset = offset_x; in Compute() [all …]
|
D | eigen_attention.h | 120 const Index offset_x = (Index)x; in eval() local 125 DSizes<Index, 3> slice_offset(0, offset_x, offset_y); in eval() 129 if (offset_x < 0) { in eval() 131 glimpse_width = (std::max<Index>)(0, width_ + offset_x); in eval() 135 } else if (offset_x + width_ >= input_width) { in eval() 136 glimpse_width = (std::max<Index>)(0, input_width - offset_x); in eval()
|
D | attention_ops.cc | 115 float offset_x = offsets.tensor<float, 2>()(i, 1); in Compute() local 118 offset_vec.push_back(Eigen::IndexPair<float>(offset_x, offset_y)); in Compute()
|
/external/libjpeg-turbo/ |
D | transupp.c | 344 int ci, i, j, offset_x, offset_y; in do_transpose() local 370 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_transpose() 371 dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x]; in do_transpose() 373 src_buffer[offset_x][dst_blk_y + offset_y + y_crop_blocks]; in do_transpose() 398 int ci, i, j, offset_x, offset_y; in do_rot_90() local 437 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_rot_90() 438 dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x]; in do_rot_90() 441 src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1] in do_rot_90() 452 src_ptr = src_buffer[offset_x] in do_rot_90() 479 int ci, i, j, offset_x, offset_y; in do_rot_270() local [all …]
|
/external/libxcam/xcore/ |
D | image_projector.h | 34 double offset_x; //Principal point x coordinate on the image, in pixels member 44 , offset_x (0) in CalibrationParams() 95 double offset_x, 105 double offset_x,
|
D | image_projector.cpp | 31 params.offset_x, in ImageProjector() 39 double offset_x, in ImageProjector() argument 46 offset_x, in ImageProjector() 216 params.offset_x, in set_sensor_calibration() 227 double offset_x, in set_camera_intrinsics() argument 233 _intrinsics = Mat3d (Vec3d (focal_x, skew, offset_x), in set_camera_intrinsics()
|
/external/libhevc/encoder/ |
D | ihevce_dep_mngr.c | 1058 WORD32 offset_x, in ihevce_dmgr_map_chk_sync() argument 1082 ASSERT(offset_x >= 0); in ihevce_dmgr_map_chk_sync() 1084 ASSERT(offset_x < i4_tile_wd); in ihevce_dmgr_map_chk_sync() 1105 i4_avail_left = MIN(i4_sr_ctb_x, offset_x); in ihevce_dmgr_map_chk_sync() 1114 i4_avail_right = MIN(i4_sr_ctb_x, (i4_tile_wd - offset_x - 1)); in ihevce_dmgr_map_chk_sync() 1130 pi1_ctb += ((offset_y - i4_avail_top) * i4_stride + (offset_x - i4_avail_left)); in ihevce_dmgr_map_chk_sync() 1172 void *pv_dep_mngr_state, WORD32 offset_x, WORD32 offset_y, WORD32 i4_map_value) in ihevce_dmgr_map_set_sync() argument 1181 ASSERT(offset_x >= (-ps_dep_mngr_state->ai4_tile_xtra_ctb[1])); in ihevce_dmgr_map_set_sync() 1185 offset_x < in ihevce_dmgr_map_set_sync() 1199 *(pi1_tile_start + offset_y * map_stride + offset_x) = (WORD8)i4_map_value; in ihevce_dmgr_map_set_sync()
|
D | ihevce_dep_mngr_interface.h | 180 WORD32 offset_x, 186 void *pv_dep_mngr_state, WORD32 offset_x, WORD32 offset_y, WORD32 e_map_value);
|
/external/libxcam/cl_kernel/ |
D | kernel_tonemapping.cl | 53 int offset_x = target_index % SHARED_PIXEL_X_SIZE; 56 … float4 data_Gr = read_imagef (input, sampler, (int2)(start_x + offset_x, start_y + offset_y)); 57 …float4 data_R = read_imagef (input, sampler, (int2)(start_x + offset_x, start_y + offset_y + image… 58 …float4 data_B = read_imagef (input, sampler, (int2)(start_x + offset_x, start_y + offset_y + image… 59 …float4 data_Gb = read_imagef (input, sampler, (int2)(start_x + offset_x, start_y + offset_y + imag…
|
D | kernel_gauss_lap_pyramid.cl | 372 __global short *pos_buf, __global float *sum_buf, int offset_x, int valid_width, 390 int x = l_x + offset_x; 424 pos = clamp (pos, offset_x, max_pos); 426 // printf ("s:%f, pos:%d, mid:%f, offset_x:%d\n", sum.s0, pos.s0, mid.s0, offset_x);
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600Intrinsics.td | 26 llvm_i32_ty, // offset_x 39 llvm_i32_ty, // offset_x
|
/external/libmpeg2/decoder/ |
D | impeg2d_pnb_pic.c | 566 UWORD32 offset_x, offset_y, stride; in impeg2d_dec_p_b_slice() local 580 offset_x = u4_frm_offset + (ps_dec->u2_mb_x << 4); in impeg2d_dec_p_b_slice() 584 ps_dec->s_dest_buf.pu1_y = ps_cur_frm_buf->pu1_y + offset_y * stride + offset_x; in impeg2d_dec_p_b_slice() 589 + (offset_x >> 1); in impeg2d_dec_p_b_slice() 592 + (offset_x >> 1); in impeg2d_dec_p_b_slice()
|
/external/libhevc/encoder/arm/ |
D | ihevce_me_neon.c | 269 WORD32 offset_x[NUM_CANDIDATES_IN_GRID] = { 0, -grd_sz_x, 0, grd_sz_x, 0, in compute_part_sads_for_MxM_blk_neon() local 308 pu1_ref_ptr_center + offset_x[j] + ref_buf_stride * offset_y[j]; in compute_part_sads_for_MxM_blk_neon() 309 cand0->mv.i2_mv_x = (S16)(mv_x) + offset_x[j]; in compute_part_sads_for_MxM_blk_neon() 353 WORD32 offset_x[NUM_CANDIDATES_IN_GRID] = { 0, -grd_sz_x, 0, grd_sz_x, 0, in compute_4x4_sads_for_16x16_blk_neon() local 389 pu1_ref_ptr_center + offset_x[j] + ref_buf_stride * offset_y[j]; in compute_4x4_sads_for_16x16_blk_neon() 390 cand0->mv.i2_mv_x = (S16)(mv_x) + offset_x[j]; in compute_4x4_sads_for_16x16_blk_neon()
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
D | resnet_preprocessing.py | 70 offset_y, offset_x, _ = tf.unstack(bbox_begin) 72 crop_window = tf.stack([offset_y, offset_x, target_height, target_width])
|
/external/webrtc/webrtc/common_video/ |
D | video_frame_buffer.cc | 221 const int offset_x = uv_offset_x * 2; in ShallowCenterCrop() local 225 buffer->stride(kYPlane) * offset_y + offset_x; in ShallowCenterCrop()
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | video_processing_unittest.cc | 38 int offset_x, 335 int offset_x, argument 344 ConvertToI420(kI420, source_data, offset_x, offset_y, source_width,
|
/external/libxcam/tests/ |
D | test-video-stabilization.cpp | 189 double offset_x = 940.413257; in main() local 192 video_stab->set_camera_intrinsics (focal_x, focal_y, offset_x, offset_y, skew); in main()
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | image-inl.h | 278 const float offset_x = 0.5f * (original.GetWidth() - width_) / width_; in DownsampleInterpolateNearest() local 287 float orig_x = offset_x; in DownsampleInterpolateNearest() 326 const float offset_x = 0; in DownsampleInterpolateLinear() local 327 const int offset_x_fp = RealToFixed1616(offset_x); in DownsampleInterpolateLinear()
|
/external/ImageMagick/coders/ |
D | xcf.c | 154 offset_x, member 869 outLayer->image->page.x=outLayer->offset_x; in InitXCFImage() 946 outLayer->offset_x = ReadBlobMSBSignedLong(image); in ReadOneLayer() 1074 GIMP_DRAWABLE (layer_mask)->offset_x = GIMP_DRAWABLE (layer)->offset_x; in ReadOneLayer() 1496 layer_info[j].offset_x, layer_info[j].offset_y ); in ReadXCFImage()
|
/external/pdfium/fpdfsdk/ |
D | fpdfview.cpp | 795 int offset_x = 0; in GetMaskDimensionsAndOffsets() local 802 offset_x = start_x_bm + start_x; in GetMaskDimensionsAndOffsets() 806 offset_x = start_y_bm + start_x; in GetMaskDimensionsAndOffsets() 810 offset_x = start_x + size_x - size_x_bm - start_x_bm; in GetMaskDimensionsAndOffsets() 814 offset_x = start_x + size_x - size_x_bm - start_y_bm; in GetMaskDimensionsAndOffsets() 818 return FX_RECT(offset_x, offset_y, offset_x + size_x_bm, in GetMaskDimensionsAndOffsets()
|
/external/libxcam/modules/ocl/ |
D | cl_video_stabilizer.cpp | 201 double offset_x, in set_camera_intrinsics() argument 211 offset_x, in set_camera_intrinsics()
|
D | cl_video_stabilizer.h | 78 double offset_x,
|
/external/pdfium/third_party/libpng16/ |
D | pngget.c | 841 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument 847 offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs() 849 *offset_x = info_ptr->x_offset; in png_get_oFFs()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.h | 85 int offset_x; member
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | disasm-a2xx.c | 431 if (tex->offset_x || tex->offset_y || tex->offset_z) in print_fetch_tex() 432 printf(" OFFSET(%u,%u,%u)", tex->offset_x, tex->offset_y, tex->offset_z); in print_fetch_tex()
|