ark::image::JpegVideoCompressor

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


An implementation of the abstract video compressor interface, for JPEG images.

Methods

  • ~JpegVideoCompressor()
    Default destructor, for virtual class.

  • bool write(const Image & image)
    Pushes a camera image into the compressor. This is the image that you want to compress. Returns true if the compressor accepted this frame, or false otherwise.

  • bool read(Image & image)
    Reads a camera image from the compressor. This will return false if there are no camera images left to read. Note that depending on the compressor, there is not a 1:1 relationship between frames written and frames read.