Home
last modified time | relevance | path

Searched refs:offset_x (Results 1 – 25 of 46) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dquantized_mul_op.cc113 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 …]
Deigen_attention.h120 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()
Dattention_ops.cc115 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/
Dtransupp.c344 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/
Dimage_projector.h34 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,
Dimage_projector.cpp31 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/
Dihevce_dep_mngr.c1058 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()
Dihevce_dep_mngr_interface.h180 WORD32 offset_x,
186 void *pv_dep_mngr_state, WORD32 offset_x, WORD32 offset_y, WORD32 e_map_value);
/external/libxcam/cl_kernel/
Dkernel_tonemapping.cl53 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…
Dkernel_gauss_lap_pyramid.cl372 __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/
DR600Intrinsics.td26 llvm_i32_ty, // offset_x
39 llvm_i32_ty, // offset_x
/external/libmpeg2/decoder/
Dimpeg2d_pnb_pic.c566 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/
Dihevce_me_neon.c269 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/
Dresnet_preprocessing.py70 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/
Dvideo_frame_buffer.cc221 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/
Dvideo_processing_unittest.cc38 int offset_x,
335 int offset_x, argument
344 ConvertToI420(kI420, source_data, offset_x, offset_y, source_width,
/external/libxcam/tests/
Dtest-video-stabilization.cpp189 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/
Dimage-inl.h278 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/
Dxcf.c154 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/
Dfpdfview.cpp795 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/
Dcl_video_stabilizer.cpp201 double offset_x, in set_camera_intrinsics() argument
211 offset_x, in set_camera_intrinsics()
Dcl_video_stabilizer.h78 double offset_x,
/external/pdfium/third_party/libpng16/
Dpngget.c841 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/
Dr600_asm.h85 int offset_x; member
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Ddisasm-a2xx.c431 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()

12