Home
last modified time | relevance | path

Searched refs:nr_channels (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c466 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 …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
Dtranslate_sse.c466 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 …]
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Djp2.c787 OPJ_UINT16 nr_channels = color->jp2_pclr->nr_channels; in opj_jp2_check_color() local
792 for (i = 0; i < nr_channels; i++) { in opj_jp2_check_color()
799 pcol_usage = opj_calloc(nr_channels, sizeof(OPJ_BOOL)); in opj_jp2_check_color()
805 for (i = 0; i < nr_channels; i++) { in opj_jp2_check_color()
808 if (pcol >= nr_channels) { in opj_jp2_check_color()
826 for (i = 0; i < nr_channels; i++) { in opj_jp2_check_color()
850 OPJ_UINT16 i, nr_channels, cmp, pcol; in opj_jp2_apply_pclr() local
857 nr_channels = color->jp2_pclr->nr_channels; in opj_jp2_apply_pclr()
861 opj_malloc(nr_channels * sizeof(opj_image_comp_t)); in opj_jp2_apply_pclr()
863 for(i = 0; i < nr_channels; ++i) { in opj_jp2_apply_pclr()
[all …]
Djp2.h128 OPJ_BYTE nr_channels; member
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture.c251 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 …]
Dr300_state_inlines.h365 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()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
Dr300_texture.c251 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 …]
Dr300_state_inlines.h365 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()
Dr300_state_derived.c697 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/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
Dtranslate_test.c185 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/
Du_format_parse.py136 def nr_channels(self): member in Format
137 nr_channels = 0
140 nr_channels += 1
141 return nr_channels
Du_format.c173 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()
Du_format_table.py105 print " %u,\t/* nr_channels */" % (format.nr_channels(),)
Du_format.h156 unsigned nr_channels:3; member
921 return desc->nr_channels; in util_format_get_nr_components()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_format_parse.py136 def nr_channels(self): member in Format
137 nr_channels = 0
140 nr_channels += 1
141 return nr_channels
Du_format.c173 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()
Du_format_table.py105 print " %u,\t/* nr_channels */" % (format.nr_channels(),)
Du_format.h156 unsigned nr_channels:3; member
921 return desc->nr_channels; in util_format_get_nr_components()
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c185 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/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
Dr600_texture.c1004 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()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c1004 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()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos_array.c67 src_type.length = format_desc->nr_channels; in lp_build_fetch_rgba_aos_array()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos_array.c67 src_type.length = format_desc->nr_channels; in lp_build_fetch_rgba_aos_array()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1119 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()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
Dsi_state.c1119 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()

12