Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp491 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 16 : 0; in convertCbYCrY() local
503 signed y1 = (signed)src_ptr[2 * x + 1] - _c16; in convertCbYCrY()
504 signed y2 = (signed)src_ptr[2 * x + 3] - _c16; in convertCbYCrY()
794 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 16 : 0; in convertYUV420Planar() local
822 signed tmp1 = (y1 - _c16) * _y + 128; in convertYUV420Planar()
827 signed tmp2 = (y2 - _c16) * _y + 128; in convertYUV420Planar()
879 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 64 : 0; in convertYUVP010ToRGBA1010102() local
899 y1 = (src_y[x] >> 6) - _c16; in convertYUVP010ToRGBA1010102()
900 y2 = (src_y[x + 1] >> 6) - _c16; in convertYUVP010ToRGBA1010102()
1167 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 16 : 0; in convertYUV420SemiPlanarBase() local
[all …]
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp193 int32_t _y, _b_u, _g_u, _g_v, _r_v, _c16; member
254 int32_t _c16 = coeffs._c16; in convertYUV420Planar16ToRGBA1010102() local
272 y00 = *ySrcTop - _c16; in convertYUV420Planar16ToRGBA1010102()
274 y01 = *ySrcTop - _c16; in convertYUV420Planar16ToRGBA1010102()
276 y10 = *ySrcBot - _c16; in convertYUV420Planar16ToRGBA1010102()
278 y11 = *ySrcBot - _c16; in convertYUV420Planar16ToRGBA1010102()