Home
last modified time | relevance | path

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

/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp467 intptr_t uvOffset = addr[C2PlanarLayout::PLANE_V] - addr[C2PlanarLayout::PLANE_U]; in map() local
468 if (uvOffset > 0 && uvOffset < (intptr_t)ycbcrLayout.chromaStep) { in map()
471 layout->planes[C2PlanarLayout::PLANE_V].offset = uvOffset; in map()
472 } else if (uvOffset < 0 && uvOffset > -(intptr_t)ycbcrLayout.chromaStep) { in map()
475 layout->planes[C2PlanarLayout::PLANE_U].offset = -uvOffset; in map()