int tsmJPEGDecompressTile ( unsigned char *jpegBuffer, unsigned char *tileBuffer, TileTspec *tile ) Decompress a JPEG tile in memory
Decompress a JPEG tile in memory.This function will take two already allocated tiles (e.g. allocated with tsmMakeTileBuffer), where jpegBuffer is assumed to contain the JPEG-compressed data for a tile. The function will then decompress this image to a raw bitmap, which it will write to tileBuffer.
You also provide a TileTspec structure (e.g. pyramid->tileTspec) to provide information about the size of both tile buffers (i.e. both tile buffers are deemed to be the same size).
N.B. This function will write the raw data in reverse row order so that we automatically convert the data ordering from JPEG's lrtb to TV's lrbt format - no need to flip the tile afterwards.