Searched refs:pQuad (Results 1 – 2 of 2) sorted by relevance
/hardware/google/aemu/host-common/include/host-common/ |
D | YuvConverter.h | 24 pQuad = new T[nWidth * nHeight / 4]; in YuvConverter() 26 ~YuvConverter() { delete[] pQuad; } in ~YuvConverter() 33 memcpy(pQuad, puv, nWidth * nHeight / 4 * sizeof(T)); 36 memcpy(pQuad + nWidth / 2 * i, puv + nPitch / 2 * i, 43 puv[y * nPitch + x * 2] = pQuad[y * nWidth / 2 + x]; 57 pQuad[y * nWidth / 2 + x] = puv[y * nPitch + x * 2 + 1]; 61 memcpy(pv, pQuad, nWidth * nHeight / 4 * sizeof(T)); 64 memcpy(pv + nPitch / 2 * i, pQuad + nWidth / 2 * i, 71 T* pQuad;
|
/hardware/google/gfxstream/host/gl/ |
D | YUVConverter.cpp | 277 uint8_t* pQuad) { in NV12ToYUV420PlanarInPlaceConvert() argument 279 if (pQuad == nullptr) { in NV12ToYUV420PlanarInPlaceConvert() 281 pQuad = tmp.data(); in NV12ToYUV420PlanarInPlaceConvert() 289 pQuad[y * nWidth / 2 + x] = puv[y * nPitch + x * 2 + 1]; in NV12ToYUV420PlanarInPlaceConvert() 292 memcpy(pv, pQuad, nWidth * nHeight / 4); in NV12ToYUV420PlanarInPlaceConvert()
|