ark::image::AvcodecVideoDecompressor

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


An implementation of the abstract decompressor interface, backed by libavcodec. This is essentially a decompressor that allows you to decompress to any number of codecs provided by libavcodec.

Methods

  • AvcodecVideoDecompressor()
    Default constructor, for implementation details.

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

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

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