Cleanup percentil tables
@@ -33,14 +33,19 @@ struct packed_percentile_table
{
/** The block X dimension. */
uint8_t xdim;
+
/** The block Y dimension. */
uint8_t ydim;
+
/** The number of packed items in the 1 and 2 plane data. */
- uint16_t itemcounts[2];
+ uint16_t item_count[2];
+
/** The accumulator divisor for 1 and 2 plane data. */
uint16_t difscales[2];
+
/** The initial accumulator values for 1 and 2 plane data. */
uint16_t initial_percs[2];
+
/** The packed data for the 1 and 2 plane data. */
const uint16_t *items[2];
};
@@ -1173,7 +1178,7 @@ const float *get_2d_percentile_table(
// Populate the unpacked percentile values
for (int i = 0; i < 2; i++)
{
- unsigned int itemcount = apt->itemcounts[i];
+ unsigned int itemcount = apt->item_count[i];
unsigned int difscale = apt->difscales[i];
unsigned int accum = apt->initial_percs[i];
const uint16_t *item_ptr = apt->items[i];
