Mercurial > mplayer.hg
view playtreeparser.h @ 11662:173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
colorspace input supported for now. Autocropping is also not implemented.
Example usage: mplayer -vo zr2 -vf zrmjpeg foo.avi.
vf_zrmjpeg and vo_zr2 should obsolete vo_zr and libvo/jpeg_enc.c in the future.
Problem is that it needs some paramters of the zoran card (max resolution), for
now the user needs to tell vf_zrmjpeg those parameters (which is stupid,
because zrmjpeg should be able to query vo_zr2 for that information....) The
filter currently uses code which is also present in libvo/jpeg_enc.c, in the
future the (then enhanced) ffmpeg mjpeg encoder should/will be used.
author | rik |
---|---|
date | Fri, 19 Dec 2003 22:15:37 +0000 |
parents | 4bc481804519 |
children | 1a14fde7680d |
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); void play_tree_add_bpf(play_tree_t* pt, char* filename); #endif