Home
last modified time | relevance | path

Searched refs:CLIP_RANGE_MIN_8BIT (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp453 constexpr int CLIP_RANGE_MIN_8BIT = -294; variable
1727 mClip = new uint8_t[CLIP_RANGE_MAX_8BIT - CLIP_RANGE_MIN_8BIT + 1]; in initClip()
1729 for (signed i = CLIP_RANGE_MIN_8BIT; i <= CLIP_RANGE_MAX_8BIT; ++i) { in initClip()
1730 mClip[i - CLIP_RANGE_MIN_8BIT] = (i < 0) ? 0 : (i > 255) ? 255 : (uint8_t)i; in initClip()
1734 return &mClip[-CLIP_RANGE_MIN_8BIT]; in initClip()