/** * gst_vaapi_coded_buffer_proxy_ref: * @proxy: a #GstVaapiCodedBufferProxy * * Atomically increases the reference count of the given @proxy by one. * * Returns: The same @proxy argument */ GstVaapiCodedBufferProxy * gst_vaapi_coded_buffer_proxy_ref (GstVaapiCodedBufferProxy * proxy) { g_return_val_if_fail (proxy != NULL, NULL); return GST_VAAPI_CODED_BUFFER_PROXY (gst_vaapi_mini_object_ref (GST_VAAPI_MINI_OBJECT (proxy))); }
/** * gst_vaapi_surface_proxy_ref: * @proxy: a #GstVaapiSurfaceProxy * * Atomically increases the reference count of the given @proxy by one. * * Returns: The same @proxy argument */ GstVaapiSurfaceProxy * gst_vaapi_surface_proxy_ref (GstVaapiSurfaceProxy * proxy) { g_return_val_if_fail (proxy != NULL, NULL); return GST_VAAPI_SURFACE_PROXY (gst_vaapi_mini_object_ref (GST_VAAPI_MINI_OBJECT (proxy))); }
/** * gst_vaapi_object_ref: * @object: a #GstVaapiObject * * Atomically increases the reference count of the given @object by one. * * Returns: The same @object argument */ gpointer gst_vaapi_object_ref (gpointer object) { return gst_vaapi_mini_object_ref (object); }