Home
last modified time | relevance | path

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

123456789

/third_party/ffmpeg/libavcodec/
Dh264_mb.c40 int n, int height, int y_offset, int list) in get_lowest_part_list_y() argument
44 int full_my = (raw_my >> 2) + y_offset; in get_lowest_part_list_y()
54 int height, int y_offset, int list0, in get_lowest_part_y() argument
59 y_offset += 16 * (sl->mb_y >> MB_FIELD(sl)); in get_lowest_part_y()
70 my = get_lowest_part_list_y(sl, n, height, y_offset, 0); in get_lowest_part_y()
83 my = get_lowest_part_list_y(sl, n, height, y_offset, 1); in get_lowest_part_y()
127 int y_offset = (i & 2) << 2; in await_references() local
130 get_lowest_part_y(h, sl, refs, n, 8, y_offset, in await_references()
135 get_lowest_part_y(h, sl, refs, n, 4, y_offset, in await_references()
139 get_lowest_part_y(h, sl, refs, n + 2, 4, y_offset + 4, in await_references()
[all …]
Dh264_mc_template.c42 int x_offset, int y_offset, in mc_part() argument
55 x_offset, y_offset, qpix_put, chroma_put, in mc_part()
60 x_offset, y_offset, qpix_put, chroma_put, qpix_avg, in mc_part()
116 int y_offset = (i & 2) << 1; in MCFUNC() local
120 x_offset, y_offset, in MCFUNC()
126 x_offset, y_offset, in MCFUNC()
131 dest_y, dest_cb, dest_cr, x_offset, y_offset + 2, in MCFUNC()
137 dest_y, dest_cb, dest_cr, x_offset, y_offset, in MCFUNC()
142 dest_y, dest_cb, dest_cr, x_offset + 2, y_offset, in MCFUNC()
151 int sub_y_offset = y_offset + (j & 2); in MCFUNC()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-fallback.cc201 buffer->pos[i].y_offset -= buffer->pos[i].y_advance; in zero_mark_advances()
223 pos.x_offset = pos.y_offset = 0; in position_mark()
279 pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; in position_mark()
281 if ((y_gap > 0) == (pos.y_offset > 0)) in position_mark()
283 base_extents.height -= pos.y_offset; in position_mark()
284 pos.y_offset = 0; in position_mark()
300 pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); in position_mark()
302 if ((y_gap > 0) != (pos.y_offset > 0)) in position_mark()
304 int correction = -pos.y_offset / 2; in position_mark()
307 pos.y_offset += correction; in position_mark()
[all …]
Dhb-ot-color-sbix-table.hh97 int *y_offset, in get_glyph_blob()
136 if (y_offset) *y_offset = glyph->yOffset; in get_glyph_blob()
225 int *y_offset, in reference_png()
230 x_offset, y_offset, in reference_png()
295 int x_offset = 0, y_offset = 0; in get_png_extents() local
297 hb_blob_t *blob = reference_png (font, glyph, &x_offset, &y_offset, &strike_ppem); in get_png_extents()
302 extents->y_bearing = png.IHDR.height + y_offset; in get_png_extents()
Dsample.py61 y_offset = pos.y_offset variable
63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-fallback.cc197 buffer->pos[i].y_offset -= buffer->pos[i].y_advance; in zero_mark_advances()
219 pos.x_offset = pos.y_offset = 0; in position_mark()
275 pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; in position_mark()
277 if ((y_gap > 0) == (pos.y_offset > 0)) in position_mark()
279 base_extents.height -= pos.y_offset; in position_mark()
280 pos.y_offset = 0; in position_mark()
296 pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); in position_mark()
298 if ((y_gap > 0) != (pos.y_offset > 0)) in position_mark()
300 unsigned int correction = -pos.y_offset / 2; in position_mark()
303 pos.y_offset += correction; in position_mark()
[all …]
Dhb-ot-color-sbix-table.hh76 int *y_offset, in get_glyph_blob()
115 if (y_offset) *y_offset = glyph->yOffset; in get_glyph_blob()
161 int *y_offset, in reference_png()
166 x_offset, y_offset, in reference_png()
231 int x_offset = 0, y_offset = 0; in get_png_extents() local
233 hb_blob_t *blob = reference_png (font, glyph, &x_offset, &y_offset, &strike_ppem); in get_png_extents()
238 extents->y_bearing = y_offset; in get_png_extents()
Dsample.py77 y_offset = pos.y_offset variable
79 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
/third_party/harfbuzz/src/
Dhb-ot-shape-fallback.cc201 buffer->pos[i].y_offset -= buffer->pos[i].y_advance; in zero_mark_advances()
223 pos.x_offset = pos.y_offset = 0; in position_mark()
279 pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; in position_mark()
281 if ((y_gap > 0) == (pos.y_offset > 0)) in position_mark()
283 base_extents.height -= pos.y_offset; in position_mark()
284 pos.y_offset = 0; in position_mark()
300 pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); in position_mark()
302 if ((y_gap > 0) != (pos.y_offset > 0)) in position_mark()
304 int correction = -pos.y_offset / 2; in position_mark()
307 pos.y_offset += correction; in position_mark()
[all …]
Dhb-ot-color-sbix-table.hh97 int *y_offset, in get_glyph_blob()
136 if (y_offset) *y_offset = glyph->yOffset; in get_glyph_blob()
225 int *y_offset, in reference_png()
230 x_offset, y_offset, in reference_png()
295 int x_offset = 0, y_offset = 0; in get_png_extents() local
297 hb_blob_t *blob = reference_png (font, glyph, &x_offset, &y_offset, &strike_ppem); in get_png_extents()
308 extents->y_bearing = png.IHDR.height + y_offset; in get_png_extents()
Dsample.py61 y_offset = pos.y_offset variable
63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
/third_party/ffmpeg/tests/checkasm/
Dv210enc.c70 int y_offset = rnd() & 15; \
71 int uv_offset = y_offset / 2; \
73 call_ref(y0 + y_offset, u0 + uv_offset, v0 + uv_offset, dst0, width); \
74 call_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \
78 bench_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp1073 float y_offset; in prepareVertexBufferInfoForCoordinates() local
1081 y_offset = m_min_coordinate_value; in prepareVertexBufferInfoForCoordinates()
1102 const glw::GLfloat coord_y = ((float)(rand() % y_modulus)) / coordinate_denominator + y_offset; in prepareVertexBufferInfoForCoordinates()
1121 const glw::GLfloat coord_y = ((float)(rand() % y_modulus)) / coordinate_denominator + y_offset; in prepareVertexBufferInfoForCoordinates()
1473 glw::GLint y_offset; in checkResult() local
1475 getOffsets(x_offset, y_offset, index); in checkResult()
1485 if (0 > y_offset) in checkResult()
1487 y_offset = y_offset % texture_size; in checkResult()
1488 y_offset += texture_size; in checkResult()
1501 expected_values_1[i] = ((y_offset + captured_data.without_offset_1[i]) % texture_size); in checkResult()
[all …]
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideoflip.c783 gint y_offset; in gst_video_flip_y422() local
794 y_offset = GST_VIDEO_FRAME_COMP_OFFSET (src, 0); in gst_video_flip_y422()
820 d[y * dest_stride + x * bpp + y_offset] = in gst_video_flip_y422()
821 s[(sh - 1 - x) * src_stride + y * bpp + y_offset]; in gst_video_flip_y422()
823 d[y * dest_stride + (x + 1) * bpp + y_offset] = in gst_video_flip_y422()
824 s[(sh - 1 - (x + 1)) * src_stride + y * bpp + y_offset]; in gst_video_flip_y422()
845 d[y * dest_stride + x * bpp + y_offset] = in gst_video_flip_y422()
846 s[x * src_stride + (sw - 1 - y) * bpp + y_offset]; in gst_video_flip_y422()
848 d[y * dest_stride + (x + 1) * bpp + y_offset] = in gst_video_flip_y422()
849 s[(x + 1) * src_stride + (sw - 1 - y) * bpp + y_offset]; in gst_video_flip_y422()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/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()
/third_party/skia/third_party/externals/libwebp/src/demux/
Danim_decode.c163 int y_offset, int width, int height) { in ZeroFillFrameRect() argument
166 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect()
292 const int dst_max_y = dst->y_offset + dst->height; in FindBlendRangeAtRow()
293 assert(canvas_y >= src->y_offset && canvas_y < (src->y_offset + src->height)); in FindBlendRangeAtRow()
299 if (canvas_y < dst->y_offset || canvas_y >= dst_max_y || in FindBlendRangeAtRow()
358 const uint64_t out_offset = (uint64_t)iter.y_offset * stride + in WebPAnimDecoderGetNext()
384 (iter.y_offset + y) * width + iter.x_offset; in WebPAnimDecoderGetNext()
396 const int canvas_y = iter.y_offset + y; in WebPAnimDecoderGetNext()
422 dec->prev_iter_.x_offset, dec->prev_iter_.y_offset, in WebPAnimDecoderGetNext()
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafshaper.c562 FT_Long* y_offset ) in af_shaper_get_elem() argument
580 if ( y_offset ) in af_shaper_get_elem()
581 *y_offset = gpos[idx].y_offset; in af_shaper_get_elem()
664 FT_Long* y_offset ) in af_shaper_get_elem() argument
680 if ( y_offset ) in af_shaper_get_elem()
681 *y_offset = 0; in af_shaper_get_elem()
/third_party/freetype/src/autofit/
Dafshaper.c547 FT_Long* y_offset ) in af_shaper_get_elem() argument
565 if ( y_offset ) in af_shaper_get_elem()
566 *y_offset = gpos[idx].y_offset; in af_shaper_get_elem()
649 FT_Long* y_offset ) in af_shaper_get_elem() argument
665 if ( y_offset ) in af_shaper_get_elem()
666 *y_offset = 0; in af_shaper_get_elem()
/third_party/flutter/skia/third_party/externals/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()
650 FT_Long* y_offset ) in af_shaper_get_elem() argument
666 if ( y_offset ) in af_shaper_get_elem()
667 *y_offset = 0; in af_shaper_get_elem()
/third_party/skia/third_party/externals/libwebp/src/mux/
Dmuxedit.c111 PutLE24(frame_bytes + 3, info->y_offset / 2); in CreateFrameData()
297 tmp.y_offset &= ~1; in WebPMuxPushFrame()
299 tmp.y_offset < 0 || tmp.y_offset >= MAX_POSITION_OFFSET || in WebPMuxPushFrame()
390 int* const x_offset, int* const y_offset, int* const duration) { in GetFrameInfo() argument
398 *y_offset = 2 * GetLE24(data->bytes + 3); in GetFrameInfo()
404 int* const x_offset, int* const y_offset, in GetImageInfo() argument
413 err = GetFrameInfo(frame_chunk, x_offset, y_offset, duration); in GetImageInfo()
439 int x_offset = 0, y_offset = 0, duration = 0, w = 0, h = 0; in GetAdjustedCanvasSize() local
440 const WebPMuxError err = GetImageInfo(wpi, &x_offset, &y_offset, in GetAdjustedCanvasSize()
443 const int max_y_pos = y_offset + h; in GetAdjustedCanvasSize()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/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 …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c306 float y_offset=0; in try_setup_line() local
448 y_offset = x_offset * dydx; in try_setup_line()
456 y_offset = x_offset * dydx; in try_setup_line()
470 y[0] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) - fixed_width/2; in try_setup_line()
473 y[3] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) + fixed_width/2; in try_setup_line()
548 y_offset = - y2diff + 0.5; in try_setup_line()
549 x_offset = y_offset * dxdy; in try_setup_line()
555 y_offset = - y1diff - 0.5; in try_setup_line()
556 x_offset = y_offset * dxdy; in try_setup_line()
571 y[0] = subpixel_snap(v1[0][1] + y_offset - pixel_offset); in try_setup_line()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dgifdec.c132 if (!WebPPictureView(picture, rect.x_offset, rect.y_offset, in GIFReadFrame()
135 rect.width, rect.height, rect.x_offset, rect.y_offset); in GIFReadFrame()
249 ClearRectangle(pic, rect->x_offset, rect->y_offset, in GIFClearPic()
269 + rect->y_offset * src_stride; in GIFDisposeFrame()
272 + rect->y_offset * dst_stride; in GIFDisposeFrame()
286 for (j = rect->y_offset; j < rect->y_offset + rect->height; ++j) { in GIFBlendFrames()
/third_party/skia/third_party/externals/libwebp/examples/
Dgifdec.c132 if (!WebPPictureView(picture, rect.x_offset, rect.y_offset, in GIFReadFrame()
135 rect.width, rect.height, rect.x_offset, rect.y_offset); in GIFReadFrame()
249 ClearRectangle(pic, rect->x_offset, rect->y_offset, in GIFClearPic()
269 + rect->y_offset * src_stride; in GIFDisposeFrame()
272 + rect->y_offset * dst_stride; in GIFDisposeFrame()
286 for (j = rect->y_offset; j < rect->y_offset + rect->height; ++j) { in GIFBlendFrames()
/third_party/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()

123456789