diff options
Diffstat (limited to 'core/fxcodec/fx_codec.h')
-rw-r--r-- | core/fxcodec/fx_codec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fxcodec/fx_codec.h b/core/fxcodec/fx_codec.h index e64d95f45f..5ed29d4da5 100644 --- a/core/fxcodec/fx_codec.h +++ b/core/fxcodec/fx_codec.h @@ -15,6 +15,7 @@ #include "core/fxcodec/fx_codec_def.h" #include "core/fxcrt/fx_coordinates.h" +#include "core/fxcrt/fx_safe_types.h" #include "core/fxcrt/fx_string.h" class CCodec_BasicModule; @@ -115,4 +116,7 @@ void FaxG4Decode(const uint8_t* src_buf, int height, int pitch); +FX_SAFE_UINT32 CalculatePitch8(uint32_t bpc, uint32_t components, int width); +FX_SAFE_UINT32 CalculatePitch32(int bpp, int width); + #endif // CORE_FXCODEC_FX_CODEC_H_ |