MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / all_same_d

Function all_same_d

cmp_framework/common/hdr_encode.cpp:1643–1651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1641}
1642
1643int all_same_d(float d[][MAX_DIMENSION_BIG], int n, int dimension) {
1644 int i, j;
1645 int same = 1;
1646 for (i = 1; i< n; i++)
1647 for (j = 0; j< dimension; j++)
1648 same = same && (d[0][j] == d[i][j]);
1649
1650 return(same);
1651}
1652
1653// return the max index from a set of indexes
1654int max_index(int a[], int n) {

Callers 2

ep_shaker_HDFunction · 0.70
ep_shaker_2_dFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected