search for: y_start

Displaying 6 results from an estimated 6 matches for "y_start".

Did you mean: _start
2011 Nov 28
0
function manipulation for integration
...ion functions, which is not where the problem is. The function definition is as follows: adaptIntegrate(f, lowerLimit, upperLimit, ...) The problem is that I want to integrate a 3D function which has been parametrised such that it is a 2D function: eg. I want to integrate f(x_start+gradient_x*t1, y_start+gradient_y*t2) for t1 in [0,1] and t2 in [0,1]. To explain the example in another way I only have access to f, x_start, y_start and the gradients. Note that I want to be able to change x_start, y_start such that I can do different integrals. Any thoughts? Thanks, Sachin [[alternative HTML vers...
2007 Apr 16
0
4 commits - libswfdec/swfdec_shape.c libswfdec/swfdec_stroke.c test/dump.c
...ccumulate_one_polygon (Swf break; } if (i == paths_len) { - SWFDEC_ERROR ("could not find a closed path for style %u", style); + SWFDEC_ERROR ("could not find a closed path for style %u, starting at %d %d", style, + paths[start].x_start, paths[start].y_start); goto fail; } } @@ -794,6 +795,14 @@ swfdec_shape_initialize_from_sub_paths ( { guint i; +#if 0 + g_print ("\n\n"); + for (i = 0; i < path_array->len; i++) { + SubPath *path = &g_array_index (path_array, SubPath, i); + g_print ("%d %d => %d...
2006 Jul 17
0
(no subject)
...c --- a/tools/ioemu/hw/vga.c Fri Jul 14 18:53:27 2006 +0100 +++ b/tools/ioemu/hw/vga.c Mon Jul 17 22:35:54 2006 +0800 @@ -1392,7 +1392,8 @@ static void vga_draw_graphic(VGAState *s static void vga_draw_graphic(VGAState *s, int full_update) { int y1, y, update, page_min, page_max, linesize, y_start, double_scan, mask; - int width, height, shift_control, line_offset, page0, page1, bwidth; + int width, height, shift_control, line_offset, bwidth; + ram_addr_t page0, page1; int disp_width, multi_scan, multi_run; uint8_t *d; uint32_t v, addr1, addr; ______________________...
2006 Mar 16
0
[PATCH 3a/3] Add shadow VRAM
...r[9], s->cr[0x17], s->line_compare, s->sr[0x01]); #endif + for (y = 0; y < s->vram_size; y += TARGET_PAGE_SIZE) + if (vram_dirty(s, y, TARGET_PAGE_SIZE)) + cpu_physical_memory_set_dirty(s->vram_offset + y); addr1 = (s->start_addr * 4); bwidth = width * 4; y_start = -1; @@ -1536,8 +1619,17 @@ static void vga_draw_blank(VGAState *s, void vga_update_display(void) { + static int loop; VGAState *s = vga_state; int full_update, graphic_mode; + + /* + * Only update the display every other time. The responsiveness is + * acceptable...
2007 Oct 11
0
12 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_frame.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_shape_parser.c libswfdec/swfdec_sound.c test/sound
...*cur; - SwfdecSubPath *start2, *last2, *cur2; + SwfdecSubPath *start, *last; + SwfdecSubPath *start2 = NULL, *last2 = NULL; last = start = &paths[GPOINTER_TO_UINT (style->subpaths->data)]; swfdec_path_move_to (&style->draw->path, start->x_start, start->y_start); @@ -235,10 +235,10 @@ swfdec_style_finish (SwfdecStyle *style, while (!swfdec_sub_path_match (last, start) || (paths2 != NULL && !swfdec_sub_path_match (last2, start2))) { for (walk = style->subpaths; walk; walk = walk->next) { - cur = &paths[GPOINTER_TO_UINT (walk...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...NB_DEPTHS + get_depth_index(s->ds)]; - if (!s->ds->shared_buf && s->cursor_invalidate) + if (!is_buffer_shared(s->ds->surface) && s->cursor_invalidate) s->cursor_invalidate(s); line_offset = s->line_offset; @@ -1756,8 +1769,8 @@ y_start = -1; page_min = 0; page_max = 0; - d = s->ds->data; - linesize = s->ds->linesize; + d = ds_get_data(s->ds); + linesize = ds_get_linesize(s->ds); y1 = 0; for(y = 0; y < height; y++) { addr = addr1; @@ -1789,7 +1802,7 @@...