getPlanes

abstract fun getPlanes(): List<FramePlane>

Gets the FramePlanes of this Frame, if it is planar (isPlanar), e.g. one full resolution Y plane and one half resolution UV plane in YUV. Returns an empty list for non-planar Frames.

Throws

If this Frame is not valid anymore, or cannot be accessed on the CPU (hasPixelBuffer).