d[j]= (b>>3) | ((g&0xF8)<<3) | ((r&0xF8)<<7);
d[j]= (b>>3) | ((g&0xF8)<<2) | ((r&0xF8)<<7);
void rgb24to15(const uint8_t *src, uint8_t *dst, unsigned src_size){	unsigned j,i,num_pixels=src_size/3;	uint16_t *d = (uint16_t *)dst;	for(i=0,j=0; j<num_pixels; i+=3,j++)	{		const int b= src[i+0];		const int g= src[i+1];		const int r= src[i+2];		d[j]= (b>>3) | ((g&0xF8)<<3) | ((r&0xF8)<<7);	}}