Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp801 intptr_t uvOffset = addr[C2PlanarLayout::PLANE_V] - addr[C2PlanarLayout::PLANE_U]; in map() local
802 if (uvOffset > 0 && uvOffset < (intptr_t)ycbcrLayout.chromaStep) { in map()
805 layout->planes[C2PlanarLayout::PLANE_V].offset = uvOffset; in map()
806 } else if (uvOffset < 0 && uvOffset > -(intptr_t)ycbcrLayout.chromaStep) { in map()
809 layout->planes[C2PlanarLayout::PLANE_U].offset = -uvOffset; in map()