Lines Matching refs:bt
45 static GstCaps *_gst_gl_upload_element_transform_caps (GstBaseTransform * bt,
47 static gboolean _gst_gl_upload_element_set_caps (GstBaseTransform * bt,
52 bt, GstQuery * decide_query, GstQuery * query);
56 gst_gl_upload_element_prepare_output_buffer (GstBaseTransform * bt,
58 static GstFlowReturn gst_gl_upload_element_transform (GstBaseTransform * bt,
60 static gboolean gst_gl_upload_element_stop (GstBaseTransform * bt);
138 gst_gl_upload_element_stop (GstBaseTransform * bt) in gst_gl_upload_element_stop() argument
140 GstGLUploadElement *upload = GST_GL_UPLOAD_ELEMENT (bt); in gst_gl_upload_element_stop()
144 return GST_BASE_TRANSFORM_CLASS (parent_class)->stop (bt); in gst_gl_upload_element_stop()
162 _gst_gl_upload_element_transform_caps (GstBaseTransform * bt, in _gst_gl_upload_element_transform_caps() argument
165 GstGLBaseFilter *base_filter = GST_GL_BASE_FILTER (bt); in _gst_gl_upload_element_transform_caps()
166 GstGLUploadElement *upload = GST_GL_UPLOAD_ELEMENT (bt); in _gst_gl_upload_element_transform_caps()
215 _gst_gl_upload_element_propose_allocation (GstBaseTransform * bt, in _gst_gl_upload_element_propose_allocation() argument
218 GstGLUploadElement *upload = GST_GL_UPLOAD_ELEMENT (bt); in _gst_gl_upload_element_propose_allocation()
231 context = gst_gl_base_filter_get_gl_context (GST_GL_BASE_FILTER (bt)); in _gst_gl_upload_element_propose_allocation()
239 ret = GST_BASE_TRANSFORM_CLASS (parent_class)->propose_allocation (bt, in _gst_gl_upload_element_propose_allocation()
265 _gst_gl_upload_element_set_caps (GstBaseTransform * bt, GstCaps * in_caps, in _gst_gl_upload_element_set_caps() argument
268 GstGLUploadElement *upload = GST_GL_UPLOAD_ELEMENT (bt); in _gst_gl_upload_element_set_caps()
274 gst_gl_upload_element_prepare_output_buffer (GstBaseTransform * bt, in gst_gl_upload_element_prepare_output_buffer() argument
277 GstGLUploadElement *upload = GST_GL_UPLOAD_ELEMENT (bt); in gst_gl_upload_element_prepare_output_buffer()
281 bclass = GST_BASE_TRANSFORM_GET_CLASS (bt); in gst_gl_upload_element_prepare_output_buffer()
283 if (gst_base_transform_is_passthrough (bt)) { in gst_gl_upload_element_prepare_output_buffer()
294 GstPad *sinkpad = GST_BASE_TRANSFORM_SINK_PAD (bt); in gst_gl_upload_element_prepare_output_buffer()
296 GST_DEBUG_OBJECT (bt, in gst_gl_upload_element_prepare_output_buffer()
303 if (!gst_pad_needs_reconfigure (GST_BASE_TRANSFORM_SRC_PAD (bt))) { in gst_gl_upload_element_prepare_output_buffer()
304 GST_DEBUG_OBJECT (bt, "Retry uploading with new caps"); in gst_gl_upload_element_prepare_output_buffer()
311 GST_ELEMENT_ERROR (bt, RESOURCE, NOT_FOUND, ("%s", in gst_gl_upload_element_prepare_output_buffer()
322 bclass->copy_metadata (bt, buffer, *outbuf); in gst_gl_upload_element_prepare_output_buffer()
328 gst_gl_upload_element_transform (GstBaseTransform * bt, GstBuffer * buffer, in gst_gl_upload_element_transform() argument