Thread: [Mlt-devel] mlt/src/modules/core configure,1.22,1.23 factory.c,1.21,1.22 filter_luma.c,1.6,1.7 trans
Brought to you by:
ddennedy,
lilo_booter
From: Charles Y. <lil...@us...> - 2005-09-07 09:23:47
|
Update of /cvsroot/mlt/mlt/src/modules/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19573/src/modules/core Modified Files: configure factory.c filter_luma.c transition_composite.c Log Message: src/framework/mlt_consumer.c + Added capabilities to allow the application to handle images via the consumer-frame-show event + Added cabilities to allow the application to control the image format src/framework/mlt_frame.c + Long standing discrepancy resolved - image format is now stored on the frame object src/framework/mlt_tractor.c src/framework/mlt_types.h + Added mlt_image_opengl which is supposed to provide an rgb image swapped around for the platform src/framework/mlt_frame.h + Added a basic YUV2RGB macro src/modules/avformat/filter_avcolour_space.c + Added a converter for the opengl swapped RGB image + Corrected support for rgb24a requests src/modules/core/configure src/modules/core/factory.c + Added an alias for color (since it seems to trouble so many people) src/modules/core/filter_luma.c + Added the format property to the generated frame src/modules/core/transition_composite.c + Added the format property to the generated frame src/modules/gtk2/producer_pixbuf.c + Swapped some properties to hidden from the serialiser src/modules/sdl/consumer_sdl.c + Support for application provided previews and colour space conversion src/modules/sdl/consumer_sdl_preview.c + Partial switch to mlt_properties_pass_list + Application provided preview support added src/modules/sdl/consumer_sdl_still.c + Application provided preview support added Index: configure =================================================================== RCS file: /cvsroot/mlt/mlt/src/modules/core/configure,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- configure 26 Jun 2005 21:04:26 -0000 1.22 +++ configure 7 Sep 2005 09:23:37 -0000 1.23 @@ -4,6 +4,7 @@ then cat << EOF >> ../producers.dat +color libmltcore$LIBSUF colour libmltcore$LIBSUF noise libmltcore$LIBSUF ppm libmltcore$LIBSUF Index: factory.c =================================================================== RCS file: /cvsroot/mlt/mlt/src/modules/core/factory.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- factory.c 26 Jun 2005 21:04:26 -0000 1.21 +++ factory.c 7 Sep 2005 09:23:37 -0000 1.22 @@ -44,6 +44,8 @@ void *mlt_create_producer( char *id, void *arg ) { + if ( !strcmp( id, "color" ) ) + return producer_colour_init( arg ); if ( !strcmp( id, "colour" ) ) return producer_colour_init( arg ); if ( !strcmp( id, "noise" ) ) Index: filter_luma.c =================================================================== RCS file: /cvsroot/mlt/mlt/src/modules/core/filter_luma.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- filter_luma.c 15 Aug 2005 06:15:31 -0000 1.6 +++ filter_luma.c 7 Sep 2005 09:23:37 -0000 1.7 @@ -89,6 +89,7 @@ mlt_properties_set_data( b_props, "image", dst, size, mlt_pool_release, NULL ); mlt_properties_set_int( b_props, "width", *width ); mlt_properties_set_int( b_props, "height", *height ); + mlt_properties_set_int( b_props, "format", *format ); } } Index: transition_composite.c =================================================================== RCS file: /cvsroot/mlt/mlt/src/modules/core/transition_composite.c,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- transition_composite.c 24 Aug 2005 06:22:37 -0000 1.73 +++ transition_composite.c 7 Sep 2005 09:23:37 -0000 1.74 @@ -872,6 +872,7 @@ uint8_t *image = mlt_properties_get_data( a_props, "image", NULL ); int width = mlt_properties_get_int( a_props, "width" ); int height = mlt_properties_get_int( a_props, "height" ); + int format = mlt_properties_get_int( a_props, "format" ); // Pointers for copy operation uint8_t *p; @@ -922,6 +923,7 @@ mlt_properties_set_data( b_props, "image", dest, w * h * 2, mlt_pool_release, NULL ); mlt_properties_set_int( b_props, "width", w ); mlt_properties_set_int( b_props, "height", h ); + mlt_properties_set_int( b_props, "format", format ); if ( y < 0 ) { |