/*
 * @file   AXHGamma.cpp
 * @brief  Source file of Gamma settings.
 * @par    Programming Language
 *         C++
 */
#include "AXHGamma.hpp"
#include "AXHRegAddr.hpp"
//#include <iostream>
AXHGamma::AXHGamma() : REG_DATA_SIZE(4) {
	// TODO 自動生成されたコンストラクター・スタブ
}

AXHGamma::~AXHGamma() {
	// TODO Auto-generated destructor stub
}

void AXHGamma::set_gamma_table(unsigned short* gamma, int size) {
	// 現状ハードとは異なるため不要
	/*
	int adr = AXH_RG_GMOF0_00;
	unsigned int val = 0;
	for (int i = 0; i < size; i++) {
		val = static_cast<unsigned int>(gamma[i]);
		SetReg32(adr, val);
		adr += REG_DATA_SIZE;
	}
	adr = AXH_RG_GMOF1_00;
	for (int i = 0; i < size; i++) {
		val = static_cast<unsigned int>(gamma[i]);
		SetReg32(adr, val);
		adr += REG_DATA_SIZE;
	}
	adr = AXH_RG_GMOF2_00;
	for (int i = 0; i < size; i++) {
		val = static_cast<unsigned int>(gamma[i]);
		SetReg32(adr, val);
		adr += REG_DATA_SIZE;
	}
	*/
}
