Mercurial > mplayer.hg
view fmt-conversion.h @ 30086:f72ea7a67421
Introduce a sh_common struct that contains the parts in common by the audio, video
and sub "stream headers".
One reason for this is to help avoid/make more obvious things like members with
the same function but different name (extradata vs. codecdata etc.), or members
with the same name but different semantics (pts for audio vs. pts for video).
author | reimar |
---|---|
date | Sun, 27 Dec 2009 14:40:56 +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 */