summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2012-09-05 17:02:41 +0000
committerwm4 <wm4@nowhere>2012-10-30 19:50:19 +0100
commit2e663a31819dbbba89b616fcff48a768933bb648 (patch)
tree3a7318d522a0a2ebed921f27096da0d63f7a56dd
parent1cb11c53b6520a27372af374a46ff11a88fe53c3 (diff)
downloadmpv-2e663a31819dbbba89b616fcff48a768933bb648.tar.bz2
mpv-2e663a31819dbbba89b616fcff48a768933bb648.tar.xz
mp_image: update description of MP_IMGFLAG_READABLE
Update description of MP_IMGFLAG_READABLE. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35150 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/mp_image.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libmpcodecs/mp_image.h b/libmpcodecs/mp_image.h
index 6dbe3bfe02..887abc80b6 100644
--- a/libmpcodecs/mp_image.h
+++ b/libmpcodecs/mp_image.h
@@ -29,7 +29,14 @@
//--- buffer content restrictions:
// set if buffer content shouldn't be modified:
#define MP_IMGFLAG_PRESERVE 0x01
-// set if buffer content will be READ for next frame's MC: (I/P mpeg frames)
+// set if buffer content will be READ.
+// This can be e.g. for next frame's MC: (I/P mpeg frames) -
+// then in combination with MP_IMGFLAG_PRESERVE - or it
+// can be because a video filter or codec will read a significant
+// amount of data while processing that frame (e.g. blending something
+// onto the frame, MV based intra prediction).
+// A frame marked like this should not be placed in to uncachable
+// video RAM for example.
#define MP_IMGFLAG_READABLE 0x02
//--- buffer width/stride/plane restrictions: (used for direct rendering)