/** * gst_vaapi_decoder_replace: * @old_decoder_ptr: a pointer to a #GstVaapiDecoder * @new_decoder: a #GstVaapiDecoder * * Atomically replaces the decoder decoder held in @old_decoder_ptr * with @new_decoder. This means that @old_decoder_ptr shall reference * a valid decoder. However, @new_decoder can be NULL. */ void gst_vaapi_decoder_replace (GstVaapiDecoder ** old_decoder_ptr, GstVaapiDecoder * new_decoder) { gst_vaapi_mini_object_replace ((GstVaapiMiniObject **) old_decoder_ptr, GST_VAAPI_MINI_OBJECT (new_decoder)); }
/** * gst_vaapi_surface_proxy_replace: * @old_proxy_ptr: a pointer to a #GstVaapiSurfaceProxy * @new_proxy: a #GstVaapiSurfaceProxy * * Atomically replaces the proxy object held in @old_proxy_ptr with * @new_proxy. This means that @old_proxy_ptr shall reference a valid * object. However, @new_proxy can be NULL. */ void gst_vaapi_surface_proxy_replace (GstVaapiSurfaceProxy ** old_proxy_ptr, GstVaapiSurfaceProxy * new_proxy) { g_return_if_fail (old_proxy_ptr != NULL); gst_vaapi_mini_object_replace ((GstVaapiMiniObject **) old_proxy_ptr, GST_VAAPI_MINI_OBJECT (new_proxy)); }
/** * gst_vaapi_coded_buffer_proxy_replace: * @old_proxy_ptr: a pointer to a #GstVaapiCodedBufferProxy * @new_proxy: a #GstVaapiCodedBufferProxy * * Atomically replaces the proxy object held in @old_proxy_ptr with * @new_proxy. This means that @old_proxy_ptr shall reference a valid * object. However, @new_proxy can be NULL. */ void gst_vaapi_coded_buffer_proxy_replace (GstVaapiCodedBufferProxy ** old_proxy_ptr, GstVaapiCodedBufferProxy * new_proxy) { g_return_if_fail (old_proxy_ptr != NULL); gst_vaapi_mini_object_replace ((GstVaapiMiniObject **) old_proxy_ptr, GST_VAAPI_MINI_OBJECT (new_proxy)); }
/** * gst_vaapi_object_replace: * @old_object_ptr: a pointer to a #GstVaapiObject * @new_object: a #GstVaapiObject * * Atomically replaces the object object held in @old_object_ptr with * @new_object. This means that @old_object_ptr shall reference a * valid object. However, @new_object can be NULL. */ void gst_vaapi_object_replace (gpointer old_object_ptr, gpointer new_object) { gst_vaapi_mini_object_replace ((GstVaapiMiniObject **) old_object_ptr, new_object); }