Torc  0.1
Classes | Macros | Variables
torcpicamera.cpp File Reference
#include <QTime>
#include <QThread>
#include "torclogging.h"
#include "torctimer.h"
#include "torccentral.h"
#include "torcpicamera.h"
#include "torcdirectories.h"
#include "OMX_Video.h"
#include "bcm_host.h"
#include "OMX_Broadcom.h"
Include dependency graph for torcpicamera.cpp:

Go to the source code of this file.

Classes

class  TorcPiCameraXSDFactory
 
class  TorcPiCameraFactory
 

Macros

#define BROADCOM_CAMERA   "OMX.broadcom.camera"
 
#define BROADCOM_ENCODER   "OMX.broadcom.video_encode"
 
#define BROADCOM_NULLSINK   "OMX.broadcom.null_sink"
 
#define BROADCOM_VIDEOSPLITTER   "OMX.broadcom.video_splitter"
 
#define BROADCOM_IMAGEENCODER   "OMX.broadcom.image_encode"
 
#define CAMERA_SHARPNESS   0
 
#define CAMERA_CONTRAST   0
 
#define CAMERA_BRIGHTNESS   50
 
#define CAMERA_SATURATION   0
 
#define CAMERA_METERING   OMX_MeteringModeAverage
 
#define CAMERA_EXPOSURE   OMX_ExposureControlAuto
 
#define CAMERA_EXPOSURE_COMPENSATION   0
 
#define CAMERA_SHUTTER_SPEED_AUTO   OMX_TRUE
 
#define CAMERA_SHUTTER_SPEED   1.0/8.0
 
#define CAMERA_ISO_AUTO   OMX_TRUE
 
#define CAMERA_ISO   100
 
#define CAMERA_WHITE_BALANCE   OMX_WhiteBalControlAuto
 
#define CAMERA_FRAME_STABILIZATION   OMX_FALSE
 
#define CAMERA_WHITE_BALANCE_RED_GAIN   1000
 
#define CAMERA_WHITE_BALANCE_BLUE_GAIN   1000
 
#define CAMERA_IMAGE_FILTER   OMX_ImageFilterNone
 
#define CAMERA_MIRROR   OMX_MirrorNone
 
#define CAMERA_ROTATION   0
 
#define CAMERA_COLOR_ENABLE   OMX_FALSE
 
#define CAMERA_COLOR_U   128
 
#define CAMERA_COLOR_V   128
 
#define CAMERA_NOISE_REDUCTION   OMX_TRUE
 
#define CAMERA_ROI_TOP   0
 
#define CAMERA_ROI_LEFT   0
 
#define CAMERA_ROI_WIDTH   100
 
#define CAMERA_ROI_HEIGHT   100
 
#define CAMERA_DRC   OMX_DynRangeExpOff
 
#define ENCODER_QP   OMX_FALSE
 
#define ENCODER_QP_I   0
 
#define ENCODER_QP_P   0
 
#define ENCODER_SEI   OMX_FALSE
 
#define ENCODER_EEDE   OMX_FALSE
 
#define ENCODER_EEDE_LOSS_RATE   0
 
#define ENCODER_INLINE_HEADERS   OMX_TRUE
 
#define ENCODER_SPS_TIMING   OMX_TRUE
 

Variables

static const QString piCameraType
 
TorcPiCameraXSDFactory TorcPiCameraXSDFactory
 
TorcPiCameraFactory TorcPiCameraFactory
 

Macro Definition Documentation

#define BROADCOM_CAMERA   "OMX.broadcom.camera"

Definition at line 41 of file torcpicamera.cpp.

#define BROADCOM_ENCODER   "OMX.broadcom.video_encode"

Definition at line 42 of file torcpicamera.cpp.

#define BROADCOM_IMAGEENCODER   "OMX.broadcom.image_encode"

Definition at line 45 of file torcpicamera.cpp.

#define BROADCOM_NULLSINK   "OMX.broadcom.null_sink"

Definition at line 43 of file torcpicamera.cpp.

#define BROADCOM_VIDEOSPLITTER   "OMX.broadcom.video_splitter"

Definition at line 44 of file torcpicamera.cpp.

#define CAMERA_BRIGHTNESS   50

