[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.8.2.8 - (view) (download)

1 : Isibaar 1.1 #ifndef _IMAGE_H_
2 :     #define _IMAGE_H_
3 :    
4 : suxen_drol 1.8.2.8 #include <stdlib.h>
5 :    
6 : Isibaar 1.1 #include "../portab.h"
7 : suxen_drol 1.8.2.5 #include "../global.h"
8 : Isibaar 1.1 #include "colorspace.h"
9 : albeu 1.7 #include "../xvid.h"
10 : Isibaar 1.1
11 : Isibaar 1.8.2.3 #define EDGE_SIZE 64
12 : Isibaar 1.1
13 :     void init_image(uint32_t cpu_flags);
14 :    
15 : suxen_drol 1.8.2.4
16 :     static void __inline
17 :     image_null(IMAGE * image)
18 :     {
19 :     image->y = image->u = image->v = NULL;
20 :     }
21 :    
22 : edgomez 1.6 int32_t image_create(IMAGE * image,
23 :     uint32_t edged_width,
24 :     uint32_t edged_height);
25 :     void image_destroy(IMAGE * image,
26 :     uint32_t edged_width,
27 :     uint32_t edged_height);
28 :    
29 :     void image_swap(IMAGE * image1,
30 :     IMAGE * image2);
31 :     void image_copy(IMAGE * image1,
32 :     IMAGE * image2,
33 :     uint32_t edged_width,
34 :     uint32_t height);
35 :     void image_setedges(IMAGE * image,
36 :     uint32_t edged_width,
37 :     uint32_t edged_height,
38 :     uint32_t width,
39 : h 1.8.2.1 uint32_t height);
40 : edgomez 1.6 void image_interpolate(const IMAGE * refn,
41 :     IMAGE * refh,
42 :     IMAGE * refv,
43 :     IMAGE * refhv,
44 :     uint32_t edged_width,
45 :     uint32_t edged_height,
46 : Isibaar 1.8.2.2 uint32_t quarterpel,
47 : edgomez 1.6 uint32_t rounding);
48 :    
49 :     float image_psnr(IMAGE * orig_image,
50 :     IMAGE * recon_image,
51 :     uint16_t stride,
52 :     uint16_t width,
53 :     uint16_t height);
54 :    
55 :    
56 : suxen_drol 1.8.2.6 void
57 :     image_chroma_optimize(IMAGE * img, int width, int height, int edged_width);
58 :    
59 :    
60 : edgomez 1.6 int image_input(IMAGE * image,
61 :     uint32_t width,
62 :     int height,
63 :     uint32_t edged_width,
64 :     uint8_t * src,
65 : suxen_drol 1.8.2.4 int src_stride,
66 :     int csp,
67 :     int interlaced);
68 : edgomez 1.6
69 :     int image_output(IMAGE * image,
70 :     uint32_t width,
71 :     int height,
72 :     uint32_t edged_width,
73 :     uint8_t * dst,
74 :     uint32_t dst_stride,
75 : suxen_drol 1.8.2.4 int csp,
76 :     int interlaced);
77 : edgomez 1.6
78 :    
79 :    
80 :     int image_dump_yuvpgm(const IMAGE * image,
81 :     const uint32_t edged_width,
82 :     const uint32_t width,
83 :     const uint32_t height,
84 :     char *filename);
85 :    
86 :     float image_mad(const IMAGE * img1,
87 :     const IMAGE * img2,
88 :     uint32_t stride,
89 :     uint32_t width,
90 :     uint32_t height);
91 : albeu 1.7
92 : suxen_drol 1.8 void
93 : albeu 1.7 output_slice(IMAGE * cur, int edged_width, int width, XVID_DEC_PICTURE* out_frm, int mbx, int mby,int mbl);
94 : suxen_drol 1.8.2.5
95 :    
96 :     void
97 : suxen_drol 1.8.2.7 image_clear(IMAGE * img, int width, int height, int edged_width,
98 :     int y, int u, int v);
99 :    
100 :    
101 :     void
102 : suxen_drol 1.8.2.5 image_deblock_rrv(IMAGE * img, int edgeg_width,
103 : suxen_drol 1.8.2.7 const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride,
104 :     int block, int flags);
105 : suxen_drol 1.8.2.5
106 : Isibaar 1.1
107 : edgomez 1.6 #endif /* _IMAGE_H_ */

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