Home
last modified time | relevance | path

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

123456

/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,
105 int src_stride, int x_offset, 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()
122 int src_stride, int x_offset, 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
313 if (x_offset == 0) { in vpx_sub_pixel_variance32xh_avx2()
353 } else if (x_offset == 8) { in vpx_sub_pixel_variance32xh_avx2()
412 x_offset <<= 5; in vpx_sub_pixel_variance32xh_avx2()
414 (__m256i const *)(bilinear_filters_avx2 + x_offset)); in vpx_sub_pixel_variance32xh_avx2()
427 x_offset <<= 5; in vpx_sub_pixel_variance32xh_avx2()
429 (__m256i const *)(bilinear_filters_avx2 + x_offset)); in vpx_sub_pixel_variance32xh_avx2()
452 x_offset <<= 5; in vpx_sub_pixel_variance32xh_avx2()
454 (__m256i const *)(bilinear_filters_avx2 + x_offset)); in vpx_sub_pixel_variance32xh_avx2()
488 const uint8_t *src, int src_stride, int x_offset, int y_offset, in vpx_sub_pixel_avg_variance32xh_avx2() argument
[all …]
Dhighbd_subpel_variance_impl_sse2.asm34 ; int x_offset, int y_offset,
97 x_offset, y_offset, \
102 cglobal highbd_sub_pixel_variance%1xh, 7, 8, 13, src, src_stride, x_offset, \
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
190 ; x_offset == 0
194 ; x_offset == 0 && y_offset == 0
238 ; x_offset == 0 && y_offset == 0.5
[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, \
332 int se = vpx_sub_pixel_variance##wf##xh_##opt(src, src_stride, x_offset, \
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 …]
Dsubpel_variance_sse2.asm43 ; int x_offset, int y_offset,
120 x_offset, y_offset, \
125 cglobal sub_pixel_variance%1xh, 7, 8, 13, src, src_stride, x_offset, \
134 x_offset, y_offset, \
155 cglobal sub_pixel_variance%1xh, 7, 7, 13, src, src_stride, x_offset, \
178 x_offset, y_offset, \
190 cglobal sub_pixel_variance%1xh, 7, 7, 13, src, src_stride, x_offset, \
389 ; x_offset == 0, reuse x_offset reg
517 ; x_offset == 0.5
521 ; x_offset == 0.5 && y_offset == 0
[all …]
/external/webp/src/demux/
Danim_decode.c154 static void ZeroFillFrameRect(uint8_t* buf, int buf_stride, int x_offset, in ZeroFillFrameRect() argument
158 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect()
282 const int src_max_x = src->x_offset + src->width; in FindBlendRangeAtRow()
283 const int dst_max_x = dst->x_offset + dst->width; in FindBlendRangeAtRow()
292 src->x_offset >= dst_max_x || src_max_x <= dst->x_offset) { in FindBlendRangeAtRow()
293 *left1 = src->x_offset; in FindBlendRangeAtRow()
298 if (src->x_offset < dst->x_offset) { in FindBlendRangeAtRow()
299 *left1 = src->x_offset; in FindBlendRangeAtRow()
300 *width1 = dst->x_offset - src->x_offset; in FindBlendRangeAtRow()
350 (iter.y_offset * width + iter.x_offset) * NUM_CHANNELS; in WebPAnimDecoderGetNext()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc210 pos.x_offset = pos.y_offset = 0; in position_mark()
221 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark()
224 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extent… in position_mark()
235 …pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_exte… in position_mark()
242 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing; in position_mark()
249 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_… in position_mark()
318 base_extents.x_bearing += buffer->pos[base].x_offset; in position_around_base()
324 hb_position_t x_offset = 0, y_offset = 0; in position_around_base() local
326 x_offset -= buffer->pos[base].x_advance; in position_around_base()
374 buffer->pos[i].x_offset += x_offset; in position_around_base()
[all …]
Dsample.py75 x_offset = pos.x_offset variable
78 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-ot-layout-gpos-table.hh117 if (format & xPlacement) glyph_pos.x_offset += font->em_scale_x (get_short (values++)); in apply_value()
140 … if (use_x_device) glyph_pos.x_offset += (base + get_device (values)).get_x_delta (font, store); in apply_value()
439 o.x_offset = base_x - mark_x; in apply()
942 pos[i].x_advance = exit_x + pos[i].x_offset; in apply()
944 d = entry_x + pos[j].x_offset; in apply()
946 pos[j].x_offset -= d; in apply()
949 d = exit_x + pos[i].x_offset; in apply()
951 pos[i].x_offset -= d; in apply()
953 pos[j].x_advance = entry_x + pos[j].x_offset; in apply()
984 hb_position_t x_offset = entry_x - exit_x; in apply() local
[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()
395 x_offset, in MontageImageList() local
464 x_offset=0; in MontageImageList()
467 GetMontageGeometry(montage_info->tile,number_images,&x_offset,&y_offset, in MontageImageList()
577 x_offset=0; in MontageImageList()
580 GetMontageGeometry(montage_info->tile,number_images,&x_offset,&y_offset, in MontageImageList()
597 x_offset+=(ssize_t) (width+2*(extract_info.x+border_width)); in MontageImageList()
598 if (x_offset > (ssize_t) bounds.width) in MontageImageList()
599 bounds.width=(size_t) x_offset; in MontageImageList()
[all …]
Dcomposite.c289 const ssize_t x_offset,const ssize_t y_offset,ExceptionInfo *exception) in CompositeOverImage() argument
366 if (x_offset < 0) in CompositeOverImage()
367 p-=x_offset*GetPixelChannels(source_image); in CompositeOverImage()
391 if (x < x_offset) in CompositeOverImage()
396 if ((x-x_offset) >= (ssize_t) source_image->columns) in CompositeOverImage()
399 if ((pixels == (Quantum *) NULL) || (x < x_offset) || in CompositeOverImage()
400 ((x-x_offset) >= (ssize_t) source_image->columns)) in CompositeOverImage()
415 (void) GetOneVirtualPixel(source_image,x-x_offset,y-y_offset, in CompositeOverImage()
517 const MagickBooleanType clip_to_self,const ssize_t x_offset, argument
577 status=CompositeOverImage(image,source_image,clip_to_self,x_offset,
[all …]
Dpixel.c4594 x_offset, in InterpolatePixelChannel() local
4603 x_offset=(ssize_t) floor(x); in InterpolatePixelChannel()
4621 x_offset=(ssize_t) (floor(x+0.5)-1); in InterpolatePixelChannel()
4628 x_offset--; in InterpolatePixelChannel()
4631 p=GetCacheViewVirtualPixels(image_view,x_offset,y_offset,(size_t) count, in InterpolatePixelChannel()
4666 p=GetCacheViewVirtualPixels(image_view,x_offset,y_offset,2,2,exception); in InterpolatePixelChannel()
4685 delta.x=x-x_offset; in InterpolatePixelChannel()
4698 p=GetCacheViewVirtualPixels(image_view,x_offset,y_offset,2,2,exception); in InterpolatePixelChannel()
4732 if ((x-x_offset) >= 0.75) in InterpolatePixelChannel()
4738 if ((x-x_offset) > 0.25) in InterpolatePixelChannel()
[all …]
/external/webp/src/mux/
Dmuxedit.c110 PutLE24(frame_bytes + 0, info->x_offset / 2); in CreateFrameData()
298 tmp.x_offset &= ~1; // Snap offsets to even. in WebPMuxPushFrame()
300 if (tmp.x_offset < 0 || tmp.x_offset >= MAX_POSITION_OFFSET || in WebPMuxPushFrame()
392 int* const x_offset, int* const y_offset, int* const duration) { in GetFrameInfo() argument
399 *x_offset = 2 * GetLE24(data->bytes + 0); 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()
444 const int max_x_pos = x_offset + w; in GetAdjustedCanvasSize()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c303 float x_offset=0; in try_setup_line() local
423 x_offset = - x2diff - 0.5; in try_setup_line()
424 y_offset = x_offset * dydx; in try_setup_line()
431 x_offset = - x1diff + 0.5; in try_setup_line()
432 y_offset = x_offset * dydx; in try_setup_line()
441 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); in try_setup_line()
444 x[3] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset); in try_setup_line()
521 x_offset = y_offset * dxdy; in try_setup_line()
528 x_offset = y_offset * dxdy; in try_setup_line()
538 x[0] = subpixel_snap(v1[0][0] + x_offset - setup->pixel_offset) - fixed_width/2; 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
116 (x_offset < 0 || (unsigned)/*SAFE*/x_offset < sprite->width)) in sprite_op()
127 if (x_offset < 0) in sprite_op()
128 x = -x_offset; in sprite_op()
142 ((y+y_offset) * sprite->width + (x+x_offset))*4; in sprite_op()
/external/libavc/decoder/
Dih264d_thread_parse_decode.c447 UWORD32 u4_frame_stride, x_offset, y_offset; in ih264d_decode_slice_thread() local
516 x_offset = i16_mb_x << 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()
524 x_offset >>= 1; in ih264d_decode_slice_thread()
527 x_offset *= YUV420SP_FACTOR; in ih264d_decode_slice_thread()
529 ps_trns_addr->pu1_dest_u = ps_dec->s_cur_pic.pu1_buf2 + x_offset + y_offset; in ih264d_decode_slice_thread()
530 ps_trns_addr->pu1_dest_v = ps_dec->s_cur_pic.pu1_buf3 + x_offset + y_offset; in ih264d_decode_slice_thread()
Dih264d_thread_compute_bs.c399 UWORD32 x_offset, y_offset; in ih264d_recon_deblk_slice() local
467 x_offset = i16_mb_x << 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()
475 x_offset >>= 1; in ih264d_recon_deblk_slice()
478 x_offset *= YUV420SP_FACTOR; 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()
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.h77 static INLINE int scaled_buffer_offset(int x_offset, int y_offset, int stride, in scaled_buffer_offset() argument
79 const int x = sf ? sf->scale_value_x(x_offset, sf) : x_offset; in scaled_buffer_offset()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dcomposite_bitmap_glyph.h32 int32_t x_offset() { return x_offset_; } in x_offset() function
40 Component(int32_t glyph_code, int32_t x_offset, int32_t y_offset);
Dcomposite_bitmap_glyph.cc84 int32_t x_offset, in Component() argument
86 : glyph_code_(glyph_code), x_offset_(x_offset), y_offset_(y_offset) { in Component()
/external/freetype/src/sfnt/
Dpngshim.c180 FT_Int x_offset, in Load_SBit_Png() argument
203 if ( x_offset < 0 || in Load_SBit_Png()
211 ( (FT_UInt)x_offset + metrics->width > map->width || 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.c180 FT_Int x_offset, in Load_SBit_Png() argument
202 if ( x_offset < 0 || in Load_SBit_Png()
210 ( (FT_UInt)x_offset + metrics->width > map->width || 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.c386 x_offset, in ReadTXTImage() local
494 &x_offset,&y_offset,&red,&alpha); in ReadTXTImage()
499 count=(ssize_t) sscanf(text,"%ld,%ld: (%lf%*[%,]",&x_offset, in ReadTXTImage()
511 &x_offset,&y_offset,&red,&green,&blue,&black,&alpha); in ReadTXTImage()
515 "%ld,%ld: (%lf%*[%,]%lf%*[%,]%lf%*[%,]%lf%*[%,]",&x_offset, in ReadTXTImage()
525 &x_offset,&y_offset,&red,&green,&blue,&alpha); in ReadTXTImage()
529 "%ld,%ld: (%lf%*[%,]%lf%*[%,]%lf%*[%,]",&x_offset, in ReadTXTImage()
557 q=GetAuthenticPixels(image,(ssize_t) x_offset,(ssize_t) y_offset,1,1, in ReadTXTImage()
/external/libavc/common/
Dih264_inter_pred_filters.c462 WORD32 x_offset = dydx & 0x3; in ih264_inter_pred_luma_horz_qpel() local
464 pu1_pred1 = pu1_src + (x_offset >> 1); in ih264_inter_pred_luma_horz_qpel()
620 WORD32 x_offset = dydx & 0x3; in ih264_inter_pred_luma_horz_qpel_vert_qpel() local
633 pu1_pred_vert = pu1_src + (x_offset >> 1); in ih264_inter_pred_luma_horz_qpel_vert_qpel()
724 WORD32 x_offset = dydx & 0x3; in ih264_inter_pred_luma_horz_qpel_vert_hpel() local
770 pi2_pred1_temp += (x_offset >> 1); in ih264_inter_pred_luma_horz_qpel_vert_hpel()

123456