summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-14 08:22:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-14 08:22:49 +0000
commitf78c49e030f3cfbf12e8ae73fcae6d804dfd7e04 (patch)
tree30b6b9c4bbb2fd0f6144d5130d141a9f34e4cc91 /libmpcodecs/vf.h
parent9f8792e639fee0b706dc5ec83e9b9fa0cf432e61 (diff)
downloadmpv-f78c49e030f3cfbf12e8ae73fcae6d804dfd7e04.tar.bz2
mpv-f78c49e030f3cfbf12e8ae73fcae6d804dfd7e04.tar.xz
Add MP_IMGTYPE_NUMBERED which gives access to the kind of mp_image_t that
are numbered and have a "in use" flag which is necessary for proper buffer management as e.g. H.264 direct-rendering needs and is already used successfully for the -vo vdpau work-in-progress. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28550 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf.h')
-rw-r--r--libmpcodecs/vf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpcodecs/vf.h b/libmpcodecs/vf.h
index a2617ff164..e96d3fb26d 100644
--- a/libmpcodecs/vf.h
+++ b/libmpcodecs/vf.h
@@ -16,10 +16,13 @@ typedef struct vf_info_s {
const void* opts;
} vf_info_t;
+#define NUM_NUMBERED_MPI 50
+
typedef struct vf_image_context_s {
mp_image_t* static_images[2];
mp_image_t* temp_images[1];
mp_image_t* export_images[1];
+ mp_image_t* numbered_images[NUM_NUMBERED_MPI];
int static_idx;
} vf_image_context_t;