/external/webrtc/api/video/ |
D | video_frame.cc | 28 int right = std::max(offset_x + width, other.offset_x + other.width); in Union() 30 offset_x = std::min(offset_x, other.offset_x); in Union() 32 width = right - offset_x; in Union() 44 int right = std::min(offset_x + width, other.offset_x + other.width); in Intersect() 46 offset_x = std::max(offset_x, other.offset_x); in Intersect() 48 width = right - offset_x; in Intersect() 56 width = height = offset_x = offset_y = 0; in MakeEmptyUpdate() 85 if (offset_x + width < crop_x || offset_x > crop_x + crop_width || in ScaleWithFrame() 90 int x = offset_x - crop_x; in ScaleWithFrame() 275 RTC_DCHECK_GE(update_rect_->offset_x, 0); in VideoFrame() [all …]
|
D | video_frame.h | 33 int offset_x; member 52 return other.offset_x == offset_x && other.offset_y == offset_y && 216 RTC_DCHECK_GE(update_rect.offset_x, 0); in set_update_rect() 218 RTC_DCHECK_LE(update_rect.offset_x + update_rect.width, width()); in set_update_rect()
|
D | i010_buffer.cc | 212 int offset_x, in CropAndScaleFrom() argument 218 RTC_CHECK_LE(crop_width + offset_x, src.width()); in CropAndScaleFrom() 220 RTC_CHECK_GE(offset_x, 0); in CropAndScaleFrom() 224 const int uv_offset_x = offset_x / 2; in CropAndScaleFrom() 226 offset_x = uv_offset_x * 2; in CropAndScaleFrom() 229 const uint16_t* y_plane = src.DataY() + src.StrideY() * offset_y + offset_x; in CropAndScaleFrom()
|
D | i420_buffer.cc | 185 int offset_x, in CropAndScaleFrom() argument 191 RTC_CHECK_LE(crop_width + offset_x, src.width()); in CropAndScaleFrom() 193 RTC_CHECK_GE(offset_x, 0); in CropAndScaleFrom() 197 const int uv_offset_x = offset_x / 2; in CropAndScaleFrom() 199 offset_x = uv_offset_x * 2; in CropAndScaleFrom() 202 const uint8_t* y_plane = src.DataY() + src.StrideY() * offset_y + offset_x; in CropAndScaleFrom()
|
/external/angle/src/libANGLE/ |
D | gen_overlay_fonts.py | 207 offset_x = left 211 if offset_x + width > glyph_width: 212 offset_x = glyph_width - width 213 if offset_x < 0: 214 width += offset_x 215 offset_x = 0 217 base_x += offset_x 220 assert (offset_x + width <= glyph_width)
|
D | gen_overlay_widgets.py | 247 offset_x, offset_x_is_left = get_offset_x(widget) 284 offset_x=offset_x,
|
/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 | 144 const Index offset_x = (Index)x; in eval() local 149 DSizes<Index, 3> slice_offset(0, offset_x, offset_y); in eval() 153 if (offset_x < 0) { in eval() 155 glimpse_width = (std::max<Index>)(0, width_ + offset_x); in eval() 159 } else if (offset_x + width_ >= input_width) { in eval() 160 glimpse_width = (std::max<Index>)(0, input_width - offset_x); in eval()
|
/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/tensorflow/tensorflow/lite/micro/examples/person_detection/himax_driver/ |
D | HM01B0_optimized.c | 54 const int offset_x = (HM01B0_PIXEL_X_NUM - (w * (1 << kStrideShift))) / 2; in hm01b0_blocking_read_oneframe_scaled() local 78 const uint32_t output_x = (rowidx++ - offset_x) >> kStrideShift; in hm01b0_blocking_read_oneframe_scaled()
|
/external/webrtc/modules/desktop_capture/linux/ |
D | window_list_utils.cc | 171 int offset_x; in GetWindowRect() local 190 -rect->top(), &offset_x, &offset_y, &child) || in GetWindowRect() 195 rect->Translate(offset_x, offset_y); in GetWindowRect()
|
/external/libjpeg-turbo/ |
D | transupp.c | 935 int ci, i, j, offset_x, offset_y; in do_transpose() local 961 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_transpose() 962 dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x]; in do_transpose() 964 src_buffer[offset_x][dst_blk_y + offset_y + y_crop_blocks]; in do_transpose() 989 int ci, i, j, offset_x, offset_y; in do_rot_90() local 1028 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_rot_90() 1029 dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x]; in do_rot_90() 1032 src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1] in do_rot_90() 1043 src_ptr = src_buffer[offset_x] in do_rot_90() 1070 int ci, i, j, offset_x, offset_y; in do_rot_270() local [all …]
|
/external/mesa3d/src/gallium/winsys/sw/dri/ |
D | dri_sw_winsys.c | 253 unsigned offset_x = 0; in dri_sw_displaytarget_display() local 262 offset_x = box->x * blsize; in dri_sw_displaytarget_display() 266 data += offset_x; in dri_sw_displaytarget_display() 277 … dri_sw_ws->lf->put_image_shm(dri_drawable, dri_sw_dt->shmid, dri_sw_dt->data, offset, offset_x, in dri_sw_displaytarget_display()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600Intrinsics.td | 26 llvm_i32_ty, // offset_x 39 llvm_i32_ty, // offset_x
|
/external/libgav1/libgav1/src/dsp/ |
D | film_grain.cc | 256 const int offset_x = rand >> 4; in ConstructNoiseStripes_C() local 259 (subsampling_x != 0) ? 6 + offset_x : 9 + offset_x * 2; in ConstructNoiseStripes_C() 320 const int offset_x = rand >> 4; in ConstructNoiseStripesWithOverlap_C() local 323 (subsampling_x != 0) ? 6 + offset_x : 9 + offset_x * 2; in ConstructNoiseStripesWithOverlap_C() 340 const int offset_x = rand >> 4; in ConstructNoiseStripesWithOverlap_C() local 343 (subsampling_x != 0) ? 6 + offset_x : 9 + offset_x * 2; in ConstructNoiseStripesWithOverlap_C()
|
/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/tensorflow/tensorflow/core/kernels/image/ |
D | attention_ops.cc | 117 float offset_x = offsets.tensor<float, 2>()(i, 1); in Compute() local 120 offset_vec.push_back(Eigen::IndexPair<float>(offset_x, offset_y)); in Compute()
|
/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/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 2226 struct qreg offset_x = in ntq_get_sample_offset() local 2233 offset_x = vir_SEL(c, V3D_QPU_COND_IFA, in ntq_get_sample_offset() 2234 vir_FSUB(c, offset_x, vir_uniform_f(c, 1.25f)), in ntq_get_sample_offset() 2235 offset_x); in ntq_get_sample_offset() 2241 *sx = offset_x; in ntq_get_sample_offset() 2292 struct qreg offset_x, offset_y; in ntq_get_barycentric_centroid() local 2293 ntq_get_sample_offset(c, sample_idx, &offset_x, &offset_y); in ntq_get_barycentric_centroid() 2309 offset_x = vir_SEL(c, V3D_QPU_COND_IFNA, zero, offset_x); in ntq_get_barycentric_centroid() 2312 *out_x = offset_x; in ntq_get_barycentric_centroid() 2320 struct qreg offset_x, in ntq_emit_load_interpolated_input() argument [all …]
|
/external/mesa3d/src/gallium/include/frontend/ |
D | drisw_api.h | 23 int shmid, char *shmaddr, unsigned offset, unsigned offset_x,
|
/external/libgav1/libgav1/src/ |
D | prediction_mask.cc | 197 const uint8_t offset_x = in GenerateWedgeMask() local 219 uint8_t* master_mask_row = &master_mask[direction][offset_y][offset_x]; in GenerateWedgeMask()
|
/external/XNNPACK/src/operators/ |
D | deconvolution-nhwc.c | 195 for (size_t offset_x = 0; offset_x < stride_width; offset_x++) { in create_deconvolution2d_nhwc() local 197 const size_t subkernel_width = divide_round_up(kernel_width - offset_x, stride_width); in create_deconvolution2d_nhwc() 640 for (size_t offset_x = 0; offset_x < stride_width; offset_x++) { in setup_subconv2d_path() local 641 const size_t output_x_start = subtract_modulo(offset_x, modulo_padding_left, stride_width); in setup_subconv2d_path()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_view.cpp | 385 int offset_x = 0; in GetMaskDimensionsAndOffsets() local 392 offset_x = start_x_bm + start_x; in GetMaskDimensionsAndOffsets() 396 offset_x = start_y_bm + start_x; in GetMaskDimensionsAndOffsets() 400 offset_x = start_x + size_x - size_x_bm - start_x_bm; in GetMaskDimensionsAndOffsets() 404 offset_x = start_x + size_x - size_x_bm - start_y_bm; in GetMaskDimensionsAndOffsets() 408 return FX_RECT(offset_x, offset_y, offset_x + size_x_bm, in GetMaskDimensionsAndOffsets()
|
/external/mesa3d/src/gallium/frontends/dri/ |
D | drisw.c | 82 unsigned offset, unsigned offset_x, int x, int y, in put_image_shm() argument 96 shmid, shmaddr, offset + offset_x, dPriv->loaderPrivate); in put_image_shm() 191 unsigned offset_x, in drisw_put_image_shm() argument 197 put_image_shm(dPriv, shmid, shmaddr, offset, offset_x, x, y, width, height, stride); in drisw_put_image_shm()
|