Home
last modified time | relevance | path

Searched refs:CJBig2_Image (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fxcodec/jbig2/
DJBig2_Image.h26 class CJBig2_Image {
28 CJBig2_Image(int32_t w, int32_t h);
29 CJBig2_Image(int32_t w, int32_t h, int32_t stride, uint8_t* pBuf);
30 CJBig2_Image(const CJBig2_Image& other);
31 ~CJBig2_Image();
52 bool ComposeFrom(int32_t x, int32_t y, CJBig2_Image* pSrc, JBig2ComposeOp op);
55 CJBig2_Image* pSrc,
59 std::unique_ptr<CJBig2_Image> SubImage(int32_t x,
65 bool ComposeTo(CJBig2_Image* pDst, int32_t x, int32_t y, JBig2ComposeOp op);
66 bool ComposeToWithRect(CJBig2_Image* pDst,
[all …]
DJBig2_GrrdProc.h16 class CJBig2_Image; variable
24 std::unique_ptr<CJBig2_Image> Decode(CJBig2_ArithDecoder* pArithDecoder,
33 UnownedPtr<CJBig2_Image> GRREFERENCE;
37 std::unique_ptr<CJBig2_Image> DecodeTemplate0Unopt(
40 uint32_t DecodeTemplate0UnoptCalculateContext(const CJBig2_Image& GRREG,
44 void DecodeTemplate0UnoptSetPixel(CJBig2_Image* GRREG,
50 std::unique_ptr<CJBig2_Image> DecodeTemplate0Opt(
54 std::unique_ptr<CJBig2_Image> DecodeTemplate1Unopt(
58 std::unique_ptr<CJBig2_Image> DecodeTemplate1Opt(
DJBig2_GrdProc.h19 class CJBig2_Image; variable
30 std::unique_ptr<CJBig2_Image>* pImage;
39 std::unique_ptr<CJBig2_Image> DecodeArith(CJBig2_ArithDecoder* pArithDecoder,
43 FXCODEC_STATUS StartDecodeMMR(std::unique_ptr<CJBig2_Image>* pImage,
54 UnownedPtr<CJBig2_Image> SKIP;
80 std::unique_ptr<CJBig2_Image> DecodeArithOpt3(
84 std::unique_ptr<CJBig2_Image> DecodeArithTemplateUnopt(
88 std::unique_ptr<CJBig2_Image> DecodeArithTemplate3Opt3(
91 std::unique_ptr<CJBig2_Image> DecodeArithTemplate3Unopt(
DJBig2_Image_unittest.cpp22 void CheckImageEq(CJBig2_Image* img1, CJBig2_Image* img2, int line) { in CheckImageEq()
36 CJBig2_Image empty(0, 0); in TEST()
54 CJBig2_Image img(kWidthPixels, kHeightLines); in TEST()
83 CJBig2_Image img(kWidthPixels, kTooLargeHeightLines); in TEST()
91 CJBig2_Image img(kWidthPixels, kHeightLines, kStrideBytes, buf); in TEST()
102 CJBig2_Image img(kWidthPixels, kTooLargeHeightLines, kStrideBytes, buf); in TEST()
110 CJBig2_Image img(kWidthPixels, kTooLargeHeightLines, kStrideBytes - 1, buf); in TEST()
117 CJBig2_Image img(kWidthPixels, kHeightLines); in TEST()
129 CJBig2_Image img(kWidthPixels, kHeightLines); in TEST()
141 CJBig2_Image img(kWidthPixels, kHeightLines, kStrideBytes, buf); in TEST()
[all …]
DJBig2_Image.cpp42 CJBig2_Image::CJBig2_Image(int32_t w, int32_t h) { in CJBig2_Image() function in CJBig2_Image
57 CJBig2_Image::CJBig2_Image(int32_t w, in CJBig2_Image() function in CJBig2_Image
78 CJBig2_Image::CJBig2_Image(const CJBig2_Image& other) in CJBig2_Image() function in CJBig2_Image
89 CJBig2_Image::~CJBig2_Image() {} in ~CJBig2_Image()
92 bool CJBig2_Image::IsValidImageSize(int32_t w, int32_t h) { in IsValidImageSize()
97 int CJBig2_Image::GetPixel(int32_t x, int32_t y) const { in GetPixel()
113 void CJBig2_Image::SetPixel(int32_t x, int32_t y, int v) { in SetPixel()
132 void CJBig2_Image::CopyLine(int32_t hTo, int32_t hFrom) { in CopyLine()
148 void CJBig2_Image::Fill(bool v) { in Fill()
155 bool CJBig2_Image::ComposeTo(CJBig2_Image* pDst, in ComposeTo()
[all …]
DJBig2_HtrdProc.cpp17 std::unique_ptr<CJBig2_Image> CJBig2_HTRDProc::DecodeArith( in DecodeArith()
21 std::unique_ptr<CJBig2_Image> HSKIP; in DecodeArith()
23 HSKIP = pdfium::MakeUnique<CJBig2_Image>(HGW, HGH); in DecodeArith()
64 std::vector<std::unique_ptr<CJBig2_Image>> GSPLANES(GSBPP); in DecodeArith()
66 std::unique_ptr<CJBig2_Image> pImage; in DecodeArith()
86 std::unique_ptr<CJBig2_Image> CJBig2_HTRDProc::DecodeMMR( in DecodeMMR()
98 std::vector<std::unique_ptr<CJBig2_Image>> GSPLANES(GSBPP); in DecodeMMR()
117 std::unique_ptr<CJBig2_Image> CJBig2_HTRDProc::DecodeImage( in DecodeImage()
118 const std::vector<std::unique_ptr<CJBig2_Image>>& GSPLANES) { in DecodeImage()
119 auto HTREG = pdfium::MakeUnique<CJBig2_Image>(HBW, HBH); in DecodeImage()
DJBig2_HtrdProc.h23 std::unique_ptr<CJBig2_Image> DecodeArith(CJBig2_ArithDecoder* pArithDecoder,
27 std::unique_ptr<CJBig2_Image> DecodeMMR(CJBig2_BitStream* pStream);
35 const std::vector<std::unique_ptr<CJBig2_Image>>* HPATS;
49 std::unique_ptr<CJBig2_Image> DecodeImage(
50 const std::vector<std::unique_ptr<CJBig2_Image>>& GSPLANES);
DJBig2_SymbolDict.h16 class CJBig2_Image; variable
25 void AddImage(std::unique_ptr<CJBig2_Image> image) { in AddImage()
30 CJBig2_Image* GetImage(size_t index) const { return m_SDEXSYMS[index].get(); } in GetImage()
45 std::vector<std::unique_ptr<CJBig2_Image>> m_SDEXSYMS;
DJBig2_GrdProc.cpp62 std::unique_ptr<CJBig2_Image> CJBig2_GRDProc::DecodeArith( in DecodeArith()
65 if (!CJBig2_Image::IsValidImageSize(GBW, GBH)) in DecodeArith()
66 return pdfium::MakeUnique<CJBig2_Image>(GBW, GBH); in DecodeArith()
88 std::unique_ptr<CJBig2_Image> CJBig2_GRDProc::DecodeArithOpt3( in DecodeArithOpt3()
92 auto GBREG = pdfium::MakeUnique<CJBig2_Image>(GBW, GBH); in DecodeArithOpt3()
194 std::unique_ptr<CJBig2_Image> CJBig2_GRDProc::DecodeArithTemplateUnopt( in DecodeArithTemplateUnopt()
198 auto GBREG = pdfium::MakeUnique<CJBig2_Image>(GBW, GBH); in DecodeArithTemplateUnopt()
256 std::unique_ptr<CJBig2_Image> CJBig2_GRDProc::DecodeArithTemplate3Opt3( in DecodeArithTemplate3Opt3()
259 auto GBREG = pdfium::MakeUnique<CJBig2_Image>(GBW, GBH); in DecodeArithTemplate3Opt3()
341 std::unique_ptr<CJBig2_Image> CJBig2_GRDProc::DecodeArithTemplate3Unopt( in DecodeArithTemplate3Unopt()
[all …]
DJBig2_GrrdProc.cpp20 std::unique_ptr<CJBig2_Image> CJBig2_GRRDProc::Decode( in Decode()
23 if (!CJBig2_Image::IsValidImageSize(GRW, GRH)) in Decode()
24 return pdfium::MakeUnique<CJBig2_Image>(GRW, GRH); in Decode()
41 std::unique_ptr<CJBig2_Image> CJBig2_GRRDProc::DecodeTemplate0Unopt( in DecodeTemplate0Unopt()
44 auto GRREG = pdfium::MakeUnique<CJBig2_Image>(GRW, GRH); in DecodeTemplate0Unopt()
109 const CJBig2_Image& GRREG, in DecodeTemplate0UnoptCalculateContext()
125 void CJBig2_GRRDProc::DecodeTemplate0UnoptSetPixel(CJBig2_Image* GRREG, in DecodeTemplate0UnoptSetPixel()
144 std::unique_ptr<CJBig2_Image> CJBig2_GRRDProc::DecodeTemplate0Opt( in DecodeTemplate0Opt()
152 auto GRREG = pdfium::MakeUnique<CJBig2_Image>(iGRW, iGRH); in DecodeTemplate0Opt()
282 std::unique_ptr<CJBig2_Image> CJBig2_GRRDProc::DecodeTemplate1Unopt( in DecodeTemplate1Unopt()
[all …]
DJBig2_TrdProc.h53 std::unique_ptr<CJBig2_Image> DecodeHuffman(CJBig2_BitStream* pStream,
56 std::unique_ptr<CJBig2_Image> DecodeArith(CJBig2_ArithDecoder* pArithDecoder,
73 CJBig2_Image** SBSYMS;
DJBig2_TrdProc.cpp50 std::unique_ptr<CJBig2_Image> CJBig2_TRDProc::DecodeHuffman( in DecodeHuffman()
53 auto SBREG = pdfium::MakeUnique<CJBig2_Image>(SBW, SBH); in DecodeHuffman()
141 MaybeOwned<CJBig2_Image> IBI; in DecodeHuffman()
160 CJBig2_Image* IBOI = SBSYMS[IDI]; in DecodeHuffman()
225 std::unique_ptr<CJBig2_Image> CJBig2_TRDProc::DecodeArith( in DecodeArith()
229 auto SBREG = pdfium::MakeUnique<CJBig2_Image>(SBW, SBH); in DecodeArith()
328 MaybeOwned<CJBig2_Image> pIBI; in DecodeArith()
340 CJBig2_Image* IBOI = SBSYMS[IDI]; in DecodeArith()
DJBig2_SddProc.cpp34 std::vector<std::unique_ptr<CJBig2_Image>> SDNEWSYMS; in DecodeArith()
50 std::vector<CJBig2_Image*> SBSYMS; in DecodeArith()
76 std::unique_ptr<CJBig2_Image> BS; in DecodeArith()
251 ? pdfium::MakeUnique<CJBig2_Image>(*SDINSYMS[I]) in DecodeArith()
265 std::vector<std::unique_ptr<CJBig2_Image>> SDNEWSYMS; in DecodeHuffman()
285 std::vector<CJBig2_Image*> SBSYMS; in DecodeHuffman()
295 std::unique_ptr<CJBig2_Image> BS; in DecodeHuffman()
454 std::unique_ptr<CJBig2_Image> BHC; in DecodeHuffman()
467 BHC = pdfium::MakeUnique<CJBig2_Image>(TOTWIDTH, HCHEIGHT); in DecodeHuffman()
523 ? pdfium::MakeUnique<CJBig2_Image>(*SDINSYMS[I]) in DecodeHuffman()
DJBig2_SddProc.h19 class CJBig2_Image; variable
44 CJBig2_Image** SDINSYMS;
DJBig2_PddProc.cpp38 std::unique_ptr<CJBig2_Image> BHDC; in DecodeArith()
64 std::unique_ptr<CJBig2_Image> BHDC; in DecodeMMR()
DJBig2_PatternDict.h22 std::vector<std::unique_ptr<CJBig2_Image>> HDPATS;
DJBig2_SymbolDict.cpp19 dst->m_SDEXSYMS.push_back(image ? pdfium::MakeUnique<CJBig2_Image>(*image) in DeepCopy()
DJBig2_Context.cpp142 m_pPage = pdfium::MakeUnique<CJBig2_Image>(width, height, stride, pBuf); in GetFirstPage()
341 pdfium::MakeUnique<CJBig2_Image>(pPageInfo->m_dwWidth, height); in ProcessingParseSegmentData()
422 std::unique_ptr<CJBig2_Image*, FxFreeDeleter> SDINSYMS; in ParseSymbolDict()
424 SDINSYMS.reset(FX_Alloc(CJBig2_Image*, pSymbolDictDecoder->SDNUMINSYMS)); in ParseSymbolDict()
580 if (!CJBig2_Image::IsValidImageSize(ri.width, ri.height)) in ParseTextRegion()
636 std::unique_ptr<CJBig2_Image*, FxFreeDeleter> SBSYMS; in ParseTextRegion()
638 SBSYMS.reset(FX_Alloc(CJBig2_Image*, pTRD->SBNUMSYMS)); in ParseTextRegion()
867 if (!CJBig2_Image::IsValidImageSize(pHRD->HGW, pHRD->HGH)) in ParseHalftoneRegion()
870 if (!CJBig2_Image::IsValidImageSize(ri.width, ri.height)) in ParseHalftoneRegion()
1044 if (!CJBig2_Image::IsValidImageSize(ri.width, ri.height)) in ParseGenericRefinementRegion()
DJBig2_Segment.h60 std::unique_ptr<CJBig2_Image> m_Image;
Djbig2module.h16 class CJBig2_Image; variable
DJBig2_Context.h93 std::unique_ptr<CJBig2_Image> m_pPage;