view fmt-conversion.h @ 28546:e887c2dd6c62

Move direct-rendering hack from vo_xvmc to vf_vo, so it does not need to be duplicated for other systems like VDPAU or VAAPI.
author reimar
date Sun, 15 Feb 2009 08:07:36 +0000
parents 21efa4282730
children 1d39794263eb
line wrap: on
line source

#ifndef MPLAYER_FMT_CONVERSION_H
#define MPLAYER_FMT_CONVERSION_H

#include "libavutil/avutil.h"

enum PixelFormat imgfmt2pixfmt(int fmt);
int pixfmt2imgfmt(enum PixelFormat pix_fmt);

#endif /* MPLAYER_FMT_CONVERSION_H */