⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debug.txt

📁 GPS programme for changchun at 8X
💻 TXT
字号:
2006/10/11
在包循环中
将跳转
放到了正常之后


去掉判断中的 子帧判断,也就是说当子帧跳转时,仍要解码;子帧计数仍要增加。

pSubFrameStart先赋值后清零

2006/10/12
The saved data are all 0;
Analyze:the error is in the DLL;
Reason:FormSpDecStreamA and FormSpDecStreamB are   wrong,the offset should plus "-1".
Resolve:Add a "-1"
Resolved;

MOVE the pointer befoe memcpy,that means you mut point a pointer before using it;

2006/10/13
problem:the size of the saved file is not right.
Analyze:the error is in the function "ImageSave";
Reason:#define IMAGE_size is wrong 5336*4008
Resolve:modified;

2006/10/14
Problem:The saved recvered picture is different with
the raw picture.
Analyze:The step is wrong,
Resolved;

Problem:The SubFrame B is black
Analyze:pSubFrameBStart is right, raw coded picture  is right, as a result of which, the packeted stream  is wrong.
resolved;

2006/10/15

Problem:No picture Displayed .
Analyze:pThis->m_vdw.pBuf does not get it's data;
Resulve: pThis->m_vdw.pBuf = pRecImg;

Problem:the two is not type matched;
Resulve:pThis->m_vdw.pBuf = (PCHAR)pRecImg;

Problem:the program can't close probably;
Resolve:Delete the free();

Done

//2006/11/21


--soveld
Problem  : The count of packets is different;
modified : npacknum = npacknum / 4;


--unsoveld
problem : Rs error found;
analyze : the message in the debugview shows the number of the wrong package;  
	000.bit : 217*4 is wrong;
	001.bit : 87*4,225*4,1283*4 is wrong;
	003.bit : 1663*4 is wrong;
	004.bit : 907*4 is wrong;


--soveld
problem : the recovered image is wrong 
analyze :
comparing;
1,0003.dat and 0004.dat:/帧计数不同, 校验位不同;	其他一致
2,0003.dat_RS0.dat and 0004.dat_RS0.dat:/帧计数不同, 校验位不同,其他一致;
2,0003.dat_RS20.dat and 0004.dat_RS20.dat:/帧计数不同, 校验位不同,其他一致;
3,0003.dat_0.dat and 0004.dat_0.dat:/一致
3,0003.dat_20.dat and 0004.dat_20.dat:/一致
4,0003.dat.bmp and 0004.dat.bmp:/开头和结尾有不一致;中间一致
4, 0003.dat_0.raw and 0004.dat_0.raw:/规律的若干字节不一致
4, 0003.dat_20.raw and 0004.dat_20.raw:/差异很大
4, 0003.dat_1.raw and 0004.dat_1.raw:/一致
4, 0003.dat_2.raw and 0004.dat_2.raw:/一致
4, 0003.dat_3.raw and 0004.dat_3.raw:/一致
4, 0003.dat_19.raw and 0004.dat_19.raw:/一致
modified:chang 4008 to 4016;

//2006/11/22
--soveld
problem : the program can't work on the workstation
analyze : the .EXE must work with two lib files; for
	it depends on them;

--unsoveld
problem : some times, creating image is wrong;
analyze : at that time,you could only restart the 
	machine,the reason!God knows;

--soveld
problem : the last subframe shows wrong;
analyze : the last subframe should do spdec as
          others;
solve : combine the two dll into one;
---------------------------------------------------


//2006/11/25
关于解码后文件的存储

1,相对路径
   ..\\Decompressed stream\\2.dat
   ..\\2.dat
2,绝对路径
   c:\\Decompressed stream\\2.dat

3, 从界面获得存储路径

//2006/11/27
problem : all.bmp和all.raw 的顶层为黑,而0.raw无;
analyze : pthis->RecImg地址没变,但内容改变 ;

原来AB类子帧独立解码,B类子帧解码后的存储数组RecSubImgB大小为[SUBFRAME_B_RECOVERED_LENGTH],

但当B类子帧改为按A类子帧解码时,其恢复后得的大小
变为[SUBFRAME_A_RECOVERED_LENGTH],要比其存储空间
大,因此在运行时发生越界,而此时数组RecImg恰在RecSubImgB之后,RecImg的内容改变;

solve: change the size of RecSubImgB from
	[SUBFRAME_B_RECOVERED_LENGTH] to
	[SUBFRAME_A_RECOVERED_LENGTH];
	
	
//2006/12/12
problem : gps码流中多了若干个0D;
analyze : 0D文本文件的换行符;
solve :改文件打开方式w+为wb+,即由文本格式改为二进制格式        


          










⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -