This file is indexed.

/usr/include/libvisual-0.4/libvisual/lv_bin.h is in libvisual-0.4-dev 0.4.0-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* Libvisual - The audio visualisation framework.
 * 
 * Copyright (C) 2004, 2005, 2006 Dennis Smit <ds@nerds-incorporated.org>
 *
 * Authors: Dennis Smit <ds@nerds-incorporated.org>
 *
 * $Id: lv_bin.h,v 1.9 2006/01/22 13:23:37 synap Exp $
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#ifndef _LV_BIN_H
#define _LV_BIN_H

#include <libvisual/lv_actor.h>
#include <libvisual/lv_input.h>
#include <libvisual/lv_morph.h>
#include <libvisual/lv_video.h>
#include <libvisual/lv_time.h>

VISUAL_BEGIN_DECLS

#define VISUAL_BIN(obj)					(VISUAL_CHECK_CAST ((obj), VisBin))

typedef enum {
	VISUAL_SWITCH_STYLE_DIRECT,
	VISUAL_SWITCH_STYLE_MORPH
} VisBinSwitchStyle;

typedef enum {
	VISUAL_BIN_DEPTH_LOWEST,
	VISUAL_BIN_DEPTH_HIGHEST
} VisBinDepth;

typedef struct _VisBin VisBin;

struct _VisBin {
	VisObject	 object;

	int		 managed;
	VisActor	*actor;
	VisVideo	*actvideo;
	VisVideo	*privvid;
	
	int		 actmorphmanaged;
	VisVideo	*actmorphvideo;
	VisActor	*actmorph;

	int		 inputmanaged;
	VisInput	*input;

	int		 morphmanaged;
	VisMorph	*morph;
	int		 morphstyle;
	int		 morphing;
	int		 morphautomatic;
	int		 morphsteps;
	int		 morphstepsdone;
	float		 morphrate;
	VisMorphMode	 morphmode;
	VisTime		 morphtime;

	int		 depthpreferred;	/* Prefered depth, highest or lowest */
	int		 depthflag;		/* Supported depths */
	int		 depthold;		/* Previous depth */
	int		 depth;			/* Depth we're running in */
	int		 depthchanged;		/* Set TRUE if the depth has changed */
	int		 depthfromGL;		/* Set when switching away from openGL */
	int		 depthforced;		/* Contains forced depth value, for the actmorph so we've got smooth transformations */
	int		 depthforcedmain;	/* Contains forced depth value, for the main actor */
};

/* prototypes */
VisBin *visual_bin_new (void);

int visual_bin_realize (VisBin *bin);

int visual_bin_set_actor (VisBin *bin, VisActor *actor);
VisActor *visual_bin_get_actor (VisBin *bin);

int visual_bin_set_input (VisBin *bin, VisInput *input);
VisInput *visual_bin_get_input (VisBin *bin);

int visual_bin_set_morph (VisBin *bin, VisMorph *morph);
int visual_bin_set_morph_by_name (VisBin *bin, char *morphname);
VisMorph *visual_bin_get_morph (VisBin *bin);

int visual_bin_connect (VisBin *bin, VisActor *actor, VisInput *input);
int visual_bin_connect_by_names (VisBin *bin, char *actname, char *inname);

int visual_bin_sync (VisBin *bin, int noevent);

int visual_bin_set_video (VisBin *bin, VisVideo *video);

int visual_bin_set_supported_depth (VisBin *bin, int depthflag);
int visual_bin_set_preferred_depth (VisBin *bin, VisBinDepth depthpreferred);
int visual_bin_set_depth (VisBin *bin, int depth);
int visual_bin_get_depth (VisBin *bin);
int visual_bin_depth_changed (VisBin *bin);

VisPalette *visual_bin_get_palette (VisBin *bin);

int visual_bin_switch_actor_by_name (VisBin *bin, char *actname);
int visual_bin_switch_actor (VisBin *bin, VisActor *actor);
int visual_bin_switch_finalize (VisBin *bin);
int visual_bin_switch_set_style (VisBin *bin, VisBinSwitchStyle style);
int visual_bin_switch_set_steps (VisBin *bin, int steps);
int visual_bin_switch_set_automatic (VisBin *bin, int automatic);
int visual_bin_switch_set_rate (VisBin *bin, float rate);
int visual_bin_switch_set_mode (VisBin *bin, VisMorphMode mode);
int visual_bin_switch_set_time (VisBin *bin, long sec, long usec);

int visual_bin_run (VisBin *bin);

VISUAL_END_DECLS

#endif /* _LV_BIN_H */