Searched refs:BmpModule (Results 1 – 10 of 10) sorted by relevance
73 BmpModule::Status CFX_BmpDecompressor::ReadHeader() { in ReadHeader()75 BmpModule::Status status = ReadBmpHeader(); in ReadHeader()76 if (status != BmpModule::Status::kSuccess) in ReadHeader()81 return BmpModule::Status::kSuccess; in ReadHeader()89 BmpModule::Status CFX_BmpDecompressor::ReadBmpHeader() { in ReadBmpHeader()93 return BmpModule::Status::kContinue; in ReadBmpHeader()103 return BmpModule::Status::kFail; in ReadBmpHeader()108 return BmpModule::Status::kContinue; in ReadBmpHeader()111 return BmpModule::Status::kFail; in ReadBmpHeader()116 BmpModule::Status status = ReadBmpHeaderIfh(); in ReadBmpHeader()[all …]
19 BmpModule::BmpModule() = default;21 BmpModule::~BmpModule() = default;23 std::unique_ptr<ModuleIface::Context> BmpModule::Start(Delegate* pDelegate) { in Start()27 BmpModule::Status BmpModule::ReadHeader(Context* pContext, in ReadHeader()54 BmpModule::Status BmpModule::LoadImage(Context* pContext) { in LoadImage()58 FX_FILESIZE BmpModule::GetAvailInput(Context* pContext) const { in GetAvailInput()62 bool BmpModule::Input(Context* pContext, in Input()
28 BmpModule::Status DecodeImage();29 BmpModule::Status ReadHeader();51 BmpModule::Status ReadBmpHeader();52 BmpModule::Status ReadBmpHeaderIfh();53 BmpModule::Status ReadBmpHeaderDimensions();54 BmpModule::Status ReadBmpBitfields();55 BmpModule::Status ReadBmpPalette();58 BmpModule::Status DecodeRGB();59 BmpModule::Status DecodeRLE8();60 BmpModule::Status DecodeRLE4();
20 class BmpModule final : public ModuleIface {31 BmpModule();32 ~BmpModule() override;54 using BmpModule = fxcodec::BmpModule; variable
19 CFX_BmpContext(BmpModule* pModule, BmpModule::Delegate* pDelegate);23 UnownedPtr<BmpModule> const m_pModule;24 UnownedPtr<BmpModule::Delegate> const m_pDelegate;
11 CFX_BmpContext::CFX_BmpContext(BmpModule* pModule, in CFX_BmpContext()12 BmpModule::Delegate* pDelegate) in CFX_BmpContext()
70 BmpModule* GetBmpModule() const { return m_pBmpModule.get(); } in GetBmpModule()71 void SetBmpModule(std::unique_ptr<BmpModule> module) { in SetBmpModule()107 std::unique_ptr<BmpModule> m_pBmpModule;
50 public BmpModule::Delegate,183 bool BmpReadMoreData(BmpModule* pBmpModule,
52 SetBmpModule(pdfium::MakeUnique<BmpModule>()); in ModuleMgr()
696 BmpModule* pBmpModule = m_pCodecMgr->GetBmpModule(); in BmpDetectImageTypeInBuffer()706 BmpModule::Status read_result = pBmpModule->ReadHeader( in BmpDetectImageTypeInBuffer()709 while (read_result == BmpModule::Status::kContinue) { in BmpDetectImageTypeInBuffer()720 if (read_result != BmpModule::Status::kSuccess) { in BmpDetectImageTypeInBuffer()772 bool ProgressiveDecoder::BmpReadMoreData(BmpModule* pBmpModule, in BmpReadMoreData()780 BmpModule* pBmpModule = m_pCodecMgr->GetBmpModule(); in BmpStartDecode()797 BmpModule* pBmpModule = m_pCodecMgr->GetBmpModule(); in BmpContinueDecode()803 BmpModule::Status read_res = pBmpModule->LoadImage(m_pBmpContext.get()); in BmpContinueDecode()804 while (read_res == BmpModule::Status::kContinue) { in BmpContinueDecode()817 m_status = read_res == BmpModule::Status::kSuccess in BmpContinueDecode()