My Project
mmal_parameters_common.h File Reference

Go to the source code of this file.

Classes

struct  MMAL_PARAMETER_HEADER_T
 
struct  MMAL_PARAMETER_CHANGE_EVENT_REQUEST_T
 
struct  MMAL_PARAMETER_BUFFER_REQUIREMENTS_T
 
struct  MMAL_PARAMETER_SEEK_T
 
struct  MMAL_PARAMETER_STATISTICS_T
 
struct  MMAL_PARAMETER_CORE_STATISTICS_T
 
struct  MMAL_PARAMETER_MEM_USAGE_T
 
struct  MMAL_PARAMETER_LOGGING_T
 

Macros

#define MMAL_PARAM_SEEK_FLAG_PRECISE   0x1
 
#define MMAL_PARAM_SEEK_FLAG_FORWARD   0x2
 
Parameter groups

Parameters are divided into groups, and then allocated sequentially within a group using an enum.

#define MMAL_PARAMETER_GROUP_COMMON   (0<<16)
 
#define MMAL_PARAMETER_GROUP_CAMERA   (1<<16)
 
#define MMAL_PARAMETER_GROUP_VIDEO   (2<<16)
 
#define MMAL_PARAMETER_GROUP_AUDIO   (3<<16)
 
#define MMAL_PARAMETER_GROUP_CLOCK   (4<<16)
 
#define MMAL_PARAMETER_GROUP_MIRACAST   (5<<16)
 

Typedefs

typedef struct MMAL_PARAMETER_HEADER_T MMAL_PARAMETER_HEADER_T
 
typedef struct MMAL_PARAMETER_CHANGE_EVENT_REQUEST_T MMAL_PARAMETER_CHANGE_EVENT_REQUEST_T
 
typedef struct MMAL_PARAMETER_BUFFER_REQUIREMENTS_T MMAL_PARAMETER_BUFFER_REQUIREMENTS_T
 
typedef struct MMAL_PARAMETER_SEEK_T MMAL_PARAMETER_SEEK_T
 
typedef struct MMAL_PARAMETER_STATISTICS_T MMAL_PARAMETER_STATISTICS_T
 
typedef struct MMAL_PARAMETER_CORE_STATISTICS_T MMAL_PARAMETER_CORE_STATISTICS_T
 
typedef struct MMAL_PARAMETER_MEM_USAGE_T MMAL_PARAMETER_MEM_USAGE_T
 
typedef struct MMAL_PARAMETER_LOGGING_T MMAL_PARAMETER_LOGGING_T
 

Enumerations

enum  {
  MMAL_PARAMETER_UNUSED = MMAL_PARAMETER_GROUP_COMMON, MMAL_PARAMETER_SUPPORTED_ENCODINGS, MMAL_PARAMETER_URI, MMAL_PARAMETER_CHANGE_EVENT_REQUEST,
  MMAL_PARAMETER_ZERO_COPY, MMAL_PARAMETER_BUFFER_REQUIREMENTS, MMAL_PARAMETER_STATISTICS, MMAL_PARAMETER_CORE_STATISTICS,
  MMAL_PARAMETER_MEM_USAGE, MMAL_PARAMETER_BUFFER_FLAG_FILTER, MMAL_PARAMETER_SEEK, MMAL_PARAMETER_POWERMON_ENABLE,
  MMAL_PARAMETER_LOGGING, MMAL_PARAMETER_SYSTEM_TIME, MMAL_PARAMETER_NO_IMAGE_PADDING, MMAL_PARAMETER_LOCKSTEP_ENABLE
}
 
enum  MMAL_CORE_STATS_DIR { MMAL_CORE_STATS_RX, MMAL_CORE_STATS_TX, MMAL_CORE_STATS_MAX = 0x7fffffff }
 

Macro Definition Documentation

◆ MMAL_PARAM_SEEK_FLAG_FORWARD

#define MMAL_PARAM_SEEK_FLAG_FORWARD   0x2

Seek to the next keyframe following the specified offset

Definition at line 131 of file mmal_parameters_common.h.

◆ MMAL_PARAM_SEEK_FLAG_PRECISE

#define MMAL_PARAM_SEEK_FLAG_PRECISE   0x1

Choose precise seeking even if slower

Definition at line 130 of file mmal_parameters_common.h.

Typedef Documentation

◆ MMAL_PARAMETER_BUFFER_REQUIREMENTS_T

Buffer requirements parameter. This is mainly used to increase the requirements of a component.

◆ MMAL_PARAMETER_CHANGE_EVENT_REQUEST_T

Change event request parameter type. This is used to control whether a MMAL_EVENT_PARAMETER_CHANGED_T event is issued should a given parameter change.

◆ MMAL_PARAMETER_CORE_STATISTICS_T

MMAL core statistics. These are collected by the core itself.

◆ MMAL_PARAMETER_HEADER_T

Parameter header type. All parameter structures need to begin with this type. The id field must be set to a parameter ID, such as one of those listed on the Pre-defined MMAL parameter IDs page.

◆ MMAL_PARAMETER_LOGGING_T

Logging control.

◆ MMAL_PARAMETER_MEM_USAGE_T

Component memory usage statistics.

◆ MMAL_PARAMETER_SEEK_T

Seek request parameter type. This is used to issue a seek request to a source component.

◆ MMAL_PARAMETER_STATISTICS_T

Port statistics for debugging/test purposes. Ports may support query of this parameter to return statistics for debugging or test purposes. Not all values may be relevant for a given port.

Enumeration Type Documentation

◆ MMAL_CORE_STATS_DIR

Enumerator
MMAL_CORE_STATS_RX 
MMAL_CORE_STATS_TX 
MMAL_CORE_STATS_MAX 

Definition at line 153 of file mmal_parameters_common.h.