Lines Matching defs:pPort
417 XvPortPtr pPort;
424 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
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;
467 XvPortPtr pPort;
475 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
477 if (!(pPort->pAdaptor->type & XvInputMask) ||
478 !(pPort->pAdaptor->type & XvVideoMask)) {
483 status = XvdiMatchPort(pPort, pDraw);
488 return XvdiPutVideo(client, pDraw, pPort, pGC, stuff->vid_x, stuff->vid_y,
497 XvPortPtr pPort;
505 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
507 if (!(pPort->pAdaptor->type & XvInputMask) ||
508 !(pPort->pAdaptor->type & XvStillMask)) {
513 status = XvdiMatchPort(pPort, pDraw);
518 return XvdiPutStill(client, pDraw, pPort, pGC, stuff->vid_x, stuff->vid_y,
527 XvPortPtr pPort;
535 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
537 if (!(pPort->pAdaptor->type & XvOutputMask) ||
538 !(pPort->pAdaptor->type & XvVideoMask)) {
543 status = XvdiMatchPort(pPort, pDraw);
548 return XvdiGetVideo(client, pDraw, pPort, pGC, stuff->vid_x, stuff->vid_y,
557 XvPortPtr pPort;
565 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
567 if (!(pPort->pAdaptor->type & XvOutputMask) ||
568 !(pPort->pAdaptor->type & XvStillMask)) {
573 status = XvdiMatchPort(pPort, pDraw);
578 return XvdiGetStill(client, pDraw, pPort, pGC, stuff->vid_x, stuff->vid_y,
603 XvPortPtr pPort;
608 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
610 return XvdiSelectPortNotify(client, pPort, stuff->onoff);
617 XvPortPtr pPort;
623 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
625 status = XvdiGrabPort(client, pPort, stuff->time, &result);
645 XvPortPtr pPort;
650 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
652 return XvdiUngrabPort(client, pPort, stuff->time);
660 XvPortPtr pPort;
665 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
671 return XvdiStopVideo(client, pPort, pDraw);
678 XvPortPtr pPort;
683 VALIDATE_XV_PORT(stuff->port, pPort, DixSetAttrAccess);
691 XvdiSetPortAttribute(client, pPort, stuff->attribute, stuff->value);
706 XvPortPtr pPort;
712 VALIDATE_XV_PORT(stuff->port, pPort, DixGetAttrAccess);
719 status = XvdiGetPortAttribute(client, pPort, stuff->attribute, &value);
741 XvPortPtr pPort;
747 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
749 (*pPort->pAdaptor->ddQueryBestSize) (pPort, stuff->motion,
771 XvPortPtr pPort;
779 VALIDATE_XV_PORT(stuff->port, pPort, DixGetAttrAccess);
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++) {
819 XvPortPtr pPort;
829 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
831 if (!(pPort->pAdaptor->type & XvImageMask) ||
832 !(pPort->pAdaptor->type & XvInputMask)) {
837 status = XvdiMatchPort(pPort, pDraw);
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,
865 return XvdiPutImage(client, pDraw, pPort, pGC, stuff->src_x, stuff->src_y,
879 XvPortPtr pPort;
889 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
891 if (!(pPort->pAdaptor->type & XvImageMask) ||
892 !(pPort->pAdaptor->type & XvInputMask)) {
897 status = XvdiMatchPort(pPort, pDraw);
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,
928 status = XvdiPutImage(client, pDraw, pPort, pGC, stuff->src_x, stuff->src_y,
967 XvPortPtr pPort;
976 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
978 for (i = 0; i < pPort->pAdaptor->nImages; i++) {
979 if (pPort->pAdaptor->pImages[i].id == stuff->id) {
980 pImage = &(pPort->pAdaptor->pImages[i]);
987 pImage = XvMCFindXvImage(pPort, stuff->id);
1002 size = (*pPort->pAdaptor->ddQueryImageAttributes) (pPort, pImage,
1029 XvPortPtr pPort;
1039 VALIDATE_XV_PORT(stuff->port, pPort, DixReadAccess);
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++) {