?? tr8x8invdct.h
字號:
/*****************************************************************************
Copyright (c) 2000 Analog Devices Inc. All rights reserved.
*****************************************************************************
File name: tr8x8invdct.h
Description : This header file contains the data for the testing of inverse
DCT function. These data have been generated from Matlab.
Date : 9th Oct 2000.
***************************************************************************/
#include "mds_def.h"
fract16 coef[] = {
0x18F8, //cos(7pi/16)
0x7D8A, //cos(pi/16)
0x30FB, //cos(3pi/8)
0x7641, //cos(pi/8)
0x6A6D, //cos(3pi/16)
0x471C, //cos(5pi/16)
0x5a82, //cos(pi/4) C4
0x5a82 //cos(pi/4) C4
};
//In put for Impulse output.
fract16 Testcase2_In[64] = {
0x001f, 0x002c, 0x0029, 0x0025, 0x001f, 0x0019, 0x0011, 0x0008,
0x002c, 0x003d, 0x0039, 0x0033, 0x002c, 0x0022, 0x0017, 0x000c,
0x0029, 0x0039, 0x0036, 0x0030, 0x0029, 0x0020, 0x0016, 0x000b,
0x0025, 0x0033, 0x0030, 0x002c, 0x0025, 0x001d, 0x0014, 0x000a,
0x001f, 0x002c, 0x0029, 0x0025, 0x001f, 0x0019, 0x0011, 0x0008,
0x0019, 0x0022, 0x0020, 0x001d, 0x0019, 0x0013, 0x000d, 0x0006,
0x0011, 0x0017, 0x0016, 0x0014, 0x0011, 0x000d, 0x0009, 0x0004,
0x0008, 0x000c, 0x000b, 0x000a, 0x0008, 0x0006, 0x0004, 0x0002
};
//output corresponding to Testcase2_In .
fract16 Testcase2_out[64] = {
0x00ff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
//Input for the DC output value of 25.
fract16 Testcase3_In[64] = {
0x00c8, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
//Output corresponding to input Testcase3_In .
fract16 Testcase3_out[64] = {
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019,
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019,
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019,
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019,
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019,
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019,
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019,
0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019, 0x0019
};
//This is the mulifrequency input produced with the help of matlab.
//It is inverse of the test case 4 of forward DCT test case 4.
fract16 Testcase4_In[64] = {
0xfe2d, 0x028e, 0x0069, 0x001f, 0x0015, 0x0009, 0x0006, 0x0002,
0x028e, 0x0105, 0xff6d, 0x000c, 0xffe3, 0x0003, 0xfff7, 0x0000,
0x0069, 0xff6d, 0xffe9, 0xfff9, 0xfffc, 0xfffe, 0xffff, 0x0000,
0x001f, 0x000c, 0xfff9, 0x0000, 0xffff, 0x0000, 0x0000, 0x0000,
0x0015, 0xffe3, 0xfffc, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000,
0x0009, 0x0003, 0xfffe, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0006, 0xfff7, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0002, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
//Output corresponding to Multifrequency input Testcase4_In.
fract16 Testcase4_out[64] = {
0x00c8, 0x00bf, 0x00a6, 0x007e, 0x004c, 0x0013, 0xffd9, 0xffa2,
0x00bf, 0x00a6, 0x007e, 0x004c, 0x0013, 0xffd9, 0xffa2, 0xff73,
0x00a6, 0x007e, 0x004c, 0x0013, 0xffd9, 0xffa2, 0xff73, 0xff50,
0x007e, 0x004c, 0x0013, 0xffd9, 0xffa2, 0xff73, 0xff50, 0xff3c,
0x004c, 0x0013, 0xffd9, 0xffa2, 0xff73, 0xff50, 0xff3c, 0xff39,
0x0013, 0xffd9, 0xffa2, 0xff73, 0xff50, 0xff3c, 0xff39, 0xff48,
0xffd9, 0xffa2, 0xff73, 0xff50, 0xff3c, 0xff39, 0xff48, 0xff66,
0xffa2, 0xff73, 0xff50, 0xff3c, 0xff39, 0xff48, 0xff66, 0xff91
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -