Mercurial > mplayer.hg
annotate libmpcodecs/vd_internal.h @ 10576:e4cdc9ca94c5
Changed all printf into mp_msg
Removed extern int verbose
Removed some unneeded includes
Removed swscale, because this should be done by vf layer instead
Removed weird video_out_png definition
There is no more flip, zoom, or geometry support, so I removed those.
Slices, stride support for all supported CSP.
Replaced draw_frame with a stub.
Removed: do { ... } while (0)
Removed unused dstFourcc.
Added DR support
Removed USE_CONVERT2FB, since we have real DR now
Simplified some color depth checks
author | joey |
---|---|
date | Tue, 12 Aug 2003 06:57:19 +0000 |
parents | 1972c3475d93 |
children | 4faee1254928 |
rev | line source |
---|---|
4986 | 1 |
2 #include "codec-cfg.h" | |
5607 | 3 #include "img_format.h" |
4986 | 4 |
5 #include "stream.h" | |
6 #include "demuxer.h" | |
7 #include "stheader.h" | |
8 | |
9 #include "vd.h" | |
4878 | 10 |
5003 | 11 extern int divx_quality; |
12 | |
4878 | 13 // prototypes: |
4966 | 14 //static vd_info_t info; |
4878 | 15 static int control(sh_video_t *sh,int cmd,void* arg,...); |
16 static int init(sh_video_t *sh); | |
17 static void uninit(sh_video_t *sh); | |
18 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags); | |
19 | |
20 #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\ | |
21 &info,\ | |
22 init,\ | |
23 uninit,\ | |
24 control,\ | |
25 decode\ | |
26 }; | |
27 |