From a355761e8be12fdc803a3181fb3a8593dc7c1990 Mon Sep 17 00:00:00 2001 From: albeu Date: Thu, 11 Jul 2002 20:17:27 +0000 Subject: Add draw slice for the codecs git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6710 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 4114522136..31a6cf68f4 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -277,3 +277,9 @@ mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, i return mpi; } +void mpcodecs_draw_slice(sh_video_t *sh, unsigned char* src, int* stride, int w,int h, int x, int y) { + struct vf_instance_s* vf = sh->vfilter; + + if(vf->draw_slice) + vf->draw_slice(vf,src,stride,w,h,x,y); +} -- cgit v1.2.3