Skip to content

Commit 0bc554c

Browse files
committed
add rms as input
1 parent 132984d commit 0bc554c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CvxCompress.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,12 +1295,13 @@ cvx_compress_th(
12951295
int bx,
12961296
int by,
12971297
int bz,
1298+
bool use_local_RMS,
12981299
unsigned int *compressed,
12991300
int num_threads,
13001301
long *compressed_length)
13011302
{
13021303
CvxCompress c;
1303-
return c.Compress(scale, vol, nx, ny, nz, bx, by, bz, false, compressed, num_threads, *compressed_length);
1304+
return c.Compress(scale, vol, nx, ny, nz, bx, by, bz, use_local_RMS, compressed, num_threads, *compressed_length);
13041305
}
13051306

13061307
void

CvxCompress.hxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include <stdbool.h>
2+
13
#ifndef CVX_CVXCOMPRESS_HXX
24
#define CVX_CVXCOMPRESS_HXX
35

@@ -173,8 +175,9 @@ float cvx_compress_th(
173175
int bx,
174176
int by,
175177
int bz,
178+
bool use_local_RMS,
176179
unsigned int* compressed,
177-
int num_threads,
180+
int num_threads,
178181
long* compressed_length
179182
);
180183

0 commit comments

Comments
 (0)