Mercurial > mplayer.hg
diff libmpcodecs/mp_image.h @ 28956:6d0da4fd4544
Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.
author | cehoyos |
---|---|
date | Wed, 18 Mar 2009 17:02:29 +0000 |
parents | bc49856e5024 |
children | 5cb79ad246f2 |
line wrap: on
line diff
--- a/libmpcodecs/mp_image.h Wed Mar 18 12:50:17 2009 +0000 +++ b/libmpcodecs/mp_image.h Wed Mar 18 17:02:29 2009 +0000 @@ -54,8 +54,6 @@ // buffer type was printed (do NOT set this flag - it's for INTERNAL USE!!!) #define MP_IMGFLAG_TYPE_DISPLAYED 0x8000 -// set if it can not be reused yet (for MP_IMGTYPE_NUMBERED) -#define MP_IMGFLAG_IN_USE 0x10000 // codec doesn't support any form of direct rendering - it has own buffer // allocation. so we just export its buffer pointers: @@ -101,6 +99,7 @@ int chroma_height; int chroma_x_shift; // horizontal int chroma_y_shift; // vertical + int usage_count; /* for private use by filter or vo driver (to store buffer id or dmpi) */ void* priv; } mp_image_t;