Mercurial > mplayer.hg
changeset 4962:993f274191ff
ACCEPT_WIDTH flag added
author | arpi |
---|---|
date | Wed, 06 Mar 2002 23:40:31 +0000 |
parents | c8a3e58a43d8 |
children | 13262bd21965 |
files | mp_image.h |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mp_image.h Wed Mar 06 23:28:06 2002 +0000 +++ b/mp_image.h Wed Mar 06 23:40:31 2002 +0000 @@ -11,10 +11,12 @@ #define MP_IMGFLAG_DIRECT 0x08 // codec accept any stride (>=width): #define MP_IMGFLAG_ACCEPT_STRIDE 0x10 +// codec accept any width (width*bpp=stride) (>=width): +#define MP_IMGFLAG_ACCEPT_WIDTH 0x20 // stride should be aligned to 16-byte (MB) boundary: -#define MP_IMGFLAG_ALIGNED_STRIDE 0x20 +#define MP_IMGFLAG_ALIGNED_STRIDE 0x40 // codec uses drawing/rendering callbacks (draw_slice()-like thing, DR method 2) -#define MP_IMGFLAG_DRAW_CALBACK 0x40 +#define MP_IMGFLAG_DRAW_CALLBACK 0x80 // set if number of planes > 1 #define MP_IMGFLAG_PLANAR 0x100