• Home
  • Raw
  • Download

Lines Matching refs:extMIDs

118         if ((p->extMIDs[i]->m_render_done == true) &&  in getVP9FrameBuffer()
119 (p->extMIDs[i]->m_released == true)) { in getVP9FrameBuffer()
120 fb->data = p->extMIDs[i]->m_usrAddr; in getVP9FrameBuffer()
125 p->extMIDs[i]->m_released = false; in getVP9FrameBuffer()
147 if (fb->data == p->extMIDs[i]->m_usrAddr) { in releaseVP9FrameBuffer()
148 p->extMIDs[i]->m_released = true; in releaseVP9FrameBuffer()
215 extMIDs[i] = (vaapiMemId*)malloc(sizeof(vaapiMemId)); in ProcessorInit()
216 extMIDs[i]->m_usrAddr = NULL; in ProcessorInit()
217 extMIDs[i]->m_surface = new VASurfaceID; in ProcessorInit()
235 extMIDs[i]->m_usrAddr = (unsigned char*)malloc(sizeof(unsigned char) * in ProcessorInit()
237 extMIDs[i]->m_render_done = true; in ProcessorInit()
238 extMIDs[i]->m_released = true; in ProcessorInit()
268 extMIDs[i]->m_key = (unsigned int)(buf_hdr->pBuffer); in ProcessorInit()
269 extMIDs[i]->m_render_done = false; in ProcessorInit()
270 extMIDs[i]->m_released = true; in ProcessorInit()
311 extMIDs[i]->m_surface, in ProcessorInit()
326 va_res = vaDeriveImage(mVADisplay, *(extMIDs[i]->m_surface), &image); in ProcessorInit()
330 extMIDs[i]->m_usrAddr = usrptr; in ProcessorInit()
347 if (extMIDs[i]->m_surface != NULL) { in ProcessorDeinit()
348 vaDestroySurfaces(mVADisplay, extMIDs[i]->m_surface, 1); in ProcessorDeinit()
354 if (extMIDs[i]->m_usrAddr != NULL) { in ProcessorDeinit()
355 free(extMIDs[i]->m_usrAddr); in ProcessorDeinit()
356 extMIDs[i]->m_usrAddr = NULL; in ProcessorDeinit()
363 delete extMIDs[i]->m_surface; in ProcessorDeinit()
364 free(extMIDs[i]); in ProcessorDeinit()
386 if (handle == extMIDs[i]->m_key) { in ProcessorPreFillBuffer()
387 extMIDs[i]->m_render_done = true; in ProcessorPreFillBuffer()
589 extMIDs[img->fb_index]->m_render_done = true; in FillRenderBuffer()
653 if ((unsigned int)(buffer->pBuffer) != extMIDs[img->fb_index]->m_key) { in FillRenderBuffer()
659 extMIDs[img->fb_index]->m_render_done = false; in FillRenderBuffer()
811 if (extMIDs[i]->m_released == true) { in IsAllBufferAvailable()
820 if ((extMIDs[i]->m_render_done == true) && (extMIDs[i]->m_released == true)) { in IsAllBufferAvailable()