1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00
mpv/fmt-conversion.h
reimar b8c7c3ff11 Create a fmt-conversion.c file so fmt-conversion.h can be included by multiple files.
Also restructure the code so it provides a pixfmt2imgfmt function, too.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28561 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:57:47 +00:00

10 lines
223 B
C

#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 */