Searched refs:ubase (Results 1 – 2 of 2) sorted by relevance
773 uint8_t* ubase = &src[len]; in ConvertYUV420SPToRGBA() local783 int u = static_cast<int>(ubase[i / 2 * bufferStride + (j / 2) * 2 + 1]); in ConvertYUV420SPToRGBA()784 int v = static_cast<int>(ubase[i / 2 * bufferStride + (j / 2) * 2]); in ConvertYUV420SPToRGBA()
2822 … const size_t ubase = width * height + ((sourceOptions_.pixelFormat == PixelFormat::NV12) ? 0 : 1); in ConvertYUV420ToRGBA() local2826 ubase, vbase, width, uvwidth); in ConvertYUV420ToRGBA()2834 const size_t upos = ubase + uvline + (w & (~1)); in ConvertYUV420ToRGBA()