Searched refs:OCImage (Results 1 – 4 of 4) sorted by relevance
116 OCImage.flags = screen->flags; in ph_SetupOCImage()151 …OCImage.offscreen_context = PdCreateOffscreenContext(0, screen->w, screen->h, Pg_OSC_MEM_PAGE_ALIG… in ph_SetupOCImage()153 if (OCImage.offscreen_context == NULL) in ph_SetupOCImage()159 screen->pitch = OCImage.offscreen_context->pitch; in ph_SetupOCImage()161 OCImage.dc_ptr = (unsigned char *)PdGetOffscreenContextPtr(OCImage.offscreen_context); in ph_SetupOCImage()163 if (OCImage.dc_ptr == NULL) in ph_SetupOCImage()166 PhDCRelease(OCImage.offscreen_context); in ph_SetupOCImage()170 OCImage.FrameData0 = OCImage.dc_ptr; in ph_SetupOCImage()171 OCImage.CurrentFrameData = OCImage.FrameData0; in ph_SetupOCImage()172 OCImage.current = 0; in ph_SetupOCImage()[all …]
322 if (OCImage.direct_context==NULL) in ph_EnterFullScreen()324 OCImage.direct_context=(PdDirectContext_t*)PdCreateDirectContext(); in ph_EnterFullScreen()325 if (!OCImage.direct_context) in ph_EnterFullScreen()332 OCImage.oldDC=PdDirectStart(OCImage.direct_context); in ph_EnterFullScreen()357 if (OCImage.direct_context) in ph_LeaveFullScreen()359 PdDirectStop(OCImage.direct_context); in ph_LeaveFullScreen()360 PdReleaseDirectContext(OCImage.direct_context); in ph_LeaveFullScreen()361 OCImage.direct_context=NULL; in ph_LeaveFullScreen()363 if (OCImage.oldDC) in ph_LeaveFullScreen()365 PhDCSetCurrent(OCImage.oldDC); in ph_LeaveFullScreen()[all …]
432 OCImage.direct_context = NULL; in ph_VideoInit()433 OCImage.offscreen_context = NULL; in ph_VideoInit()434 OCImage.offscreen_backcontext = NULL; in ph_VideoInit()435 OCImage.oldDC = NULL; in ph_VideoInit()436 OCImage.CurrentFrameData = NULL; in ph_VideoInit()437 OCImage.FrameData0 = NULL; in ph_VideoInit()438 OCImage.FrameData1 = NULL; in ph_VideoInit()
131 #define OCImage (this->hidden->ocimage) macro