blob: 257007a4f46149ba48e1b81c9b9fefd3ecf2e363 [file] [log] [blame]
// Copyright 2014 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef CORE_FXCODEC_FX_CODEC_DEF_H_
#define CORE_FXCODEC_FX_CODEC_DEF_H_
enum class FXCODEC_STATUS {
kError = -1,
kFrameReady,
kFrameToBeContinued,
kDecodeReady,
kDecodeToBeContinued,
kDecodeFinished,
};
#ifdef PDF_ENABLE_XFA
enum FXCODEC_IMAGE_TYPE {
FXCODEC_IMAGE_UNKNOWN = 0,
FXCODEC_IMAGE_JPG,
#ifdef PDF_ENABLE_XFA_BMP
FXCODEC_IMAGE_BMP,
#endif // PDF_ENABLE_XFA_BMP
#ifdef PDF_ENABLE_XFA_PNG
FXCODEC_IMAGE_PNG,
#endif // PDF_ENABLE_XFA_PNG
#ifdef PDF_ENABLE_XFA_GIF
FXCODEC_IMAGE_GIF,
#endif // PDF_ENABLE_XFA_GIF
#ifdef PDF_ENABLE_XFA_TIFF
FXCODEC_IMAGE_TIFF,
#endif // PDF_ENABLE_XFA_TIFF
FXCODEC_IMAGE_MAX
};
#endif // PDF_ENABLE_XFA
#endif // CORE_FXCODEC_FX_CODEC_DEF_H_