| OpenCV 3.4.1 Open Source Computer Vision

Functions
Functions
Image processing » Hardware Acceleration Layer

## Functions
void | cv::hal::cvtBGR5x5toBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int greenBits)
void | cv::hal::cvtBGR5x5toGray (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
void | cv::hal::cvtBGRtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, int dcn, bool swapBlue)
void | cv::hal::cvtBGRtoBGR5x5 (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int greenBits)
void | cv::hal::cvtBGRtoGray (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
void | cv::hal::cvtBGRtoHSV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV)
void | cv::hal::cvtBGRtoLab (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isLab, bool srgb)
void | cv::hal::cvtBGRtoThreePlaneYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
void | cv::hal::cvtBGRtoTwoPlaneYUV (const uchar *src_data, size_t src_step, uchar *y_data, uchar *uv_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
| Separate Y and UV planes. More...
void | cv::hal::cvtBGRtoXYZ (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
void | cv::hal::cvtBGRtoYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr)
void | cv::hal::cvtGraytoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn)
void | cv::hal::cvtGraytoBGR5x5 (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
void | cv::hal::cvtHSVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV)
void | cv::hal::cvtLabtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isLab, bool srgb)
void | cv::hal::cvtMultipliedRGBAtoRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
void | cv::hal::cvtOnePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn)
void | cv::hal::cvtRGBAtoMultipliedRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
void | cv::hal::cvtThreePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
void | cv::hal::cvtTwoPlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
void | cv::hal::cvtTwoPlaneYUVtoBGR (const uchar *y_data, const uchar *uv_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
| Separate Y and UV planes. More...
void | cv::hal::cvtXYZtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue)
void | cv::hal::cvtYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr)
void | cv::hal::filter2D (int stype, int dtype, int kernel_type, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, double delta, int borderType, bool isSubmatrix)
void | cv::hal::integral (int depth, int sdepth, int sqdepth, const uchar *src, size_t srcstep, uchar *sum, size_t sumstep, uchar *sqsum, size_t sqsumstep, uchar *tilted, size_t tstep, int width, int height, int cn)
void | cv::hal::morph (int op, int src_type, int dst_type, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int roi_width, int roi_height, int roi_x, int roi_y, int roi_width2, int roi_height2, int roi_x2, int roi_y2, int kernel_type, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool isSubmatrix)
void | cv::hal::resize (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, double inv_scale_x, double inv_scale_y, int interpolation)
void | cv::hal::sepFilter2D (int stype, int dtype, int ktype, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y, uchar *kernelx_data, int kernelx_len, uchar *kernely_data, int kernely_len, int anchor_x, int anchor_y, double delta, int borderType)
void | cv::hal::warpAffine (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4])
void | cv::hal::warpPerspectve (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4])

## Detailed Description

## Function Documentation

## § cvtBGR5x5toBGR()

void cv::hal::cvtBGR5x5toBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | dcn,
|  | bool | swapBlue,
|  | int | greenBits
| ) |  |

## § cvtBGR5x5toGray()

void cv::hal::cvtBGR5x5toGray | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | greenBits
| ) |  |

## § cvtBGRtoBGR()

void cv::hal::cvtBGRtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | scn,
|  | int | dcn,
|  | bool | swapBlue
| ) |  |

## § cvtBGRtoBGR5x5()

void cv::hal::cvtBGRtoBGR5x5 | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | scn,
|  | bool | swapBlue,
|  | int | greenBits
| ) |  |

## § cvtBGRtoGray()

void cv::hal::cvtBGRtoGray | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | scn,
|  | bool | swapBlue
| ) |  |

## § cvtBGRtoHSV()

void cv::hal::cvtBGRtoHSV | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | scn,
|  | bool | swapBlue,
|  | bool | isFullRange,
|  | bool | isHSV
| ) |  |

## § cvtBGRtoLab()

void cv::hal::cvtBGRtoLab | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | scn,
|  | bool | swapBlue,
|  | bool | isLab,
|  | bool | srgb
| ) |  |

## § cvtBGRtoThreePlaneYUV()

void cv::hal::cvtBGRtoThreePlaneYUV | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | scn,
|  | bool | swapBlue,
|  | int | uIdx
| ) |  |

## § cvtBGRtoTwoPlaneYUV()

void cv::hal::cvtBGRtoTwoPlaneYUV | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | y_data,
|  | uchar * | uv_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | scn,
|  | bool | swapBlue,
|  | int | uIdx
| ) |  |

Separate Y and UV planes.

## § cvtBGRtoXYZ()

void cv::hal::cvtBGRtoXYZ | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | scn,
|  | bool | swapBlue
| ) |  |

## § cvtBGRtoYUV()

void cv::hal::cvtBGRtoYUV | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | scn,
|  | bool | swapBlue,
|  | bool | isCbCr
| ) |  |

## § cvtGraytoBGR()

void cv::hal::cvtGraytoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | dcn
| ) |  |

## § cvtGraytoBGR5x5()

void cv::hal::cvtGraytoBGR5x5 | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | greenBits
| ) |  |

## § cvtHSVtoBGR()

void cv::hal::cvtHSVtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | dcn,
|  | bool | swapBlue,
|  | bool | isFullRange,
|  | bool | isHSV
| ) |  |

## § cvtLabtoBGR()

void cv::hal::cvtLabtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | dcn,
|  | bool | swapBlue,
|  | bool | isLab,
|  | bool | srgb
| ) |  |

