mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-26 02:20:20 +08:00
[mpp_buffer_impl]: add MppBufferGroup module to mpp_buffer_impl
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@122 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -87,11 +87,11 @@ typedef struct {
|
||||
|
||||
#define mpp_buffer_commit(...) _mpp_buffer_commit(MODULE_TAG, ## __VA_ARGS__)
|
||||
#define mpp_buffer_get(...) _mpp_buffer_get(MODULE_TAG, ## __VA_ARGS__)
|
||||
#define mpp_buffer_put(...) _mpp_buffer_put(MODULE_TAG, ## __VA_ARGS__)
|
||||
#define mpp_buffer_inc_ref(...) _mpp_buffer_inc_ref(MODULE_TAG, ## __VA_ARGS__)
|
||||
#define mpp_buffer_put(...) _mpp_buffer_put(## __VA_ARGS__)
|
||||
#define mpp_buffer_inc_ref(...) _mpp_buffer_inc_ref(## __VA_ARGS__)
|
||||
|
||||
#define mpp_buffer_group_get(...) _mpp_buffer_group_get(MODULE_TAG, ## __VA_ARGS__)
|
||||
#define mpp_buffer_group_put(...) _mpp_buffer_group_put(MODULE_TAG, ## __VA_ARGS__)
|
||||
#define mpp_buffer_group_put(...) _mpp_buffer_group_put(## __VA_ARGS__)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -104,11 +104,11 @@ extern "C" {
|
||||
*/
|
||||
MPP_RET _mpp_buffer_commit(const char *tag, MppBufferGroup group, MppBufferCommit *buffer);
|
||||
MPP_RET _mpp_buffer_get(const char *tag, MppBufferGroup group, MppBuffer *buffer, size_t size);
|
||||
MPP_RET _mpp_buffer_put(const char *tag, MppBuffer *buffer);
|
||||
MPP_RET _mpp_buffer_inc_ref(const char *tag, MppBuffer buffer);
|
||||
MPP_RET _mpp_buffer_put(MppBuffer *buffer);
|
||||
MPP_RET _mpp_buffer_inc_ref(MppBuffer buffer);
|
||||
|
||||
MPP_RET _mpp_buffer_group_get(const char *tag, MppBufferGroup *group, MppBufferType type);
|
||||
MPP_RET _mpp_buffer_group_put(const char *tag, MppBufferGroup *group);
|
||||
MPP_RET _mpp_buffer_group_put(MppBufferGroup *group);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user