19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: gmc.h,v 1.1.2.3 2003-09-10 22:18:59 edgomez Exp $ |
* $Id: gmc.h,v 1.1.2.4 2003-09-11 15:29:32 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
32 |
{ |
{ |
33 |
int length = 1 << (fcode+4); |
int length = 1 << (fcode+4); |
34 |
|
|
35 |
if (quarterpel) value *= 2; |
// if (quarterpel) value *= 2; |
36 |
|
|
37 |
if (value < -length) |
if (value < -length) |
38 |
return -length; |
return -length; |