case mlt_image_yuv422: return "yuv422";
case mlt_image_yuv420p: return "yuv420p";
case mlt_image_opengl: return "opengl";
+ case mlt_image_rgb24_full: return "rgb24_full";
+ case mlt_image_rgb24a_full: return "rgb24a_full";
+ case mlt_image_yuv422_709: return "yuv422_709";
}
return "invalid";
}
*buffer = NULL;
break;
case mlt_image_rgb24:
+ case mlt_image_rgb24_full:
size *= 3;
size += *width * 3;
*buffer = mlt_pool_alloc( size );
memset( *buffer, 255, size );
break;
case mlt_image_rgb24a:
+ case mlt_image_rgb24a_full:
case mlt_image_opengl:
size *= 4;
size += *width * 4;
mlt_properties_set_int( properties, "test_image", 1 );
}
- mlt_properties_set_int( properties, "scaled_width", *width );
- mlt_properties_set_int( properties, "scaled_height", *height );
-
return error;
}
alpha = mlt_properties_get_data( &this->parent, "alpha", NULL );
if ( alpha == NULL )
{
- int size = mlt_properties_get_int( &this->parent, "scaled_width" ) * mlt_properties_get_int( &this->parent, "scaled_height" );
+ int size = mlt_properties_get_int( &this->parent, "width" ) * mlt_properties_get_int( &this->parent, "height" );
alpha = mlt_pool_alloc( size );
memset( alpha, 255, size );
mlt_properties_set_data( &this->parent, "alpha", alpha, size, mlt_pool_release, NULL );