My Project
mmal_clock.h File Reference
#include "interface/vcos/vcos.h"
#include "mmal_types.h"
#include "mmal_common.h"

Go to the source code of this file.

Classes

struct  MMAL_CLOCK_UPDATE_THRESHOLD_T
 
struct  MMAL_CLOCK_DISCONT_THRESHOLD_T
 
struct  MMAL_CLOCK_REQUEST_THRESHOLD_T
 
struct  MMAL_CLOCK_BUFFER_INFO_T
 
struct  MMAL_CLOCK_LATENCY_T
 
struct  MMAL_CLOCK_EVENT_T
 

Macros

#define MMAL_CLOCK_EVENT_MAGIC   MMAL_FOURCC('C','K','L','M')
 
#define MMAL_CLOCK_EVENT_REFERENCE   MMAL_FOURCC('C','R','E','F')
 
#define MMAL_CLOCK_EVENT_ACTIVE   MMAL_FOURCC('C','A','C','T')
 
#define MMAL_CLOCK_EVENT_SCALE   MMAL_FOURCC('C','S','C','A')
 
#define MMAL_CLOCK_EVENT_TIME   MMAL_FOURCC('C','T','I','M')
 
#define MMAL_CLOCK_EVENT_UPDATE_THRESHOLD   MMAL_FOURCC('C','U','T','H')
 
#define MMAL_CLOCK_EVENT_DISCONT_THRESHOLD   MMAL_FOURCC('C','D','T','H')
 
#define MMAL_CLOCK_EVENT_REQUEST_THRESHOLD   MMAL_FOURCC('C','R','T','H')
 
#define MMAL_CLOCK_EVENT_INPUT_BUFFER_INFO   MMAL_FOURCC('C','I','B','I')
 
#define MMAL_CLOCK_EVENT_OUTPUT_BUFFER_INFO   MMAL_FOURCC('C','O','B','I')
 
#define MMAL_CLOCK_EVENT_LATENCY   MMAL_FOURCC('C','L','A','T')
 
#define MMAL_CLOCK_EVENT_INVALID   0
 
#define MMAL_CLOCK_EVENT_INIT(id)   { id, MMAL_CLOCK_EVENT_MAGIC, NULL, 0, {0}, 0 }
 

Typedefs

typedef struct MMAL_CLOCK_UPDATE_THRESHOLD_T MMAL_CLOCK_UPDATE_THRESHOLD_T
 
typedef struct MMAL_CLOCK_DISCONT_THRESHOLD_T MMAL_CLOCK_DISCONT_THRESHOLD_T
 
typedef struct MMAL_CLOCK_REQUEST_THRESHOLD_T MMAL_CLOCK_REQUEST_THRESHOLD_T
 
typedef struct MMAL_CLOCK_BUFFER_INFO_T MMAL_CLOCK_BUFFER_INFO_T
 
typedef struct MMAL_CLOCK_LATENCY_T MMAL_CLOCK_LATENCY_T
 
typedef struct MMAL_CLOCK_EVENT_T MMAL_CLOCK_EVENT_T
 

Functions

 vcos_static_assert (!(sizeof(MMAL_CLOCK_EVENT_T) &0x7))
 

Macro Definition Documentation

◆ MMAL_CLOCK_EVENT_ACTIVE

#define MMAL_CLOCK_EVENT_ACTIVE   MMAL_FOURCC('C','A','C','T')

Clock state update

Definition at line 74 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_DISCONT_THRESHOLD

#define MMAL_CLOCK_EVENT_DISCONT_THRESHOLD   MMAL_FOURCC('C','D','T','H')

Clock discontinuity threshold

Definition at line 86 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_INIT

#define MMAL_CLOCK_EVENT_INIT (   id)    { id, MMAL_CLOCK_EVENT_MAGIC, NULL, 0, {0}, 0 }

Definition at line 200 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_INPUT_BUFFER_INFO

#define MMAL_CLOCK_EVENT_INPUT_BUFFER_INFO   MMAL_FOURCC('C','I','B','I')

Buffer statistics

Definition at line 92 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_INVALID

#define MMAL_CLOCK_EVENT_INVALID   0

Clock event not valid

Definition at line 99 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_LATENCY

#define MMAL_CLOCK_EVENT_LATENCY   MMAL_FOURCC('C','L','A','T')

Clock latency setting

Definition at line 96 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_MAGIC

#define MMAL_CLOCK_EVENT_MAGIC   MMAL_FOURCC('C','K','L','M')

Clock event magic

Definition at line 68 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_OUTPUT_BUFFER_INFO

#define MMAL_CLOCK_EVENT_OUTPUT_BUFFER_INFO   MMAL_FOURCC('C','O','B','I')

Definition at line 93 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_REFERENCE

#define MMAL_CLOCK_EVENT_REFERENCE   MMAL_FOURCC('C','R','E','F')

Clock reference update

Definition at line 71 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_REQUEST_THRESHOLD

#define MMAL_CLOCK_EVENT_REQUEST_THRESHOLD   MMAL_FOURCC('C','R','T','H')

Clock request threshold

Definition at line 89 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_SCALE

#define MMAL_CLOCK_EVENT_SCALE   MMAL_FOURCC('C','S','C','A')

Clock scale update

Definition at line 77 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_TIME

#define MMAL_CLOCK_EVENT_TIME   MMAL_FOURCC('C','T','I','M')

Clock media-time update

Definition at line 80 of file mmal_clock.h.

◆ MMAL_CLOCK_EVENT_UPDATE_THRESHOLD

#define MMAL_CLOCK_EVENT_UPDATE_THRESHOLD   MMAL_FOURCC('C','U','T','H')

Clock update threshold

Definition at line 83 of file mmal_clock.h.

Typedef Documentation

◆ MMAL_CLOCK_BUFFER_INFO_T

Structure for passing buffer information to a clock port

◆ MMAL_CLOCK_DISCONT_THRESHOLD_T

Threshold for detecting a discontinuity in media-time

◆ MMAL_CLOCK_EVENT_T

Clock event used to pass data between clock ports and a client.

◆ MMAL_CLOCK_LATENCY_T

Clock latency settings used by the clock component

◆ MMAL_CLOCK_REQUEST_THRESHOLD_T

Threshold applied to client callback requests

◆ MMAL_CLOCK_UPDATE_THRESHOLD_T

Thresholds used when updating a clock's media-time

Function Documentation

◆ vcos_static_assert()

vcos_static_assert ( sizeof(MMAL_CLOCK_EVENT_T) &0x7)