Home
last modified time | relevance | path

Searched refs:ncomps (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
Djcparam.c422 fill_scans(jpeg_scan_info *scanptr, int ncomps, int Ss, int Se, int Ah, int Al) in fill_scans() argument
427 for (ci = 0; ci < ncomps; ci++) { in fill_scans()
440 fill_dc_scans(jpeg_scan_info *scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument
445 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()
447 scanptr->comps_in_scan = ncomps; in fill_dc_scans()
448 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans()
456 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans()
470 int ncomps = cinfo->num_components; in jpeg_simple_progression() local
479 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
484 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
[all …]
Drdswitch.c189 int scanno, ncomps, termchar; in read_scan_script() local
209 ncomps = 1; in read_scan_script()
211 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
219 scanptr->component_index[ncomps] = (int)val; in read_scan_script()
220 ncomps++; in read_scan_script()
222 scanptr->comps_in_scan = ncomps; in read_scan_script()
Djcmaster.c185 int scanno, ncomps, ci, coefi, thisi; in validate_script() local
219 ncomps = scanptr->comps_in_scan; in validate_script()
220 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script()
221 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script()
222 for (ci = 0; ci < ncomps; ci++) { in validate_script()
256 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script()
259 for (ci = 0; ci < ncomps; ci++) { in validate_script()
282 for (ci = 0; ci < ncomps; ci++) { in validate_script()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djcparam.c422 fill_scans(jpeg_scan_info *scanptr, int ncomps, int Ss, int Se, int Ah, int Al) in fill_scans() argument
427 for (ci = 0; ci < ncomps; ci++) { in fill_scans()
440 fill_dc_scans(jpeg_scan_info *scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument
445 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()
447 scanptr->comps_in_scan = ncomps; in fill_dc_scans()
448 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans()
456 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans()
470 int ncomps = cinfo->num_components; in jpeg_simple_progression() local
479 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
484 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
[all …]
Drdswitch.c189 int scanno, ncomps, termchar; in read_scan_script() local
209 ncomps = 1; in read_scan_script()
211 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
219 scanptr->component_index[ncomps] = (int)val; in read_scan_script()
220 ncomps++; in read_scan_script()
222 scanptr->comps_in_scan = ncomps; in read_scan_script()
Djcmaster.c185 int scanno, ncomps, ci, coefi, thisi; in validate_script() local
219 ncomps = scanptr->comps_in_scan; in validate_script()
220 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script()
221 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script()
222 for (ci = 0; ci < ncomps; ci++) { in validate_script()
256 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script()
259 for (ci = 0; ci < ncomps; ci++) { in validate_script()
282 for (ci = 0; ci < ncomps; ci++) { in validate_script()
/third_party/libjpeg-turbo/
Djcparam.c422 fill_scans(jpeg_scan_info *scanptr, int ncomps, int Ss, int Se, int Ah, int Al) in fill_scans() argument
427 for (ci = 0; ci < ncomps; ci++) { in fill_scans()
440 fill_dc_scans(jpeg_scan_info *scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument
445 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()
447 scanptr->comps_in_scan = ncomps; in fill_dc_scans()
448 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans()
456 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans()
470 int ncomps = cinfo->num_components; in jpeg_simple_progression() local
479 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
484 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
[all …]
Drdswitch.c189 int scanno, ncomps, termchar; in read_scan_script() local
209 ncomps = 1; in read_scan_script()
211 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
219 scanptr->component_index[ncomps] = (int)val; in read_scan_script()
220 ncomps++; in read_scan_script()
222 scanptr->comps_in_scan = ncomps; in read_scan_script()
Djcmaster.c185 int scanno, ncomps, ci, coefi, thisi; in validate_script() local
219 ncomps = scanptr->comps_in_scan; in validate_script()
220 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script()
221 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script()
222 for (ci = 0; ci < ncomps; ci++) { in validate_script()
256 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script()
259 for (ci = 0; ci < ncomps; ci++) { in validate_script()
282 for (ci = 0; ci < ncomps; ci++) { in validate_script()
/third_party/mesa3d/src/asahi/compiler/
Dagx_register_allocate.c94 agx_ra_assign_local(agx_block *block, uint8_t *ssa_to_reg, uint8_t *ncomps, unsigned max_reg) in agx_ra_assign_local() argument
114 unsigned count = ncomps[I->src[s].value]; in agx_ra_assign_local()
144 uint8_t *ncomps = calloc(ctx->alloc, sizeof(uint8_t)); in agx_ra() local
151 assert(ncomps[v] == 0 && "broken SSA"); in agx_ra()
152 ncomps[v] = agx_write_registers(I, d); in agx_ra()
157 agx_ra_assign_local(block, ssa_to_reg, ncomps, ctx->max_register); in agx_ra()
242 free(ncomps); in agx_ra()
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/
Dgstopenjpegenc.c743 gint ncomps; in gst_openjpeg_enc_set_format() local
798 ncomps = 4; in gst_openjpeg_enc_set_format()
803 ncomps = 4; in gst_openjpeg_enc_set_format()
807 ncomps = 3; in gst_openjpeg_enc_set_format()
811 ncomps = 4; in gst_openjpeg_enc_set_format()
820 ncomps = 3; in gst_openjpeg_enc_set_format()
828 ncomps = 3; in gst_openjpeg_enc_set_format()
832 ncomps = 1; in gst_openjpeg_enc_set_format()
837 ncomps = 1; in gst_openjpeg_enc_set_format()
901 "num-components", G_TYPE_INT, ncomps, in gst_openjpeg_enc_set_format()
[all …]
Dgstopenjpegdec.h59 gint ncomps; member
Dgstopenjpegdec.c401 self->ncomps = 0; in gst_openjpeg_dec_set_format()
402 gst_structure_get_int (s, "num-components", &self->ncomps); in gst_openjpeg_dec_set_format()
1427 if (self->ncomps) in gst_openjpeg_dec_decode_stripe()
1428 params.jpwl_exp_comps = self->ncomps; in gst_openjpeg_dec_decode_stripe()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c46 varying_format(nir_alu_type t, unsigned ncomps) in varying_format() argument
78 assert(ncomps > 0 && ncomps <= ARRAY_SIZE(conv[0].formats)); in varying_format()
82 return conv[i].formats[ncomps - 1]; in varying_format()
Dpan_indirect_draw.c213 load_global(nir_builder *b, nir_ssa_def *addr, unsigned ncomps, unsigned bit_size) in load_global() argument
215 return nir_load_global(b, addr, 4, ncomps, bit_size); in load_global()
220 nir_ssa_def *value, unsigned ncomps) in store_global() argument
222 nir_store_global(b, addr, 4, value, (1 << ncomps) - 1); in store_global()
Dpan_blitter.c478 unsigned ncomps = key->surfaces[i].loc >= FRAG_RESULT_DATA0 ? 4 : 1; in pan_blitter_get_blit_shader() local
481 glsl_vector_type(GLSL_TYPE_FLOAT, ncomps), in pan_blitter_get_blit_shader()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp372 auto ncomps = outer_tf_components(prim_type); in r600_lower_tess_io_impl() local
373 if (!ncomps) in r600_lower_tess_io_impl()
375 ncomps -= ncomps_correct; in r600_lower_tess_io_impl()
379 …r_ssa_def *addr_outer = nir_iadd(b, addr0, load_offset_group(b, tf_inner_address_offset + ncomps)); in r600_lower_tess_io_impl()
382 tf->num_components = ncomps; in r600_lower_tess_io_impl()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c637 nir_ssa_def *ncomps[NIR_MAX_VEC_COMPONENTS]; in _handle_v_load_store() local
667 ncomps[i] = comps[i]->def; in _handle_v_load_store()
672 ncomps[i] = nir_f2fN(&b->nb, ncomps[i], in _handle_v_load_store()
696 vtn_push_nir_ssa(b, w[2], nir_vec(&b->nb, ncomps, components)); in _handle_v_load_store()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c1800 unsigned ncomps = blksz / compsz; in panvk_meta_copy_buf2buf_shader() local
1802 nir_load_global(&b, srcptr, blksz, ncomps, compsz * 8), in panvk_meta_copy_buf2buf_shader()
1803 (1 << ncomps) - 1); in panvk_meta_copy_buf2buf_shader()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst283 - agx: Use consistent ncomps