float->int as reported by -Wfloat-conversion
Change-Id: I9e3d6ce9dbb0689f214afc8d5950f209275e883d
#if CONFIG_VP9_HIGHBITDEPTH
if (cpi->common.use_highbitdepth)
pmi->palette_colors[i * PALETTE_MAX_SIZE + j] =
- clip_pixel_highbd(roundf(centroids[j * 2 + i - 1]),
+ clip_pixel_highbd((int)lroundf(centroids[j * 2 + i - 1]),
cpi->common.bit_depth);
else
#endif // CONFIG_VP9_HIGHBITDEPTH
pmi->palette_colors[i * PALETTE_MAX_SIZE + j] =
- clip_pixel(roundf(centroids[j * 2 + i - 1]));
+ clip_pixel((int)lroundf(centroids[j * 2 + i - 1]));
}
}
for (r = 0; r < rows; ++r)