* addr will increase by 1 automatically
*/
DI_Wr(DI_INFO_ADDR, 1);
- *glb_frm_mot_num = Rd(DI_INFO_DATA);
+ *glb_frm_mot_num = (Rd(DI_INFO_DATA)&0xffffff);
DI_Wr(DI_INFO_ADDR, 4);
- *glb_fid_mot_num = Rd(DI_INFO_DATA);
+ *glb_fid_mot_num = (Rd(DI_INFO_DATA)&0xffffff);
}
void read_new_pulldown_info(struct FlmModReg_t *pFMReg)
}
static void pulldown_wnd_config(struct pulldown_detected_s *pd_config,
- unsigned short **wins)
+ unsigned short wins[][3])
{
unsigned int i = 0;
if (flm32 && (pldn_cmb0 == 1)) {
pulldown_wnd_config(res,
- (unsigned short **)dectres.rPstCYWnds);
+ dectres.rPstCYWnds);
} else if (dectres.rF22Flag > 1 &&
dectres.rFlmPstMod == 1 &&
pldn_cmb0 == 1) {
} else if (dectres.rFlmPstGCm == 0 &&
pldn_cmb0 > 1 && pldn_cmb0 <= 5) {
pulldown_wnd_config(res,
- (unsigned short **)dectres.rPstCYWnds);
+ dectres.rPstCYWnds);
/* 1-->only film-mode
* 2-->windows-->mtn
* 3-->windows-->detected
if ((dectres.rFlmPstGCm == 1) && (pldn_cmb1 > 0)
&& (pldn_cmb1 <= 5)) {
pulldown_wnd_config(res,
- (unsigned short **)dectres.rPstCYWnds);
+ dectres.rPstCYWnds);
/*
* 1-->normal set in pulldown
* wnd config func