## § cvtMultipliedRGBAtoRGBA()

void cv::hal::cvtMultipliedRGBAtoRGBA | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height
| ) |  |

## § cvtOnePlaneYUVtoBGR()

void cv::hal::cvtOnePlaneYUVtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | dcn,
|  | bool | swapBlue,
|  | int | uIdx,
|  | int | ycn
| ) |  |

## § cvtRGBAtoMultipliedRGBA()

void cv::hal::cvtRGBAtoMultipliedRGBA | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height
| ) |  |

## § cvtThreePlaneYUVtoBGR()

void cv::hal::cvtThreePlaneYUVtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | dst_width,
|  | int | dst_height,
|  | int | dcn,
|  | bool | swapBlue,
|  | int | uIdx
| ) |  |

## § cvtTwoPlaneYUVtoBGR() [1/2]

void cv::hal::cvtTwoPlaneYUVtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | dst_width,
|  | int | dst_height,
|  | int | dcn,
|  | bool | swapBlue,
|  | int | uIdx
| ) |  |

## § cvtTwoPlaneYUVtoBGR() [2/2]

void cv::hal::cvtTwoPlaneYUVtoBGR | ( | const uchar * | y_data,
|  | const uchar * | uv_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | dst_width,
|  | int | dst_height,
|  | int | dcn,
|  | bool | swapBlue,
|  | int | uIdx
| ) |  |

Separate Y and UV planes.

## § cvtXYZtoBGR()

void cv::hal::cvtXYZtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | dcn,
|  | bool | swapBlue
| ) |  |

## § cvtYUVtoBGR()

void cv::hal::cvtYUVtoBGR | ( | const uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | depth,
|  | int | dcn,
|  | bool | swapBlue,
|  | bool | isCbCr
| ) |  |

## § filter2D()

void cv::hal::filter2D | ( | int | stype,
|  | int | dtype,
|  | int | kernel_type,
|  | uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | full_width,
|  | int | full_height,
|  | int | offset_x,
|  | int | offset_y,
|  | uchar * | kernel_data,
|  | size_t | kernel_step,
|  | int | kernel_width,
|  | int | kernel_height,
|  | int | anchor_x,
|  | int | anchor_y,
|  | double | delta,
|  | int | borderType,
|  | bool | isSubmatrix
| ) |  |

## § integral()

void cv::hal::integral | ( | int | depth,
|  | int | sdepth,
|  | int | sqdepth,
|  | const uchar * | src,
|  | size_t | srcstep,
|  | uchar * | sum,
|  | size_t | sumstep,
|  | uchar * | sqsum,
|  | size_t | sqsumstep,
|  | uchar * | tilted,
|  | size_t | tstep,
|  | int | width,
|  | int | height,
|  | int | cn
| ) |  |

## § morph()

void cv::hal::morph | ( | int | op,
|  | int | src_type,
|  | int | dst_type,
|  | uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | roi_width,
|  | int | roi_height,
|  | int | roi_x,
|  | int | roi_y,
|  | int | roi_width2,
|  | int | roi_height2,
|  | int | roi_x2,
|  | int | roi_y2,
|  | int | kernel_type,
|  | uchar * | kernel_data,
|  | size_t | kernel_step,
|  | int | kernel_width,
|  | int | kernel_height,
|  | int | anchor_x,
|  | int | anchor_y,
|  | int | borderType,
|  | const double | borderValue[4],
|  | int | iterations,
|  | bool | isSubmatrix
| ) |  |

## § resize()

void cv::hal::resize | ( | int | src_type,
|  | const uchar * | src_data,
|  | size_t | src_step,
|  | int | src_width,
|  | int | src_height,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | dst_width,
|  | int | dst_height,
|  | double | inv_scale_x,
|  | double | inv_scale_y,
|  | int | interpolation
| ) |  |

Examples:
  facedetect.cpp, hog.cpp, and shape_example.cpp.

## § sepFilter2D()

void cv::hal::sepFilter2D | ( | int | stype,
|  | int | dtype,
|  | int | ktype,
|  | uchar * | src_data,
|  | size_t | src_step,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | width,
|  | int | height,
|  | int | full_width,
|  | int | full_height,
|  | int | offset_x,
|  | int | offset_y,
|  | uchar * | kernelx_data,
|  | int | kernelx_len,
|  | uchar * | kernely_data,
|  | int | kernely_len,
|  | int | anchor_x,
|  | int | anchor_y,
|  | double | delta,
|  | int | borderType
| ) |  |

## § warpAffine()

void cv::hal::warpAffine | ( | int | src_type,
|  | const uchar * | src_data,
|  | size_t | src_step,
|  | int | src_width,
|  | int | src_height,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | dst_width,
|  | int | dst_height,
|  | const double | M[6],
|  | int | interpolation,
|  | int | borderType,
|  | const double | borderValue[4]
| ) |  |

## § warpPerspectve()

void cv::hal::warpPerspectve | ( | int | src_type,
|  | const uchar * | src_data,
|  | size_t | src_step,
|  | int | src_width,
|  | int | src_height,
|  | uchar * | dst_data,
|  | size_t | dst_step,
|  | int | dst_width,
|  | int | dst_height,
|  | const double | M[9],
|  | int | interpolation,
|  | int | borderType,
|  | const double | borderValue[4]
| ) |  |