while(i<length)
{
if((length - i) < PIXELS*CHANNELS)
chunk = read(sd, line, (length - i));/* last
chunklet */
else chunk = read(sd, line, PIXELS*CHANNELS);
/* ..otherwise read a line */
fwrite(line, chunk, 1, piccy);
i += chunk;
}
n = read(sd, tmp_str, 20); /* read the null */
#ifdef DEBUG
printf("read %d\n", n);
#endif
write(sd, "", 1);
/* .. acknowledge it */
}
main(argc, argv)
int argc;
char **argv;
{
int socket, n, count, frame;
FILE *file;
char line[PIXELS*CHANNELS];
/* copy to diskus
socket = openSession("shell", "diskus");
if(!(file = fopen(argv[1], "r")))
{
printf("Unable to open %s\n", argv[1]);
Diskus Technical Guide
File Formats
9100-0217-02 - SEP 95
Appendix
12-25
Summary of Contents for Diskus
Page 1: ...Diskus Digital Disk Recorder Manual ...
Page 477: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xvii ...
Page 478: ...NOTES Index Diskus Operations xviii Index 9100 0217 02 SEP 95 ...
Page 479: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xix ...
Page 480: ...NOTES Index Diskus Operations xx Index 9100 0217 02 SEP 95 ...