Home
last modified time | relevance | path

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

/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp148 VkSubresourceLayout uvLayout; in createBackendTexture() local
150 &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()
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp280 VkSubresourceLayout uvLayout; in createI420Image() local
281 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()