Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: media/base/yuv_row_posix.cc

Issue 7891039: Resubmit - Rewrite color space conversions suite using YASM" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/yuv_convert_unittest.cc ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/yuv_row.h" 5 #include "media/base/yuv_row.h"
6 6
7 #ifndef NDEBUG 7 #ifndef NDEBUG
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #else 9 #else
10 #define DCHECK(a) 10 #define DCHECK(a)
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 y = (y_frac * y1 + (y_frac ^ 65535) * y0) >> 16; 913 y = (y_frac * y1 + (y_frac ^ 65535) * y0) >> 16;
914 YuvPixel(y, u, v, rgb_buf+4); 914 YuvPixel(y, u, v, rgb_buf+4);
915 x += source_dx; 915 x += source_dx;
916 } 916 }
917 rgb_buf += 8; 917 rgb_buf += 8;
918 } 918 }
919 } 919 }
920 920
921 #endif // USE_MMX 921 #endif // USE_MMX
922 } // extern "C" 922 } // extern "C"
923
OLDNEW
« no previous file with comments | « media/base/yuv_convert_unittest.cc ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698