Camera Structures#

Structures used by Camera Raw Acceleration Processing.

API#

mfxExtCamWhiteBalance#

struct mfxExtCamWhiteBalance#

A hint structure that configures Camera White Balance filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_WHITE_BALANCE.

mfxU32 Mode#

Specifies one of White Balance operation modes defined in enumeration mfxCamWhiteBalanceMode.

mfxF64 R#

White Balance Red correction.

mfxF64 G0#

White Balance Green Top correction.

mfxF64 B#

White Balance Blue correction.

mfxF64 G1#

White Balance Green Bottom correction.

mfxU32 reserved[8]#

Reserved for future extension.

mfxExtCamTotalColorControl#

struct mfxExtCamTotalColorControl#

A hint structure that configures Camera Total Color Control filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_TOTAL_COLOR_CONTROL.

mfxU16 R#

Red element.

mfxU16 G#

Green element.

mfxU16 B#

Blue element.

mfxU16 C#

Cyan element.

mfxU16 M#

Magenta element.

mfxU16 Y#

Yellow element.

mfxU16 reserved[6]#

Reserved for future extension.

mfxExtCamCscYuvRgb#

struct mfxExtCamCscYuvRgb#

A hint structure that configures Camera YUV to RGB format conversion.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_CSC_YUV_RGB.

mfxF32 PreOffset[3]#

Specifies offset for conversion from full range RGB input to limited range YUV for input color coordinate.

mfxF32 Matrix[3][3]#

Specifies conversion matrix with CSC coefficients.

mfxF32 PostOffset[3]#

Specifies offset for conversion from full range RGB input to limited range YUV for output color coordinate.

mfxU16 reserved[30]#

Reserved for future extension.

mfxExtCamHotPixelRemoval#

struct mfxExtCamHotPixelRemoval#

A hint structure that configures Camera Hot Pixel Removal filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_HOT_PIXEL_REMOVAL.

mfxU16 PixelThresholdDifference#

Threshold for Hot Pixel difference.

mfxU16 PixelCountThreshold#

Count pixel detection.

mfxU16 reserved[32]#

Reserved for future extension.

mfxExtCamBlackLevelCorrection#

struct mfxExtCamBlackLevelCorrection#

Public Members

mfxExtBuffer Header#

A hint structure that configures Camera black level correction. Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_BLACK_LEVEL_CORRECTION.

mfxU16 R#

Black Level Red correction.

mfxU16 G0#

Black Level Green Top correction.

mfxU16 B#

Black Level Blue correction.

mfxU16 G1#

Black Level Green Bottom correction.

mfxU32 reserved[4]#

Reserved for future extension.

mfxCamVignetteCorrectionElement#

struct mfxCamVignetteCorrectionElement#

A structure that defines Camera Vignette Correction Element.

Public Members

mfxU8 integer#

Integer part of correction element.

mfxU8 mantissa#

Fractional part of correction element.

mfxU8 reserved[6]#

Reserved for future extension.

mfxCamVignetteCorrectionParam#

struct mfxCamVignetteCorrectionParam#

A structure that defines Camera Vignette Correction Parameters.

Public Members

mfxCamVignetteCorrectionElement R#

Red correction element.

mfxCamVignetteCorrectionElement G0#

Green top correction element.

mfxCamVignetteCorrectionElement B#

Blue Correction element.

mfxCamVignetteCorrectionElement G1#

Green bottom correction element.

mfxU32 reserved[4]#

Reserved for future extension.

mfxExtCamVignetteCorrection#

struct mfxExtCamVignetteCorrection#

A hint structure that configures Camera Vignette Correction filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_VIGNETTE_CORRECTION.

mfxU32 Width#

Width of Correction Map 2D buffer in mfxCamVignetteCorrectionParam elements.

mfxU32 Height#

Height of Correction Map 2D buffer in mfxCamVignetteCorrectionParam elements.

mfxU32 Pitch#

Pitch of Correction Map 2D buffer in mfxCamVignetteCorrectionParam elements.

mfxU32 reserved[7]#

Reserved for future extension.

mfxCamVignetteCorrectionParam *CorrectionMap#

2D buffer of mfxCamVignetteCorrectionParam elements.

mfxU64 reserved1#

Reserved for alignment on 32bit and 64bit.

union mfxExtCamVignetteCorrection::[anonymous] [anonymous]#

mfxExtCamBayerDenoise#

struct mfxExtCamBayerDenoise#

A hint structure that configures Camera Bayer denoise filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_BAYER_DENOISE.

mfxU16 Threshold#

Level of denoise, legal values: [0:63].

mfxU16 reserved[27]#

Reserved for future extension.

mfxExtCamColorCorrection3x3#

struct mfxExtCamColorCorrection3x3#

A hint structure that configures Camera Color correction filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_COLOR_CORRECTION_3X3.

mfxF32 CCM[3][3]#

3x3 dimension matrix providing RGB Color Correction coefficients.

mfxU32 reserved[32]#

Reserved for future extension.

mfxExtCamPadding#

struct mfxExtCamPadding#

A hint structure that configures Camera Padding.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_PADDING.

mfxU16 Top#

Specify number of padded columns respectively. Currently only 8 pixels supported for all dimensions.

mfxU16 Bottom#

Specify number of padded columns respectively. Currently only 8 pixels supported for all dimensions.

mfxU16 Left#

Specify number of padded rows respectively. Currently only 8 pixels supported for all dimensions.

mfxU16 Right#

Specify number of padded rows respectively. Currently only 8 pixels supported for all dimensions.

mfxU32 reserved[4]#

Reserved for future extension.

mfxExtCamPipeControl#

struct mfxExtCamPipeControl#

A hint structure that configures camera pipe control.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_PIPECONTROL.

mfxU16 RawFormat#

Specifies one of the four Bayer patterns defined in mfxCamBayerFormat enumeration.

mfxU16 reserved1#

Reserved for future extension.

mfxU32 reserved[5]#

Reserved for future extension.

mfxCamFwdGammaSegment#

struct mfxCamFwdGammaSegment#

A structure that specifies forward gamma segment.

Public Members

mfxU16 Pixel#

Pixel value.

mfxU16 Red#

Corrected Red value.

mfxU16 Green#

Corrected Green value.

mfxU16 Blue#

Corrected Blue value.

mfxExtCamFwdGamma#

struct mfxExtCamFwdGamma#

A hint structure that configures Camera Forward Gamma Correction filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_FORWARD_GAMMA_CORRECTION.

mfxU16 reserved[19]#

Reserved for future extension.

mfxU16 NumSegments#

Number of Gamma segments.

mfxCamFwdGammaSegment *Segment#

Pointer to Gamma segments array.

mfxU64 reserved1#

Reserved for future extension.

mfxExtCamLensGeomDistCorrection#

struct mfxExtCamLensGeomDistCorrection#

A hint structure that configures Camera Lens Geometry Distortion and Chroma Aberration Correction filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_LENS_GEOM_DIST_CORRECTION.

mfxF32 a[3]#

Polynomial coefficients a for R/G/B

mfxF32 b[3]#

Polynomial coefficients b for R/G/B

mfxF32 c[3]#

Polynomial coefficients c for R/G/B

mfxF32 d[3]#

Polynomial coefficients d for R/G/B

mfxU16 reserved[36]#

Reserved for future extension.

mfxCam3DLutEntry#

struct mfxCam3DLutEntry#

A structure that defines 3DLUT entry.

Public Members

mfxU16 R#

R channel

mfxU16 G#

G channel

mfxU16 B#

B channel

mfxU16 Reserved#

Reserved for future extension.

mfxExtCam3DLut#

struct mfxExtCam3DLut#

A hint structure that configures Camera 3DLUT filter.

Public Members

mfxExtBuffer Header#

Extension buffer header. Header.BufferId must be equal to MFX_EXTBUF_CAM_3DLUT.

mfxU16 reserved[10]#

Reserved for future extension.

mfxU32 Size#

LUT size, defined in MFX_CAM_3DLUT17/33/65_SIZE enumeration.

mfxCam3DLutEntry *Table#

Pointer to mfxCam3DLutEntry, size of each dimension depends on LUT size, e.g. LUT[17][17][17] for 17x17x17 look up table.

mfxU64 reserved1#

Reserved for future extension.