#include "openjpeg.h"
Go to the source code of this file.
◆ color_apply_icc_profile()
void color_apply_icc_profile |
( |
opj_image_t * |
image | ) |
|
◆ color_sycc_to_rgb()
void color_sycc_to_rgb |
( |
opj_image_t * |
image | ) |
|
Definition at line 237 of file Jpeg2000Color.cpp.
239 if(img->numcomps < 3)
241 img->color_space = OPJ_CLRSPC_GRAY;
245 if((img->comps[0].dx == 1)
246 && (img->comps[1].dx == 2)
247 && (img->comps[2].dx == 2)
248 && (img->comps[0].dy == 1)
249 && (img->comps[1].dy == 2)
250 && (img->comps[2].dy == 2))
255 if((img->comps[0].dx == 1)
256 && (img->comps[1].dx == 2)
257 && (img->comps[2].dx == 2)
258 && (img->comps[0].dy == 1)
259 && (img->comps[1].dy == 1)
260 && (img->comps[2].dy == 1))
265 if((img->comps[0].dx == 1)
266 && (img->comps[1].dx == 1)
267 && (img->comps[2].dx == 1)
268 && (img->comps[0].dy == 1)
269 && (img->comps[1].dy == 1)
270 && (img->comps[2].dy == 1))
276 fprintf(stderr,
"%s:%d:color_sycc_to_rgb\n\tCAN NOT CONVERT\n",
282 img->color_space = OPJ_CLRSPC_SRGB;
void sycc420_to_rgb(opj_image_t *img)
void sycc444_to_rgb(opj_image_t *img)
void sycc422_to_rgb(opj_image_t *img)