view sub_cc.h @ 10970:de7036f31e5a

Sometimes (especially with big images) reading pitch 0 from card's register returns 0 (probably due to full card's FIFO), which leads to SIGFPE later. Fixed (or workarounded) by rereading pitch0, until it's not zero.
author lumag
date Wed, 01 Oct 2003 21:03:00 +0000
parents a3b2f80f3a26
children f580a7755ac5
line wrap: on
line source

#ifndef SUB_CC_H
#define SUB_CC_H

extern int subcc_enabled;

void subcc_init();
void subcc_process_data(unsigned char *inputdata,unsigned int len);

#endif /*SUB_CC_H*/