// Filename : iqtz.h
//
// This file was initially generated by SpaceStudio but is meant to be modified
// by the user.
#ifndef IQTZ_H
#define IQTZ_H

#include "spacecomp.h"
#include "abstract_module.h"
#include "application_definitions.h"

#define JPEG_QUANTTBLSIZE	64

class iqtz: public abstract_module {
	SPACECOMP_START(iqtz, INDEX, iqtz);

public:
	iqtz(SPACECOMP_CTOR_PARAMS(iqtz, INDEX));

	void thread(SPACECOMP_THREAD_PARAMS(iqtz, INDEX, thread));

private:

	short m_inblock[64];		// qF(u,v) block
	short m_interblock[64];	// F(u,v) block

	uint8_t QuantTable[2][JPEG_QUANTTBLSIZE];	// Luminance and Chrominance Matrix Quantization Table

	SPACECOMP_END(iqtz, INDEX, iqtz);
};

#endif
