Home
last modified time | relevance | path

Searched refs:y_offset (Results 1 – 25 of 133) sorted by relevance

123456

/external/libvpx/libvpx/vp9/common/
Dvp9_mfqe.c214 int mi_offset, y_offset, uv_offset; in mfqe_partition() local
231 y_offset = 32; in mfqe_partition()
235 y_offset = 16; in mfqe_partition()
253 mfqe_block(bs_tmp, y + y_offset, u + uv_offset, v + uv_offset, y_stride, in mfqe_partition()
254 uv_stride, yd + y_offset, ud + uv_offset, vd + uv_offset, in mfqe_partition()
259 mfqe_block(bs_tmp, y + y_offset * y_stride, u + uv_offset * uv_stride, in mfqe_partition()
261 yd + y_offset * yd_stride, ud + uv_offset * uvd_stride, in mfqe_partition()
264 mfqe_block(bs_tmp, y + y_offset * y_stride + y_offset, in mfqe_partition()
267 yd + y_offset * yd_stride + y_offset, in mfqe_partition()
286 mfqe_block(bs_tmp, y + y_offset * y_stride, u + uv_offset * uv_stride, in mfqe_partition()
[all …]
Dvp9_reconinter.h77 static INLINE int scaled_buffer_offset(int x_offset, int y_offset, int stride, in scaled_buffer_offset() argument
80 const int y = sf ? sf->scale_value_y(y_offset, sf) : y_offset; in scaled_buffer_offset()
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_avx2.c95 int x_offset, int y_offset,
100 const uint8_t *src, int src_stride, int x_offset, int y_offset,
106 int y_offset, const uint8_t *dst, in vpx_sub_pixel_variance64x64_avx2() argument
111 src, src_stride, x_offset, y_offset, dst, dst_stride, 64, &sse1); in vpx_sub_pixel_variance64x64_avx2()
114 vpx_sub_pixel_variance32xh_avx2(src + 32, src_stride, x_offset, y_offset, in vpx_sub_pixel_variance64x64_avx2()
123 int y_offset, const uint8_t *dst, in vpx_sub_pixel_variance32x32_avx2() argument
127 src, src_stride, x_offset, y_offset, dst, dst_stride, 32, sse); in vpx_sub_pixel_variance32x32_avx2()
132 const uint8_t *src, int src_stride, int x_offset, int y_offset, in vpx_sub_pixel_avg_variance64x64_avx2() argument
136 src, src_stride, x_offset, y_offset, dst, dst_stride, sec, 64, 64, &sse1); in vpx_sub_pixel_avg_variance64x64_avx2()
139 src + 32, src_stride, x_offset, y_offset, dst + 32, dst_stride, sec + 32, in vpx_sub_pixel_avg_variance64x64_avx2()
[all …]
Dhighbd_variance_sse2.c253 const uint16_t *src, ptrdiff_t src_stride, int x_offset, int y_offset, \
267 const uint8_t *src8, int src_stride, int x_offset, int y_offset, \
273 src, src_stride, x_offset, y_offset, dst, dst_stride, h, &sse, NULL, \
278 src + 16, src_stride, x_offset, y_offset, dst + 16, dst_stride, h, \
284 src + 32, src_stride, x_offset, y_offset, dst + 32, dst_stride, h, \
289 src + 48, src_stride, x_offset, y_offset, dst + 48, dst_stride, h, \
300 const uint8_t *src8, int src_stride, int x_offset, int y_offset, \
307 src, src_stride, x_offset, y_offset, dst, dst_stride, h, &sse, NULL, \
312 src + 16, src_stride, x_offset, y_offset, dst + 16, dst_stride, h, \
318 src + 32, src_stride, x_offset, y_offset, dst + 32, dst_stride, h, \
[all …]
Dvariance_impl_avx2.c301 int x_offset, int y_offset, in vpx_sub_pixel_variance32xh_avx2() argument
314 if (y_offset == 0) { in vpx_sub_pixel_variance32xh_avx2()
324 } else if (y_offset == 8) { in vpx_sub_pixel_variance32xh_avx2()
339 y_offset <<= 5; in vpx_sub_pixel_variance32xh_avx2()
341 (__m256i const *)(bilinear_filters_avx2 + y_offset)); in vpx_sub_pixel_variance32xh_avx2()
354 if (y_offset == 0) { in vpx_sub_pixel_variance32xh_avx2()
366 } else if (y_offset == 8) { in vpx_sub_pixel_variance32xh_avx2()
388 y_offset <<= 5; in vpx_sub_pixel_variance32xh_avx2()
390 (__m256i const *)(bilinear_filters_avx2 + y_offset)); in vpx_sub_pixel_variance32xh_avx2()
410 if (y_offset == 0) { in vpx_sub_pixel_variance32xh_avx2()
[all …]
Dvariance_sse2.c314 const uint8_t *src, ptrdiff_t src_stride, int x_offset, int y_offset, \
329 const uint8_t *src, int src_stride, int x_offset, int y_offset, \
333 y_offset, dst, dst_stride, \
338 src + 16, src_stride, x_offset, y_offset, dst + 16, dst_stride, h, \
344 src + 32, src_stride, x_offset, y_offset, dst + 32, dst_stride, h, \
349 src + 48, src_stride, x_offset, y_offset, dst + 48, dst_stride, h, \
383 const uint8_t *src, ptrdiff_t src_stride, int x_offset, int y_offset, \
399 const uint8_t *src, int src_stride, int x_offset, int y_offset, \
404 src, src_stride, x_offset, y_offset, dst, dst_stride, sec, w, h, &sse, \
409 src + 16, src_stride, x_offset, y_offset, dst + 16, dst_stride, \
[all …]
Dhighbd_subpel_variance_impl_sse2.asm34 ; int x_offset, int y_offset,
97 x_offset, y_offset, \
103 y_offset, dst, dst_stride, height, sse
111 x_offset, y_offset, \
133 x_offset, y_offset, dst, dst_stride, height, \
155 x_offset, y_offset, \
168 x_offset, y_offset, dst, dst_stride, height, sse
194 ; x_offset == 0 && y_offset == 0
238 ; x_offset == 0 && y_offset == 0.5
286 ; x_offset == 0 && y_offset == bilin interpolation
[all …]
Dsubpel_variance_sse2.asm43 ; int x_offset, int y_offset,
120 x_offset, y_offset, \
126 y_offset, dst, dst_stride, height, sse
134 x_offset, y_offset, \
156 y_offset, dst, dst_stride, height, sse, \
178 x_offset, y_offset, \
191 y_offset, dst, dst_stride, height, sse
521 ; x_offset == 0.5 && y_offset == 0
596 ; x_offset == 0.5 && y_offset == 0.5
696 ; x_offset == 0.5 && y_offset == bilin interpolation
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc210 pos.x_offset = pos.y_offset = 0; in position_mark()
266 pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; in position_mark()
268 if ((y_gap > 0) == (pos.y_offset > 0)) in position_mark()
270 base_extents.height -= pos.y_offset; in position_mark()
271 pos.y_offset = 0; in position_mark()
287 pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); in position_mark()
289 if ((y_gap > 0) != (pos.y_offset > 0)) in position_mark()
291 unsigned int correction = -pos.y_offset / 2; in position_mark()
294 pos.y_offset += correction; in position_mark()
319 base_extents.y_bearing += buffer->pos[base].y_offset; in position_around_base()
[all …]
Dsample.py76 y_offset = pos.y_offset variable
78 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-ot-layout-gpos-table.hh118 if (format & yPlacement) glyph_pos.y_offset += font->em_scale_y (get_short (values++)); in apply_value()
144 … if (use_y_device) glyph_pos.y_offset += (base + get_device (values)).get_y_delta (font, store); in apply_value()
440 o.y_offset = base_y - mark_y; in apply()
956 pos[i].y_advance = exit_y + pos[i].y_offset; in apply()
958 d = entry_y + pos[j].y_offset; in apply()
960 pos[j].y_offset -= d; in apply()
963 d = exit_y + pos[i].y_offset; in apply()
965 pos[i].y_offset -= d; in apply()
985 hb_position_t y_offset = entry_y - exit_y; in apply() local
992 y_offset = -y_offset; in apply()
[all …]
/external/ImageMagick/MagickCore/
Dmontage.c274 ssize_t *x_offset,ssize_t *y_offset,size_t *tiles_per_column, in GetMontageGeometry() argument
279 (void) GetGeometry(geometry,x_offset,y_offset,tiles_per_row,tiles_per_column); in GetMontageGeometry()
397 y_offset; in MontageImageList() local
465 y_offset=0; in MontageImageList()
467 GetMontageGeometry(montage_info->tile,number_images,&x_offset,&y_offset, in MontageImageList()
578 y_offset=0; in MontageImageList()
580 GetMontageGeometry(montage_info->tile,number_images,&x_offset,&y_offset, in MontageImageList()
583 y_offset+=(ssize_t) title_offset; in MontageImageList()
608 y_offset+=(ssize_t) (height+(extract_info.y+(ssize_t) border_width)*2+ in MontageImageList()
611 if (y_offset > (ssize_t) bounds.height) in MontageImageList()
[all …]
Dcomposite.c289 const ssize_t x_offset,const ssize_t y_offset,ExceptionInfo *exception) in CompositeOverImage() argument
346 if (y < y_offset) in CompositeOverImage()
348 if ((y-y_offset) >= (ssize_t) source_image->rows) in CompositeOverImage()
356 if ((y >= y_offset) && ((y-y_offset) < (ssize_t) source_image->rows)) in CompositeOverImage()
358 p=GetCacheViewVirtualPixels(source_view,0,y-y_offset, in CompositeOverImage()
415 (void) GetOneVirtualPixel(source_image,x-x_offset,y-y_offset, in CompositeOverImage()
518 const ssize_t y_offset,ExceptionInfo *exception) argument
578 y_offset,exception);
598 if ((x_offset < 0) || (y_offset < 0))
602 if ((y_offset+(ssize_t) source_image->rows) > (ssize_t) image->rows)
[all …]
/external/libavc/decoder/
Dih264d_thread_parse_decode.c122 UWORD32 u4_frame_stride, y_offset; in ih264d_parse_tfr_nmb() local
130 y_offset = (u2_mb_y * u4_frame_stride) << 4; in ih264d_parse_tfr_nmb()
132 ps_dec->s_cur_pic.pu1_buf1 + y_offset; in ih264d_parse_tfr_nmb()
136 y_offset = (u2_mb_y * u4_frame_stride) << 3; in ih264d_parse_tfr_nmb()
138 ps_dec->s_cur_pic.pu1_buf2 + y_offset; in ih264d_parse_tfr_nmb()
140 ps_dec->s_cur_pic.pu1_buf3 + y_offset; in ih264d_parse_tfr_nmb()
447 UWORD32 u4_frame_stride, x_offset, y_offset; in ih264d_decode_slice_thread() local
517 y_offset = (i16_mb_y * u4_frame_stride) << 4; in ih264d_decode_slice_thread()
521 ps_trns_addr->pu1_dest_y = ps_dec->s_cur_pic.pu1_buf1 + x_offset + y_offset; in ih264d_decode_slice_thread()
525 y_offset = (i16_mb_y * u4_frame_stride) << 3; in ih264d_decode_slice_thread()
[all …]
Dih264d_thread_compute_bs.c399 UWORD32 x_offset, y_offset; in ih264d_recon_deblk_slice() local
468 y_offset = (i16_mb_y * u4_frame_stride) << 4; in ih264d_recon_deblk_slice()
471 ps_trns_addr->pu1_dest_y = ps_dec->s_cur_pic.pu1_buf1 + x_offset + y_offset; in ih264d_recon_deblk_slice()
476 y_offset = (i16_mb_y * u4_frame_stride) << 3; in ih264d_recon_deblk_slice()
480 ps_trns_addr->pu1_dest_u = ps_dec->s_cur_pic.pu1_buf2 + x_offset + y_offset; in ih264d_recon_deblk_slice()
481 ps_trns_addr->pu1_dest_v = ps_dec->s_cur_pic.pu1_buf3 + x_offset + y_offset; in ih264d_recon_deblk_slice()
627 y_offset = (u2_mb_y * u4_frame_stride) << 4; in ih264d_recon_deblk_slice()
628 ps_trns_addr->pu1_dest_y = ps_dec->s_cur_pic.pu1_buf1 + y_offset; in ih264d_recon_deblk_slice()
632 y_offset = (u2_mb_y * u4_frame_stride) << 3; in ih264d_recon_deblk_slice()
633 ps_trns_addr->pu1_dest_u = ps_dec->s_cur_pic.pu1_buf2 + y_offset; in ih264d_recon_deblk_slice()
[all …]
/external/libavc/common/
Dih264_inter_pred_filters.c537 WORD32 y_offset = dydx >> 2; in ih264_inter_pred_luma_vert_qpel() local
541 y_offset = y_offset & 0x3; in ih264_inter_pred_luma_vert_qpel()
547 pu1_pred1 = pu1_src + (y_offset >> 1) * src_strd; in ih264_inter_pred_luma_vert_qpel()
621 WORD32 y_offset = dydx >> 2; in ih264_inter_pred_luma_horz_qpel_vert_qpel() local
626 y_offset = y_offset & 0x3; in ih264_inter_pred_luma_horz_qpel_vert_qpel()
632 pu1_pred_horz = pu1_src + (y_offset >> 1) * src_strd; in ih264_inter_pred_luma_horz_qpel_vert_qpel()
838 WORD32 y_offset = dydx >> 2; in ih264_inter_pred_luma_horz_hpel_vert_qpel() local
844 y_offset = y_offset & 0x3; in ih264_inter_pred_luma_horz_hpel_vert_qpel()
881 pi2_pred1_temp += (y_offset >> 1) * wd; in ih264_inter_pred_luma_horz_hpel_vert_qpel()
/external/webp/src/demux/
Danim_decode.c155 int y_offset, int width, int height) { in ZeroFillFrameRect() argument
158 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect()
284 const int dst_max_y = dst->y_offset + dst->height; in FindBlendRangeAtRow()
285 assert(canvas_y >= src->y_offset && canvas_y < (src->y_offset + src->height)); in FindBlendRangeAtRow()
291 if (canvas_y < dst->y_offset || canvas_y >= dst_max_y || in FindBlendRangeAtRow()
350 (iter.y_offset * width + iter.x_offset) * NUM_CHANNELS; in WebPAnimDecoderGetNext()
373 (iter.y_offset + y) * width + iter.x_offset; in WebPAnimDecoderGetNext()
385 const int canvas_y = iter.y_offset + y; in WebPAnimDecoderGetNext()
411 dec->prev_iter_.x_offset, dec->prev_iter_.y_offset, in WebPAnimDecoderGetNext()
/external/freetype/src/autofit/
Dafshaper.c548 FT_Long* y_offset ) in af_shaper_get_elem() argument
566 if ( y_offset ) in af_shaper_get_elem()
567 *y_offset = gpos[idx].y_offset; in af_shaper_get_elem()
657 FT_Long* y_offset ) in af_shaper_get_elem() argument
673 if ( y_offset ) in af_shaper_get_elem()
674 *y_offset = 0; in af_shaper_get_elem()
/external/webp/src/mux/
Dmuxedit.c111 PutLE24(frame_bytes + 3, info->y_offset / 2); in CreateFrameData()
299 tmp.y_offset &= ~1; in WebPMuxPushFrame()
301 tmp.y_offset < 0 || tmp.y_offset >= MAX_POSITION_OFFSET || in WebPMuxPushFrame()
392 int* const x_offset, int* const y_offset, int* const duration) { in GetFrameInfo() argument
400 *y_offset = 2 * GetLE24(data->bytes + 3); in GetFrameInfo()
406 int* const x_offset, int* const y_offset, in GetImageInfo() argument
415 err = GetFrameInfo(frame_chunk, x_offset, y_offset, duration); in GetImageInfo()
441 int x_offset = 0, y_offset = 0, duration = 0, w = 0, h = 0; in GetAdjustedCanvasSize() local
442 const WebPMuxError err = GetImageInfo(wpi, &x_offset, &y_offset, in GetAdjustedCanvasSize()
445 const int max_y_pos = y_offset + h; in GetAdjustedCanvasSize()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c304 float y_offset=0; in try_setup_line() local
424 y_offset = x_offset * dydx; in try_setup_line()
432 y_offset = x_offset * dydx; in try_setup_line()
446 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) - fixed_width/2; in try_setup_line()
449 y[3] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset) + fixed_width/2; in try_setup_line()
520 y_offset = - y2diff + 0.5; in try_setup_line()
521 x_offset = y_offset * dxdy; in try_setup_line()
527 y_offset = - y1diff - 0.5; in try_setup_line()
528 x_offset = y_offset * dxdy; in try_setup_line()
543 y[0] = subpixel_snap(v1[0][1] + y_offset - setup->pixel_offset); in try_setup_line()
[all …]
/external/libpng/contrib/examples/
Dsimpleover.c103 sprite_op(const struct sprite *sprite, int x_offset, int y_offset, in sprite_op() argument
115 if ((y_offset < 0 || (unsigned)/*SAFE*/y_offset < sprite->height) && in sprite_op()
120 if (y_offset < 0) in sprite_op()
121 y = -y_offset; /* Skip to first visible row */ in sprite_op()
142 ((y+y_offset) * sprite->width + (x+x_offset))*4; in sprite_op()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dcomposite_bitmap_glyph.h33 int32_t y_offset() { return y_offset_; } in y_offset() function
40 Component(int32_t glyph_code, int32_t x_offset, int32_t y_offset);
/external/freetype/src/sfnt/
Dpngshim.c181 FT_Int y_offset, in Load_SBit_Png() argument
204 y_offset < 0 ) in Load_SBit_Png()
212 (FT_UInt)y_offset + metrics->height > map->rows || in Load_SBit_Png()
364 rows[i] = map->buffer + ( y_offset + i ) * map->pitch + x_offset * 4; in Load_SBit_Png()
/external/pdfium/third_party/freetype/src/sfnt/
Dpngshim.c181 FT_Int y_offset, in Load_SBit_Png() argument
203 y_offset < 0 ) in Load_SBit_Png()
211 (FT_UInt)y_offset + metrics->height > map->rows || in Load_SBit_Png()
359 rows[i] = map->buffer + ( y_offset + i ) * map->pitch + x_offset * 4; in Load_SBit_Png()
/external/ImageMagick/coders/
Dtxt.c387 y_offset; in ReadTXTImage() local
494 &x_offset,&y_offset,&red,&alpha); in ReadTXTImage()
500 &y_offset,&red); in ReadTXTImage()
511 &x_offset,&y_offset,&red,&green,&blue,&black,&alpha); in ReadTXTImage()
516 &y_offset,&red,&green,&blue,&black); in ReadTXTImage()
525 &x_offset,&y_offset,&red,&green,&blue,&alpha); in ReadTXTImage()
530 &y_offset,&red,&green,&blue); in ReadTXTImage()
557 q=GetAuthenticPixels(image,(ssize_t) x_offset,(ssize_t) y_offset,1,1, in ReadTXTImage()

123456