Click here to Skip to main content
15,943,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About memory copy speedup Pin
w_yufeng1-Mar-04 19:21
w_yufeng1-Mar-04 19:21 
GeneralRe: About memory copy speedup Pin
John M. Drescher1-Mar-04 18:33
John M. Drescher1-Mar-04 18:33 
GeneralRe: About memory copy speedup Pin
Prakash Nadar1-Mar-04 18:42
Prakash Nadar1-Mar-04 18:42 
GeneralRe: About memory copy speedup Pin
John M. Drescher1-Mar-04 18:48
John M. Drescher1-Mar-04 18:48 
GeneralRe: About memory copy speedup Pin
Daniel Turini1-Mar-04 19:30
Daniel Turini1-Mar-04 19:30 
GeneralRe: About memory copy speedup Pin
w_yufeng1-Mar-04 19:35
w_yufeng1-Mar-04 19:35 
GeneralRe: About memory copy speedup Pin
Daniel Turini1-Mar-04 21:20
Daniel Turini1-Mar-04 21:20 
GeneralRe: About memory copy speedup Pin
Lido Paul1-Mar-04 22:30
Lido Paul1-Mar-04 22:30 
because i need save the current raw data to Xn for the next call,while the current Xn is the image that grabed last time.
you can see code below:

//get current ccd buffer
pXn = m_pAcqExBuffers->GetImageAddress(nCurBufIndex);

//m_pRawXn is the raw image data grabed in last call
memcpy((void*)m_pXn_1, (void*)m_pRawXn, 2097152);

//get ccd buffer that had been processed in last call
nPreIndex = GetBufferIndex(nCurBufIndex, -1);
pYn_1 = m_pAcqExBuffers->GetImageAddress(nPreIndex);

//save the current raw data
memcpy((void*)m_pRawXn, (void *)pXn, 2097152);

//the image process function , the pXn(it is ccd buffer) is changed in the function
DeNoisePro((WORD *)pXn, (WORD *)m_pXn_1, (WORD *)pYn_1, 1024, 1024, 0, 6, 2);


Happy Gemini
GeneralRe: About memory copy speedup Pin
Daniel Turini2-Mar-04 0:43
Daniel Turini2-Mar-04 0:43 
GeneralRe: About memory copy speedup Pin
Lido Paul2-Mar-04 15:02
Lido Paul2-Mar-04 15:02 
GeneralRe: About memory copy speedup Pin
Resolver2-Mar-04 22:39
professionalResolver2-Mar-04 22:39 
GeneralModem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 17:21
DengJW1-Mar-04 17:21 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
Prakash Nadar1-Mar-04 17:31
Prakash Nadar1-Mar-04 17:31 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 18:24
DengJW1-Mar-04 18:24 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
John M. Drescher1-Mar-04 18:39
John M. Drescher1-Mar-04 18:39 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 19:04
DengJW1-Mar-04 19:04 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
John M. Drescher1-Mar-04 19:28
John M. Drescher1-Mar-04 19:28 
GeneralRe: Modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 19:36
DengJW1-Mar-04 19:36 
GeneralProblem sovled. Thank u all. Cause is ... Pin
DengJW1-Mar-04 21:07
DengJW1-Mar-04 21:07 
QuestionThough here is C++ but I have a database problem? Pin
DengJW1-Mar-04 16:36
DengJW1-Mar-04 16:36 
AnswerRe: Though here is C++ but I have a database problem? Pin
Prakash Nadar1-Mar-04 18:35
Prakash Nadar1-Mar-04 18:35 
GeneralRe: Though here is C++ but I have a database problem? Pin
DengJW1-Mar-04 18:52
DengJW1-Mar-04 18:52 
GeneralRe: Though here is C++ but I have a database problem? Pin
Prakash Nadar1-Mar-04 19:17
Prakash Nadar1-Mar-04 19:17 
GeneralRe: Though here is C++ but I have a database problem? Pin
DengJW1-Mar-04 19:50
DengJW1-Mar-04 19:50 
AnswerThank u all. Sovled problem. the cause is WIn2k modules corrupted Pin
DengJW1-Mar-04 21:05
DengJW1-Mar-04 21:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.