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