git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@42450 e17a0e51-4ae3-4d35-97c3-1a29b211df97

This commit is contained in:
SND\weimingzhi_cp 2010-03-15 03:18:06 +00:00
parent 4d74b98934
commit e0fe932875
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ unsigned short *rl2blk(int *blk, unsigned short *mdec_rl) {
#define SCALE8(c) SCALER(c, 20)
#define SCALE5(c) SCALER(c, 23)
#define CLAMP5(c) ( ((c) < -16) ? 0 : (((c) > (31 - 16)) ? 31 : ((c) + 16)) )
#define CLAMP5(c) ( ((c) < -16) ? 0 : (((c) > (31 - 16)) ? 31 : ((c) + 16)) )
#define CLAMP8(c) ( ((c) < -128) ? 0 : (((c) > (255 - 128)) ? 255 : ((c) + 128)) )
#define CLAMP_SCALE8(a) (CLAMP8(SCALE8(a)))