Searched refs:pDstArray (Results 1 – 1 of 1) sorted by relevance
211 int8_t* pDstArray = reinterpret_cast<int8_t*>(malloc(mBufferSize)); in ConvertRgbaToYuv() local233 pDstArray[nYIndex++] = (uint8_t)((y < 0) ? 0 : ((y > 255) ? 255 : y)); in ConvertRgbaToYuv()237 pDstArray[nUVIndex++] = (uint8_t)((v < 0) ? 0 : ((v > 255) ? 255 : v)); in ConvertRgbaToYuv()238 pDstArray[nUVIndex++] = (uint8_t)((u < 0) ? 0 : ((u > 255) ? 255 : u)); in ConvertRgbaToYuv()255 return pDstArray; in ConvertRgbaToYuv()