| 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 "core/fxcodec/codec/fx_codec_progress.h" | 7 #include "core/fxcodec/codec/fx_codec_progress.h" |
| 8 | 8 |
| 9 #include "core/fxcodec/include/fx_codec.h" |
| 9 #include "core/fxge/include/fx_dib.h" | 10 #include "core/fxge/include/fx_dib.h" |
| 10 #include "core/include/fxcodec/fx_codec.h" | |
| 11 | 11 |
| 12 void CFXCODEC_WeightTable::Calc(int dest_len, | 12 void CFXCODEC_WeightTable::Calc(int dest_len, |
| 13 int dest_min, | 13 int dest_min, |
| 14 int dest_max, | 14 int dest_max, |
| 15 int src_len, | 15 int src_len, |
| 16 int src_min, | 16 int src_min, |
| 17 int src_max, | 17 int src_max, |
| 18 FX_BOOL bInterpol) { | 18 FX_BOOL bInterpol) { |
| 19 if (m_pWeightTables) { | 19 if (m_pWeightTables) { |
| 20 FX_Free(m_pWeightTables); | 20 FX_Free(m_pWeightTables); |
| (...skipping 2271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2292 } | 2292 } |
| 2293 } break; | 2293 } break; |
| 2294 default: | 2294 default: |
| 2295 break; | 2295 break; |
| 2296 } | 2296 } |
| 2297 return FXCODEC_STATUS_ERROR; | 2297 return FXCODEC_STATUS_ERROR; |
| 2298 } | 2298 } |
| 2299 ICodec_ProgressiveDecoder* CCodec_ModuleMgr::CreateProgressiveDecoder() { | 2299 ICodec_ProgressiveDecoder* CCodec_ModuleMgr::CreateProgressiveDecoder() { |
| 2300 return new CCodec_ProgressiveDecoder(this); | 2300 return new CCodec_ProgressiveDecoder(this); |
| 2301 } | 2301 } |
| OLD | NEW |