ark::image::VideoBufferPlane

Defined in header “ark/image/video_device.hh”.


A plane from the video device. In most cases, there is one plane, but some formats/configurations request multiple planes. This contains the raw bytes/sizes from the device.

Variables

  • void * frame= nullptr
    The raw bytes from the remote device.

  • size_t allocated_bytes= 0
    The number of bytes allocated for the frame.

  • size_t frame_size= 0
    The number of bytes of data within the frame.

  • int dma_descriptor= -1
    A file descriptor for this plane (exported from DMA). Only set if request_descriptor was set to true.