OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "dib_int.h" | 7 #include "core/src/fxge/dib/dib_int.h" |
8 | 8 |
9 #include "core/include/fxge/fx_dib.h" | 9 #include "core/include/fxge/fx_dib.h" |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 uint8_t bilinear_interpol(const uint8_t* buf, | 13 uint8_t bilinear_interpol(const uint8_t* buf, |
14 int row_offset_l, | 14 int row_offset_l, |
15 int row_offset_r, | 15 int row_offset_r, |
16 int src_col_l, | 16 int src_col_l, |
17 int src_col_r, | 17 int src_col_r, |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 } | 939 } |
940 dest_pos += destBpp; | 940 dest_pos += destBpp; |
941 } | 941 } |
942 } | 942 } |
943 } | 943 } |
944 } | 944 } |
945 } | 945 } |
946 m_Storer.Replace(pTransformed); | 946 m_Storer.Replace(pTransformed); |
947 return FALSE; | 947 return FALSE; |
948 } | 948 } |
OLD | NEW |