Lines Matching refs:adaptors
45 KdVideoAdaptorPtr adaptors; member
296 free(a_this->adaptors); in ephyrXVPrivDelete()
297 a_this->adaptors = NULL; in ephyrXVPrivDelete()
479 a_this->adaptors = calloc(a_this->num_adaptors, in ephyrXVPrivQueryHostAdaptors()
481 if (!a_this->adaptors) { in ephyrXVPrivQueryHostAdaptors()
493 a_this->adaptors[i].nPorts = cur_host_adaptor->num_ports; in ephyrXVPrivQueryHostAdaptors()
494 if (a_this->adaptors[i].nPorts <= 0) { in ephyrXVPrivQueryHostAdaptors()
498 a_this->adaptors[i].type = cur_host_adaptor->type; in ephyrXVPrivQueryHostAdaptors()
499 a_this->adaptors[i].type |= XvWindowMask; in ephyrXVPrivQueryHostAdaptors()
500 a_this->adaptors[i].flags = in ephyrXVPrivQueryHostAdaptors()
502 a_this->adaptors[i].name = in ephyrXVPrivQueryHostAdaptors()
505 if (!a_this->adaptors[i].name) in ephyrXVPrivQueryHostAdaptors()
506 a_this->adaptors[i].name = strdup("Xephyr Video Overlay"); in ephyrXVPrivQueryHostAdaptors()
515 if (!translate_video_encodings(&a_this->adaptors[i], in ephyrXVPrivQueryHostAdaptors()
522 a_this->adaptors[i].nFormats = cur_host_adaptor->num_formats; in ephyrXVPrivQueryHostAdaptors()
523 a_this->adaptors[i].pFormats = in ephyrXVPrivQueryHostAdaptors()
525 sizeof(*a_this->adaptors[i].pFormats)); in ephyrXVPrivQueryHostAdaptors()
529 a_this->adaptors[i].pFormats[j].depth = format[j].depth; in ephyrXVPrivQueryHostAdaptors()
530 a_this->adaptors[i].pFormats[j].class = visual->_class; in ephyrXVPrivQueryHostAdaptors()
533 a_this->adaptors[i].pPortPrivates = in ephyrXVPrivQueryHostAdaptors()
534 calloc(a_this->adaptors[i].nPorts, in ephyrXVPrivQueryHostAdaptors()
536 port_priv_offset = a_this->adaptors[i].nPorts; in ephyrXVPrivQueryHostAdaptors()
537 for (j = 0; j < a_this->adaptors[i].nPorts; j++) { in ephyrXVPrivQueryHostAdaptors()
539 (EphyrPortPriv *) &a_this->adaptors[i]. in ephyrXVPrivQueryHostAdaptors()
544 port_priv->current_adaptor = &a_this->adaptors[i]; in ephyrXVPrivQueryHostAdaptors()
546 a_this->adaptors[i].pPortPrivates[j].ptr = port_priv; in ephyrXVPrivQueryHostAdaptors()
549 if (!translate_xv_attributes(&a_this->adaptors[i], cur_host_adaptor)) { in ephyrXVPrivQueryHostAdaptors()
557 if (!translate_xv_image_formats(&a_this->adaptors[i], cur_host_adaptor)) { in ephyrXVPrivQueryHostAdaptors()
586 a_this->adaptors[i].ReputImage = ephyrReputImage; in ephyrXVPrivSetAdaptorsHooks()
587 a_this->adaptors[i].StopVideo = ephyrStopVideo; in ephyrXVPrivSetAdaptorsHooks()
588 a_this->adaptors[i].SetPortAttribute = ephyrSetPortAttribute; in ephyrXVPrivSetAdaptorsHooks()
589 a_this->adaptors[i].GetPortAttribute = ephyrGetPortAttribute; in ephyrXVPrivSetAdaptorsHooks()
590 a_this->adaptors[i].QueryBestSize = ephyrQueryBestSize; in ephyrXVPrivSetAdaptorsHooks()
591 a_this->adaptors[i].QueryImageAttributes = ephyrQueryImageAttributes; in ephyrXVPrivSetAdaptorsHooks()
595 a_this->adaptors[i].PutImage = ephyrPutImage; in ephyrXVPrivSetAdaptorsHooks()
599 a_this->adaptors[i].PutVideo = ephyrPutVideo; in ephyrXVPrivSetAdaptorsHooks()
603 a_this->adaptors[i].GetVideo = ephyrGetVideo; in ephyrXVPrivSetAdaptorsHooks()
607 a_this->adaptors[i].PutStill = ephyrPutStill; in ephyrXVPrivSetAdaptorsHooks()
611 a_this->adaptors[i].GetStill = ephyrGetStill; in ephyrXVPrivSetAdaptorsHooks()
629 if (!KdXVScreenInit(a_screen, a_this->adaptors, a_this->num_adaptors)) { in ephyrXVPrivRegisterAdaptors()