Commit ea0cff02 authored by mikhal@webrtc.org's avatar mikhal@webrtc.org

libyuv: changing assert call on scale.cc

Review URL: http://webrtc-codereview.appspot.com/215004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@19 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent dd8aae4c
...@@ -1992,7 +1992,7 @@ static void ScaleRowDown34_1_Int_C(const uint8* iptr, int32 istride, ...@@ -1992,7 +1992,7 @@ static void ScaleRowDown34_1_Int_C(const uint8* iptr, int32 istride,
#if defined(HAS_SCALEFILTERROWS_SSE2) #if defined(HAS_SCALEFILTERROWS_SSE2)
// Filter row to 3/4 // Filter row to 3/4
static void ScaleFilterCols34_C(uint8* optr, const uint8* iptr, int owidth) { static void ScaleFilterCols34_C(uint8* optr, const uint8* iptr, int owidth) {
ASSERT((owidth % 3 == 0) && (owidth > 0)); assert((owidth % 3 == 0) && (owidth > 0));
uint8* dend = optr + owidth; uint8* dend = optr + owidth;
const uint8* s = iptr; const uint8* s = iptr;
do { do {
...@@ -2028,7 +2028,7 @@ static const int kMaxInputWidth = 2560; ...@@ -2028,7 +2028,7 @@ static const int kMaxInputWidth = 2560;
// Filter rows 0 and 1 together, 3 : 1 // Filter rows 0 and 1 together, 3 : 1
static void ScaleRowDown34_0_Int_SSE2(const uint8* iptr, int32 istride, static void ScaleRowDown34_0_Int_SSE2(const uint8* iptr, int32 istride,
uint8* d, int32 owidth) { uint8* d, int32 owidth) {
ASSERT((owidth % 3 == 0) && (owidth > 0)); assert((owidth % 3 == 0) && (owidth > 0));
ALIGN16(uint8 row[kMaxInputWidth]); ALIGN16(uint8 row[kMaxInputWidth]);
#ifdef TEST_RSTSC #ifdef TEST_RSTSC
uint64 t1 = __rdtsc(); uint64 t1 = __rdtsc();
...@@ -2049,7 +2049,7 @@ static void ScaleRowDown34_0_Int_SSE2(const uint8* iptr, int32 istride, ...@@ -2049,7 +2049,7 @@ static void ScaleRowDown34_0_Int_SSE2(const uint8* iptr, int32 istride,
// Filter rows 1 and 2 together, 1 : 1 // Filter rows 1 and 2 together, 1 : 1
static void ScaleRowDown34_1_Int_SSE2(const uint8* iptr, int32 istride, static void ScaleRowDown34_1_Int_SSE2(const uint8* iptr, int32 istride,
uint8* d, int32 owidth) { uint8* d, int32 owidth) {
ASSERT((owidth % 3 == 0) && (owidth > 0)); assert((owidth % 3 == 0) && (owidth > 0));
ALIGN16(uint8 row[kMaxInputWidth]); ALIGN16(uint8 row[kMaxInputWidth]);
#ifdef TEST_RSTSC #ifdef TEST_RSTSC
uint64 t1 = __rdtsc(); uint64 t1 = __rdtsc();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment