OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "cc/raster/texture_compressor_etc1_sse.h" | 5 #include "cc/raster/texture_compressor_etc1_sse.h" |
6 | 6 |
7 #include <emmintrin.h> | 7 #include <emmintrin.h> |
| 8 #include <stdint.h> |
8 | 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
11 // Using this header for common functions such as Color handling | 12 // Using this header for common functions such as Color handling |
12 // and codeword table. | 13 // and codeword table. |
13 #include "cc/raster/texture_compressor_etc1.h" | 14 #include "cc/raster/texture_compressor_etc1.h" |
14 | 15 |
15 namespace cc { | 16 namespace cc { |
16 | 17 |
17 namespace { | 18 namespace { |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 data.blue = blue; | 809 data.blue = blue; |
809 data.green = green; | 810 data.green = green; |
810 | 811 |
811 CompressBlock(dst, &data); | 812 CompressBlock(dst, &data); |
812 } | 813 } |
813 } | 814 } |
814 } | 815 } |
815 } | 816 } |
816 | 817 |
817 } // namespace cc | 818 } // namespace cc |
OLD | NEW |