My Project
Common types

Classes

struct  MMAL_RECT_T
 
struct  MMAL_RATIONAL_T
 

Typedefs

typedef uint32_t MMAL_FOURCC_T
 

Enumerations

enum  MMAL_STATUS_T {
  MMAL_SUCCESS = 0, MMAL_ENOMEM, MMAL_ENOSPC, MMAL_EINVAL,
  MMAL_ENOSYS, MMAL_ENOENT, MMAL_ENXIO, MMAL_EIO,
  MMAL_ESPIPE, MMAL_ECORRUPT, MMAL_ENOTREADY, MMAL_ECONFIG,
  MMAL_EISCONN, MMAL_ENOTCONN, MMAL_EAGAIN, MMAL_EFAULT,
  MMAL_STATUS_MAX = 0x7FFFFFFF
}
 

Special Unknown Time Value

Timestamps in MMAL are defined as signed 64 bits integer values representing microseconds. However a pre-defined special value is used to signal that a timestamp is not known.

#define MMAL_TIME_UNKNOWN   (INT64_C(1)<<63)
 

Detailed Description

Definition for common types

Macro Definition Documentation

◆ MMAL_TIME_UNKNOWN

#define MMAL_TIME_UNKNOWN   (INT64_C(1)<<63)

Special value signalling that time is not known

Definition at line 88 of file mmal_types.h.

Typedef Documentation

◆ MMAL_FOURCC_T

typedef uint32_t MMAL_FOURCC_T

Four Character Code type

Definition at line 92 of file mmal_types.h.

Enumeration Type Documentation

◆ MMAL_STATUS_T

Status return codes from the API.

Enumerator
MMAL_SUCCESS 

Success

MMAL_ENOMEM 

Out of memory

MMAL_ENOSPC 

Out of resources (other than memory)

MMAL_EINVAL 

Argument is invalid

MMAL_ENOSYS 

Function not implemented

MMAL_ENOENT 

No such file or directory

MMAL_ENXIO 

No such device or address

MMAL_EIO 

I/O error

MMAL_ESPIPE 

Illegal seek

MMAL_ECORRUPT 

Data is corrupt

Attention
FIXME: not POSIX
MMAL_ENOTREADY 

Component is not ready

Attention
FIXME: not POSIX
MMAL_ECONFIG 

Component is not configured

Attention
FIXME: not POSIX
MMAL_EISCONN 

Port is already connected

MMAL_ENOTCONN 

Port is disconnected

MMAL_EAGAIN 

Resource temporarily unavailable. Try again later

MMAL_EFAULT 

Bad address

MMAL_STATUS_MAX 

Force to 32 bit

Definition at line 46 of file mmal_types.h.