Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp613 intptr_t uvOffset = addr[C2PlanarLayout::PLANE_V] - addr[C2PlanarLayout::PLANE_U]; in map() local
614 if (uvOffset > 0 && uvOffset < (intptr_t)ycbcrLayout.chroma_step) { in map()
617 layout->planes[C2PlanarLayout::PLANE_V].offset = uvOffset; in map()
618 } else if (uvOffset < 0 && uvOffset > -(intptr_t)ycbcrLayout.chroma_step) { in map()
621 layout->planes[C2PlanarLayout::PLANE_U].offset = -uvOffset; in map()
738 intptr_t uvOffset = addr[C2PlanarLayout::PLANE_V] - addr[C2PlanarLayout::PLANE_U]; in map() local
739 if (uvOffset > 0 && uvOffset < (intptr_t)ycbcrLayout.chroma_step) { in map()
742 layout->planes[C2PlanarLayout::PLANE_V].offset = uvOffset; in map()
743 } else if (uvOffset < 0 && uvOffset > -(intptr_t)ycbcrLayout.chroma_step) { in map()
746 layout->planes[C2PlanarLayout::PLANE_U].offset = -uvOffset; in map()