Lines Matching refs:adaptor_nr
46 config->adaptor_nr = -1; in gst_xvcontext_config_clear()
66 XvAdaptorInfo * adaptors, guint adaptor_nr) in gst_lookup_xv_port_from_adaptor() argument
72 if (!(adaptors[adaptor_nr].type & XvImageMask)) { in gst_lookup_xv_port_from_adaptor()
74 adaptors[adaptor_nr].name); in gst_lookup_xv_port_from_adaptor()
79 for (j = 0; j < adaptors[adaptor_nr].num_ports && !context->xv_port_id; j++) { in gst_lookup_xv_port_from_adaptor()
81 res = XvGrabPort (context->disp, adaptors[adaptor_nr].base_id + j, 0); in gst_lookup_xv_port_from_adaptor()
83 context->xv_port_id = adaptors[adaptor_nr].base_id + j; in gst_lookup_xv_port_from_adaptor()
84 GST_DEBUG ("XV Adaptor %s with %ld ports", adaptors[adaptor_nr].name, in gst_lookup_xv_port_from_adaptor()
85 adaptors[adaptor_nr].num_ports); in gst_lookup_xv_port_from_adaptor()
88 adaptors[adaptor_nr].name, res); in gst_lookup_xv_port_from_adaptor()
135 if (config->adaptor_nr != -1 && config->adaptor_nr < context->nb_adaptors) { in gst_xvcontext_get_xv_support()
137 gst_lookup_xv_port_from_adaptor (context, adaptors, config->adaptor_nr); in gst_xvcontext_get_xv_support()
144 context->adaptor_nr = i; in gst_xvcontext_get_xv_support()
373 context->adaptor_nr = -1; in gst_xvcontext_get_xv_support()
660 context->adaptor_nr = -1; in gst_xvcontext_new()