The OPL (Open Primitives Library) Image Processing library defines efficient functions for rotation and mirroring. More...
Enumerations | |
enum | opl_error |
Functions | |
int | opl_rotate90_u16 (const u8 *src, int src_line_stride, int width, int height, u8 *dst, int dst_line_stride) |
int | opl_rotate180_u16 (const u8 *src, int src_line_stride, int width, int height, u8 *dst, int dst_line_stride) |
int | opl_rotate270_u16 (const u8 *src, int src_line_stride, int width, int height, u8 *dst, int dst_line_stride) |
int | opl_hmirror_u16 (const u8 *src, int src_line_stride, int width, int height, u8 *dst, int dst_line_stride) |
int | opl_vmirror_u16 (const u8 *src, int src_line_stride, int width, int height, u8 *dst, int dst_line_stride) |
int | opl_rotate90_vmirror_u16 (const u8 *src, int src_line_stride, int width, int height, u8 *dst, int dst_line_stride) |
int | opl_rotate270_vmirror_u16 (const u8 *src, int src_line_stride, int width, int height, u8 *dst, int dst_line_stride) |
The OPL (Open Primitives Library) Image Processing library defines efficient functions for rotation and mirroring.
It includes ARM9-optimized rotation and mirroring functions. It is derived from the original OPL project which is found at sourceforge.freescale.net.
enum opl_error |
Enumerations of opl error code
int opl_hmirror_u16 | ( | const u8 * | src, | |
int | src_line_stride, | |||
int | width, | |||
int | height, | |||
u8 * | dst, | |||
int | dst_line_stride | |||
) |
Mirror a 16bpp buffer horizontally.
src | Pointer to the input buffer | |
src_line_stride | Length in bytes of a raster line of the input buffer | |
width | Width in pixels of the region in the input buffer | |
height | Height in pixels of the region in the input buffer | |
dst | Pointer to the output buffer | |
dst_line_stride | Length in bytes of a raster line of the output buffer |
int opl_rotate180_u16 | ( | const u8 * | src, | |
int | src_line_stride, | |||
int | width, | |||
int | height, | |||
u8 * | dst, | |||
int | dst_line_stride | |||
) |
Rotate a 16bbp buffer 180 degrees clockwise.
src | Pointer to the input buffer | |
src_line_stride | Length in bytes of a raster line of the input buffer | |
width | Width in pixels of the region in the input buffer | |
height | Height in pixels of the region in the input buffer | |
dst | Pointer to the output buffer | |
dst_line_stride | Length in bytes of a raster line of the output buffer |
int opl_rotate270_u16 | ( | const u8 * | src, | |
int | src_line_stride, | |||
int | width, | |||
int | height, | |||
u8 * | dst, | |||
int | dst_line_stride | |||
) |
Rotate a 16bbp buffer 270 degrees clockwise.
src | Pointer to the input buffer | |
src_line_stride | Length in bytes of a raster line of the input buffer | |
width | Width in pixels of the region in the input buffer | |
height | Height in pixels of the region in the input buffer | |
dst | Pointer to the output buffer | |
dst_line_stride | Length in bytes of a raster line of the output buffer |
References opl_rotate270_u16().
Referenced by opl_rotate270_u16().
int opl_rotate270_vmirror_u16 | ( | const u8 * | src, | |
int | src_line_stride, | |||
int | width, | |||
int | height, | |||
u8 * | dst, | |||
int | dst_line_stride | |||
) |
Rotate a 16bbp buffer 270 degrees clockwise and mirror vertically It is equivalent to rotate 90 degree and mirror horizontally.
src | Pointer to the input buffer | |
src_line_stride | Length in bytes of a raster line of the input buffer | |
width | Width in pixels of the region in the input buffer | |
height | Height in pixels of the region in the input buffer | |
dst | Pointer to the output buffer | |
dst_line_stride | Length in bytes of a raster line of the output buffer |
References opl_rotate270_vmirror_u16().
Referenced by opl_rotate270_vmirror_u16().
int opl_rotate90_u16 | ( | const u8 * | src, | |
int | src_line_stride, | |||
int | width, | |||
int | height, | |||
u8 * | dst, | |||
int | dst_line_stride | |||
) |
Rotate a 16bbp buffer 90 degrees clockwise.
src | Pointer to the input buffer | |
src_line_stride | Length in bytes of a raster line of the input buffer | |
width | Width in pixels of the region in the input buffer | |
height | Height in pixels of the region in the input buffer | |
dst | Pointer to the output buffer | |
dst_line_stride | Length in bytes of a raster line of the output buffer |
References opl_rotate90_u16().
Referenced by opl_rotate90_u16().
int opl_rotate90_vmirror_u16 | ( | const u8 * | src, | |
int | src_line_stride, | |||
int | width, | |||
int | height, | |||
u8 * | dst, | |||
int | dst_line_stride | |||
) |
Rotate a 16bbp buffer 90 degrees clockwise and mirror vertically It is equivalent to rotate 270 degree and mirror horizontally.
src | Pointer to the input buffer | |
src_line_stride | Length in bytes of a raster line of the input buffer | |
width | Width in pixels of the region in the input buffer | |
height | Height in pixels of the region in the input buffer | |
dst | Pointer to the output buffer | |
dst_line_stride | Length in bytes of a raster line of the output buffer |
References opl_rotate90_vmirror_u16().
Referenced by opl_rotate90_vmirror_u16().
int opl_vmirror_u16 | ( | const u8 * | src, | |
int | src_line_stride, | |||
int | width, | |||
int | height, | |||
u8 * | dst, | |||
int | dst_line_stride | |||
) |
Mirror a 16bpp buffer vertically.
src | Pointer to the input buffer | |
src_line_stride | Length in bytes of a raster line of the input buffer | |
width | Width in pixels of the region in the input buffer | |
height | Height in pixels of the region in the input buffer | |
dst | Pointer to the output buffer | |
dst_line_stride | Length in bytes of a raster line of the output buffer |
References opl_vmirror_u16().
Referenced by opl_vmirror_u16().
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |