int mlt_frame_set_alpha( mlt_frame self, uint8_t *alpha, int size, mlt_destructor destroy )
{
+ self->get_alpha_mask = NULL;
return mlt_properties_set_data( MLT_FRAME_PROPERTIES( self ), "alpha", alpha, size, destroy, NULL );
}
while ( --n > 0 );
}
mlt_frame_set_alpha( frame, alpha, len, mlt_pool_release );
- frame->get_alpha_mask = NULL;
}
}
{
crop( alpha, newalpha, 1, *width, *height, left, right, top, bottom );
mlt_frame_set_alpha( this, newalpha, owidth * oheight, mlt_pool_release );
- this->get_alpha_mask = NULL;
}
}
*width = owidth;
{
alpha = resize_alpha( alpha, owidth, oheight, iwidth, iheight, alpha_value );
if ( alpha )
- {
mlt_frame_set_alpha( this, alpha, owidth * oheight, mlt_pool_release );
- this->get_alpha_mask = NULL;
- }
}
// Return the output
mlt_frame_set_alpha( this, alpha, region_width * region_height, NULL );
}
- this->get_alpha_mask = NULL;
-
return alpha;
}