X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fcore%2Ftransition_composite.h;h=416ab5603d5b5dd10293dd7238991613fae45762;hb=HEAD;hp=28ba6bad36e6ef986d2aef4095fc97ceb7351327;hpb=12d4027b3039f13c4b5f9fdb12f2fb4b7d3c3f44;p=mlt diff --git a/src/modules/core/transition_composite.h b/src/modules/core/transition_composite.h index 28ba6bad..416ab560 100644 --- a/src/modules/core/transition_composite.h +++ b/src/modules/core/transition_composite.h @@ -3,19 +3,19 @@ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited * Author: Dan Dennedy * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _TRANSITION_COMPOSITE_H_ @@ -23,9 +23,11 @@ #include -extern mlt_transition transition_composite_init( char *arg ); +extern mlt_transition transition_composite_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg ); // Courtesy functionality - allows regionalised filtering -extern mlt_frame composite_copy_region( mlt_transition this, mlt_frame a_frame, mlt_position position ); +extern mlt_frame composite_copy_region( mlt_transition, mlt_frame, mlt_position ); +extern void composite_line_yuv( uint8_t *dest, uint8_t *src, int width, uint8_t *alpha_b, + uint8_t *alpha_a, int weight, uint16_t *luma, int soft, uint32_t step ); #endif