Lines Matching refs:aSurfaceDesc
81 mutable DDSURFACEDESC aSurfaceDesc; member
92 rtl_fillMemory((void *)&aSurfaceDesc,sizeof(DDSURFACEDESC),0); in lock()
93 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in lock()
95 if(SUCCEEDED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in lock()
96 return static_cast<sal_uInt8 *>(aSurfaceDesc.lpSurface); in lock()
126 return aSurfaceDesc.lPitch; in getStride()
352 DDSURFACEDESC aSurfaceDesc; in getBitmap() local
353 rtl_fillMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC),0); in getBitmap()
354 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in getBitmap()
358 if(SUCCEEDED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in getBitmap()
366 aSurfaceDesc.lPitch, in getBitmap()
368 (BYTE *)aSurfaceDesc.lpSurface )); in getBitmap()
476 DDSURFACEDESC aSurfaceDesc; in imageDebugger() local
477 rtl_fillMemory( &aSurfaceDesc,sizeof(DDSURFACEDESC),0 ); in imageDebugger()
478 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in imageDebugger()
481 &aSurfaceDesc, in imageDebugger()
486 … imdebug("bgra w=%d h=%d %p", aSurfaceDesc.dwWidth, aSurfaceDesc.dwHeight, aSurfaceDesc.lpSurface); in imageDebugger()
549 DDSURFACEDESC aSurfaceDesc; in getData() local
550 rtl_fillMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC),0); in getData()
551 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in getData()
555 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in getData()
558 …sal_uInt8 *pSrc = (sal_uInt8 *)((((BYTE *)aSurfaceDesc.lpSurface)+(rect.Y1*aSurfaceDesc.lPitch))+r… in getData()
565 pSrc += aSurfaceDesc.lPitch; in getData()
631 DDSURFACEDESC aSurfaceDesc; in setData() local
632 rtl_fillMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC),0); in setData()
633 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in setData()
637 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in setData()
641 …sal_uInt8 *pDst = (sal_uInt8 *)((((BYTE *)aSurfaceDesc.lpSurface)+(rect.Y1*aSurfaceDesc.lPitch))+r… in setData()
647 pDst += aSurfaceDesc.lPitch; in setData()
711 DDSURFACEDESC aSurfaceDesc; in setPixel() local
712 rtl_fillMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC),0); in setPixel()
713 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in setPixel()
717 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in setPixel()
720 …sal_uInt32 *pDst = (sal_uInt32 *)((((BYTE *)aSurfaceDesc.lpSurface)+(pos.Y*aSurfaceDesc.lPitch))+p… in setPixel()
769 DDSURFACEDESC aSurfaceDesc; in getPixel() local
770 rtl_fillMemory(&aSurfaceDesc,sizeof(DDSURFACEDESC),0); in getPixel()
771 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in getPixel()
775 if(FAILED(mpSurface->Lock(NULL,&aSurfaceDesc,dwFlags,NULL))) in getPixel()
778 …sal_uInt32 *pDst = (sal_uInt32 *)((((BYTE *)aSurfaceDesc.lpSurface)+(pos.Y*aSurfaceDesc.lPitch))+p… in getPixel()