| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #if defined(_MSC_VER) | 5 #if defined(_MSC_VER) |
| 6 #include <intrin.h> | 6 #include <intrin.h> |
| 7 #else | 7 #else |
| 8 #include <mmintrin.h> | 8 #include <mmintrin.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| 11 #include "media/base/simd/convert_yuv_to_rgb.h" | 11 #include "media/base/simd/convert_yuv_to_rgb.h" |
| 12 #include "media/base/simd/yuv_to_rgb_table.h" | |
| 13 #include "media/base/yuv_convert.h" | 12 #include "media/base/yuv_convert.h" |
| 14 | 13 |
| 15 namespace media { | 14 namespace media { |
| 16 | 15 |
| 17 void ConvertYUVAToARGB_MMX(const uint8* yplane, | 16 void ConvertYUVAToARGB_MMX(const uint8* yplane, |
| 18 const uint8* uplane, | 17 const uint8* uplane, |
| 19 const uint8* vplane, | 18 const uint8* vplane, |
| 20 const uint8* aplane, | 19 const uint8* aplane, |
| 21 uint8* rgbframe, | 20 uint8* rgbframe, |
| 22 int width, | 21 int width, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 v_ptr, | 67 v_ptr, |
| 69 rgb_row, | 68 rgb_row, |
| 70 width, | 69 width, |
| 71 GetLookupTable(yuv_type)); | 70 GetLookupTable(yuv_type)); |
| 72 } | 71 } |
| 73 | 72 |
| 74 EmptyRegisterState(); | 73 EmptyRegisterState(); |
| 75 } | 74 } |
| 76 | 75 |
| 77 } // namespace media | 76 } // namespace media |
| OLD | NEW |