Searched refs:uvLayout (Results 1 – 2 of 2) sorted by relevance
148 VkSubresourceLayout uvLayout; in createBackendTexture() local150 &subresource, &uvLayout)); in createBackendTexture()151 bufferData = reinterpret_cast<uint8_t*>(mappedBuffer) + uvLayout.offset; in createBackendTexture()155 bufferData[y * uvLayout.rowPitch + x * 2] = u; in createBackendTexture()156 bufferData[y * uvLayout.rowPitch + x * 2 + 1] = v; in createBackendTexture()
280 VkSubresourceLayout uvLayout; in createI420Image() local281 fVkGetImageSubresourceLayout(fDevice, fImage, &subresource, &uvLayout); in createI420Image()282 bufferData = reinterpret_cast<uint8_t*>(mappedBuffer) + uvLayout.offset; in createI420Image()285 bufferData[y * uvLayout.rowPitch + x * 2] = getU(x * 2, y * 2); in createI420Image()286 bufferData[y * uvLayout.rowPitch + x * 2 + 1] = getV(x * 2, y * 2); in createI420Image()