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