Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(795)

Side by Side Diff: core/fxcodec/codec/fx_codec_progress.cpp

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxcodec/codec/ccodec_tiffmodule.h ('k') | core/fxcodec/codec/fx_codec_tiff.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/ccodec_progressivedecoder.h" 7 #include "core/fxcodec/codec/ccodec_progressivedecoder.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 } 1289 }
1290 return TRUE; 1290 return TRUE;
1291 } 1291 }
1292 default: 1292 default:
1293 m_status = FXCODEC_STATUS_ERR_FORMAT; 1293 m_status = FXCODEC_STATUS_ERR_FORMAT;
1294 return FALSE; 1294 return FALSE;
1295 } 1295 }
1296 } 1296 }
1297 1297
1298 FXCODEC_STATUS CCodec_ProgressiveDecoder::LoadImageInfo( 1298 FXCODEC_STATUS CCodec_ProgressiveDecoder::LoadImageInfo(
1299 IFX_FileRead* pFile, 1299 IFX_SeekableReadStream* pFile,
1300 FXCODEC_IMAGE_TYPE imageType, 1300 FXCODEC_IMAGE_TYPE imageType,
1301 CFX_DIBAttribute* pAttribute, 1301 CFX_DIBAttribute* pAttribute,
1302 bool bSkipImageTypeCheck) { 1302 bool bSkipImageTypeCheck) {
1303 switch (m_status) { 1303 switch (m_status) {
1304 case FXCODEC_STATUS_FRAME_READY: 1304 case FXCODEC_STATUS_FRAME_READY:
1305 case FXCODEC_STATUS_FRAME_TOBECONTINUE: 1305 case FXCODEC_STATUS_FRAME_TOBECONTINUE:
1306 case FXCODEC_STATUS_DECODE_READY: 1306 case FXCODEC_STATUS_DECODE_READY:
1307 case FXCODEC_STATUS_DECODE_TOBECONTINUE: 1307 case FXCODEC_STATUS_DECODE_TOBECONTINUE:
1308 return FXCODEC_STATUS_ERROR; 1308 return FXCODEC_STATUS_ERROR;
1309 default: 1309 default:
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 return m_status; 2369 return m_status;
2370 } 2370 }
2371 default: 2371 default:
2372 return FXCODEC_STATUS_ERROR; 2372 return FXCODEC_STATUS_ERROR;
2373 } 2373 }
2374 } 2374 }
2375 2375
2376 CCodec_ProgressiveDecoder* CCodec_ModuleMgr::CreateProgressiveDecoder() { 2376 CCodec_ProgressiveDecoder* CCodec_ModuleMgr::CreateProgressiveDecoder() {
2377 return new CCodec_ProgressiveDecoder(this); 2377 return new CCodec_ProgressiveDecoder(this);
2378 } 2378 }
OLDNEW
« no previous file with comments | « core/fxcodec/codec/ccodec_tiffmodule.h ('k') | core/fxcodec/codec/fx_codec_tiff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698