[cvs] / xvidcore / src / image / image.h Repository:
ViewVC logotype

Annotation of /xvidcore/src/image/image.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download)

1 : Isibaar 1.1 #ifndef _IMAGE_H_
2 :     #define _IMAGE_H_
3 :    
4 :     #include "../portab.h"
5 :     #include "colorspace.h"
6 :    
7 :     #define EDGE_SIZE 32
8 :    
9 :    
10 :     typedef struct
11 :     {
12 :     uint8_t * y;
13 :     uint8_t * u;
14 :     uint8_t * v;
15 :     } IMAGE;
16 :    
17 :     void init_image(uint32_t cpu_flags);
18 :    
19 :     int32_t image_create(IMAGE * image, uint32_t edged_width, uint32_t edged_height);
20 :     void image_destroy(IMAGE * image, uint32_t edged_width, uint32_t edged_height);
21 :    
22 :     void image_swap(IMAGE * image1, IMAGE * image2);
23 :     void image_copy(IMAGE *image1, IMAGE * image2, uint32_t edged_width, uint32_t height);
24 :     void image_setedges(IMAGE * image, uint32_t edged_width, uint32_t edged_height, uint32_t width, uint32_t height);
25 :     void image_interpolate(const IMAGE * refn,
26 :     IMAGE * refh, IMAGE * refv, IMAGE * refhv,
27 :     uint32_t edged_width, uint32_t edged_height, uint32_t rounding);
28 :    
29 :     int image_input(IMAGE * image, uint32_t width, int height, uint32_t edged_width,
30 :     uint8_t * src, int csp);
31 :    
32 :     int image_output(IMAGE * image, uint32_t width, int height, uint32_t edged_width,
33 :     uint8_t * dst, uint32_t dst_stride, int csp);
34 :    
35 :     #endif /* _IMAGE_H_ */

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4