www.pudn.com > dct > dctf.cpp
#include "stdafx.h"
/*#include "dctf.h"
#include "math.h"
#define pi 3.1416926
float k(int t)
{
if(t=0)
return 1/(sqrt(2));
else
return 1;
}
void dct(int t0[][],float t1[][],int m,int n)
{
float s;
for(int i=0;i