#include <ConvertShape.h>
Public Member Functions | |
void | Free () |
void | Read (IDataSource *source, const ConvertShapeFormat *csf, uint32 frame_length) |
void | ReadCmpFrame (IDataSource *source, const ConvertShapeFormat *csf, const uint8 special[256], ConvertShapeFrame *prev) |
void | GetPixels (uint8 *buf, sint32 count, sint32 x, sint32 y) |
Public Attributes | |
uint8 | header_unknown [2] |
uint8 | unknown [8] |
uint32 | compression |
sint32 | width |
sint32 | height |
sint32 | xoff |
sint32 | yoff |
uint32 * | line_offsets |
sint32 | bytes_rle |
uint8 * | rle_data |
Definition at line 59 of file ConvertShape.h.
void ConvertShapeFrame::Free | ( | ) | [inline] |
Definition at line 75 of file ConvertShape.h.
References line_offsets, and rle_data.
Referenced by ConvertShape::Check(), ConvertShape::CheckUnsafe(), and ShapeFrame::LoadU8CMPFormat().
Definition at line 315 of file ConvertShape.cpp.
References compression, dlen, height, line_offsets, linedata, rle_data, width, xoff, xpos, and yoff.
void ConvertShapeFrame::Read | ( | IDataSource * | source, | |
const ConvertShapeFormat * | csf, | |||
uint32 | frame_length | |||
) |
Definition at line 136 of file ConvertShape.cpp.
References ConvertShapeFormat::bytes_frame_compression, ConvertShapeFormat::bytes_frame_height, ConvertShapeFormat::bytes_frame_unknown, ConvertShapeFormat::bytes_frame_width, ConvertShapeFormat::bytes_frame_xoff, ConvertShapeFormat::bytes_frame_yoff, ConvertShapeFormat::bytes_line_offset, bytes_rle, compression, height, ConvertShapeFormat::len_frameheader2, ConvertShapeFormat::line_offset_absolute, line_offsets, perr, pout, IDataSource::read(), IDataSource::readX(), IDataSource::readXS(), rle_data, shapenum, unknown, width, xoff, and yoff.
void ConvertShapeFrame::ReadCmpFrame | ( | IDataSource * | source, | |
const ConvertShapeFormat * | csf, | |||
const uint8 | special[256], | |||
ConvertShapeFrame * | prev | |||
) |
Definition at line 207 of file ConvertShape.cpp.
References ConvertShapeFormat::bytes_frame_compression, ConvertShapeFormat::bytes_frame_height, ConvertShapeFormat::bytes_frame_unknown, ConvertShapeFormat::bytes_frame_width, ConvertShapeFormat::bytes_frame_xoff, ConvertShapeFormat::bytes_frame_yoff, bytes_rle, OAutoBufferDataSource::clear(), compression, dlen, OAutoBufferDataSource::getBuf(), OAutoBufferDataSource::getPos(), height, line_offsets, perr, prev, IDataSource::read(), IDataSource::read1(), IDataSource::readX(), IDataSource::readXS(), rle_data, OAutoBufferDataSource::skip(), IDataSource::skip(), NS_TIMIDITY::skip(), unknown, width, OAutoBufferDataSource::write(), OAutoBufferDataSource::write1(), xoff, xpos, y, and yoff.
Referenced by ShapeFrame::LoadU8CMPFormat().
Definition at line 72 of file ConvertShape.h.
Referenced by ShapeFrame::getConvertShapeFrame(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().
Definition at line 64 of file ConvertShape.h.
Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().
Definition at line 61 of file ConvertShape.h.
Definition at line 66 of file ConvertShape.h.
Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().
Definition at line 70 of file ConvertShape.h.
Referenced by Free(), ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().
Definition at line 73 of file ConvertShape.h.
Referenced by Free(), ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().
Definition at line 65 of file ConvertShape.h.
Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().
Definition at line 67 of file ConvertShape.h.
Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().
Definition at line 68 of file ConvertShape.h.
Referenced by ShapeFrame::getConvertShapeFrame(), GetPixels(), ShapeFrame::LoadU8CMPFormat(), Read(), and ReadCmpFrame().