view libmpdemux/mf.h @ 28511:db19e31a2c7c

Add a calc_src_dst_rects that calculates from window size, panscan etc. which part of the video source must be scaled onto which part of the window. Direct3D and (future) VDPAU need this, for XvMC it makes it easier to add cropping support and Xv is changed to keep the diff to XvMC small.
author reimar
date Thu, 12 Feb 2009 17:40:53 +0000
parents 4129c8cfa742
children d643e4643313
line wrap: on
line source


#ifndef MPLAYER_MF_H
#define MPLAYER_MF_H

extern int    mf_w;
extern int    mf_h;
extern double mf_fps;
extern char * mf_type;

typedef struct
{
 int curr_frame;
 int nr_of_files;
 char ** names;
} mf_t;

mf_t* open_mf(char * filename);

#endif /* MPLAYER_MF_H */