Mercurial > mplayer.hg
view fmt-conversion.h @ 29939:319b62d55feb
Pass all OpenGL functions through a function pointer indirection.
This still needs more work, but should allow supporting e.g. GLX-OpenGL
and Win32-OpenGL with a single binary.
author | reimar |
---|---|
date | Tue, 08 Dec 2009 23:32:51 +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 */