Home
last modified time | relevance | path

Searched refs:start_x (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dvideodsp_template.c30 int start_y, start_x, end_y, end_x; in FUNC() local
56 start_x = FFMAX(0, -src_x); in FUNC()
60 av_assert2(start_x < end_x && block_w); in FUNC()
62 w = end_x - start_x; in FUNC()
63 src += start_y * src_linesize + start_x * sizeof(pixel); in FUNC()
64 buf += start_x * sizeof(pixel); in FUNC()
86 buf -= block_h * buf_linesize + start_x * sizeof(pixel); in FUNC()
91 for(x = 0; x < start_x; x++) { in FUNC()
92 bufp[x] = bufp[start_x]; in FUNC()
Darbc.c56 int start_y = y * 4, start_x = x * 4; in fill_tile4() local
57 int end_y = start_y + 4, end_x = start_x + 4; in fill_tile4()
60 for (int k = start_x; k < end_x; k++) { in fill_tile4()
94 int start_y = y * tile_height, start_x = x * tile_width; in fill_tileX() local
95 int end_y = start_y + tile_height, end_x = start_x + tile_width; in fill_tileX()
97 if (start_x >= avctx->width || start_y >= avctx->height) in fill_tileX()
101 for (int k = start_x; k < end_x; k += step_w) { in fill_tileX()
Drasc.c249 int type, start_x, start_y, end_x, end_y, mov_x, mov_y; in decode_move() local
254 start_x = bytestream2_get_le16(&mc); in decode_move()
262 if (start_x >= avctx->width || start_y >= avctx->height || in decode_move()
268 if (start_x >= end_x || start_y >= end_y) in decode_move()
271 w = end_x - start_x; in decode_move()
280 b1 = s->frame1->data[0] + s->frame1->linesize[0] * (start_y + h - 1) + start_x * s->bpp; in decode_move()
281 b2 = s->frame2->data[0] + s->frame2->linesize[0] * (start_y + h - 1) + start_x * s->bpp; in decode_move()
Dh264_slice.c2460 static void loop_filter(const H264Context *h, H264SliceContext *sl, int start_x, int end_x) in loop_filter() argument
2473 for (mb_x = start_x; mb_x < end_x; mb_x++) in loop_filter()
/third_party/ffmpeg/libavfilter/
Dbbox.c29 int start_x; \
36 for (start_x = 0; start_x < w; start_x++) \
38 if ((data[y * linesize + start_x] > min_val)) \
41 if (start_x == w) /* no points found */ \
45 for (end_x = w - 1; end_x >= start_x; end_x--) \
71 bbox->x1 = start_x; \
Davf_showspectrum.c99 int start_x, start_y; member
712 dst = s->outpicref->data[0] + (s->start_y - 1) * s->outpicref->linesize[0] + s->start_x - 1; in draw_legend()
715 dst = s->outpicref->data[0] + (s->start_y + s->h) * s->outpicref->linesize[0] + s->start_x - 1; in draw_legend()
720 dst[s->start_x - 1] = 200; in draw_legend()
721 dst[s->start_x + s->w] = 200; in draw_legend()
729 dst[s->start_x - 2] = 200; in draw_legend()
730 dst[s->start_x + s->w + 1] = 200; in draw_legend()
734 dst[s->start_x - 3] = 200; in draw_legend()
735 dst[s->start_x + s->w + 2] = 200; in draw_legend()
737 dst = s->outpicref->data[0] + (s->start_y - 2) * s->outpicref->linesize[0] + s->start_x; in draw_legend()
[all …]
Dvf_minterpolate.c884 int start_x, start_y; in bidirectional_obmc() local
887start_x = (mb_x << mi_ctx->log2_mb_size) - mi_ctx->mb_size / 2 + mv_x * a / ALPHA_MAX; in bidirectional_obmc()
890 startc_x = av_clip(start_x, 0, width - 1); in bidirectional_obmc()
892 endc_x = av_clip(start_x + (2 << mi_ctx->log2_mb_size), 0, width - 1); in bidirectional_obmc()
906 …int obmc_weight = obmc_tab_linear[4 - mi_ctx->log2_mb_size][(x - start_x) + ((y - start_y) << (mi_… in bidirectional_obmc()
992 int start_x = x_mb + (sb_x << (n - 1)); in var_size_bmc() local
994 int end_x = start_x + (1 << (n - 1)); in var_size_bmc()
1000 for (x = start_x; x < end_x; x++) { in var_size_bmc()
1026 int start_x, start_y; in bilateral_obmc() local
1039 start_x = (mb_x << mi_ctx->log2_mb_size) - mi_ctx->mb_size / 2; in bilateral_obmc()
[all …]
Dvsrc_mandelbrot.c66 double start_x; member
95 …{"start_x", "set the initial x position", OFFSET(start_x), AV_OPT_TYPE_DOUBLE, {.dbl=-0…
186 x= lrint((p->p[0] - s->start_x) / scale + s->w/2); in fill_from_cache()
269 const double cr=s->start_x+scale*(x-s->w/2); in draw_mandelbrot()
/third_party/ffmpeg/libavcodec/x86/
Dvideodsp_init.c96 x86_reg start_x, x86_reg bh);
98 x86_reg start_x, x86_reg n_words, x86_reg bh);
160 x86_reg start_y, start_x, end_y, end_x, src_y_add = 0, p; in emulated_edge_mc() local
185 start_x = FFMAX(0, -src_x); in emulated_edge_mc()
188 av_assert2(start_x < end_x && block_w > 0); in emulated_edge_mc()
192 src += (src_y_add + start_y) * src_stride + start_x; in emulated_edge_mc()
193 w = end_x - start_x; in emulated_edge_mc()
195 vfix_tbl[w - 1](dst + start_x, dst_stride, src, src_stride, in emulated_edge_mc()
198 v_extend_var(dst + start_x, dst_stride, src, src_stride, in emulated_edge_mc()
203 if (start_x) { in emulated_edge_mc()
[all …]
Dvideodsp.asm95 cglobal emu_edge_hvar, 5, 6, 1, dst, dst_stride, start_x, n_words, h, w
424 cglobal emu_edge_hfix %+ %%n, 4, 4, 1, dst, dst_stride, start_x, bh
426 cglobal emu_edge_hfix %+ %%n, 4, 5, 1, dst, dst_stride, start_x, bh, val
/third_party/astc-encoder/Utils/
Dastc_test_autoextract_hdr.cpp173 int start_x = worst_x_block * blockdim_x; in main() local
188 int outblk_x = end_x - start_x; in main()
191 printf("Block errors found at ~(%u, %u) px\n", start_x, start_y); in main()
198 …outblk_x * 4) + (x * 4) + 0] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x + x) * 4) + 0]; in main()
199 …outblk_x * 4) + (x * 4) + 1] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x + x) * 4) + 1]; in main()
200 …outblk_x * 4) + (x * 4) + 2] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x + x) * 4) + 2]; in main()
201 …outblk_x * 4) + (x * 4) + 3] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x + x) * 4) + 3]; in main()
Dastc_test_autoextract.cpp173 int start_x = worst_x_block * blockdim_x; in main() local
188 int outblk_x = end_x - start_x; in main()
191 printf("Block errors found at ~(%u, %u) px\n", start_x, start_y); in main()
194 uint8_t* data_out = &(data_ref[pix(ref_dim_x, start_y, start_x, 4, 0)]); in main()
/third_party/gstreamer/gstplugins_bad/gst/librfb/
Drfbdecoder.c38 static gboolean rfb_decoder_raw_encoding (RfbDecoder * decoder, gint start_x,
41 gint start_x, gint start_y, gint rect_w, gint rect_h);
42 static gboolean rfb_decoder_rre_encoding (RfbDecoder * decoder, gint start_x,
44 static gboolean rfb_decoder_corre_encoding (RfbDecoder * decoder, gint start_x,
47 gint start_x, gint start_y, gint rect_w, gint rect_h);
856 rfb_decoder_raw_encoding (RfbDecoder * decoder, gint start_x, gint start_y, in rfb_decoder_raw_encoding() argument
873 start_x) * decoder->bytespp); in rfb_decoder_raw_encoding()
886 rfb_decoder_copyrect_encoding (RfbDecoder * decoder, gint start_x, gint start_y, in rfb_decoder_copyrect_encoding() argument
908 start_x) * decoder->bytespp; in rfb_decoder_copyrect_encoding()
939 rfb_decoder_rre_encoding (RfbDecoder * decoder, gint start_x, gint start_y, in rfb_decoder_rre_encoding() argument
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpredictor_enc.c307 const int start_x = tile_x << bits; in GetBestPredictorForTile() local
311 const int max_x = GetMin(tile_size, width - start_x); in GetBestPredictorForTile()
313 const int have_left = (start_x > 0); in GetBestPredictorForTile()
316 const int context_start_x = start_x - have_left; in GetBestPredictorForTile()
318 const int context_width = max_x + have_left + (max_x < width - start_x); in GetBestPredictorForTile()
379 start_x, start_x + max_x, y, max_quantization, exact, in GetBestPredictorForTile()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderRendering.cpp3418 int start_x = 0; in verify() local
3426 start_x = 3; /* skip the corner */ in verify()
3441 start_x = single_rt_width - 2; /* middle segment */ in verify()
3444 end_x = start_x; in verify()
3456 start_x = 3; /* skip the corner */ in verify()
3471 start_x = 1; /* middle segment */ in verify()
3474 end_x = start_x; in verify()
3490 int dx = (end_x != start_x) ? 1 : 0; in verify()
3492 int n_pixels = (end_x - start_x) + (end_y - start_y); in verify()
3496 int cur_x = start_x + n_pixel * dx; in verify()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c200 unsigned start_x, unsigned start_y, unsigned start_z, in one_dcc_address_test() argument
276 for (in.x = start_x; in.x < in.pitch; in.x += dout.compressBlkWidth) { in one_dcc_address_test()
424 unsigned start_x, unsigned start_y, unsigned start_z) in one_htile_address_test() argument
471 for (in.x = start_x; in.x < width; in.x++) { in one_htile_address_test()
581 unsigned start_x, unsigned start_y, unsigned start_z) in one_cmask_address_test() argument
630 for (in.x = start_x; in.x < width; in.x++) { in one_cmask_address_test()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c898 uint32_t start_x, uint32_t start_y, in vc4_dump_surface_msaa_char() argument
905 for (int x = start_x; x < start_x + w; x++) { in vc4_dump_surface_msaa_char()
910 if (x == start_x && y == start_y) in vc4_dump_surface_msaa_char()
/third_party/python/Lib/idlelib/idle_test/
Dtest_sidebar.py275 start_x, start_y = self.get_line_screen_position(start_line)
279 x=start_x, y=start_y)
289 map(int, lerp(start_x, end_x, steps=11)),
/third_party/astc-encoder/Source/
Dastcenc_entry.cpp890 int start_x = x * block_x; in compress_image() local
891 int end_x = astc::min(dim_x, start_x + block_x); in compress_image()
910 for (int ax = start_x; ax < end_x; ax++) in compress_image()
Dstb_image.h6488 int start_x, start_y; member
6595 g->cur_x = g->start_x; in stbi__out_gif_code()
6773 g->start_x = x * 4; in stbi__gif_load_next()
6775 g->max_x = g->start_x + w * 4; in stbi__gif_load_next()
6777 g->cur_x = g->start_x; in stbi__gif_load_next()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dcffdecode.c1528 FT_Pos start_x, start_y; /* record start x, y values for */ in cff_decoder_parse_charstrings() local
1544 start_x = x; in cff_decoder_parse_charstrings()
1585 x = start_x; in cff_decoder_parse_charstrings()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_device.c2565 uint32_t y, uint32_t z, uint32_t *start_x) in dzn_buffer_get_line_copy_loc() argument
2598 *start_x = ((offset % offset_alignment) / blksz) * blkw; in dzn_buffer_get_line_copy_loc()
2599 new_loc.PlacedFootprint.Footprint.Width = *start_x + region->imageExtent.width; in dzn_buffer_get_line_copy_loc()
Ddzn_private.h974 uint32_t y, uint32_t z, uint32_t *start_x);
/third_party/libinput/test/
Dtest-tablet.c638 double start_x = 20, in START_TEST() local
643 start_x = 15; in START_TEST()
647 start_x = 20; in START_TEST()
656 litest_tablet_proximity_in(dev, start_x, start_y, axes); in START_TEST()
660 litest_tablet_motion(dev, start_x, start_y, axes); in START_TEST()
667 start_x++; in START_TEST()
/third_party/skia/third_party/externals/imgui/
Dimgui_tables.cpp1938 float start_x = column->WorkMinX; in TableBeginCell() local
1940start_x += table->RowIndentOffsetX; // ~~ += window.DC.Indent.x - table->HostIndentX, except we lo… in TableBeginCell()
1942 window->DC.CursorPos.x = start_x; in TableBeginCell()
1945 window->DC.ColumnsOffset.x = start_x - window->Pos.x - window->DC.Indent.x; // FIXME-WORKRECT in TableBeginCell()

12