Lines Matching refs:map
1565 VASurfaceMap *map = new VASurfaceMap(mVADisplay, mSupportedSurfaceMemType); in getNewUsrptrFromSurface() local
1566 if (map == NULL) { in getNewUsrptrFromSurface()
1571 map->setVASurface(surface); //special case, vasuface is set, so nothing do in doMapping in getNewUsrptrFromSurface()
1573 map->setValue((intptr_t)*usrptr); in getNewUsrptrFromSurface()
1585 map->setValueInfo(vinfo); in getNewUsrptrFromSurface()
1586 map->doMapping(); in getNewUsrptrFromSurface()
1588 mSrcSurfaceMapList.push_back(map); in getNewUsrptrFromSurface()
1610 VASurfaceMap *map = new VASurfaceMap(mVADisplay, mSupportedSurfaceMemType); in setUpstreamBuffer() local
1613 map->setValue(upStreamBuffer->bufList[i]); in setUpstreamBuffer()
1627 map->setValueInfo(vinfo); in setUpstreamBuffer()
1628 status = map->doMapping(); in setUpstreamBuffer()
1631 mSrcSurfaceMapList.push_back(map); in setUpstreamBuffer()
1633 delete map; in setUpstreamBuffer()
1650 VASurfaceMap *map = NULL; in manageSrcSurface() local
1691 map = (VASurfaceMap*) findSurfaceMapByValue(value); in manageSrcSurface()
1693 if (map) { in manageSrcSurface()
1695 LOG_V("direct find surface %d from value %i\n", map->getVASurface(), value); in manageSrcSurface()
1696 *sid = map->getVASurface(); in manageSrcSurface()
1697 map->doMapping(); in manageSrcSurface()
1742 map = new VASurfaceMap(mVADisplay, mSupportedSurfaceMemType); in manageSrcSurface()
1743 map->setValue(value); in manageSrcSurface()
1744 map->setValueInfo(*pvinfo); in manageSrcSurface()
1745 map->setAction(mVASurfaceMappingAction); in manageSrcSurface()
1747 ret = map->doMapping(); in manageSrcSurface()
1749 … LOG_V("surface mapping success, map value %i into surface %d\n", value, map->getVASurface()); in manageSrcSurface()
1750 mSrcSurfaceMapList.push_back(map); in manageSrcSurface()
1752 delete map; in manageSrcSurface()
1757 *sid = map->getVASurface(); in manageSrcSurface()
1768 map = new VASurfaceMap(mVADisplay, mSupportedSurfaceMemType); in manageSrcSurface()
1769 map->setValue(extravalues[i]); in manageSrcSurface()
1770 map->setValueInfo(vinfo); in manageSrcSurface()
1772 ret = map->doMapping(); in manageSrcSurface()
1774 … mapping extravalue success, map value %i into surface %d\n", extravalues[i], map->getVASurface()); in manageSrcSurface()
1775 mSrcSurfaceMapList.push_back(map); in manageSrcSurface()
1777 delete map; in manageSrcSurface()
1778 map = NULL; in manageSrcSurface()