⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 color_unused.c

📁 It s a tool designed to extract as much information as possible from Bluetooth devices without the r
💻 C
字号:
/* ------------------------------------------------------------------- *//* YUV conversions                                                     */intpacked422_to_planar422(unsigned char *d, unsigned char *s, int p){    int i;    unsigned char *y,*u,*v;    i = p/2;    y = d;    u = y + p;    v = u + p / 2;        while (--i) {	*(y++) = *(s++);	*(u++) = *(s++);	*(y++) = *(s++);        *(v++) = *(s++);    }    return p*2;}/* y only, no chroma */intpacked422_to_planar420(unsigned char *d, unsigned char *s, int p){    int i;    unsigned char *y;    i = p/2;    y = d;        while (--i) {	*(y++) = *(s++);	s++;	*(y++) = *(s++);	s++;    }    return p*3/2;}#if 0voidx_packed422_to_planar420(unsigned char *d, unsigned char *s, int w, int h){    int  a,b;    unsigned char *y,*u,*v;    y = d;    u = y + w * h;    v = u + w * h / 4;    for (a = h; a > 0; a -= 2) {	for (b = w; b > 0; b -= 2) {	    *(y++) = *(s++);	    *(u++) = *(s++);	    *(y++) = *(s++);	    *(v++) = *(s++);	}	for (b = w; b > 0; b -= 2) {	    *(y++) = *(s++);	    s++;	    *(y++) = *(s++);	    s++;	}    }}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -