void rgb32tobgr24(const uint8_t *src, uint8_t *dst, unsigned int src_size)

{

	unsigned i;

	unsigned num_pixels = src_size >> 2;

	for(i=0; i<num_pixels; i++)

	{

		dst[3*i + 0] = src[4*i + 2];

		dst[3*i + 1] = src[4*i + 1];

		dst[3*i + 2] = src[4*i + 0];

	}

}

void rgb32tobgr24(const uint8_t *src, uint8_t *dst, unsigned int src_size)

{

	unsigned i;

	unsigned num_pixels = src_size >> 2;

	for(i=0; i<num_pixels; i++)

	{

		dst[3*i + 0] = src[4*i + 2];

		dst[3*i + 1] = src[4*i + 1];

		dst[3*i + 2] = src[4*i + 0];

	}

}

	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i; void rgb32tobgr24(const uint8_t *src, uint8_t *dst, unsigned int src_size) 	unsigned i; 	unsigned num_pixels = src_size >> 2; 	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i; 	unsigned i;
void FUNC_0(const uint8_t *VAR_0, uint8_t *VAR_1, unsigned int VAR_2)

{

	unsigned VAR_3;

	unsigned VAR_4 = VAR_2 >> 2;

	for(VAR_3=0; VAR_3<VAR_4; VAR_3++)

	{

		VAR_1[3*VAR_3 + 0] = VAR_0[4*VAR_3 + 2];

		VAR_1[3*VAR_3 + 1] = VAR_0[4*VAR_3 + 1];

		VAR_1[3*VAR_3 + 2] = VAR_0[4*VAR_3 + 0];

	}

}

void FUNC_0(const uint8_t *VAR_0, uint8_t *VAR_1, unsigned int VAR_2)
{ unsigned VAR_3; unsigned VAR_4 = VAR_2 >> 2; for(VAR_3=0; VAR_3<VAR_4; VAR_3++) { VAR_1[3*VAR_3 + 0] = VAR_0[4*VAR_3 + 2]; VAR_1[3*VAR_3 + 1] = VAR_0[4*VAR_3 + 1]; VAR_1[3*VAR_3 + 2] = VAR_0[4*VAR_3 + 0]; } }