Home
last modified time | relevance | path

Searched refs:num_adaptors (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86xvmc.c48 int num_adaptors; member
147 int num_adaptors, XF86MCAdaptorPtr * adaptors) in xf86XvMCScreenInit() argument
158 if (!(pAdapt = xallocarray(num_adaptors, sizeof(XvMCAdaptorRec)))) in xf86XvMCScreenInit()
176 pScreenPriv->num_adaptors = num_adaptors; in xf86XvMCScreenInit()
180 for (i = 0; i < num_adaptors; i++) { in xf86XvMCScreenInit()
207 if (Success != XvMCScreenInit(pScreen, num_adaptors, pAdapt)) in xf86XvMCScreenInit()
H A Dxf86xvmc.h135 int num_adaptors,
/OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/
H A Dephyrvideo.c46 int num_adaptors; member
469 a_this->num_adaptors = a_this->host_adaptors->num_adaptors; in ephyrXVPrivQueryHostAdaptors()
470 if (a_this->num_adaptors <= 0) { in ephyrXVPrivQueryHostAdaptors()
474 EPHYR_LOG("host has %d adaptors\n", a_this->num_adaptors); in ephyrXVPrivQueryHostAdaptors()
478 if (a_this->num_adaptors) { in ephyrXVPrivQueryHostAdaptors()
479 a_this->adaptors = calloc(a_this->num_adaptors, in ephyrXVPrivQueryHostAdaptors()
488 for (i = 0; i < a_this->num_adaptors; i++) { in ephyrXVPrivQueryHostAdaptors()
583 for (i = 0; i < a_this->num_adaptors; i++) { in ephyrXVPrivSetAdaptorsHooks()
626 if (!a_this->num_adaptors) in ephyrXVPrivRegisterAdaptors()
629 if (!KdXVScreenInit(a_screen, a_this->adaptors, a_this->num_adaptors)) { in ephyrXVPrivRegisterAdaptors()
[all …]
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxvmc.c50 int num_adaptors; member
149 for (i = 0; i < pScreenPriv->num_adaptors; i++) { in ProcXvMCListSurfaceTypes()
211 for (i = 0; i < pScreenPriv->num_adaptors; i++) { in ProcXvMCCreateContext()
530 for (i = 0; i < pScreenPriv->num_adaptors; i++) { in ProcXvMCListSubpictureTypes()
765 pScreenPriv->num_adaptors = num; in XvMCScreenInit()
793 for (i = 0; i < pScreenPriv->num_adaptors; i++) { in XvMCFindXvImage()
H A Dxvdisp.c76 swaps(&rep->num_adaptors); in SWriteQueryAdaptorsReply()
348 .num_adaptors = 0 in ProcXvQueryAdaptors()
359 .num_adaptors = pxvs->nAdaptors in ProcXvQueryAdaptors()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog64613 Memory leak of pointer 'pAdapt' allocated with malloc((88 * num_adaptors))
64615 'pAdapt' allocated at line 158 with malloc((88 * num_adaptors)).