view fmt-conversion.h @ 28731:244353700b38

Create a set_format_params function that sets all the special options needed for XvMC/VDPAU acceleration in a single place. This should get closer to working with selecting acceleration via pix_fmt instead of via a special codec for each method.
author reimar
date Sun, 01 Mar 2009 09:03:01 +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 */