Ticket #6694: color_h_alternate.patch
File color_h_alternate.patch, 2.7 KB (added by , 15 years ago) |
---|
-
filters/greedyhdeint/color.h
1 1 #ifndef _COLOR_H_ 2 2 #define _COLOR_H_ 3 3 4 void (*yv12_to_yuy2)5 (const unsigned char *y_src, int y_src_pitch,6 const unsigned char *u_src, int u_src_pitch,7 const unsigned char *v_src, int v_src_pitch,8 unsigned char *yuy2_map, int yuy2_pitch,9 int width, int height, int progressive);10 11 void (*yuy2_to_yv12)12 (const unsigned char *yuy2_map, int yuy2_pitch,13 unsigned char *y_dst, int y_dst_pitch,14 unsigned char *u_dst, int u_dst_pitch,15 unsigned char *v_dst, int v_dst_pitch,16 int width, int height);17 18 4 void init_yuv_conversion(void); 19 5 20 6 void apply_chroma_filter( uint8_t *data, int stride, int width, int height ); -
filters/greedyhdeint/color.c
38 38 #include "x86/mmx.h" 39 39 #endif 40 40 41 void (*yv12_to_yuy2) 42 (const unsigned char *y_src, int y_src_pitch, 43 const unsigned char *u_src, int u_src_pitch, 44 const unsigned char *v_src, int v_src_pitch, 45 unsigned char *yuy2_map, int yuy2_pitch, 46 int width, int height, int progressive); 47 48 void (*yuy2_to_yv12) 49 (const unsigned char *yuy2_map, int yuy2_pitch, 50 unsigned char *y_dst, int y_dst_pitch, 51 unsigned char *u_dst, int u_dst_pitch, 52 unsigned char *v_dst, int v_dst_pitch, 53 int width, int height); 54 41 55 void (*vfilter_chroma_332_packed422_scanline)( uint8_t *output, int width, uint8_t *m, uint8_t *t, uint8_t *b ); 42 56 43 57 -
filters/greedyhdeint/filter_greedyhdeint.c
33 33 static unsigned int GreedyMotionThreshold = MOTIONTHRESHOLD_DEFAULT; 34 34 static unsigned int GreedyMotionSense = MOTIONSENSE_DEFAULT; 35 35 36 extern void (*yv12_to_yuy2) 37 (const unsigned char *y_src, int y_src_pitch, 38 const unsigned char *u_src, int u_src_pitch, 39 const unsigned char *v_src, int v_src_pitch, 40 unsigned char *yuy2_map, int yuy2_pitch, 41 int width, int height, int progressive); 42 43 extern void (*yuy2_to_yv12) 44 (const unsigned char *yuy2_map, int yuy2_pitch, 45 unsigned char *y_dst, int y_dst_pitch, 46 unsigned char *u_dst, int u_dst_pitch, 47 unsigned char *v_dst, int v_dst_pitch, 48 int width, int height); 49 36 50 #define IS_MMX 37 51 #define SSE_TYPE MMXT 38 52 #define FUNCT_NAME greedyh_filter_mmx