My Project
Functions
/home/jvcleave/Desktop/RASPBERRY_PI/userland/interface/mmal/vc/mmal_vc_shm.h File Reference
#include "mmal_types.h"

Go to the source code of this file.

Functions

MMAL_STATUS_T mmal_vc_shm_init (void)
uint8_t * mmal_vc_shm_alloc (uint32_t size)
MMAL_STATUS_T mmal_vc_shm_free (uint8_t *mem)
uint8_t * mmal_vc_shm_lock (uint8_t *mem, uint32_t workaround)
uint8_t * mmal_vc_shm_unlock (uint8_t *mem, uint32_t *length, uint32_t workaround)

Detailed Description

Abstraction layer for MMAL VC shared memory. This API is only used by the MMAL VC component.


Function Documentation

uint8_t* mmal_vc_shm_alloc ( uint32_t  size)

Allocate a shared memory buffer

MMAL_STATUS_T mmal_vc_shm_free ( uint8_t *  mem)

Free a shared memory buffer

Initialise the shared memory system

uint8_t* mmal_vc_shm_lock ( uint8_t *  mem,
uint32_t  workaround 
)

Lock a shared memory buffer

uint8_t* mmal_vc_shm_unlock ( uint8_t *  mem,
uint32_t *  length,
uint32_t  workaround 
)

Unlock a shared memory buffer

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines