Searched refs:nbuckets (Results 1 – 2 of 2) sorted by relevance
646 bool MediaCodec::Histogram::setup(int nbuckets, int64_t width, int64_t floor) in setup() argument648 if (nbuckets <= 0 || width <= 0) { in setup()653 if (nbuckets == mBucketCount && mBuckets != NULL) { in setup()658 int64_t *newbuckets = (int64_t *)calloc(nbuckets, sizeof (*mBuckets)); in setup()669 mCeiling = floor + nbuckets * width; in setup()670 mBucketCount = nbuckets; in setup()
490 bool setup(int nbuckets, int64_t width, int64_t floor = 0);