3 * sushivision copyright (C) 2006-2007 Monty <monty@xiph.org>
5 * sushivision is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
10 * sushivision is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with sushivision; see the file COPYING. If not, write to the
17 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 /* only run those functions used by this panel */
29 sv_func_t
**used_function_list
;
31 unsigned char *bg_todo
;
36 /**** Y PLANES ******/
38 int **y_map
; // indirected, dw*dh
39 _sv_ucolor_t
**y_planes
; // indirected, dw*dh
40 unsigned char **y_planetodo
; // indirected, dh
43 int y_next_plane
; // which y plane to issue next render
44 int y_next_line
; // incremented when a line is claimed, per plane [0-ph)
46 sv_obj_t
**y_obj_list
; // list of objectives with a y plane
47 int *y_obj_to_panel
; /* maps from position in condensed list to position in full list */
48 int *y_obj_from_panel
; /* maps from position in full list to position in condensed list */
51 /* cached resampling helpers */
52 int resample_serialno
;
59 /* scales and data -> display scale mapping */
70 _sv_mapping_t
*mappings
;
71 _sv_slider_t
**range_scales
;
72 GtkWidget
**range_pulldowns
;
78 _sv_dim_widget_t
*x_scale
;
79 _sv_dim_widget_t
*y_scale
;
80 int x_dnum
; // panel, not global list context
81 int y_dnum
; // panel, not global list context
86 double *fout
; // [function number * outval_number]
88 int **y_map
; // [y_obj_list[i]][px]
91 /* cached resampling helpers; x is here becasue locking overhead
92 would be prohibitive to share between threads */
100 } _sv_bythread_cache_2d_t
;