gst_plugins_base/gst/videoscale/vs_4tap.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    28 #ifndef _VS_4TAP_H_
    28 #ifndef _VS_4TAP_H_
    29 #define _VS_4TAP_H_
    29 #define _VS_4TAP_H_
    30 
    30 
    31 #include "vs_image.h"
    31 #include "vs_image.h"
    32 
    32 
    33 #include <liboil/liboil.h>
    33 #include <gst/liboil.h>
    34 
    34 
    35 #ifdef __SYMBIAN32__
       
    36 IMPORT_C
       
    37 #endif
       
    38 void vs_4tap_init (void);
    35 void vs_4tap_init (void);
    39 #ifdef __SYMBIAN32__
       
    40 IMPORT_C
       
    41 #endif
       
    42 
       
    43 void vs_scanline_resample_4tap_Y (uint8_t *dest, uint8_t *src,
    36 void vs_scanline_resample_4tap_Y (uint8_t *dest, uint8_t *src,
    44     int n, int src_width, int *xacc, int increment);
    37     int n, int src_width, int *xacc, int increment);
    45 #ifdef __SYMBIAN32__
       
    46 IMPORT_C
       
    47 #endif
       
    48 
       
    49 void vs_scanline_merge_4tap_Y (uint8_t *dest, uint8_t *src1, uint8_t *src2,
    38 void vs_scanline_merge_4tap_Y (uint8_t *dest, uint8_t *src1, uint8_t *src2,
    50     uint8_t *src3, uint8_t *src4, int n, int acc);
    39     uint8_t *src3, uint8_t *src4, int n, int acc);
    51 #ifdef __SYMBIAN32__
       
    52 IMPORT_C
       
    53 #endif
       
    54 
       
    55 void vs_image_scale_4tap_Y (const VSImage * dest, const VSImage * src,
    40 void vs_image_scale_4tap_Y (const VSImage * dest, const VSImage * src,
    56     uint8_t * tmpbuf);
       
    57 #ifdef __SYMBIAN32__
       
    58 IMPORT_C
       
    59 #endif
       
    60 
       
    61 
       
    62 void vs_scanline_resample_4tap_RGBA (uint8_t *dest, uint8_t *src,
       
    63     int n, int src_width, int *xacc, int increment);
       
    64 #ifdef __SYMBIAN32__
       
    65 IMPORT_C
       
    66 #endif
       
    67 
       
    68 void vs_scanline_merge_4tap_RGBA (uint8_t *dest, uint8_t *src1, uint8_t *src2,
       
    69     uint8_t *src3, uint8_t *src4, int n, int acc);
       
    70 #ifdef __SYMBIAN32__
       
    71 IMPORT_C
       
    72 #endif
       
    73 
       
    74 void vs_image_scale_4tap_RGBA (const VSImage * dest, const VSImage * src,
       
    75     uint8_t * tmpbuf);
       
    76 #ifdef __SYMBIAN32__
       
    77 IMPORT_C
       
    78 #endif
       
    79 
       
    80 
       
    81 void vs_scanline_resample_4tap_RGB (uint8_t *dest, uint8_t *src,
       
    82     int n, int src_width, int *xacc, int increment);
       
    83 #ifdef __SYMBIAN32__
       
    84 IMPORT_C
       
    85 #endif
       
    86 
       
    87 void vs_scanline_merge_4tap_RGB (uint8_t *dest, uint8_t *src1, uint8_t *src2,
       
    88     uint8_t *src3, uint8_t *src4, int n, int acc);
       
    89 #ifdef __SYMBIAN32__
       
    90 IMPORT_C
       
    91 #endif
       
    92 
       
    93 void vs_image_scale_4tap_RGB (const VSImage * dest, const VSImage * src,
       
    94     uint8_t * tmpbuf);
       
    95 #ifdef __SYMBIAN32__
       
    96 IMPORT_C
       
    97 #endif
       
    98 
       
    99 
       
   100 void vs_scanline_resample_4tap_YUYV (uint8_t *dest, uint8_t *src,
       
   101     int n, int src_width, int *xacc, int increment);
       
   102 #ifdef __SYMBIAN32__
       
   103 IMPORT_C
       
   104 #endif
       
   105 
       
   106 void vs_scanline_merge_4tap_YUYV (uint8_t *dest, uint8_t *src1, uint8_t *src2,
       
   107     uint8_t *src3, uint8_t *src4, int n, int acc);
       
   108 #ifdef __SYMBIAN32__
       
   109 IMPORT_C
       
   110 #endif
       
   111 
       
   112 void vs_image_scale_4tap_YUYV (const VSImage * dest, const VSImage * src,
       
   113     uint8_t * tmpbuf);
       
   114 #ifdef __SYMBIAN32__
       
   115 IMPORT_C
       
   116 #endif
       
   117 
       
   118 
       
   119 void vs_scanline_resample_4tap_UYVY (uint8_t *dest, uint8_t *src,
       
   120     int n, int src_width, int *xacc, int increment);
       
   121 #ifdef __SYMBIAN32__
       
   122 IMPORT_C
       
   123 #endif
       
   124 
       
   125 void vs_scanline_merge_4tap_UYVY (uint8_t *dest, uint8_t *src1, uint8_t *src2,
       
   126     uint8_t *src3, uint8_t *src4, int n, int acc);
       
   127 #ifdef __SYMBIAN32__
       
   128 IMPORT_C
       
   129 #endif
       
   130 
       
   131 void vs_image_scale_4tap_UYVY (const VSImage * dest, const VSImage * src,
       
   132     uint8_t * tmpbuf);
       
   133 #ifdef __SYMBIAN32__
       
   134 IMPORT_C
       
   135 #endif
       
   136 
       
   137 
       
   138 void vs_scanline_resample_4tap_RGB565 (uint8_t *dest, uint8_t *src,
       
   139     int n, int src_width, int *xacc, int increment);
       
   140 #ifdef __SYMBIAN32__
       
   141 IMPORT_C
       
   142 #endif
       
   143 
       
   144 void vs_scanline_merge_4tap_RGB565 (uint8_t *dest, uint8_t *src1, uint8_t *src2,
       
   145     uint8_t *src3, uint8_t *src4, int n, int acc);
       
   146 #ifdef __SYMBIAN32__
       
   147 IMPORT_C
       
   148 #endif
       
   149 
       
   150 void vs_image_scale_4tap_RGB565 (const VSImage * dest, const VSImage * src,
       
   151     uint8_t * tmpbuf);
       
   152 #ifdef __SYMBIAN32__
       
   153 IMPORT_C
       
   154 #endif
       
   155 
       
   156 
       
   157 void vs_scanline_resample_4tap_RGB555 (uint8_t *dest, uint8_t *src,
       
   158     int n, int src_width, int *xacc, int increment);
       
   159 #ifdef __SYMBIAN32__
       
   160 IMPORT_C
       
   161 #endif
       
   162 
       
   163 void vs_scanline_merge_4tap_RGB555 (uint8_t *dest, uint8_t *src1, uint8_t *src2,
       
   164     uint8_t *src3, uint8_t *src4, int n, int acc);
       
   165 #ifdef __SYMBIAN32__
       
   166 IMPORT_C
       
   167 #endif
       
   168 
       
   169 void vs_image_scale_4tap_RGB555 (const VSImage * dest, const VSImage * src,
       
   170     uint8_t * tmpbuf);
       
   171 #ifdef __SYMBIAN32__
       
   172 IMPORT_C
       
   173 #endif
       
   174 
       
   175 void vs_scanline_resample_4tap_Y16 (uint8_t *dest, uint8_t *src,
       
   176     int n, int src_width, int *xacc, int increment);
       
   177 	
       
   178 #ifdef __SYMBIAN32__
       
   179 IMPORT_C
       
   180 #endif
       
   181 	
       
   182 void vs_scanline_merge_4tap_Y16 (uint8_t *dest, uint8_t *src1, uint8_t *src2,
       
   183     uint8_t *src3, uint8_t *src4, int n, int acc);
       
   184 	
       
   185 #ifdef __SYMBIAN32__
       
   186 IMPORT_C
       
   187 #endif
       
   188 
       
   189 void vs_image_scale_4tap_Y16 (const VSImage * dest, const VSImage * src,
       
   190     uint8_t * tmpbuf);
    41     uint8_t * tmpbuf);
   191 
    42 
   192 #endif
    43 #endif
   193 
    44