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