Home
last modified time | relevance | path

Searched refs:pu32B (Results 1 – 2 of 2) sorted by relevance

/utopia/UTPA2-700.0.x/modules/graphic/drv/gopsc/
H A Ddrv_gop_sc.c142 static MS_BOOL _ReductionFrac (MS_U32 *pu32A,MS_U32 *pu32B) in _ReductionFrac() argument
147 if( (*pu32A<3000) && (*pu32B<3000)) return TRUE; in _ReductionFrac()
148 if( (u32GCD = _GCD(*pu32A,*pu32B))==1) return TRUE; in _ReductionFrac()
150 *pu32B /= u32GCD; in _ReductionFrac()
155 static MS_BOOL _MultiplFrac(MS_U32 *pu32A,MS_U32 *pu32B) in _MultiplFrac() argument
159 if( ( (*pu32A<<1)<3000) && ( (*pu32B<<1) <3000)) in _MultiplFrac()
162 *pu32B<<=1; in _MultiplFrac()
/utopia/UTPA2-700.0.x/modules/ve/drv/ve/
H A DdrvTVEncoder.c296 static MS_BOOL _ReductionFrac (MS_U32 *pu32A,MS_U32 *pu32B) in _ReductionFrac() argument
301 if( (*pu32A<3000) && (*pu32B<3000)) in _ReductionFrac()
306 u32GCD = _GCD(*pu32A,*pu32B); in _ReductionFrac()
311 do_div(*pu32B, u32GCD); in _ReductionFrac()
316 static MS_BOOL _MultiplFrac(MS_U32 *pu32A,MS_U32 *pu32B) in _MultiplFrac() argument
320 if( ( (*pu32A<<1)<3000) && ( (*pu32B<<1) <3000)) in _MultiplFrac()
323 *pu32B<<=1; in _MultiplFrac()