Home
last modified time | relevance | path

Searched refs:offset_y (Results 1 – 25 of 62) sorted by relevance

123

/external/libjpeg-turbo/
Dtransupp.c96 int offset_y, k; in dequant_comp() local
108 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in dequant_comp()
109 block = buffer[offset_y]; in dequant_comp()
126 int offset_y, k; in requant_comp() local
139 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in requant_comp()
140 block = buffer[offset_y]; in requant_comp()
241 int ci, offset_y; in do_drop() local
259 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_drop()
260 jcopy_block_row(src_buffer[offset_y], in do_drop()
261 dst_buffer[offset_y] + x_drop_blocks, comp_width); in do_drop()
[all …]
/external/webrtc/api/video/
Dvideo_frame.cc29 int bottom = std::max(offset_y + height, other.offset_y + other.height); in Union()
31 offset_y = std::min(offset_y, other.offset_y); in Union()
33 height = bottom - offset_y; in Union()
45 int bottom = std::min(offset_y + height, other.offset_y + other.height); in Intersect()
47 offset_y = std::max(offset_y, other.offset_y); in Intersect()
49 height = bottom - offset_y; in Intersect()
56 width = height = offset_x = offset_y = 0; in MakeEmptyUpdate()
86 offset_y + height < crop_y || offset_y > crop_y + crop_width) { in ScaleWithFrame()
96 int y = offset_y - crop_y; in ScaleWithFrame()
276 RTC_DCHECK_GE(update_rect_->offset_y, 0); in VideoFrame()
[all …]
Dvideo_frame.h34 int offset_y; member
52 return other.offset_x == offset_x && other.offset_y == offset_y &&
217 RTC_DCHECK_GE(update_rect.offset_y, 0); in set_update_rect()
219 RTC_DCHECK_LE(update_rect.offset_y + update_rect.height, height()); in set_update_rect()
Di010_buffer.cc213 int offset_y, in CropAndScaleFrom() argument
219 RTC_CHECK_LE(crop_height + offset_y, src.height()); in CropAndScaleFrom()
221 RTC_CHECK_GE(offset_y, 0); in CropAndScaleFrom()
225 const int uv_offset_y = offset_y / 2; in CropAndScaleFrom()
227 offset_y = uv_offset_y * 2; in CropAndScaleFrom()
229 const uint16_t* y_plane = src.DataY() + src.StrideY() * offset_y + offset_x; in CropAndScaleFrom()
Di420_buffer.cc186 int offset_y, in CropAndScaleFrom() argument
192 RTC_CHECK_LE(crop_height + offset_y, src.height()); in CropAndScaleFrom()
194 RTC_CHECK_GE(offset_y, 0); in CropAndScaleFrom()
198 const int uv_offset_y = offset_y / 2; in CropAndScaleFrom()
200 offset_y = uv_offset_y * 2; in CropAndScaleFrom()
202 const uint8_t* y_plane = src.DataY() + src.StrideY() * offset_y + offset_x; in CropAndScaleFrom()
Di010_buffer.h62 int offset_y,
/external/tensorflow/tensorflow/core/kernels/
Dquantized_mul_op.cc114 const T* y_data, int32 offset_y, int64 num_elements, in VectorMultiply() argument
118 (static_cast<int32>(y_data[i]) - offset_y); in VectorMultiply()
126 const quint8* y_data, int32 offset_y, in VectorMultiply() argument
129 const uint8x8_t offset_y_8x8 = vmov_n_u8(offset_y); in VectorMultiply()
183 (static_cast<int32>(y_data[i]) - offset_y); in VectorMultiply()
311 const int32 offset_y = FloatToQuantizedUnclamped<T>(0.0f, min_y, max_y); in Compute() local
319 ScalarMultiply<T, Toutput>(context, y_data, offset_y, y.NumElements(), in Compute()
323 y_data[0], offset_y, z_data); in Compute()
325 VectorMultiply<T, Toutput>(context, x_data, offset_x, y_data, offset_y, in Compute()
341 tensor_offset = offset_y; in Compute()
[all …]
Deigen_attention.h145 const Index offset_y = (Index)y; in eval() local
149 DSizes<Index, 3> slice_offset(0, offset_x, offset_y); in eval()
164 if (offset_y < 0) { in eval()
166 glimpse_height = (std::max<Index>)(0, height_ + offset_y); in eval()
170 } else if (offset_y + height_ >= input_height) { in eval()
171 glimpse_height = (std::max<Index>)(0, input_height - offset_y); in eval()
/external/libhevc/encoder/
Dihevce_dep_mngr.c1059 WORD32 offset_y, in ihevce_dmgr_map_chk_sync() argument
1083 ASSERT(offset_y >= 0); in ihevce_dmgr_map_chk_sync()
1085 ASSERT(offset_y < i4_tile_ht); in ihevce_dmgr_map_chk_sync()
1096 i4_avail_top = MIN(i4_sr_ctb_y, offset_y); in ihevce_dmgr_map_chk_sync()
1123 i4_avail_bot = MIN(i4_sr_ctb_y, (i4_tile_ht - offset_y - 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
1182 ASSERT(offset_y >= (-ps_dep_mngr_state->ai4_tile_xtra_ctb[0])); in ihevce_dmgr_map_set_sync()
1189 offset_y < 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.h181 WORD32 offset_y,
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/
DHM01B0_optimized.c55 const int offset_y = (HM01B0_PIXEL_Y_NUM - (h * (1 << kStrideShift))) / 2; in hm01b0_blocking_read_oneframe_scaled() local
67 const uint32_t output_y = (hsync_count - offset_y) >> kStrideShift; in hm01b0_blocking_read_oneframe_scaled()
/external/webrtc/modules/desktop_capture/linux/
Dwindow_list_utils.cc172 int offset_y; in GetWindowRect() local
190 -rect->top(), &offset_x, &offset_y, &child) || in GetWindowRect()
195 rect->Translate(offset_x, offset_y); in GetWindowRect()
/external/angle/src/libANGLE/
Dgen_overlay_fonts.py208 offset_y = glyph_height - (top - glyph_descender)
218 base_y += offset_y
221 assert (offset_y + rows <= glyph_height)
Dgen_overlay_widgets.py248 offset_y, offset_y_is_top = get_offset_y(widget)
285 offset_y=offset_y,
/external/llvm/lib/Target/AMDGPU/
DR600Intrinsics.td27 llvm_i32_ty, // offset_y,
40 llvm_i32_ty, // offset_y,
/external/libgav1/libgav1/src/dsp/
Dfilm_grain.cc257 const int offset_y = rand & 15; in ConstructNoiseStripes_C() local
261 (subsampling_y != 0) ? 6 + offset_y : 9 + offset_y * 2; in ConstructNoiseStripes_C()
321 const int offset_y = rand & 15; in ConstructNoiseStripesWithOverlap_C() local
325 (subsampling_y != 0) ? 6 + offset_y : 9 + offset_y * 2; in ConstructNoiseStripesWithOverlap_C()
341 const int offset_y = rand & 15; in ConstructNoiseStripesWithOverlap_C() local
345 (subsampling_y != 0) ? 6 + offset_y : 9 + offset_y * 2; in ConstructNoiseStripesWithOverlap_C()
/external/libmpeg2/decoder/
Dimpeg2d_pnb_pic.c566 UWORD32 offset_x, offset_y, stride; in impeg2d_dec_p_b_slice() local
582 offset_y = (ps_dec->u2_mb_y << 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()
588 ps_dec->s_dest_buf.pu1_u = ps_cur_frm_buf->pu1_u + (offset_y >> 1) * stride in impeg2d_dec_p_b_slice()
591 ps_dec->s_dest_buf.pu1_v = ps_cur_frm_buf->pu1_v + (offset_y >> 1) * stride in impeg2d_dec_p_b_slice()
/external/tensorflow/tensorflow/core/kernels/image/
Dattention_ops.cc116 float offset_y = offsets.tensor<float, 2>()(i, 0); in Compute() local
120 offset_vec.push_back(Eigen::IndexPair<float>(offset_x, offset_y)); in Compute()
/external/libhevc/encoder/arm/
Dihevce_me_neon.c271 WORD32 offset_y[NUM_CANDIDATES_IN_GRID] = { 0, 0, -grd_sz_y, 0, grd_sz_y, 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()
310 cand0->mv.i2_mv_y = (S16)(mv_y) + offset_y[j]; in compute_part_sads_for_MxM_blk_neon()
355 WORD32 offset_y[NUM_CANDIDATES_IN_GRID] = { 0, 0, -grd_sz_y, 0, grd_sz_y, 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()
391 cand0->mv.i2_mv_y = (S16)(mv_y) + offset_y[j]; in compute_4x4_sads_for_16x16_blk_neon()
/external/libgav1/libgav1/src/
Dprediction_mask.cc200 const uint8_t offset_y = in GenerateWedgeMask() local
219 uint8_t* master_mask_row = &master_mask[direction][offset_y][offset_x]; in GenerateWedgeMask()
/external/XNNPACK/src/operators/
Ddeconvolution-nhwc.c194 for (size_t offset_y = 0; offset_y < stride_height; offset_y++) { in create_deconvolution2d_nhwc() local
196 const size_t subkernel_height = divide_round_up(kernel_height - offset_y, stride_height); in create_deconvolution2d_nhwc()
639 for (size_t offset_y = 0; offset_y < stride_height; offset_y++) { in setup_subconv2d_path() local
642 const size_t output_y_start = subtract_modulo(offset_y, modulo_padding_top, stride_height); in setup_subconv2d_path()
/external/libgav1/libgav1/src/dsp/x86/
Dintrapred_directional_sse4.cc606 __m128i offset_y = _mm_srai_epi16(left_y, scale_bits); in DirectionalZone2FromLeftCol_4x4_SSE4_1() local
607 offset_y = _mm_packs_epi16(offset_y, offset_y); in DirectionalZone2FromLeftCol_4x4_SSE4_1()
609 const __m128i adjacent = _mm_add_epi8(offset_y, index_increment); in DirectionalZone2FromLeftCol_4x4_SSE4_1()
610 __m128i sampler = _mm_unpacklo_epi8(offset_y, adjacent); in DirectionalZone2FromLeftCol_4x4_SSE4_1()
646 __m128i offset_y = _mm_srai_epi16(left_y, scale_bits); in DirectionalZone2FromLeftCol_8x8_SSE4_1() local
647 offset_y = _mm_packs_epi16(offset_y, offset_y); in DirectionalZone2FromLeftCol_8x8_SSE4_1()
648 const __m128i adjacent = _mm_add_epi8(offset_y, index_increment); in DirectionalZone2FromLeftCol_8x8_SSE4_1()
652 __m128i sampler = _mm_unpacklo_epi8(offset_y, adjacent); in DirectionalZone2FromLeftCol_8x8_SSE4_1()
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c2237 struct qreg offset_y = in ntq_get_sample_offset() local
2242 *sy = offset_y; 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()
2310 offset_y = vir_SEL(c, V3D_QPU_COND_IFNA, zero, offset_y); in ntq_get_barycentric_centroid()
2313 *out_y = offset_y; in ntq_get_barycentric_centroid()
2321 struct qreg offset_y, in ntq_emit_load_interpolated_input() argument
2337 offset_y); in ntq_emit_load_interpolated_input()
2694 struct qreg offset_x, offset_y; in ntq_emit_intrinsic() local
2696 ntq_get_sample_offset(c, sample_idx, &offset_x, &offset_y); in ntq_emit_intrinsic()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_view.cpp386 int offset_y = 0; in GetMaskDimensionsAndOffsets() local
393 offset_y = start_y + size_y - size_y_bm - start_y_bm; in GetMaskDimensionsAndOffsets()
397 offset_y = start_x_bm + start_y; in GetMaskDimensionsAndOffsets()
401 offset_y = start_y_bm + start_y; in GetMaskDimensionsAndOffsets()
405 offset_y = start_y + size_y - size_y_bm - start_x_bm; in GetMaskDimensionsAndOffsets()
408 return FX_RECT(offset_x, offset_y, offset_x + size_x_bm, in GetMaskDimensionsAndOffsets()
409 offset_y + size_y_bm); in GetMaskDimensionsAndOffsets()
/external/webrtc/common_video/
Dvideo_frame_unittest.cc73 int offset_y, in CropAndScaleFrom() argument
80 buffer->CropAndScaleFrom(*src.GetI420(), offset_x, offset_y, crop_width, in CropAndScaleFrom()
87 buffer->CropAndScaleFrom(*src.GetI010(), offset_x, offset_y, crop_width, in CropAndScaleFrom()
165 double offset_y, in CheckCrop() argument
180 double orig_y = offset_y + j * rel_height; in CheckCrop()

123