11-21-2007 05:11 AM
11-22-2007 11:03 AM
02-17-2008 06:32 AM
02-19-2008 11:42 AM
well the best way that I have found is this, which works nicely for the moment:
imgSessionExamineBuffer(Sid, IMG_CURRENT_BUFFER, &real_index, &buffAddr);
start_frames = real_index + nframes;
imgSessionReleaseBuffer(Sid);
for(int j = 0; j < nframes; j++){
imgSessionExamineBuffer(Sid, start_frames, &real_index, &buffAddr);
for (int i=0;i<2048;i++) data[i + 2048*j] = ((unsigned short*)buffAddr)[i];start_frames++;
imgSessionReleaseBuffer(Sid);
}
Alex