Mercurial > mplayer.hg
view playtreeparser.h @ 9110:7924a60d833b
This is a simple patch to change the alpha blending code in bmovl to use
integers instead of floating point. It speeds it up by about 400%
meaning that it's now possible to apply alpha blending to a whole
1024x768 image on my 1266MHz PIII.
Jonas Jensen <jbj@knef.dk>
author | arpi |
---|---|
date | Sun, 26 Jan 2003 17:42:24 +0000 |
parents | 5c15777f1c07 |
children | 4bc481804519 |
line wrap: on
line source
#ifndef __PLAYTREEPARSER_H #define __PLAYTREEPARSER_H struct stream_st; typedef struct play_tree_parser { struct stream_st* stream; char *buffer,*iter,*line; int buffer_size , buffer_end; int deep,keep; } play_tree_parser_t; play_tree_parser_t* play_tree_parser_new(struct stream_st* stream,int deep); void play_tree_parser_free(play_tree_parser_t* p); play_tree_t* play_tree_parser_get_play_tree(play_tree_parser_t* p, int forced); #endif