📄 mvimage.h
字号:
#ifndef __MVIMAGE_H__#define __MVIMAGE_H__
/* these functions are extracted from image.h file
* their work is picture operation
* 20070122 wuhaibin
*/
void image_null(IMAGE * image);
void init_image(uint32_t cpu_flags);int32_t image_create(IMAGE * image, uint32_t edged_width, uint32_t edged_height);
void image_destroy(IMAGE * image, uint32_t edged_width, uint32_t edged_height);
/*the function parameter had been modified by wuhaibin,
*out_len is the length of decoded frame, it should be a
*constant width * height * 3/2
*wuhaibin 20070122*/
int image_output(IMAGE * image, uint32_t width, int height, uint32_t edged_width, uint8_t * dst, int dst_stride,
uint32_t *out_len, uint32_t type);void image_clear(IMAGE * img, int width, int height, int edged_width, int y, int u, int v);void image_setedges(IMAGE * image, uint32_t edged_width,
uint32_t edged_height, uint32_t width,
uint32_t height, int bs_version);
void image_swap(IMAGE * image1,IMAGE * image2);void image_copy(IMAGE * image1,
IMAGE * image2,
uint32_t edged_width,
uint32_t height);
#endif /* _IMAGE_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -