| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/ |
| H A D | Bits.h | 17 INLINE unsigned char get1(unsigned const char* pSrc) in get1() argument 19 return *pSrc; in get1() 25 INLINE unsigned short get2BE(unsigned char const* pSrc) in get2BE() argument 29 result = *pSrc++ << 8; in get2BE() 30 result |= *pSrc++; in get2BE() 38 INLINE unsigned int get4BE(unsigned char const* pSrc) in get4BE() argument 42 result = *pSrc++ << 24; in get4BE() 43 result |= *pSrc++ << 16; in get4BE() 44 result |= *pSrc++ << 8; in get4BE() 45 result |= *pSrc++; in get4BE() [all …]
|
| /OK3568_Linux_fs/external/recovery/minzip/ |
| H A D | Bits.h | 17 INLINE unsigned char get1(unsigned const char* pSrc) in get1() argument 19 return *pSrc; in get1() 25 INLINE unsigned short get2BE(unsigned char const* pSrc) in get2BE() argument 29 result = *pSrc++ << 8; in get2BE() 30 result |= *pSrc++; in get2BE() 38 INLINE unsigned int get4BE(unsigned char const* pSrc) in get4BE() argument 42 result = *pSrc++ << 24; in get4BE() 43 result |= *pSrc++ << 16; in get4BE() 44 result |= *pSrc++ << 8; in get4BE() 45 result |= *pSrc++; in get4BE() [all …]
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_render.c | 97 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst) in exaPrintCompositeFallback() argument 114 exaCompositeFallbackPictDesc(pSrc, srcdesc, 40); in exaPrintCompositeFallback() 249 exaTryDriverSolidFill(PicturePtr pSrc, in exaTryDriverSolidFill() argument 276 if (pSrc->pDrawable) { in exaTryDriverSolidFill() 277 xSrc += pSrc->pDrawable->x; in exaTryDriverSolidFill() 278 ySrc += pSrc->pDrawable->y; in exaTryDriverSolidFill() 281 if (!miComputeCompositeRegion(®ion, pSrc, NULL, pDst, in exaTryDriverSolidFill() 289 if (pSrc->pDrawable) { in exaTryDriverSolidFill() 290 pSrcPix = exaGetDrawablePixmap(pSrc->pDrawable); in exaTryDriverSolidFill() 295 pSrc->format), in exaTryDriverSolidFill() [all …]
|
| H A D | exa_unaccel.c | 122 ExaCheckCopyNtoN(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, in ExaCheckCopyNtoN() argument 130 EXA_FALLBACK(("from %p to %p (%c,%c)\n", pSrc, pDst, in ExaCheckCopyNtoN() 131 exaDrawableLocation(pSrc), exaDrawableLocation(pDst))); in ExaCheckCopyNtoN() 134 PixmapPtr pPixmap = exaGetDrawablePixmap(pSrc); in ExaCheckCopyNtoN() 136 exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff); in ExaCheckCopyNtoN() 142 exaPrepareAccess(pSrc, EXA_PREPARE_SRC); in ExaCheckCopyNtoN() 160 pGC->ops->CopyArea(pSrc, pDst, pGC, pbox->x1 - pSrc->x + dx, in ExaCheckCopyNtoN() 161 pbox->y1 - pSrc->y + dy, pbox->x2 - pbox->x1, in ExaCheckCopyNtoN() 166 exaFinishAccess(pSrc, EXA_PREPARE_SRC); in ExaCheckCopyNtoN() 205 ExaCheckCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, in ExaCheckCopyArea() argument [all …]
|
| H A D | exa_glyphs.c | 430 PicturePtr pSrc, in exaGlyphCacheBufferGlyph() argument 484 if (pSrc ? in exaGlyphCacheBufferGlyph() 510 if (pSrc) { in exaGlyphCacheBufferGlyph() 541 PicturePtr pSrc, in exaBufferGlyph() argument 571 pSrc, in exaBufferGlyph() 621 exaGlyphsToDst(CARD8 op, PicturePtr pSrc, PicturePtr pDst, ExaGlyphBufferPtr buffer) in exaGlyphsToDst() argument 623 exaCompositeRects(op, pSrc, buffer->mask, pDst, buffer->count, in exaGlyphsToDst() 680 PicturePtr pSrc, in exaGlyphs() argument 729 !(*pExaScr->info->CheckComposite) (PictOpAdd, pSrc, NULL, pMask))) in exaGlyphs() 798 if (exaBufferGlyph(pScreen, &buffer, glyph, pSrc, pDst, in exaGlyphs() [all …]
|
| H A D | exa_priv.h | 379 ExaCheckCopyNtoN(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, 385 ExaCheckCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, 390 ExaCheckCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, 508 PicturePtr pSrc, 520 PicturePtr pSrc, 670 PicturePtr pSrc, 687 exaTrapezoids(CARD8 op, PicturePtr pSrc, PicturePtr pDst, 693 exaTriangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst, 707 PicturePtr pSrc,
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/ |
| H A D | ephyr_draw.c | 160 ephyrPrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, int dx, int dy, int alu, in ephyrPrepareCopy() argument 172 ephyrPreparePipelinedAccess(pSrc, EXA_PREPARE_SRC); in ephyrPrepareCopy() 174 fakexa->pSrc = pSrc; in ephyrPrepareCopy() 202 fbCopyArea(&fakexa->pSrc->drawable, &fakexa->pDst->drawable, fakexa->pGC, in ephyrCopy() 221 ephyrFinishPipelinedAccess(fakexa->pSrc, EXA_PREPARE_SRC); in ephyrDoneCopy() 248 PicturePtr pDstPicture, PixmapPtr pSrc, PixmapPtr pMask, in ephyrPrepareComposite() argument 257 if (pSrc != NULL) in ephyrPrepareComposite() 258 ephyrPreparePipelinedAccess(pSrc, EXA_PREPARE_SRC); in ephyrPrepareComposite() 266 fakexa->pSrc = pSrc; in ephyrPrepareComposite() 302 if (fakexa->pSrc != NULL) in ephyrDoneComposite() [all …]
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | mipict.c | 318 PicturePtr pSrc, in miComputeCompositeRegion() argument 356 if (!miClipPictureSrc(pRegion, pSrc, xDst - xSrc, yDst - ySrc)) { in miComputeCompositeRegion() 360 if (pSrc->alphaMap) { in miComputeCompositeRegion() 361 if (!miClipPictureSrc(pRegion, pSrc->alphaMap, in miComputeCompositeRegion() 362 xDst - (xSrc - pSrc->alphaOrigin.x), in miComputeCompositeRegion() 363 yDst - (ySrc - pSrc->alphaOrigin.y))) { in miComputeCompositeRegion() 384 miCompositeSourceValidate(pSrc); in miComputeCompositeRegion() 438 miIsSolidAlpha(PicturePtr pSrc) in miIsSolidAlpha() argument 443 if (!pSrc->pDrawable) in miIsSolidAlpha() 446 pScreen = pSrc->pDrawable->pScreen; in miIsSolidAlpha() [all …]
|
| H A D | picturestr.h | 207 PicturePtr pSrc, 218 PicturePtr pSrc, 236 PicturePtr pSrc, 243 PicturePtr pSrc, 250 PicturePtr pSrc, 257 PicturePtr pSrc, 460 PicturePtr pSrc, 471 PicturePtr pSrc, 484 PicturePtr pSrc, 491 PicturePtr pSrc, [all …]
|
| H A D | mirect.c | 110 PicturePtr pSrc = CreateSolidPicture(0, color, &error); in miCompositeRects() local 112 if (pSrc) { in miCompositeRects() 114 CompositePicture(op, pSrc, 0, pDst, 0, 0, 0, 0, in miCompositeRects() 120 FreePicture((void *) pSrc, 0); in miCompositeRects()
|
| H A D | picture.c | 1431 ReduceCompositeOp(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, in ReduceCompositeOp() argument 1442 no_src_alpha = PICT_FORMAT_COLOR(pSrc->format) && in ReduceCompositeOp() 1443 PICT_FORMAT_A(pSrc->format) == 0 && in ReduceCompositeOp() 1444 (pSrc->repeatType != RepeatNone || in ReduceCompositeOp() 1445 (!pSrc->transform && in ReduceCompositeOp() 1447 xSrc + width <= pSrc->pDrawable->width && in ReduceCompositeOp() 1448 ySrc + height <= pSrc->pDrawable->height)) && in ReduceCompositeOp() 1449 pSrc->alphaMap == NULL && pMask == NULL; in ReduceCompositeOp() 1527 PicturePtr pSrc, in CompositePicture() argument 1538 ValidatePicture(pSrc); in CompositePicture() [all …]
|
| H A D | render.c | 670 PicturePtr pSrc, pMask, pDst; in ProcRenderComposite() local 682 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess); in ProcRenderComposite() 684 if ((pSrc->pDrawable && in ProcRenderComposite() 685 pSrc->pDrawable->pScreen != pDst->pDrawable->pScreen) || (pMask && in ProcRenderComposite() 696 pSrc, in ProcRenderComposite() 717 PicturePtr pSrc, pDst; in ProcRenderTrapezoids() local 727 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess); in ProcRenderTrapezoids() 731 if (pSrc->pDrawable && pSrc->pDrawable->pScreen != pDst->pDrawable->pScreen) in ProcRenderTrapezoids() 746 CompositeTrapezoids(stuff->op, pSrc, pDst, pFormat, in ProcRenderTrapezoids() 756 PicturePtr pSrc, pDst; in ProcRenderTriangles() local [all …]
|
| H A D | mipict.h | 62 PicturePtr pSrc, 83 PicturePtr pSrc, 96 miIsSolidAlpha(PicturePtr pSrc);
|
| /OK3568_Linux_fs/external/xserver/fb/ |
| H A D | fbtrap.c | 94 PicturePtr pSrc, in fbShapes() argument 104 miCompositeSourceValidate(pSrc); in fbShapes() 106 src = image_from_pict(pSrc, FALSE, &src_xoff, &src_yoff); in fbShapes() 153 free_pixman_pict(pSrc, src); in fbShapes() 159 PicturePtr pSrc, in fbTrapezoids() argument 168 op, pSrc, pDst, maskFormat, in fbTrapezoids() 174 PicturePtr pSrc, in fbTriangles() argument 183 op, pSrc, pDst, maskFormat, in fbTriangles()
|
| H A D | fbpict.h | 34 PicturePtr pSrc, 57 PicturePtr pSrc, 64 PicturePtr pSrc, 71 PicturePtr pSrc,
|
| H A D | fbpict.c | 40 PicturePtr pSrc, in fbComposite() argument 53 miCompositeSourceValidate(pSrc); in fbComposite() 57 src = image_from_pict(pSrc, FALSE, &src_xoff, &src_yoff); in fbComposite() 68 free_pixman_pict(pSrc, src); in fbComposite() 95 PicturePtr pSrc, in fbGlyphs() argument 115 miCompositeSourceValidate(pSrc); in fbGlyphs() 179 if (!(srcImage = image_from_pict(pSrc, FALSE, &srcXoff, &srcYoff))) in fbGlyphs() 211 free_pixman_pict(pSrc, srcImage); in fbGlyphs()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | exa.c | 64 PixmapPtr pSrc; member 506 PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst) in ms_exa_prepare_composite() argument 508 ScreenPtr screen = pSrc->drawable.pScreen; in ms_exa_prepare_composite() 516 if (!rga_check_pixmap(pSrc)) in ms_exa_prepare_composite() 522 if (pDst == pSrc) in ms_exa_prepare_composite() 539 ctx->prepare_args.composite.pSrc = pSrc; in ms_exa_prepare_composite() 584 PixmapPtr pSrc = ctx->prepare_args.composite.pSrc; in ms_exa_composite_bail() local 591 ms_exa_prepare_access(pSrc, 0); in ms_exa_composite_bail() 594 ms_exa_composite_fix_offsets(pSrcPicture->pDrawable, pSrc, &srcX, &srcY); in ms_exa_composite_bail() 605 ms_exa_finish_access(pSrc, 0); in ms_exa_composite_bail() [all …]
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_triangles.c | 33 PicturePtr pSrc, in glamor_triangles() argument 39 glamor_prepare_access_picture(pSrc, GLAMOR_ACCESS_RO)) { in glamor_triangles() 40 fbTriangles(op, pSrc, pDst, maskFormat, xSrc, ySrc, ntris, tris); in glamor_triangles() 42 glamor_finish_access_picture(pSrc); in glamor_triangles()
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/ |
| H A D | dmxgcops.c | 173 dmxCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, in dmxCopyArea() argument 176 DMXScreenInfo *dmxScreen = &dmxScreens[pSrc->pScreen->myNum]; in dmxCopyArea() 180 if (DMX_GCOPS_OFFSCREEN(pSrc) || DMX_GCOPS_OFFSCREEN(pDst)) in dmxCopyArea() 181 return miHandleExposures(pSrc, pDst, pGC, srcx, srcy, w, h, in dmxCopyArea() 184 DMX_GCOPS_SET_DRAWABLE(pSrc, srcDraw); in dmxCopyArea() 191 return miHandleExposures(pSrc, pDst, pGC, srcx, srcy, w, h, dstx, dsty); in dmxCopyArea() 199 dmxCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, in dmxCopyPlane() argument 203 DMXScreenInfo *dmxScreen = &dmxScreens[pSrc->pScreen->myNum]; in dmxCopyPlane() 207 if (DMX_GCOPS_OFFSCREEN(pSrc) || DMX_GCOPS_OFFSCREEN(pDst)) in dmxCopyPlane() 208 return miHandleExposures(pSrc, pDst, pGC, srcx, srcy, width, height, in dmxCopyPlane() [all …]
|
| H A D | dmxpict.h | 73 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, 78 PicturePtr pSrc, PicturePtr pDst, 91 PicturePtr pSrc, PicturePtr pDst, 96 PicturePtr pSrc, PicturePtr pDst,
|
| H A D | dmxpict.c | 473 PicturePtr pSrc; in dmxProcRenderCompositeGlyphs() local 500 dixLookupResourceByType((void **) &pSrc, in dmxProcRenderCompositeGlyphs() 503 pSrcPriv = DMX_GET_PICT_PRIV(pSrc); in dmxProcRenderCompositeGlyphs() 1094 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, in dmxComposite() argument 1102 dmxPictPrivPtr pSrcPriv = DMX_GET_PICT_PRIV(pSrc); in dmxComposite() 1112 ps->Composite(op, pSrc, pMask, pDst, in dmxComposite() 1136 PicturePtr pSrc, PicturePtr pDst, in dmxGlyphs() argument 1201 dmxTrapezoids(CARD8 op, PicturePtr pSrc, PicturePtr pDst, in dmxTrapezoids() argument 1208 dmxPictPrivPtr pSrcPriv = DMX_GET_PICT_PRIV(pSrc); in dmxTrapezoids() 1214 ps->Trapezoids(op, pSrc, pDst, maskFormat, xSrc, ySrc, ntrap, *traps); in dmxTrapezoids() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/ |
| H A D | driWrap.c | 155 DRISetSpans(DrawablePtr dst, GCPtr pGC, char *pSrc, in DRISetSpans() argument 165 pGC->ops->SetSpans(dst, pGC, pSrc, pptInit, pwidthInit, nspans, sorted); in DRISetSpans() 191 DRICopyArea(DrawablePtr pSrc, DrawablePtr dst, GCPtr pGC, in DRICopyArea() argument 198 DRISurfaceSetDrawable(pSrc, &pSrcSaved); in DRICopyArea() 203 pReg = pGC->ops->CopyArea(pSrc, dst, pGC, srcx, srcy, w, h, dstx, dsty); in DRICopyArea() 207 DRISurfaceRestoreDrawable(pSrc, &pSrcSaved); in DRICopyArea() 214 DRICopyPlane(DrawablePtr pSrc, DrawablePtr dst, in DRICopyPlane() argument 222 DRISurfaceSetDrawable(pSrc, &pSrcSaved); in DRICopyPlane() 227 pReg = pGC->ops->CopyPlane(pSrc, dst, pGC, srcx, srcy, w, h, dstx, dsty, in DRICopyPlane() 232 DRISurfaceRestoreDrawable(pSrc, &pSrcSaved); in DRICopyPlane()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/ramdac/ |
| H A D | xf86HWCurs.c | 402 SCANLINE *pSrc, *pMsk; in RealizeCursorInterleave0() local 445 for (y = pCurs->bits->height, pSrc = DstS, pMsk = DstM; in RealizeCursorInterleave0() 447 pSrc += DstPitch, pMsk += DstPitch, SrcS += SrcPitch, SrcM += in RealizeCursorInterleave0() 450 pSrc[x] = SrcS[x] & SrcM[x]; in RealizeCursorInterleave0() 456 for (y = pCurs->bits->height, pSrc = DstS, pMsk = DstM; in RealizeCursorInterleave0() 458 pSrc += DstPitch, pMsk += DstPitch, SrcS += SrcPitch, SrcM += in RealizeCursorInterleave0() 461 pSrc[x] = SrcS[x]; in RealizeCursorInterleave0() 500 for (y = pCurs->bits->height, pSrc = DstS, pMsk = DstM; in RealizeCursorInterleave0() 501 y--; pSrc += DstPitch, pMsk += DstPitch) { in RealizeCursorInterleave0() 503 pSrc[x] = REVERSE_BIT_ORDER(pSrc[x]); in RealizeCursorInterleave0()
|
| /OK3568_Linux_fs/external/xserver/miext/rootless/ |
| H A D | rootlessScreen.c | 239 RootlessComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, in RootlessComposite() argument 252 srcWin = (pSrc->pDrawable && pSrc->pDrawable->type == DRAWABLE_WINDOW) ? in RootlessComposite() 253 (WindowPtr) pSrc->pDrawable : NULL; in RootlessComposite() 267 ps->Composite(op, pSrc, pMask, pDst, in RootlessComposite() 279 RootlessGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, in RootlessGlyphs() argument 290 srcWin = (pSrc->pDrawable && pSrc->pDrawable->type == DRAWABLE_WINDOW) ? in RootlessGlyphs() 291 (WindowPtr) pSrc->pDrawable : NULL; in RootlessGlyphs() 302 ps->Glyphs(op, pSrc, pDst, maskFormat, xSrc, ySrc, nlist, list, glyphs); in RootlessGlyphs()
|
| H A D | rootlessGC.c | 77 static void RootlessSetSpans(DrawablePtr dst, GCPtr pGC, char *pSrc, 83 static RegionPtr RootlessCopyArea(DrawablePtr pSrc, DrawablePtr dst, GCPtr pGC, 86 static RegionPtr RootlessCopyPlane(DrawablePtr pSrc, DrawablePtr dst, 470 RootlessSetSpans(DrawablePtr dst, GCPtr pGC, char *pSrc, in RootlessSetSpans() argument 477 pGC->ops->SetSpans(dst, pGC, pSrc, pptInit, pwidthInit, nspans, sorted); in RootlessSetSpans() 505 pGC->ops->SetSpans(dst, pGC, pSrc, pptInit, pwidthInit, nspans, sorted); in RootlessSetSpans() 543 RootlessCopyArea(DrawablePtr pSrc, DrawablePtr dst, GCPtr pGC, in RootlessCopyArea() argument 552 RL_DEBUG_MSG("copy area start (src 0x%x, dst 0x%x)", pSrc, dst); in RootlessCopyArea() 554 if (pSrc->type == DRAWABLE_WINDOW && IsFramedWindow((WindowPtr) pSrc)) { in RootlessCopyArea() 559 if (canAccelBlit(pSrc, pGC)) { in RootlessCopyArea() [all …]
|