Lines Matching refs:port_priv
541 EphyrPortPriv *port_priv = &port_privs_base[j]; in ephyrXVPrivQueryHostAdaptors() local
543 port_priv->port_number = base_port_id + j; in ephyrXVPrivQueryHostAdaptors()
544 port_priv->current_adaptor = &a_this->adaptors[i]; in ephyrXVPrivQueryHostAdaptors()
545 port_priv->xv_priv = a_this; in ephyrXVPrivQueryHostAdaptors()
546 a_this->adaptors[i].pPortPrivates[j].ptr = port_priv; in ephyrXVPrivQueryHostAdaptors()
735 EphyrPortPriv *port_priv = a_port_priv; in ephyrStopVideo() local
738 EPHYR_RETURN_IF_FAIL(port_priv); in ephyrStopVideo()
741 xcb_xv_stop_video(conn, port_priv->port_number, scrpriv->win); in ephyrStopVideo()
751 EphyrPortPriv *port_priv = a_port_priv; in ephyrSetPortAttribute() local
754 EPHYR_RETURN_VAL_IF_FAIL(port_priv, BadMatch); in ephyrSetPortAttribute()
755 EPHYR_RETURN_VAL_IF_FAIL(port_priv->current_adaptor, BadMatch); in ephyrSetPortAttribute()
756 EPHYR_RETURN_VAL_IF_FAIL(port_priv->current_adaptor->pAttributes, BadMatch); in ephyrSetPortAttribute()
757 EPHYR_RETURN_VAL_IF_FAIL(port_priv->current_adaptor->nAttributes, BadMatch); in ephyrSetPortAttribute()
761 port_priv->port_number, in ephyrSetPortAttribute()
770 if (!ephyrXVPrivIsAttrValueValid(port_priv->current_adaptor->pAttributes, in ephyrSetPortAttribute()
771 port_priv->current_adaptor->nAttributes, in ephyrSetPortAttribute()
790 xcb_xv_set_port_attribute(conn, port_priv->port_number, in ephyrSetPortAttribute()
806 EphyrPortPriv *port_priv = a_port_priv; in ephyrGetPortAttribute() local
811 EPHYR_RETURN_VAL_IF_FAIL(port_priv, BadMatch); in ephyrGetPortAttribute()
815 port_priv->port_number, in ephyrGetPortAttribute()
824 cookie = xcb_xv_get_port_attribute(conn, port_priv->port_number, host_atom); in ephyrGetPortAttribute()
853 EphyrPortPriv *port_priv = a_port_priv; in ephyrQueryBestSize() local
856 port_priv->port_number, in ephyrQueryBestSize()
881 EphyrPortPriv *port_priv, in ephyrHostXVPutImage() argument
910 port_priv->port_number, in ephyrHostXVPutImage()
948 port_priv->port_number, in ephyrHostXVPutImage()
982 EphyrPortPriv *port_priv = a_port_priv; in ephyrPutImage() local
991 if (!ephyrHostXVPutImage(a_info, port_priv, in ephyrPutImage()
1006 if (!ephyrXVPrivGetImageBufSize(port_priv->port_number, in ephyrPutImage()
1016 if (!ephyrXVPrivSaveImageToPortPriv(port_priv, a_buf, image_size)) { in ephyrPutImage()
1020 port_priv->image_id = a_id; in ephyrPutImage()
1021 port_priv->drw_x = a_drw_x; in ephyrPutImage()
1022 port_priv->drw_y = a_drw_y; in ephyrPutImage()
1023 port_priv->drw_w = a_drw_w; in ephyrPutImage()
1024 port_priv->drw_h = a_drw_h; in ephyrPutImage()
1025 port_priv->src_x = a_src_x; in ephyrPutImage()
1026 port_priv->src_y = a_src_y; in ephyrPutImage()
1027 port_priv->src_w = a_src_w; in ephyrPutImage()
1028 port_priv->src_h = a_src_h; in ephyrPutImage()
1029 port_priv->image_width = a_width; in ephyrPutImage()
1030 port_priv->image_height = a_height; in ephyrPutImage()
1034 if (port_priv->image_buf) { in ephyrPutImage()
1035 free(port_priv->image_buf); in ephyrPutImage()
1036 port_priv->image_buf = NULL; in ephyrPutImage()
1037 port_priv->image_buf_size = 0; in ephyrPutImage()
1054 EphyrPortPriv *port_priv = a_port_priv; in ephyrReputImage() local
1058 EPHYR_RETURN_VAL_IF_FAIL(a_drawable && port_priv, BadValue); in ephyrReputImage()
1062 if (!port_priv->image_buf_size || !port_priv->image_buf) { in ephyrReputImage()
1067 port_priv, in ephyrReputImage()
1068 port_priv->image_id, in ephyrReputImage()
1070 port_priv->drw_w, port_priv->drw_h, in ephyrReputImage()
1071 port_priv->src_x, port_priv->src_y, in ephyrReputImage()
1072 port_priv->src_w, port_priv->src_h, in ephyrReputImage()
1073 port_priv->image_width, port_priv->image_height, in ephyrReputImage()
1074 port_priv->image_buf, in ephyrReputImage()
1100 EphyrPortPriv *port_priv = a_port_priv; in ephyrPutVideo() local
1103 EPHYR_RETURN_VAL_IF_FAIL(a_drawable && port_priv, BadValue); in ephyrPutVideo()
1109 xcb_xv_put_video(conn, port_priv->port_number, in ephyrPutVideo()
1131 EphyrPortPriv *port_priv = a_port_priv; in ephyrGetVideo() local
1134 EPHYR_RETURN_VAL_IF_FAIL(a_drawable && port_priv, BadValue); in ephyrGetVideo()
1140 xcb_xv_get_video(conn, port_priv->port_number, in ephyrGetVideo()
1163 EphyrPortPriv *port_priv = a_port_priv; in ephyrPutStill() local
1166 EPHYR_RETURN_VAL_IF_FAIL(a_drawable && port_priv, BadValue); in ephyrPutStill()
1172 xcb_xv_put_still(conn, port_priv->port_number, in ephyrPutStill()
1194 EphyrPortPriv *port_priv = a_port_priv; in ephyrGetStill() local
1197 EPHYR_RETURN_VAL_IF_FAIL(a_drawable && port_priv, BadValue); in ephyrGetStill()
1203 xcb_xv_get_still(conn, port_priv->port_number, in ephyrGetStill()