/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_sse.c | 466 for(i = 1; i < input_desc->nr_channels; ++i) in translate_attr_convert() 472 for(i = 1; i < output_desc->nr_channels; ++i) in translate_attr_convert() 478 for(i = 0; i < output_desc->nr_channels; ++i) in translate_attr_convert() 492 for(i = 0; i < output_desc->nr_channels; ++i) in translate_attr_convert() 494 if(swizzle[i] == UTIL_FORMAT_SWIZZLE_0 && i >= input_desc->nr_channels) in translate_attr_convert() 498 for(i = 0; i < output_desc->nr_channels; ++i) in translate_attr_convert() 513 … emit_load_sse2(p, dataXMM, src, input_desc->channel[0].size * input_desc->nr_channels >> 3); in translate_attr_convert() 563 … emit_load_sse2(p, dataXMM, src, input_desc->channel[0].size * input_desc->nr_channels >> 3); in translate_attr_convert() 613 if(swizzle[3] == UTIL_FORMAT_SWIZZLE_1 && input_desc->nr_channels <= 3) in translate_attr_convert() 621 emit_load_float32(p, dataXMM, src, needed_chans, input_desc->nr_channels); in translate_attr_convert() [all …]
|
D | translate_generic.c | 772 unsigned nr = MIN2(src->nr_channels, dst->nr_channels); in is_legal_int_format_combo()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | jp2.c | 840 …OPJ_UINT32 nr_channels = image->numcomps; /* FIXME image->numcomps == jp2->numcomps before color i… in opj_jp2_check_color() local 844 nr_channels = (OPJ_UINT32)color->jp2_pclr->nr_channels; in opj_jp2_check_color() 848 if (info[i].cn >= nr_channels) { in opj_jp2_check_color() 849 …_event_msg(p_manager, EVT_ERROR, "Invalid component index %d (>= %d).\n", info[i].cn, nr_channels); in opj_jp2_check_color() 854 if (info[i].asoc > 0 && (OPJ_UINT32)(info[i].asoc - 1) >= nr_channels) { in opj_jp2_check_color() 855 …_msg(p_manager, EVT_ERROR, "Invalid component index %d (>= %d).\n", info[i].asoc - 1, nr_channels); in opj_jp2_check_color() 862 while (nr_channels > 0) in opj_jp2_check_color() 865 if ((OPJ_UINT32)info[i].cn == (nr_channels - 1U)) { in opj_jp2_check_color() 873 --nr_channels; in opj_jp2_check_color() 880 OPJ_UINT16 nr_channels = color->jp2_pclr->nr_channels; in opj_jp2_check_color() local [all …]
|
D | 0008-jp2_check_color.patch | 8 for (i = 0; i < nr_channels; i++) { 17 if (pcol >= nr_channels) {
|
D | 0007-jp2_read_cmap.patch | 8 for(i = 0; i < nr_channels; ++i) {
|
D | jp2.h | 128 OPJ_BYTE nr_channels; member
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture.c | 251 for (i = 0; i < desc->nr_channels; i++) { in r300_translate_texformat() 258 for (i = 1; i < desc->nr_channels; i++) { in r300_translate_texformat() 264 switch (desc->nr_channels) { in r300_translate_texformat() 321 switch (desc->nr_channels) { in r300_translate_texformat() 330 switch (desc->nr_channels) { in r300_translate_texformat() 341 switch (desc->nr_channels) { in r300_translate_texformat() 355 switch (desc->nr_channels) { in r300_translate_texformat() 366 switch (desc->nr_channels) { in r300_translate_texformat() 541 switch (desc->nr_channels) { in r300_translate_out_fmt() 555 switch (desc->nr_channels) { in r300_translate_out_fmt() [all …]
|
D | r300_state_inlines.h | 365 if (desc->nr_channels > 2) { in r300_translate_vertex_data_type() 372 result = R300_DATA_TYPE_FLOAT_1 + (desc->nr_channels - 1); in r300_translate_vertex_data_type() 387 if (desc->nr_channels > 2) { in r300_translate_vertex_data_type() 424 for (i = 0; i < desc->nr_channels; i++) { in r300_translate_vertex_data_swizzle()
|
D | r300_state_derived.c | 697 if (desc->nr_channels == 2) { in r300_get_border_color() 713 if (desc->nr_channels <= 2) { in r300_get_border_color() 731 if (desc->nr_channels == 1) { in r300_get_border_color()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | translate_test.c | 185 for(i = 0; i < output_format_desc->nr_channels; ++i) in main() 213 for(i = 0; i < input_format_desc->nr_channels; ++i) in main() 226 …&& input_format_size * output_format_desc->nr_channels > output_format_size * input_format_desc->n… in main()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_parse.py | 136 def nr_channels(self): member in Format 137 nr_channels = 0 140 nr_channels += 1 141 return nr_channels
|
D | u_format.c | 173 for (chan = 0; chan < desc->nr_channels; ++chan) { in util_format_is_array() 430 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible() 495 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in util_format_fits_8unorm()
|
D | u_format_table.py | 105 print " %u,\t/* nr_channels */" % (format.nr_channels(),)
|
D | u_format.h | 156 unsigned nr_channels:3; member 921 return desc->nr_channels; in util_format_get_nr_components()
|
D | u_format_pack.py | 419 for i in range(format.nr_channels()): 433 for i in range(format.nr_channels()):
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 1004 for (i = 0; i < desc->nr_channels; i++) { in r600_translate_texformat() 1013 for (i = 1; i < desc->nr_channels; i++) { in r600_translate_texformat() 1022 switch(desc->nr_channels) { in r600_translate_texformat() 1077 switch (desc->nr_channels) { in r600_translate_texformat() 1087 switch (desc->nr_channels) { in r600_translate_texformat() 1101 switch (desc->nr_channels) { in r600_translate_texformat() 1114 switch (desc->nr_channels) { in r600_translate_texformat() 1131 switch (desc->nr_channels) { in r600_translate_texformat() 1144 switch (desc->nr_channels) { in r600_translate_texformat()
|
D | r600_asm.c | 2635 switch (desc->nr_channels) { in r600_vertex_data_type() 2649 switch (desc->nr_channels) { in r600_vertex_data_type() 2674 switch (desc->nr_channels) { in r600_vertex_data_type() 2688 if (desc->nr_channels != 4) in r600_vertex_data_type() 2694 switch (desc->nr_channels) { in r600_vertex_data_type() 2708 switch (desc->nr_channels) { in r600_vertex_data_type()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_aos_array.c | 67 src_type.length = format_desc->nr_channels; in lp_build_fetch_rgba_aos_array()
|
D | lp_bld_format_soa.c | 124 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in lp_build_unpack_rgba_soa()
|
D | lp_bld_format_aos.c | 123 for (chan = 0; chan < desc->nr_channels; ++chan) { in format_matches_type()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 1119 for (i = 1; i < desc->nr_channels; i++) { in si_translate_texformat() 1125 switch(desc->nr_channels) { in si_translate_texformat() 1157 switch (desc->nr_channels) { in si_translate_texformat() 1165 switch (desc->nr_channels) { in si_translate_texformat() 1175 switch (desc->nr_channels) { in si_translate_texformat() 1185 switch (desc->nr_channels) { in si_translate_texformat() 1314 for (i = 0; i < desc->nr_channels; i++) { in si_translate_vertexformat() 1321 switch (desc->nr_channels) { in si_translate_vertexformat() 1332 switch (desc->nr_channels) { in si_translate_vertexformat() 1346 switch (desc->nr_channels) { in si_translate_vertexformat()
|