Exemple #1
0
 void PipelineStabTransform::onLast() {
   if (initialized) {
     // cleanup transformation
     vsTransformDataCleanup(&td);
     vsTransformationsCleanup(&trans);
   }
   emit last();
 }
Exemple #2
0
static void destory_apply_data( vs_apply* apply_data )
{
	if ( apply_data )
	{
		vsTransformDataCleanup( &apply_data->td );
		vsTransformationsCleanup( &apply_data->trans );
		free( apply_data );
	}
}
Exemple #3
0
/**
 * transform_stop:  Reset this instance of the module.  See tcmodule-data.h
 * for function details.
 */
static int transform_stop(TCModuleInstance *self)
{
    FilterData *fd = NULL;
    TC_MODULE_SELF_CHECK(self, "stop");
    fd = self->userdata;
    vsTransformDataCleanup(&fd->td);

    vsTransformationsCleanup(&fd->trans);
    return TC_OK;
}