Lines Matching refs:pAdaptor
96 SWriteAdaptorInfo(ClientPtr client, xvAdaptorInfo * pAdaptor) in SWriteAdaptorInfo() argument
98 swapl(&pAdaptor->base_id); in SWriteAdaptorInfo()
99 swaps(&pAdaptor->name_size); in SWriteAdaptorInfo()
100 swaps(&pAdaptor->num_ports); in SWriteAdaptorInfo()
101 swaps(&pAdaptor->num_formats); in SWriteAdaptorInfo()
103 WriteToClient(client, sz_xvAdaptorInfo, pAdaptor); in SWriteAdaptorInfo()
429 .num_encodings = pPort->pAdaptor->nEncodings in ProcXvQueryEncodings()
434 ne = pPort->pAdaptor->nEncodings; in ProcXvQueryEncodings()
435 pe = pPort->pAdaptor->pEncodings; in ProcXvQueryEncodings()
446 ne = pPort->pAdaptor->nEncodings; in ProcXvQueryEncodings()
447 pe = pPort->pAdaptor->pEncodings; in ProcXvQueryEncodings()
477 if (!(pPort->pAdaptor->type & XvInputMask) || in ProcXvPutVideo()
478 !(pPort->pAdaptor->type & XvVideoMask)) { in ProcXvPutVideo()
507 if (!(pPort->pAdaptor->type & XvInputMask) || in ProcXvPutStill()
508 !(pPort->pAdaptor->type & XvStillMask)) { in ProcXvPutStill()
537 if (!(pPort->pAdaptor->type & XvOutputMask) || in ProcXvGetVideo()
538 !(pPort->pAdaptor->type & XvVideoMask)) { in ProcXvGetVideo()
567 if (!(pPort->pAdaptor->type & XvOutputMask) || in ProcXvGetStill()
568 !(pPort->pAdaptor->type & XvStillMask)) { in ProcXvGetStill()
749 (*pPort->pAdaptor->ddQueryBestSize) (pPort, stuff->motion, in ProcXvQueryBestSize()
784 .num_attributes = pPort->pAdaptor->nAttributes, in ProcXvQueryPortAttributes()
788 for (i = 0, pAtt = pPort->pAdaptor->pAttributes; in ProcXvQueryPortAttributes()
789 i < pPort->pAdaptor->nAttributes; i++, pAtt++) { in ProcXvQueryPortAttributes()
793 rep.length = (pPort->pAdaptor->nAttributes * sz_xvAttributeInfo) in ProcXvQueryPortAttributes()
799 for (i = 0, pAtt = pPort->pAdaptor->pAttributes; in ProcXvQueryPortAttributes()
800 i < pPort->pAdaptor->nAttributes; i++, pAtt++) { in ProcXvQueryPortAttributes()
831 if (!(pPort->pAdaptor->type & XvImageMask) || in ProcXvPutImage()
832 !(pPort->pAdaptor->type & XvInputMask)) { in ProcXvPutImage()
842 for (i = 0; i < pPort->pAdaptor->nImages; i++) { in ProcXvPutImage()
843 if (pPort->pAdaptor->pImages[i].id == stuff->id) { in ProcXvPutImage()
844 pImage = &(pPort->pAdaptor->pImages[i]); in ProcXvPutImage()
854 size = (*pPort->pAdaptor->ddQueryImageAttributes) (pPort, pImage, &width, in ProcXvPutImage()
891 if (!(pPort->pAdaptor->type & XvImageMask) || in ProcXvShmPutImage()
892 !(pPort->pAdaptor->type & XvInputMask)) { in ProcXvShmPutImage()
902 for (i = 0; i < pPort->pAdaptor->nImages; i++) { in ProcXvShmPutImage()
903 if (pPort->pAdaptor->pImages[i].id == stuff->id) { in ProcXvShmPutImage()
904 pImage = &(pPort->pAdaptor->pImages[i]); in ProcXvShmPutImage()
919 size_needed = (*pPort->pAdaptor->ddQueryImageAttributes) (pPort, pImage, in ProcXvShmPutImage()
978 for (i = 0; i < pPort->pAdaptor->nImages; i++) { in ProcXvQueryImageAttributes()
979 if (pPort->pAdaptor->pImages[i].id == stuff->id) { in ProcXvQueryImageAttributes()
980 pImage = &(pPort->pAdaptor->pImages[i]); in ProcXvQueryImageAttributes()
1002 size = (*pPort->pAdaptor->ddQueryImageAttributes) (pPort, pImage, in ProcXvQueryImageAttributes()
1044 .num_formats = pPort->pAdaptor->nImages, in ProcXvListImageFormats()
1046 bytes_to_int32(pPort->pAdaptor->nImages * sz_xvImageFormatInfo) in ProcXvListImageFormats()
1051 pImage = pPort->pAdaptor->pImages; in ProcXvListImageFormats()
1053 for (i = 0; i < pPort->pAdaptor->nImages; i++, pImage++) { in ProcXvListImageFormats()