PPL Logo

CkImageCompressor Class Reference

Performs a simple zero-encoding of blank image pixels at each end of the image scanlines. More...

#include <ckviewable.h>

Collaboration diagram for CkImageCompressor:

Collaboration graph
[legend]

Public Member Functions

 CkImageCompressor (CkAllocImage *img_)
void pup (PUP::er &p)
CkAllocImage * getImage (void)

Data Fields

int w
int h
 Size of original image.
int gl_w
int gl_h
 Size of expanded image (to power of 2 for openGL).

Private Attributes

CkAllocImage * img

Detailed Description

Performs a simple zero-encoding of blank image pixels at each end of the image scanlines.

This happens during the pup routine.

Definition at line 200 of file ckviewable.h.


Constructor & Destructor Documentation

CkImageCompressor::CkImageCompressor ( CkAllocImage *  img_  )  [inline]

Definition at line 206 of file ckviewable.h.


Member Function Documentation

void CkImageCompressor::pup ( PUP::er p  ) 

CkAllocImage* CkImageCompressor::getImage ( void   )  [inline]

Definition at line 209 of file ckviewable.h.

References img.


Field Documentation

CkAllocImage* CkImageCompressor::img [private]

Definition at line 202 of file ckviewable.h.

Referenced by getImage().

Definition at line 204 of file ckviewable.h.

Size of original image.

Definition at line 204 of file ckviewable.h.

Definition at line 205 of file ckviewable.h.

Size of expanded image (to power of 2 for openGL).

Definition at line 205 of file ckviewable.h.


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:20:07 2020 for Charm++ by  doxygen 1.5.5