My Project
mmal_vc_opaque_alloc.h File Reference
#include <stdint.h>
#include "interface/mmal/mmal.h"

Go to the source code of this file.

Typedefs

typedef uint32_t MMAL_OPAQUE_IMAGE_HANDLE_T
 

Functions

MMAL_OPAQUE_IMAGE_HANDLE_T mmal_vc_opaque_alloc (void)
 
MMAL_OPAQUE_IMAGE_HANDLE_T mmal_vc_opaque_alloc_desc (const char *description)
 
MMAL_STATUS_T mmal_vc_opaque_release (MMAL_OPAQUE_IMAGE_HANDLE_T h)
 
MMAL_STATUS_T mmal_vc_opaque_acquire (MMAL_OPAQUE_IMAGE_HANDLE_T h)
 

Typedef Documentation

◆ MMAL_OPAQUE_IMAGE_HANDLE_T

typedef uint32_t MMAL_OPAQUE_IMAGE_HANDLE_T

Definition at line 39 of file mmal_vc_opaque_alloc.h.

Function Documentation

◆ mmal_vc_opaque_acquire()

MMAL_STATUS_T mmal_vc_opaque_acquire ( MMAL_OPAQUE_IMAGE_HANDLE_T  h)

Acquire an additional reference to an opaque image.

Parameters
handlehandle allocated earlier
Returns
MMAL_SUCCESS or error code if handle not found

◆ mmal_vc_opaque_alloc()

MMAL_OPAQUE_IMAGE_HANDLE_T mmal_vc_opaque_alloc ( void  )

Allocate an opaque image on VideoCore.

Returns
allocated handle, or zero if allocation failed.

◆ mmal_vc_opaque_alloc_desc()

MMAL_OPAQUE_IMAGE_HANDLE_T mmal_vc_opaque_alloc_desc ( const char *  description)

Allocate an opaque image on VideoCore, providing a description.

Returns
allocated handle, or zero if allocation failed.

◆ mmal_vc_opaque_release()

MMAL_STATUS_T mmal_vc_opaque_release ( MMAL_OPAQUE_IMAGE_HANDLE_T  h)

Release an opaque image.

Parameters
handlehandle allocated earlier
Returns
MMAL_SUCCESS or error code if handle not found