Searched refs:numcomps (Results 1 – 5 of 5) sorted by relevance
179 int numcomps; in mj2_create_image() local187 numcomps = desc->nb_components; in mj2_create_image()254 for (i = 0; i < numcomps; i++) { in mj2_create_image()264 img = opj_image_create(numcomps, cmptparm, color_space); in mj2_create_image()355 const int numcomps = image->numcomps; in libopenjpeg_copy_packed8() local357 for (compno = 0; compno < numcomps; ++compno) { in libopenjpeg_copy_packed8()358 if (image->comps[compno].w > frame->linesize[0] / numcomps) { in libopenjpeg_copy_packed8()364 for (compno = 0; compno < numcomps; ++compno) { in libopenjpeg_copy_packed8()370 frame_index += numcomps; in libopenjpeg_copy_packed8()394 const int numcomps = image->numcomps; in libopenjpeg_copy_packed12() local[all …]
162 if (desc->nb_components != image->numcomps) { in libopenjpeg_matches_pix_fmt()248 for (c = 0; c < image->numcomps; c++) in libopenjpeg_copy_to_packed8()258 for (x = 0; x < image->numcomps; x++) in libopenjpeg_copy_to_packed16()265 for (c = 0; c < image->numcomps; c++) in libopenjpeg_copy_to_packed16()276 for (index = 0; index < image->numcomps; index++) { in libopenjpeg_copyto8()295 for (x = 0; x < image->numcomps; x++) in libopenjpeg_copyto16()298 for (index = 0; index < image->numcomps; index++) { in libopenjpeg_copyto16()416 for (i = 0; i < image->numcomps; i++) in libopenjpeg_decode_frame()431 for (i = 0; i < image->numcomps; i++) { in libopenjpeg_decode_frame()
329 guint16 numcomps = 0; in gst_jpeg2000_parse_handle_frame() local526 if (!gst_byte_reader_get_uint16_be (&reader, &numcomps)) in gst_jpeg2000_parse_handle_frame()529 if (numcomps == 0 || numcomps > GST_JPEG2000_PARSE_MAX_SUPPORTED_COMPONENTS) { in gst_jpeg2000_parse_handle_frame()531 ("Unsupported number of components %d", numcomps)); in gst_jpeg2000_parse_handle_frame()558 if (numcomps == 0 || numcomps > 4) { in gst_jpeg2000_parse_handle_frame()560 "Unable to guess color space from number of components %d", numcomps); in gst_jpeg2000_parse_handle_frame()565 (numcomps >= in gst_jpeg2000_parse_handle_frame()567 if (numcomps == 4) { in gst_jpeg2000_parse_handle_frame()569 } else if (numcomps == 3) { in gst_jpeg2000_parse_handle_frame()571 } else if (numcomps == 2) { in gst_jpeg2000_parse_handle_frame()[all …]
342 guint8 numcomps = 0; /* Number of components in image in gst_jpeg_parse_sof() local368 if (!gst_byte_reader_get_uint8 (reader, &numcomps)) in gst_jpeg_parse_sof()371 if (numcomps > 3) /* FIXME */ in gst_jpeg_parse_sof()375 for (i = 0; i < numcomps; i++) { in gst_jpeg_parse_sof()393 if (numcomps == 1) { in gst_jpeg_parse_sof()396 } else if (numcomps == 3) { in gst_jpeg_parse_sof()
876 for (i = 0; i < image->numcomps; i++) in get_highest_prec()896 if (image->numcomps == 4) { in gst_openjpeg_dec_negotiate()918 } else if (image->numcomps == 3) { in gst_openjpeg_dec_negotiate()941 image->numcomps); in gst_openjpeg_dec_negotiate()946 if (image->numcomps == 1) { in gst_openjpeg_dec_negotiate()967 } else if (image->numcomps == 2) { in gst_openjpeg_dec_negotiate()986 image->numcomps); in gst_openjpeg_dec_negotiate()991 if (image->numcomps != 3 && image->numcomps != 4) { in gst_openjpeg_dec_negotiate()993 image->numcomps); in gst_openjpeg_dec_negotiate()1009 if (image->numcomps == 4) { in gst_openjpeg_dec_negotiate()[all …]