~george-edison55/libwebp/old-trunk

« back to all changes in this revision

Viewing changes to src/dec/dsp_sse2.c

  • Committer: James Zern
  • Date: 2011-08-26 19:19:33 UTC
  • Revision ID: git-v1:c7e86abab6a4021b94ab5bbb898329715b14d954
cosmetics: fix comment line lengths

add additional '-' to //----... style comments globally instead of
polluting further commits

Change-Id: I951acc68b7b5384b4d6e235349b0067d1aa6fa8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
extern "C" {
20
20
#endif
21
21
 
22
 
//-----------------------------------------------------------------------------
 
22
//------------------------------------------------------------------------------
23
23
// Transforms (Paragraph 14.4)
24
24
 
25
25
static void TransformSSE2(const int16_t* in, uint8_t* dst, int do_two) {
240
240
  }
241
241
}
242
242
 
243
 
//-----------------------------------------------------------------------------
 
243
//------------------------------------------------------------------------------
244
244
// Loop Filter (Paragraph 15)
245
245
 
246
246
// Compute abs(p - q) = subs(p - q) OR subs(q - p)
337
337
  *mask = _mm_cmpeq_epi8(*mask, _mm_setzero_si128());
338
338
}
339
339
 
340
 
//-----------------------------------------------------------------------------
 
340
//------------------------------------------------------------------------------
341
341
// Edge filtering functions
342
342
 
343
343
// Applies filter on 2 pixels (p0 and q0)
586
586
  Store4x4(q1, r8, stride);
587
587
}
588
588
 
589
 
//-----------------------------------------------------------------------------
 
589
//------------------------------------------------------------------------------
590
590
// Simple In-loop filtering (Paragraph 15.2)
591
591
 
592
592
static void SimpleVFilter16SSE2(uint8_t* p, int stride, int thresh) {
629
629
  }
630
630
}
631
631
 
632
 
//-----------------------------------------------------------------------------
 
632
//------------------------------------------------------------------------------
633
633
// Complex In-loop filtering (Paragraph 15.3)
634
634
 
635
635
#define MAX_DIFF1(p3, p2, p1, p0, m) {                                         \