File: pixel-cache.dot

package info (click to toggle)
graphicsmagick 1.3.30+hg15796-1~deb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 176,320 kB
  • sloc: ansic: 998,570; xml: 91,899; sh: 77,027; cpp: 39,772; python: 29,412; makefile: 8,198; perl: 4,629; asm: 3,560; pascal: 3,096; tcl: 2,208; ada: 1,681; awk: 924; cs: 879; php: 368; sed: 10
file content (153 lines) | stat: -rw-r--r-- 5,927 bytes parent folder | download
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/*
  Copyright (C) 2008, 2013 GraphicsMagick Group

  This program is covered by multiple licenses, which are described in
  Copyright.txt. You should have received a copy of Copyright.txt with
  this package; otherwise see
  http://www.graphicsmagick.org/www/Copyright.html.

  Pixel Cache Call Diagram.
  Written by Bob Friesenhahn, November 2008.

  This file is in DOT format and may be viewed using GraphicsMagick if
  'dot' is installed.  For example:

    gm display -density 100  pixel-cache.dot
*/

digraph "pixel-cache" {

  label = "\n\nGraphicsMagick\nPixel Cache Functions";
  fontname = "Helvetica";
  fontsize=20;

  node [style=filled];
  node [color="bisque"];
  ratio=fill
  size="18,8";
  /* rankdir=LR; */
  rankdir=TB;
  {rank=same; AccessCacheViewPixels AcquireCacheViewPixels AcquireOneCacheViewPixel \
                CloseCacheView GetCacheViewIndexes GetCacheViewPixels OpenCacheView \
                SetCacheViewPixels SyncCacheViewPixels };

  {rank=same; AccessImmutableIndexes AccessMutableIndexes AccessMutablePixels \
                AcquireImagePixels AcquireOnePixelByReference GetImagePixels \
                GetImagePixelsEx GetIndexes GetOnePixel GetPixels SetImagePixels \
                SetImagePixelsEx SyncImagePixels SyncImagePixelsEx };

  {rank=same; WriteCacheIndexes WriteCachePixels ReadCachePixels ReadCacheIndexes };

  {rank=same; ClonePixelCache OpenCache FilePositionRead FilePositionWrite };

  AccessCacheViewPixels [color="chartreuse"];
  AccessMutableIndexes [color="chartreuse"];
  AccessMutablePixels [color="chartreuse"];
  AcquireCacheViewPixels [color="chartreuse"];
  AcquireImagePixels [color="chartreuse"];
  AccessImmutableIndexes  [color="chartreuse"];
  AcquireOneCacheViewPixel [color="chartreuse"];
  AcquireOnePixel [color="chartreuse"];
  AcquireOnePixelByReference [color="chartreuse"];
  CloseCacheView [color="chartreuse"];
/*   DestroyCacheInfo [color="chartreuse"]; */
/*   DestroyImagePixels [color="chartreuse"]; */
/*   GetCacheInfo [color="chartreuse"]; */
  GetCacheViewPixels [color="chartreuse"];
  GetCacheViewIndexes [color="chartreuse"];
  GetImagePixels [color="chartreuse"];
  GetImagePixelsEx [color="chartreuse"];
  GetIndexes [color="chartreuse"];
  GetOnePixel [color="chartreuse"];
  /* GetPixelCacheArea [color="chartreuse"]; */
  /* GetPixelCachePresent [color="chartreuse"]; */
  GetPixels [color="chartreuse"];
  OpenCacheView [color="chartreuse"];
  /* PersistCache [color="chartreuse"]; */
/*   ReferenceCache [color="chartreuse"]; */
  SetCacheViewPixels [color="chartreuse"];
  SetImagePixels [color="chartreuse"];
  SetImagePixelsEx [color="chartreuse"];
  SyncCacheViewPixels [color="chartreuse"];
  SyncImagePixels [color="chartreuse"];
  SyncImagePixelsEx [color="chartreuse"];

/*   DestroyCacheInfo [color="salmon"]; */
  DestroyCacheNexus [color="salmon"];
  AllocateCacheNexus [color="salmon"];
  ModifyCache [color="salmon"];
  /* PersistCache [color="salmon"]; */
/*   ReferenceCache [color="salmon"]; */

  AccessCacheViewPixels -> GetNexusPixels;
  AcquireCacheNexus -> AcquireCacheNexus;
  AcquireCacheNexus -> DestroyCacheNexus;
  AcquireCacheNexus -> AllocateCacheNexus;
  AcquireCacheNexus -> GetNexusIndexes;
  AcquireCacheNexus -> ReadCacheIndexes;
  AcquireCacheNexus -> ReadCachePixels;
  AcquireCacheNexus -> SetNexus;
  AcquireCacheViewPixels -> AcquireCacheNexus;
  AcquireImagePixels -> AcquireCacheViewPixels;
  AcquireOneCacheViewPixel -> AcquireCacheNexus;
  AcquireOnePixel ->  AcquireOneCacheViewPixel;
  AcquireOnePixelByReference -> AcquireOneCacheViewPixel;
  ClipCacheNexus -> AcquireCacheNexus;
  ClipCacheNexus -> DestroyCacheNexus;
  ClipCacheNexus -> GetCacheNexus;
  CloseCacheView -> DestroyCacheNexus;
/*   DestroyCacheInfo -> DestroySemaphoreInfo; */
/*   DestroyCacheInfo -> LockSemaphoreInfo; */
/*   DestroyCacheInfo -> UnlockSemaphoreInfo; */
/*   DestroyImagePixels -> DestroyCacheInfo; */
/*   DestroyPixelStream -> DestroySemaphoreInfo; */
/*   DestroyPixelStream -> LockSemaphoreInfo; */
/*   DestroyPixelStream -> UnlockSemaphoreInfo; */
/*   GetCacheInfo -> AllocateSemaphoreInfo; */
  GetCacheNexus -> ReadCacheIndexes;
  GetCacheNexus -> ReadCachePixels;
  GetCacheNexus -> SetCacheNexus;
  GetCacheViewPixels -> GetCacheNexus;
  GetCacheViewIndexes -> GetNexusIndexes;
  GetImagePixels -> GetCacheViewPixels;
  GetImagePixelsEx -> GetCacheViewPixels;
  GetIndexes -> GetCacheViewIndexes;
  AccessMutableIndexes -> GetCacheViewIndexes;
  AccessImmutableIndexes -> GetCacheViewIndexes;
  GetOnePixel -> AcquireOneCacheViewPixel;
  GetPixels -> AccessCacheViewPixels;
  AccessMutablePixels -> AccessCacheViewPixels;
  ModifyCache -> ClonePixelCache;
/*   ModifyCache -> GetCacheInfo; */
/*   ModifyCache -> LockSemaphoreInfo; */
  ModifyCache -> OpenCache;
/*   ModifyCache -> UnlockSemaphoreInfo; */
  OpenCacheView -> AllocateCacheNexus;
/*   PersistCache -> AcquireImagePixels; */
/*   PersistCache -> GetIndexes; */
/*   PersistCache -> LockSemaphoreInfo; */
/*   PersistCache -> OpenCache; */
/*   PersistCache -> ReferenceCache; */
/*   PersistCache -> SetImagePixels; */
/*   PersistCache -> SyncImagePixels; */
/*   PersistCache -> UnlockSemaphoreInfo; */
/*   ReferenceCache -> LockSemaphoreInfo; */
/*   ReferenceCache -> UnlockSemaphoreInfo; */
  SetCacheNexus -> ModifyCache;
  SetCacheNexus -> SetNexus;
  SetCacheViewPixels -> SetCacheNexus;
  SetImagePixels -> SetCacheViewPixels;
  SetImagePixelsEx -> SetCacheViewPixels;
  SyncCacheNexus -> ClipCacheNexus;
  SyncCacheNexus -> WriteCachePixels;
  SyncCacheNexus -> WriteCacheIndexes;
  SyncCacheViewPixels -> SyncCacheNexus;
  SyncImagePixels -> SyncCacheViewPixels;
  SyncImagePixelsEx -> SyncCacheViewPixels;
  SetNexus -> IsNexusInCore;

  ReadCacheIndexes -> FilePositionRead;
  ReadCachePixels -> FilePositionRead;
  WriteCacheIndexes -> FilePositionWrite;
  WriteCachePixels -> FilePositionWrite;
}