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

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

// Do NOT move macros, functions and includes beginning with "spacecomp".

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

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

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

private:

	bool m_endFlagReceived;

	unsigned long m_currentTempBufferAddress;
	unsigned long m_lastMCUStartAddress;

	// QUANT TABLE ELEMENTSt
	short m_interblock[64];	// F(u,v) block

	SPACECOMP_END(idct, INDEX, idct);
};

#endif
