Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BigDataViewer_Core_Extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioinformaticDataCompression
BigDataViewer_Core_Extension
Commits
a72b7403
Commit
a72b7403
authored
11 years ago
by
Tobias Pietzsch
Browse files
Options
Downloads
Patches
Plain Diff
rename Hdf5CellCache to VolatileCellCache because it is not hdf5 specific
parent
3dd5fb3f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/bdv/img/cache/VolatileGlobalCellCache.java
+2
-2
2 additions, 2 deletions
src/main/java/bdv/img/cache/VolatileGlobalCellCache.java
src/main/java/bdv/img/hdf5/Hdf5ImageLoader.java
+1
-1
1 addition, 1 deletion
src/main/java/bdv/img/hdf5/Hdf5ImageLoader.java
with
3 additions
and
3 deletions
src/main/java/bdv/img/cache/VolatileGlobalCellCache.java
+
2
−
2
View file @
a72b7403
...
@@ -483,7 +483,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach
...
@@ -483,7 +483,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach
stats
.
getIoTimeBudget
().
reset
(
partialBudget
);
stats
.
getIoTimeBudget
().
reset
(
partialBudget
);
}
}
public
class
Hdf5
CellCache
implements
CellCache
<
A
>
public
class
Volatile
CellCache
implements
CellCache
<
A
>
{
{
private
final
int
timepoint
;
private
final
int
timepoint
;
...
@@ -493,7 +493,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach
...
@@ -493,7 +493,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach
private
final
LoadingStrategy
loadingStrategy
;
private
final
LoadingStrategy
loadingStrategy
;
public
Hdf5
CellCache
(
final
int
timepoint
,
final
int
setup
,
final
int
level
,
final
LoadingStrategy
strategy
)
public
Volatile
CellCache
(
final
int
timepoint
,
final
int
setup
,
final
int
level
,
final
LoadingStrategy
strategy
)
{
{
this
.
timepoint
=
timepoint
;
this
.
timepoint
=
timepoint
;
this
.
setup
=
setup
;
this
.
setup
=
setup
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/bdv/img/hdf5/Hdf5ImageLoader.java
+
1
−
1
View file @
a72b7403
...
@@ -364,7 +364,7 @@ public class Hdf5ImageLoader implements ViewerImgLoader
...
@@ -364,7 +364,7 @@ public class Hdf5ImageLoader implements ViewerImgLoader
final
long
[]
dimensions
=
getImageDimension
(
view
.
getTimepointIndex
(),
view
.
getSetupIndex
(),
level
);
final
long
[]
dimensions
=
getImageDimension
(
view
.
getTimepointIndex
(),
view
.
getSetupIndex
(),
level
);
final
int
[]
cellDimensions
=
perSetupSubdivisions
.
get
(
view
.
getSetupIndex
()
)[
level
];
final
int
[]
cellDimensions
=
perSetupSubdivisions
.
get
(
view
.
getSetupIndex
()
)[
level
];
final
CellCache
<
VolatileShortArray
>
c
=
cache
.
new
Hdf5
CellCache
(
view
.
getTimepointIndex
(),
view
.
getSetupIndex
(),
level
,
loadingStrategy
);
final
CellCache
<
VolatileShortArray
>
c
=
cache
.
new
Volatile
CellCache
(
view
.
getTimepointIndex
(),
view
.
getSetupIndex
(),
level
,
loadingStrategy
);
final
VolatileImgCells
<
VolatileShortArray
>
cells
=
new
VolatileImgCells
<
VolatileShortArray
>(
c
,
1
,
dimensions
,
cellDimensions
);
final
VolatileImgCells
<
VolatileShortArray
>
cells
=
new
VolatileImgCells
<
VolatileShortArray
>(
c
,
1
,
dimensions
,
cellDimensions
);
final
CellImg
<
T
,
VolatileShortArray
,
VolatileCell
<
VolatileShortArray
>
>
img
=
new
CellImg
<
T
,
VolatileShortArray
,
VolatileCell
<
VolatileShortArray
>
>(
null
,
cells
);
final
CellImg
<
T
,
VolatileShortArray
,
VolatileCell
<
VolatileShortArray
>
>
img
=
new
CellImg
<
T
,
VolatileShortArray
,
VolatileCell
<
VolatileShortArray
>
>(
null
,
cells
);
return
img
;
return
img
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment