LibMWCapture  3.3.1
LibMWCapture Documentation
Data Structures | Macros | Enumerations | Functions
MWDMAMem.h File Reference
#include "MWSg.h"

Go to the source code of this file.

Data Structures

struct  mw_dma_desc
 
struct  mw_dma_memory_client
 

Macros

#define MW_DMA_MEMORY_MAX_CLIENT   (16)
 
#define MWCAP_VIDEO_MEMORY_TYPE_USER   (3)
 
#define MWCAP_VIDEO_MEMORY_TYPE_PHYSICAL   (4)
 
#define MWCAP_VIDEO_MEMORY_TYPE_NVRDMA   (5) /* need NvRdmaForProCapture module */
 
#define MWCAP_VIDEO_MEMORY_TYPE_PRIV_BASE   (6)
 

Enumerations

enum  mw_dma_data_direction { MW_DMA_BIDIRECTIONAL = 0, MW_DMA_TO_DEVICE = 1, MW_DMA_FROM_DEVICE = 2, MW_DMA_NONE = 3 }
 

Functions

int mw_register_dma_memory_client (struct mw_dma_memory_client *client)
 
int mw_unregister_dma_memory_client (struct mw_dma_memory_client *client)
 

Macro Definition Documentation

◆ MW_DMA_MEMORY_MAX_CLIENT

#define MW_DMA_MEMORY_MAX_CLIENT   (16)

Definition at line 29 of file MWDMAMem.h.

◆ MWCAP_VIDEO_MEMORY_TYPE_NVRDMA

#define MWCAP_VIDEO_MEMORY_TYPE_NVRDMA   (5) /* need NvRdmaForProCapture module */

Definition at line 33 of file MWDMAMem.h.

◆ MWCAP_VIDEO_MEMORY_TYPE_PHYSICAL

#define MWCAP_VIDEO_MEMORY_TYPE_PHYSICAL   (4)

Definition at line 32 of file MWDMAMem.h.

◆ MWCAP_VIDEO_MEMORY_TYPE_PRIV_BASE

#define MWCAP_VIDEO_MEMORY_TYPE_PRIV_BASE   (6)

Definition at line 34 of file MWDMAMem.h.

◆ MWCAP_VIDEO_MEMORY_TYPE_USER

#define MWCAP_VIDEO_MEMORY_TYPE_USER   (3)

Definition at line 31 of file MWDMAMem.h.

Enumeration Type Documentation

◆ mw_dma_data_direction

Enumerator
MW_DMA_BIDIRECTIONAL 
MW_DMA_TO_DEVICE 
MW_DMA_FROM_DEVICE 
MW_DMA_NONE 

Definition at line 15 of file MWDMAMem.h.

Function Documentation

◆ mw_register_dma_memory_client()

int mw_register_dma_memory_client ( struct mw_dma_memory_client client)

◆ mw_unregister_dma_memory_client()

int mw_unregister_dma_memory_client ( struct mw_dma_memory_client client)