Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp892 intptr_t uvOffset = addr[C2PlanarLayout::PLANE_V] - addr[C2PlanarLayout::PLANE_U]; in HandleInterleavedPlanes() local
894 if (uvOffset > 0 && uvOffset < uvColInc) { in HandleInterleavedPlanes()
897 layout->planes[C2PlanarLayout::PLANE_V].offset = uvOffset; in HandleInterleavedPlanes()
898 } else if (uvOffset < 0 && uvOffset > -uvColInc) { in HandleInterleavedPlanes()
901 layout->planes[C2PlanarLayout::PLANE_U].offset = -uvOffset; in HandleInterleavedPlanes()