mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
memory: add LOCK_FLAG_READWRITE define
This commit is contained in:
parent
6bb7d49e29
commit
24cd0d055d
1 changed files with 14 additions and 7 deletions
|
@ -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:
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue