mmsfbconv.cpp File Reference

#include "mmsgui/fb/mmsfbconv.h"
#include <string.h>

Include dependency graph for mmsfbconv.cpp:

Go to the source code of this file.


Functions

void stretch_byte_buffer_no_antialiasing (unsigned char *src, int src_pitch, int src_pitch_pix, int src_height, int sw, int sh, unsigned char *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dw, int dh)
void stretch_byte_buffer_v_antialiasing (unsigned char *src, int src_pitch, int src_pitch_pix, int src_height, int sw, int sh, unsigned char *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dw, int dh)
void stretch_byte_buffer_h_antialiasing (unsigned char *src, int src_pitch, int src_pitch_pix, int src_height, int sw, int sh, unsigned char *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dw, int dh)
void stretch_byte_buffer_hv_antialiasing (unsigned char *src, int src_pitch, int src_pitch_pix, int src_height, int sw, int sh, unsigned char *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dw, int dh)
void stretch_byte_buffer (bool h_antialiasing, bool v_antialiasing, unsigned char *src, int src_pitch, int src_pitch_pix, int src_height, int sw, int sh, unsigned char *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dw, int dh)
 Stretching the source byte buffer to a destination.
void compress_2x2_matrix (unsigned char *src, int src_pitch, int src_pitch_pix, int src_height, int sw, int sh, unsigned char *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dw, int dh)
 Compressing a 2x2 matrix (arithmetic mean), e.g. used for U/V components (YV12 pixel format).
void stretch_uint_buffer (bool h_antialiasing, bool v_antialiasing, unsigned int *src, int src_pitch, int src_pitch_pix, int src_height, int sx, int sy, int sw, int sh, unsigned int *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dx, int dy, int dw, int dh)
 Stretching the source unsigned int buffer to a destination.
void stretch_usint_buffer (bool h_antialiasing, bool v_antialiasing, unsigned short int *src, int src_pitch, int src_pitch_pix, int src_height, int sx, int sy, int sw, int sh, unsigned short int *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dx, int dy, int dw, int dh)
 Stretching the source unsigned short int buffer to a destination.
void stretch_324byte_buffer (bool h_antialiasing, bool v_antialiasing, unsigned char *src, int src_pitch, int src_pitch_pix, int src_height, int sx, int sy, int sw, int sh, unsigned int *dst, int dst_pitch, int dst_pitch_pix, int dst_height, int dx, int dy, int dw, int dh)
 Stretching the source 3-byte-buffer to a unsigned int destination.
void mmsfb_blit_uint (MMSFBSurfacePlanes *src_planes, int src_height, int sx, int sy, int sw, int sh, MMSFBSurfacePlanes *dst_planes, int dst_height, int dx, int dy)
 Blitting unsigned int (4 byte) source to unsigned int destination.
void mmsfb_blit_usint (MMSFBSurfacePlanes *src_planes, int src_height, int sx, int sy, int sw, int sh, MMSFBSurfacePlanes *dst_planes, int dst_height, int dx, int dy)
 Blitting unsigned short int (2 byte) source to unsigned short int destination.

Function Documentation

void compress_2x2_matrix ( unsigned char *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sw,
int  sh,
unsigned char *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dw,
int  dh 
)

Compressing a 2x2 matrix (arithmetic mean), e.g. used for U/V components (YV12 pixel format).

Note:
src and dst have to point to the first pixel which is to process
Author:
Jens Schneider

Definition at line 702 of file mmsfbconv.cpp.

void mmsfb_blit_uint ( MMSFBSurfacePlanes src_planes,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
MMSFBSurfacePlanes dst_planes,
int  dst_height,
int  dx,
int  dy 
)

Blitting unsigned int (4 byte) source to unsigned int destination.

Author:
Jens Schneider

Definition at line 1203 of file mmsfbconv.cpp.

void mmsfb_blit_usint ( MMSFBSurfacePlanes src_planes,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
MMSFBSurfacePlanes dst_planes,
int  dst_height,
int  dx,
int  dy 
)

Blitting unsigned short int (2 byte) source to unsigned short int destination.

Author:
Jens Schneider

Definition at line 1241 of file mmsfbconv.cpp.

void stretch_324byte_buffer ( bool  h_antialiasing,
bool  v_antialiasing,
unsigned char *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
unsigned int *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh 
)

Stretching the source 3-byte-buffer to a unsigned int destination.

Author:
Jens Schneider

Definition at line 1045 of file mmsfbconv.cpp.

void stretch_byte_buffer ( bool  h_antialiasing,
bool  v_antialiasing,
unsigned char *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sw,
int  sh,
unsigned char *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dw,
int  dh 
)

Stretching the source byte buffer to a destination.

Note:
src and dst have to point to the first pixel which is to process
Author:
Jens Schneider

Definition at line 670 of file mmsfbconv.cpp.

void stretch_byte_buffer_h_antialiasing ( unsigned char *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sw,
int  sh,
unsigned char *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dw,
int  dh 
)

Definition at line 451 of file mmsfbconv.cpp.

void stretch_byte_buffer_hv_antialiasing ( unsigned char *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sw,
int  sh,
unsigned char *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dw,
int  dh 
)

Definition at line 517 of file mmsfbconv.cpp.

void stretch_byte_buffer_no_antialiasing ( unsigned char *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sw,
int  sh,
unsigned char *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dw,
int  dh 
)

Definition at line 36 of file mmsfbconv.cpp.

void stretch_byte_buffer_v_antialiasing ( unsigned char *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sw,
int  sh,
unsigned char *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dw,
int  dh 
)

Definition at line 133 of file mmsfbconv.cpp.

void stretch_uint_buffer ( bool  h_antialiasing,
bool  v_antialiasing,
unsigned int *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
unsigned int *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh 
)

Stretching the source unsigned int buffer to a destination.

Author:
Jens Schneider

Definition at line 733 of file mmsfbconv.cpp.

void stretch_usint_buffer ( bool  h_antialiasing,
bool  v_antialiasing,
unsigned short int *  src,
int  src_pitch,
int  src_pitch_pix,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
unsigned short int *  dst,
int  dst_pitch,
int  dst_pitch_pix,
int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh 
)

Stretching the source unsigned short int buffer to a destination.

Author:
Jens Schneider

Definition at line 888 of file mmsfbconv.cpp.