11 |
|
|
12 |
/* input color conversion functions (encoder) */ |
/* input color conversion functions (encoder) */ |
13 |
|
|
14 |
typedef void (color_inputFunc)(uint8_t *y_out, uint8_t *u_out, uint8_t *v_out, |
typedef void (color_inputFunc) (uint8_t * y_out, |
15 |
uint8_t *src, int width, int height, int stride); |
uint8_t * u_out, |
16 |
|
uint8_t * v_out, |
17 |
|
uint8_t * src, |
18 |
|
int width, |
19 |
|
int height, |
20 |
|
int stride); |
21 |
|
|
22 |
typedef color_inputFunc *color_inputFuncPtr; |
typedef color_inputFunc *color_inputFuncPtr; |
23 |
|
|
51 |
|
|
52 |
/* output color conversion functions (decoder) */ |
/* output color conversion functions (decoder) */ |
53 |
|
|
54 |
typedef void (color_outputFunc)(uint8_t *dst, int dst_stride, |
typedef void (color_outputFunc) (uint8_t * dst, |
55 |
uint8_t *y_src, uint8_t *v_src, |
int dst_stride, |
56 |
uint8_t * u_src, int y_stride, |
uint8_t * y_src, |
57 |
int uv_stride, int width, int height); |
uint8_t * v_src, |
58 |
|
uint8_t * u_src, |
59 |
|
int y_stride, |
60 |
|
int uv_stride, |
61 |
|
int width, |
62 |
|
int height); |
63 |
|
|
64 |
typedef color_outputFunc* color_outputFuncPtr; |
typedef color_outputFunc* color_outputFuncPtr; |
65 |
|
|
89 |
color_outputFunc yv12_to_uyvy_mmx; |
color_outputFunc yv12_to_uyvy_mmx; |
90 |
|
|
91 |
|
|
92 |
void user_to_yuv_c(uint8_t *y_out, uint8_t *u_out, uint8_t *v_out, int stride, |
void user_to_yuv_c(uint8_t * y_out, |
93 |
|
uint8_t * u_out, |
94 |
|
uint8_t * v_out, |
95 |
|
int stride, |
96 |
DEC_PICTURE * picture, |
DEC_PICTURE * picture, |
97 |
int width, int height); |
int width, |
98 |
|
int height); |
99 |
|
|
100 |
#endif /* _COLORSPACE_H_ */ |
#endif /* _COLORSPACE_H_ */ |