Definition at line 48 of file torcpicamera.cpp.

#define CAMERA_COLOR_ENABLE   OMX_FALSE

Definition at line 64 of file torcpicamera.cpp.

#define CAMERA_COLOR_U   128

Definition at line 65 of file torcpicamera.cpp.

#define CAMERA_COLOR_V   128

Definition at line 66 of file torcpicamera.cpp.

#define CAMERA_CONTRAST   0

Definition at line 47 of file torcpicamera.cpp.

#define CAMERA_DRC   OMX_DynRangeExpOff

Definition at line 72 of file torcpicamera.cpp.

#define CAMERA_EXPOSURE   OMX_ExposureControlAuto

Definition at line 51 of file torcpicamera.cpp.

#define CAMERA_EXPOSURE_COMPENSATION   0

Definition at line 52 of file torcpicamera.cpp.

#define CAMERA_FRAME_STABILIZATION   OMX_FALSE

Definition at line 58 of file torcpicamera.cpp.

#define CAMERA_IMAGE_FILTER   OMX_ImageFilterNone

Definition at line 61 of file torcpicamera.cpp.

#define CAMERA_ISO   100

Definition at line 56 of file torcpicamera.cpp.

#define CAMERA_ISO_AUTO   OMX_TRUE

Definition at line 55 of file torcpicamera.cpp.

#define CAMERA_METERING   OMX_MeteringModeAverage

Definition at line 50 of file torcpicamera.cpp.

#define CAMERA_MIRROR   OMX_MirrorNone

Definition at line 62 of file torcpicamera.cpp.

#define CAMERA_NOISE_REDUCTION   OMX_TRUE

Definition at line 67 of file torcpicamera.cpp.

#define CAMERA_ROI_HEIGHT   100

Definition at line 71 of file torcpicamera.cpp.

#define CAMERA_ROI_LEFT   0

Definition at line 69 of file torcpicamera.cpp.

#define CAMERA_ROI_TOP   0

Definition at line 68 of file torcpicamera.cpp.

#define CAMERA_ROI_WIDTH   100

Definition at line 70 of file torcpicamera.cpp.

#define CAMERA_ROTATION   0

Definition at line 63 of file torcpicamera.cpp.

#define CAMERA_SATURATION   0

Definition at line 49 of file torcpicamera.cpp.

#define CAMERA_SHARPNESS   0

Definition at line 46 of file torcpicamera.cpp.

#define CAMERA_SHUTTER_SPEED   1.0/8.0

Definition at line 54 of file torcpicamera.cpp.

#define CAMERA_SHUTTER_SPEED_AUTO   OMX_TRUE

Definition at line 53 of file torcpicamera.cpp.

#define CAMERA_WHITE_BALANCE   OMX_WhiteBalControlAuto

Definition at line 57 of file torcpicamera.cpp.

#define CAMERA_WHITE_BALANCE_BLUE_GAIN   1000

Definition at line 60 of file torcpicamera.cpp.

#define CAMERA_WHITE_BALANCE_RED_GAIN   1000

Definition at line 59 of file torcpicamera.cpp.

#define ENCODER_EEDE   OMX_FALSE

Definition at line 78 of file torcpicamera.cpp.

#define ENCODER_EEDE_LOSS_RATE   0

Definition at line 79 of file torcpicamera.cpp.

#define ENCODER_INLINE_HEADERS   OMX_TRUE

Definition at line 80 of file torcpicamera.cpp.

#define ENCODER_QP   OMX_FALSE

Definition at line 74 of file torcpicamera.cpp.

#define ENCODER_QP_I   0

Definition at line 75 of file torcpicamera.cpp.

#define ENCODER_QP_P   0

Definition at line 76 of file torcpicamera.cpp.

#define ENCODER_SEI   OMX_FALSE

Definition at line 77 of file torcpicamera.cpp.

#define ENCODER_SPS_TIMING   OMX_TRUE

Definition at line 81 of file torcpicamera.cpp.

Variable Documentation

const QString piCameraType
static
Initial value:
= QStringLiteral(
" <xs:element name=\"pi\" type=\"cameraType\"/>\r\n")

Definition at line 928 of file torcpicamera.cpp.