mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
b8c7c3ff11
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
10 lines
223 B
C
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 */
|