mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 18:35:41 +01:00 
			
		
		
		
	remove some unneeded casts
Change-Id: Ie68788c77f016ed11446a55142b1bd8d96261452
This commit is contained in:
		| @@ -268,7 +268,7 @@ static void SmartYUVUpdateRGB_C(const int16_t* ref, const int16_t* src, | ||||
|                                 int16_t* dst, int len) { | ||||
|   int i; | ||||
|   for (i = 0; i < len; ++i) { | ||||
|     const int diff_uv = (int)ref[i] - src[i]; | ||||
|     const int diff_uv = ref[i] - src[i]; | ||||
|     dst[i] += diff_uv; | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -821,7 +821,7 @@ static void SmartYUVUpdateRGB_SSE2(const int16_t* ref, const int16_t* src, | ||||
|     _mm_storeu_si128((__m128i*)(dst + i), E); | ||||
|   } | ||||
|   for (; i < len; ++i) { | ||||
|     const int diff_uv = (int)ref[i] - src[i]; | ||||
|     const int diff_uv = ref[i] - src[i]; | ||||
|     dst[i] += diff_uv; | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user