comparison libmpcodecs/vd.h @ 6709:3b20f07b2c16

Add draw slice for the codecs
author albeu
date Thu, 11 Jul 2002 20:17:27 +0000
parents 8058078f1248
children 5bf3ed8a17c4
comparison
equal deleted inserted replaced
6708:8058078f1248 6709:3b20f07b2c16
23 #define VDCTRL_SET_EQUALIZER 6 /* set color options (brightness,contrast etc) */ 23 #define VDCTRL_SET_EQUALIZER 6 /* set color options (brightness,contrast etc) */
24 24
25 // callbacks: 25 // callbacks:
26 int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt); 26 int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt);
27 mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h); 27 mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h);
28 void mpcodecs_draw_slice(sh_video_t *sh, unsigned char* src, int* stride, int w,int h, int x, int y);
28 29
29 #define VDFLAGS_DROPFRAME 3 30 #define VDFLAGS_DROPFRAME 3