dmuIC

Inherits from: dmuObj

#include "dmuIC.h"

Overview

This object is the base class for creating objects that use the special compression capabilites of the ICE chip. This object wraps up much of the digital media image converter(dmic) library.

ICE: There is a chip on the O2 that does image conversion very efficiently. It has a queue of requests that it pulls from as fast as it can. With each request, you pass it a conversion context. This conversion context tells ICE what type of compression or decompression to use. Currently, ICE knows how to encode and decode jpegs, decode mpeg. This object does everything you need to pass images to the ICE input queue and get images from the output queue. But this object doesn't know how to create the conversion context to pass to ICE with the image. The subclasses of this object implement the setup method which creates the conversion context. IMPORTANT: this object does not do anything to make sure that the ICE queue has room in it for another request.

This is the header file for the dmuIC object. This object can not be instaniated by itself, it must be subclassed from. To use this you must inherit from this object and provide an implementation of the setup method. The setup method needs to create an image conversion context. Here is the current hierarch of current objects derived from this class. dmuObj -> dmuIC ---> dmuICjencoder | --> dmuICjdecoder This is the base class for doing image conversion operations with ICE. This object wraps up the similarities between the code for a decoder object and the code for an encoder object. Most things are the same in fact. The only differences are in the setup method.

See the source code for more info and implementation details.

Public Methods


Overview    Object List     Object Hierarchy       Sample Apps