/third_party/ffmpeg/libavcodec/ |
D | h264_mc_template.c | 42 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() 115 int x_offset = (i & 1) << 2; 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() 150 int sub_x_offset = x_offset + 2 * (j & 1); in MCFUNC()
|
D | h264_mb.c | 326 int x_offset, int y_offset, in mc_part_std() argument 337 dest_y += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std() 339 dest_cb += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std() 340 dest_cr += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std() 342 dest_cb += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std() 343 dest_cr += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std() 345 dest_cb += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_std() 346 dest_cr += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_std() 348 x_offset += 8 * sl->mb_x; in mc_part_std() 354 dest_y, dest_cb, dest_cr, x_offset, y_offset, in mc_part_std() [all …]
|
D | pngdec.c | 77 int x_offset, y_offset; member 351 ptr = dst + dst_stride * (s->y + s->y_offset) + s->x_offset * s->bpp; in png_handle_row() 385 ptr = dst + dst_stride * (s->y + s->y_offset) + s->x_offset * s->bpp; in png_handle_row() 979 int cur_w, cur_h, x_offset, y_offset, dispose_op, blend_op; in decode_fctl_chunk() local 996 s->last_x_offset = s->x_offset; in decode_fctl_chunk() 1003 x_offset = bytestream2_get_be32(&s->gb); in decode_fctl_chunk() 1013 x_offset != 0 || in decode_fctl_chunk() 1016 x_offset < 0 || y_offset < 0 || in decode_fctl_chunk() 1017 cur_w > s->width - x_offset|| cur_h > s->height - y_offset) in decode_fctl_chunk() 1046 s->x_offset = x_offset; in decode_fctl_chunk() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 154 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 …]
|
/third_party/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 162 static void ZeroFillFrameRect(uint8_t* buf, int buf_stride, int x_offset, in ZeroFillFrameRect() argument 166 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect() 290 const int src_max_x = src->x_offset + src->width; in FindBlendRangeAtRow() 291 const int dst_max_x = dst->x_offset + dst->width; in FindBlendRangeAtRow() 300 src->x_offset >= dst_max_x || src_max_x <= dst->x_offset) { in FindBlendRangeAtRow() 301 *left1 = src->x_offset; in FindBlendRangeAtRow() 306 if (src->x_offset < dst->x_offset) { in FindBlendRangeAtRow() 307 *left1 = src->x_offset; in FindBlendRangeAtRow() 308 *width1 = dst->x_offset - src->x_offset; in FindBlendRangeAtRow() 359 (uint64_t)iter.x_offset * NUM_CHANNELS; // 53b in WebPAnimDecoderGetNext() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-color-sbix-table.hh | 75 int *x_offset, in get_glyph_blob() 114 if (x_offset) *x_offset = glyph->xOffset; in get_glyph_blob() 160 int *x_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() 237 extents->x_bearing = x_offset; in get_png_extents()
|
D | hb-ot-shape-fallback.cc | 196 buffer->pos[i].x_offset -= buffer->pos[i].x_advance; in zero_mark_advances() 219 pos.x_offset = pos.y_offset = 0; in position_mark() 230 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extent… in position_mark() 233 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark() 244 …pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_exte… in position_mark() 251 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing; in position_mark() 258 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_… in position_mark() 343 hb_position_t x_offset = 0, y_offset = 0; in position_around_base() local 345 x_offset -= buffer->pos[base].x_advance; in position_around_base() 393 buffer->pos[i].x_offset += x_offset; in position_around_base() [all …]
|
D | hb-ot-layout-gpos-table.hh | 116 if (format & xPlacement) glyph_pos.x_offset += font->em_scale_x (get_short (values++, &ret)); in apply_value() 139 …if (use_x_device) glyph_pos.x_offset += (base + get_device (values, &ret)).get_x_delta (font, sto… in apply_value() 449 o.x_offset = roundf (base_x - mark_x); in apply() 996 pos[i].x_advance = roundf (exit_x) + pos[i].x_offset; in apply() 998 d = roundf (entry_x) + pos[j].x_offset; in apply() 1000 pos[j].x_offset -= d; in apply() 1003 d = roundf (exit_x) + pos[i].x_offset; in apply() 1005 pos[i].x_offset -= d; in apply() 1007 pos[j].x_advance = roundf (entry_x) + pos[j].x_offset; in apply() 1038 hb_position_t x_offset = entry_x - exit_x; in apply() local [all …]
|
D | sample.py | 76 x_offset = pos.x_offset variable 79 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
D | esextcGPUShader5TextureGatherOffset.cpp | 1070 float x_offset; in prepareVertexBufferInfoForCoordinates() local 1080 x_offset = m_min_coordinate_value; in prepareVertexBufferInfoForCoordinates() 1101 const glw::GLfloat coord_x = ((float)(rand() % x_modulus)) / coordinate_denominator + x_offset; in prepareVertexBufferInfoForCoordinates() 1120 const glw::GLfloat coord_x = ((float)(rand() % x_modulus)) / coordinate_denominator + x_offset; in prepareVertexBufferInfoForCoordinates() 1472 glw::GLint x_offset; in checkResult() local 1475 getOffsets(x_offset, y_offset, index); in checkResult() 1478 if (0 > x_offset) in checkResult() 1480 x_offset = x_offset % texture_size; in checkResult() 1481 x_offset += texture_size; in checkResult() 1500 expected_values_0[i] = ((x_offset + captured_data.without_offset_0[i]) % texture_size); in checkResult() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-shape-fallback.cc | 200 buffer->pos[i].x_offset -= buffer->pos[i].x_advance; in zero_mark_advances() 223 pos.x_offset = pos.y_offset = 0; in position_mark() 234 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extent… in position_mark() 237 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark() 248 …pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_exte… in position_mark() 255 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing; in position_mark() 262 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_… in position_mark() 347 hb_position_t x_offset = 0, y_offset = 0; in position_around_base() local 349 x_offset -= buffer->pos[base].x_advance; in position_around_base() 397 buffer->pos[i].x_offset += x_offset; in position_around_base() [all …]
|
D | hb-ot-color-sbix-table.hh | 96 int *x_offset, in get_glyph_blob() 135 if (x_offset) *x_offset = glyph->xOffset; in get_glyph_blob() 224 int *x_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() 301 extents->x_bearing = x_offset; in get_png_extents()
|
D | sample.py | 60 x_offset = pos.x_offset variable 63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
|
/third_party/harfbuzz/src/ |
D | hb-ot-shape-fallback.cc | 200 buffer->pos[i].x_offset -= buffer->pos[i].x_advance; in zero_mark_advances() 223 pos.x_offset = pos.y_offset = 0; in position_mark() 234 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extent… in position_mark() 237 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark() 248 …pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_exte… in position_mark() 255 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing; in position_mark() 262 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_… in position_mark() 347 hb_position_t x_offset = 0, y_offset = 0; in position_around_base() local 349 x_offset -= buffer->pos[base].x_advance; in position_around_base() 397 buffer->pos[i].x_offset += x_offset; in position_around_base() [all …]
|
D | hb-ot-color-sbix-table.hh | 96 int *x_offset, in get_glyph_blob() 135 if (x_offset) *x_offset = glyph->xOffset; in get_glyph_blob() 224 int *x_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() 307 extents->x_bearing = x_offset; in get_png_extents()
|
D | sample.py | 60 x_offset = pos.x_offset variable 63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
|
/third_party/cef/tests/cefclient/browser/ |
D | root_window_win.cc | 684 int x_offset = rect.left; in OnSize() local 693 hdwp = DeferWindowPos(hdwp, back_hwnd_, nullptr, x_offset, 0, button_width, in OnSize() 695 x_offset += button_width; in OnSize() 696 hdwp = DeferWindowPos(hdwp, forward_hwnd_, nullptr, x_offset, 0, in OnSize() 698 x_offset += button_width; in OnSize() 699 hdwp = DeferWindowPos(hdwp, reload_hwnd_, nullptr, x_offset, 0, in OnSize() 701 x_offset += button_width; in OnSize() 702 hdwp = DeferWindowPos(hdwp, stop_hwnd_, nullptr, x_offset, 0, button_width, in OnSize() 704 x_offset += button_width; in OnSize() 705 hdwp = DeferWindowPos(hdwp, edit_hwnd_, nullptr, x_offset, 0, in OnSize() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/ |
D | muxedit.c | 110 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 …]
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | muxedit.c | 110 PutLE24(frame_bytes + 0, info->x_offset / 2); in CreateFrameData() 296 tmp.x_offset &= ~1; // Snap offsets to even. in WebPMuxPushFrame() 298 if (tmp.x_offset < 0 || tmp.x_offset >= MAX_POSITION_OFFSET || in WebPMuxPushFrame() 390 int* const x_offset, int* const y_offset, int* const duration) { in GetFrameInfo() argument 397 *x_offset = 2 * GetLE24(data->bytes + 0); 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() 442 const int max_x_pos = x_offset + w; in GetAdjustedCanvasSize() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 359 float x_offset = 0, y_offset=0; in try_setup_line() local 442 x_offset = -x2diff - 0.5; in try_setup_line() 443 y_offset = x_offset * dydx; in try_setup_line() 450 x_offset = -x1diff + 0.5; in try_setup_line() 451 y_offset = x_offset * dydx; in try_setup_line() 460 x[0] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line() 463 x[3] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line() 543 x_offset = y_offset * dxdy; in try_setup_line() 550 x_offset = y_offset * dxdy; in try_setup_line() 559 x[0] = subpixel_snap(v1[0][0] + x_offset - pixel_offset) - fixed_width/2; in try_setup_line() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | gifdec.c | 132 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() 268 const uint32_t* const src = prev_canvas->argb + rect->x_offset in GIFDisposeFrame() 271 uint32_t* const dst = curr_canvas->argb + rect->x_offset in GIFDisposeFrame() 287 for (i = rect->x_offset; i < rect->x_offset + rect->width; ++i) { in GIFBlendFrames()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | gifdec.c | 132 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() 268 const uint32_t* const src = prev_canvas->argb + rect->x_offset in GIFDisposeFrame() 271 uint32_t* const dst = curr_canvas->argb + rect->x_offset in GIFDisposeFrame() 287 for (i = rect->x_offset; i < rect->x_offset + rect->width; ++i) { in GIFBlendFrames()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/examples/ |
D | simpleover.c | 103 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()
|
/third_party/skia/third_party/externals/libpng/contrib/examples/ |
D | simpleover.c | 103 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()
|
/third_party/ffmpeg/libavformat/ |
D | apngdec.c | 241 uint32_t sequence_number, width, height, x_offset, y_offset; in decode_fctl_chunk() local 248 x_offset = avio_rb32(s->pb); in decode_fctl_chunk() 281 x_offset, in decode_fctl_chunk() 290 x_offset != 0 || in decode_fctl_chunk() 293 x_offset >= s->streams[0]->codecpar->width || in decode_fctl_chunk() 294 width > s->streams[0]->codecpar->width - x_offset || in decode_fctl_chunk()
|