view libmpcodecs/vf_scale.h @ 29459:c1bf06060606

make codec-cfg reuse the proper defined constants for all RGB/BGR formats instead of re-constructing them itself.
author reimar
date Wed, 12 Aug 2009 01:04:37 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

//GPL

#ifndef MPLAYER_VF_SCALE_H
#define MPLAYER_VF_SCALE_H

int get_sws_cpuflags(void);
struct SwsContext *sws_getContextFromCmdLine(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat);

#endif /* MPLAYER_VF_SCALE_H */