![]() | ![]() | ![]() | BLib Reference Manual | ![]() |
---|
BMovieEffects — simple effects on a movie
void b_movie_normalize (BMovie *movie, gint maxval); void b_movie_apply_colormap (BMovie *movie, guchar *map); void b_movie_apply_effects (BMovie *movie, BEffects *effects, gboolean reverse, gdouble speed);
void b_movie_normalize (BMovie *movie, gint maxval);
Changes the maximum value for movie, that is the value that will cause the lamp to glow with full intensity. This function iterates over all frames of the movie and changes the frame data accordingly.
movie : | a BMovie object |
maxval : | the new maximum value to apply to movie |
void b_movie_apply_colormap (BMovie *movie, guchar *map);
Applies a mapping defined by map to all frames of the movie. The mapping must not exceed the movie's maxval.
movie : | a BMovie object |
map : | a LUT that remaps each color value |
void b_movie_apply_effects (BMovie *movie, BEffects *effects, gboolean reverse, gdouble speed);
If effects is non-NULL, the effects described by it are applied to movie. If reverse is TRUE, the order of frames is reversed. If speed is different from 1.0, the frame timing is adjusted; for example a value of 2.0 makes the movie play with double speed.
<< BMovie | BEffects >> |