21 |
|
|
22 |
void image_swap(IMAGE * image1, IMAGE * image2); |
void image_swap(IMAGE * image1, IMAGE * image2); |
23 |
void image_copy(IMAGE *image1, IMAGE * image2, uint32_t edged_width, uint32_t height); |
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); |
void image_setedges(IMAGE * image, uint32_t edged_width, uint32_t edged_height, uint32_t width, uint32_t height, uint32_t interlacing); |
25 |
void image_interpolate(const IMAGE * refn, |
void image_interpolate(const IMAGE * refn, |
26 |
IMAGE * refh, IMAGE * refv, IMAGE * refhv, |
IMAGE * refh, IMAGE * refv, IMAGE * refhv, |
27 |
uint32_t edged_width, uint32_t edged_height, uint32_t rounding); |
uint32_t edged_width, uint32_t edged_height, uint32_t rounding); |
28 |
|
|
29 |
|
float image_psnr(IMAGE *orig_image, IMAGE *recon_image, |
30 |
|
uint16_t stride, uint16_t width, uint16_t height); |
31 |
|
|
32 |
|
|
33 |
int image_input(IMAGE * image, uint32_t width, int height, uint32_t edged_width, |
int image_input(IMAGE * image, uint32_t width, int height, uint32_t edged_width, |
34 |
uint8_t * src, int csp); |
uint8_t * src, int csp); |
35 |
|
|
36 |
int image_output(IMAGE * image, uint32_t width, int height, uint32_t edged_width, |
int image_output(IMAGE * image, uint32_t width, int height, uint32_t edged_width, |
37 |
uint8_t * dst, uint32_t dst_stride, int csp); |
uint8_t * dst, uint32_t dst_stride, int csp); |
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
int image_dump_yuvpgm(const IMAGE * image, |
42 |
|
const uint32_t edged_width, |
43 |
|
const uint32_t width, |
44 |
|
const uint32_t height, |
45 |
|
char * filename); |
46 |
|
|
47 |
|
float image_mad(const IMAGE * img1, const IMAGE * img2, uint32_t stride, |
48 |
|
uint32_t width, uint32_t height); |
49 |
|
|
50 |
#endif /* _IMAGE_H_ */ |
#endif /* _IMAGE_H_ */ |