| // 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_H_ |
| #define CORE_FXCODEC_FX_CODEC_H_ |
| #include "core/fxcrt/compiler_specific.h" |
| // Not an enum class yet because we still blindly cast integer results |
| // from third-party libraries to this type. |
| enum ResUnit : uint16_t { |
| ResUnit m_wDPIUnit = kResUnitNone; |
| UNSAFE_BUFFER_USAGE void ReverseRGB(uint8_t* pDestBuf, |
| using CFX_DIBAttribute = fxcodec::CFX_DIBAttribute; |
| #endif // CORE_FXCODEC_FX_CODEC_H_ |