📄 j2k.hpp
字号:
#include "vxworks.h"
#include "stdio.h"
#include <string.h>
#include "j2k.h"
#include <stdlib.h>
#include <iolib.h>
struct J2K_COMPRESS_PARA {
int width;
int height;
int format; /* YUV, RGB*/
int depth; /* 24b, B/W8*/
unsigned char *R; /* source image data,red component */
unsigned char *G; /* source image data green component*/
unsigned char *B; /* source image data blue component*/
int headlen; /* head length of the image, skipped by algorithm */
int size; /* the expected j2k file's size */
};
extern int j2kEncode(J2K_COMPRESS_PARA *para,unsigned char *jBuf);
extern int j2kDecode(J2K_COMPRESS_PARA *para,unsigned char *jBuf);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -