| OLD | NEW |
| 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 Loading... |
| 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 | |
| OLD | NEW |