// 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"

#include "idct_comm_data.h"
#include "idct_data.h"

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:
	void rot(int f, int k, int x, int y, int* rx, int* ry);
	void idct_1d(int* Y);

	SPACECOMP_END(idct, INDEX, idct);
};

#endif
