killed some warnings

This commit is contained in:
dborca
2004-10-04 09:41:26 +00:00
parent 4dd1af0e85
commit f4ddf221d6
3 changed files with 4 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ extern FxI64 i64_zero;
#define FX_MUL64( a, b ) ( __FX_MUL64( (a), (b) ) )
#define FX_NEG64( a ) ( __FX_NEG64( (a).hi, (a).lo ) )
#define FX_OR64( a, b ) ( __FX_OR64( a, b ) )
#define FX_SET64( a, b, c ) {(a).hi = b; (a).lo = c;}
#define FX_SET64( a, b, c ) do {(a).hi = b; (a).lo = c;} while(0)
#define FX_SHL64( a, n ) ( __FX_SHL64( (a).hi, (a).lo, n ) )
#define FX_SHR64( a, n ) ( __FX_SHR64( (a).hi, (a).lo, n ) )
#define FX_SUB64( a, b ) ( __FX_SUB64( (a).hi, (a).lo, (b).hi, (b).lo ) )

View File

@@ -418,11 +418,11 @@ _txImgDequantizeYUV(FxU32 *out, FxU16 *in, int w, int h, FxU32 format)
_txCalcRGBFromYUV(Y[0], UV[0], UV[1], out);
*out++;
out++;
_txCalcRGBFromYUV(Y[1], UV[0], UV[1], out);
*out++;
out++;
}
}

View File

@@ -1151,7 +1151,7 @@ _txImgQuantizeDXAlpha3(FxU16* dst, const FxU32* src,
* encoding.
*/
{
FxU64
FxI64
alphaData;
if (alphaEncMode == 0xFFUL/*minRangeP && maxRangeP*/) { /* do the 6-alpha block encoding */