memory: add LOCK_FLAG_READWRITE define

This commit is contained in:
Wim Taymans 2012-07-04 12:03:32 +02:00
parent 6bb7d49e29
commit 24cd0d055d

View file

@ -172,6 +172,13 @@ typedef enum {
GST_LOCK_FLAG_LAST = (1 << 4)
} GstLockFlags;
/**
* GST_LOCK_FLAG_READWRITE:
*
* GstLockFlags value alias for GST_LOCK_FLAG_READ | GST_LOCK_FLAG_WRITE
*/
#define GST_LOCK_FLAG_READWRITE (GST_LOCK_FLAG_READ | GST_LOCK_FLAG_WRITE)
/**
* GstMapFlags:
* @GST_MAP_READ: map for read access
@ -186,6 +193,13 @@ typedef enum {
GST_MAP_FLAG_LAST = (1 << 16)
} GstMapFlags;
/**
* GST_MAP_READWRITE:
*
* GstMapFlags value alias for GST_MAP_READ | GST_MAP_WRITE
*/
#define GST_MAP_READWRITE (GST_MAP_READ | GST_MAP_WRITE)
/**
* GstMapInfo:
@ -217,13 +231,6 @@ typedef struct {
*/
#define GST_MAP_INFO_INIT { NULL, 0, NULL, 0, 0, }
/**
* GST_MAP_READWRITE:
*
* Map for readwrite access
*/
#define GST_MAP_READWRITE (GST_MAP_READ | GST_MAP_WRITE)
/**
* GST_ALLOCATOR_SYSMEM:
*