view libmpcodecs/vf_scale.h @ 30327:028ec0735169

swscale-example: use av_malloc() Image buffers require 16-byte alignment, so av_malloc() should be used. Fixes crash on PPC.
author mru
date Tue, 19 Jan 2010 03:47:11 +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 */