Mercurial > mplayer.hg
comparison libmpcodecs/vd.c @ 6709:3b20f07b2c16
Add draw slice for the codecs
author | albeu |
---|---|
date | Thu, 11 Jul 2002 20:17:27 +0000 |
parents | 522713337297 |
children | 0145bba6e201 |
comparison
equal
deleted
inserted
replaced
6708:8058078f1248 | 6709:3b20f07b2c16 |
---|---|
275 mpi->w=sh->disp_w; | 275 mpi->w=sh->disp_w; |
276 mpi->h=sh->disp_h; | 276 mpi->h=sh->disp_h; |
277 return mpi; | 277 return mpi; |
278 } | 278 } |
279 | 279 |
280 void mpcodecs_draw_slice(sh_video_t *sh, unsigned char* src, int* stride, int w,int h, int x, int y) { | |
281 struct vf_instance_s* vf = sh->vfilter; | |
282 | |
283 if(vf->draw_slice) | |
284 vf->draw_slice(vf,src,stride,w,h,x,y); | |
285 } |