# dpx::Codec Class Reference

compress / decompress data segments base class defaults to None More...

`#include <Codec.h>`

Inherited by dpx::RunLengthEncoding.

List of all members.

## Public Member Functions
| Codec ()
| constructor
virtual | ~Codec ()
| destructor
virtual void | Reset ()
| reset instance
virtual bool | Read (const Header &dpxHeader, ElementReadStream *fd, const int element, const Block &block, void *data, const DataSize size)
| read data
## Protected Attributes
U32 * | scanline
| single scanline

## Detailed Description

compress / decompress data segments base class defaults to None

## Constructor & Destructor Documentation

dpx::Codec::Codec | ( |  | ) |

constructor

dpx::Codec::~Codec | ( |  | ) | `[virtual]`

destructor

## Member Function Documentation

bool dpx::Codec::Read | ( | const Header & | dpxHeader,
|  | ElementReadStream * | fd,
|  | const int | element,
|  | const Block & | block,
|  | void * | data,
|  | const DataSize | size |
| ) |  |  | `[virtual]`

read data

Parameters:

  | dpxHeader | dpx header information
  | fd | field descriptor
  | element | element (0-7)
  | block | image area to read
  | data | buffer
  | size | size of the buffer component

Returns:
  success

Reimplemented in dpx::RunLengthEncoding.

void dpx::Codec::Reset | ( |  | ) | `[virtual]`

reset instance

Reimplemented in dpx::RunLengthEncoding.

## Member Data Documentation

U32* dpx::Codec::scanline`[protected]`

single scanline

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

- /Users/patrick/Development/DPX/svn/source/Codec.h
- /Users/patrick/Development/DPX/svn/source/Codec.cpp