Index: core/fxcodec/codec/fx_codec.cpp |
diff --git a/core/src/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp |
similarity index 98% |
rename from core/src/fxcodec/codec/fx_codec.cpp |
rename to core/fxcodec/codec/fx_codec.cpp |
index 17e665d608f98784d48346fca59514b4cbe96d4c..f1298f9fb3ed432129050f1172503c97dc37041d 100644 |
--- a/core/src/fxcodec/codec/fx_codec.cpp |
+++ b/core/fxcodec/codec/fx_codec.cpp |
@@ -9,9 +9,9 @@ |
#include <cmath> |
#include <utility> |
+#include "core/fxcodec/codec/codec_int.h" |
#include "core/include/fxcrt/fx_ext.h" |
#include "core/include/fxcrt/fx_safe_types.h" |
-#include "core/src/fxcodec/codec/codec_int.h" |
#include "third_party/base/logging.h" |
CCodec_ModuleMgr::CCodec_ModuleMgr() |
@@ -35,8 +35,7 @@ CCodec_ScanlineDecoder::ImageDataCache::ImageDataCache(int width, |
FX_DWORD pitch) |
: m_Width(width), m_Height(height), m_Pitch(pitch), m_nCachedLines(0) {} |
-CCodec_ScanlineDecoder::ImageDataCache::~ImageDataCache() { |
-} |
+CCodec_ScanlineDecoder::ImageDataCache::~ImageDataCache() {} |
bool CCodec_ScanlineDecoder::ImageDataCache::AllocateCache() { |
if (m_Pitch == 0 || m_Height < 0) |
@@ -72,11 +71,9 @@ const uint8_t* CCodec_ScanlineDecoder::ImageDataCache::GetLine(int line) const { |
} |
CCodec_ScanlineDecoder::CCodec_ScanlineDecoder() |
- : m_NextLine(-1), m_pLastScanline(nullptr) { |
-} |
+ : m_NextLine(-1), m_pLastScanline(nullptr) {} |
-CCodec_ScanlineDecoder::~CCodec_ScanlineDecoder() { |
-} |
+CCodec_ScanlineDecoder::~CCodec_ScanlineDecoder() {} |
const uint8_t* CCodec_ScanlineDecoder::GetScanline(int line) { |
if (m_pDataCache && line < m_pDataCache->NumLines()) |