Home
last modified time | relevance | path

Searched refs:grContext (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_GeneralDecoder.h127 CJBig2_Image *decode(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
129 …CJBig2_Image *decode_Template0_unopt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
131 … CJBig2_Image *decode_Template0_opt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
133 …CJBig2_Image *decode_Template1_unopt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
135 … CJBig2_Image *decode_Template1_opt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
137 CJBig2_Image *decode_V1(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext);
164 CJBig2_Image *decode_Huffman(CJBig2_BitStream *pStream, JBig2ArithCtx *grContext);
166 CJBig2_Image *decode_Arith(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext,
203 …code_Arith(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *gbContext, JBig2ArithCtx *grContext);
205 …man(CJBig2_BitStream *pStream, JBig2ArithCtx *gbContext, JBig2ArithCtx *grContext, IFX_Pause* pPau…
DJBig2_Context.cpp627 JBig2ArithCtx *gbContext = NULL, *grContext = NULL; in parseSymbolDict() local
792 grContext = (JBig2ArithCtx*)m_pModule->JBig2_Malloc2(sizeof(JBig2ArithCtx), dwTemp); in parseSymbolDict()
793 JBIG2_memcpy(grContext, pLRSeg->m_Result.sd->m_grContext, sizeof(JBig2ArithCtx)*dwTemp); in parseSymbolDict()
804 grContext = (JBig2ArithCtx*)m_pModule->JBig2_Malloc2(sizeof(JBig2ArithCtx), dwTemp); in parseSymbolDict()
805 JBIG2_memset(grContext, 0, sizeof(JBig2ArithCtx)*dwTemp); in parseSymbolDict()
822 … pSegment->m_Result.sd = pSymbolDictDecoder->decode_Arith(pArithDecoder, gbContext, grContext); in parseSymbolDict()
831 …Segment->m_Result.sd = pSymbolDictDecoder->decode_Huffman(m_pStream, gbContext, grContext, pPause); in parseSymbolDict()
853 pSegment->m_Result.sd->m_grContext = grContext; in parseSymbolDict()
882 if(grContext) { in parseSymbolDict()
883 m_pModule->JBig2_Free(grContext); in parseSymbolDict()
[all …]
DJBig2_GeneralDecoder.cpp1318 CJBig2_Image *CJBig2_GRRDProc::decode(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) in decode() argument
1329 return decode_Template0_opt(pArithDecoder, grContext); in decode()
1331 return decode_Template0_unopt(pArithDecoder, grContext); in decode()
1335 return decode_Template1_opt(pArithDecoder, grContext); in decode()
1337 return decode_Template1_unopt(pArithDecoder, grContext); in decode()
1341 …Big2_GRRDProc::decode_Template0_unopt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) in decode_Template0_unopt() argument
1352 SLTP = pArithDecoder->DECODE(&grContext[0x0010]); in decode_Template0_unopt()
1375 bVal = pArithDecoder->DECODE(&grContext[CONTEXT]); in decode_Template0_unopt()
1412 bVal = pArithDecoder->DECODE(&grContext[CONTEXT]); in decode_Template0_unopt()
1425 …CJBig2_GRRDProc::decode_Template0_opt(CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *grContext) in decode_Template0_opt() argument
[all …]
/external/skia/tests/
DGrDrawTargetTest.cpp27 GrContext* grContext = factory->get(glType); in DEF_GPUTEST() local
28 if (NULL == grContext) { in DEF_GPUTEST()
32 test_print(reporter, grContext->getGpu()->caps()); in DEF_GPUTEST()
DGpuColorFilterTest.cpp36 static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrContext* grContext) { in test_getConstantColorComponents() argument
103 bool hasFrag = cf->asFragmentProcessors(grContext, &array); in test_getConstantColorComponents()
121 GrContext* grContext = factory->get(glType); in DEF_GPUTEST() local
122 if (NULL == grContext) { in DEF_GPUTEST()
126 test_getConstantColorComponents(reporter, grContext); in DEF_GPUTEST()
DGpuDrawPathTest.cpp50 GrContext* grContext = factory->get(glType); in DEF_GPUTEST() local
51 if (NULL == grContext) { in DEF_GPUTEST()
60 SkSurface::NewRenderTarget(grContext, SkSurface::kNo_Budgeted, info, in DEF_GPUTEST()
DBlurTest.cpp282 GrContext* grContext = factory->get(GrContextFactory::kNative_GLContextType);
283 if (NULL == grContext) {
294 SkAutoTUnref<GrTexture> texture(grContext->createTexture(desc, false, NULL, 0));
295 SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get())));
/external/skia/src/views/
DSkWindow.cpp352 const GrGLInterface* interface, GrContext* grContext) { in renderTarget() argument
363 return grContext->textureProvider()->wrapBackendRenderTarget(desc); in renderTarget()
/external/skia/include/views/
DSkWindow.h101 const GrGLInterface* , GrContext* grContext);
/external/skia/samplecode/
DSampleApp.cpp1654 GrContext* grContext = this->getGrContext(); in onHandleChar() local
1655 if (grContext) { in onHandleChar()
1657 grContext->getResourceCacheUsage(NULL, &cacheBytes); in onHandleChar()
1658 grContext->freeGpuResources(); in onHandleChar()