/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_sse.c | 485 for (i = 1; i < input_desc->nr_channels; ++i) { in translate_attr_convert() 492 for (i = 1; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 500 for (i = 0; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 512 for (i = 0; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 514 && i >= input_desc->nr_channels) in translate_attr_convert() 518 for (i = 0; i < output_desc->nr_channels; ++i) { in translate_attr_convert() 532 input_desc->nr_channels >> 3); in translate_attr_convert() 584 input_desc->nr_channels >> 3); in translate_attr_convert() 634 && input_desc->nr_channels <= 3) { in translate_attr_convert() 641 input_desc->nr_channels); in translate_attr_convert() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 51 if (desc->nr_channels == 4 && in radv_translate_buffer_dataformat() 59 for (i = 0; i < desc->nr_channels; i++) { in radv_translate_buffer_dataformat() 66 switch (desc->nr_channels) { in radv_translate_buffer_dataformat() 76 switch (desc->nr_channels) { in radv_translate_buffer_dataformat() 94 switch (desc->nr_channels) { in radv_translate_buffer_dataformat() 175 if (desc->nr_channels != 4 && desc->nr_channels != 1) in radv_translate_tex_dataformat() 241 for (i = 1; i < desc->nr_channels; i++) { in radv_translate_tex_dataformat() 247 switch(desc->nr_channels) { in radv_translate_tex_dataformat() 289 switch (desc->nr_channels) { in radv_translate_tex_dataformat() 299 switch (desc->nr_channels) { in radv_translate_tex_dataformat() [all …]
|
D | vk_format_table.py | 79 if format.nr_channels() <= 1: 135 print " %u,\t/* nr_channels */" % (format.nr_channels(),)
|
D | vk_format_parse.py | 141 def nr_channels(self): member in Format 142 nr_channels = 0 145 nr_channels += 1 146 return nr_channels
|
/external/pdfium/third_party/libopenjpeg20/ |
D | jp2.c | 898 OPJ_UINT32 nr_channels = in opj_jp2_check_color() local 903 nr_channels = (OPJ_UINT32)color->jp2_pclr->nr_channels; in opj_jp2_check_color() 907 if (info[i].cn >= nr_channels) { in opj_jp2_check_color() 909 info[i].cn, nr_channels); in opj_jp2_check_color() 916 if (info[i].asoc > 0 && (OPJ_UINT32)(info[i].asoc - 1) >= nr_channels) { in opj_jp2_check_color() 918 info[i].asoc - 1, nr_channels); in opj_jp2_check_color() 925 while (nr_channels > 0) { in opj_jp2_check_color() 927 if ((OPJ_UINT32)info[i].cn == (nr_channels - 1U)) { in opj_jp2_check_color() 935 --nr_channels; in opj_jp2_check_color() 942 OPJ_UINT16 nr_channels = color->jp2_pclr->nr_channels; in opj_jp2_check_color() local [all …]
|
D | 0022-jp2_apply_pclr_overflow.patch | 10 + for (i = 0; i < nr_channels; ++i) { 18 opj_malloc(nr_channels * sizeof(opj_image_comp_t)); 30 + for (j = 0; j < nr_channels; ++j) {
|
D | 0007-jp2_read_cmap.patch | 8 for (i = 0; i < nr_channels; ++i) {
|
D | 0035-opj_image_data_free.patch | 8 for (j = 0; j < nr_channels; ++j) {
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend_aos.c | 322 int nr_channels) in lp_build_blend_aos() argument 375 nr_channels == 1; in lp_build_blend_aos() 376 boolean alpha_only = nr_channels == 1 && alpha_swizzle == PIPE_SWIZZLE_X; in lp_build_blend_aos() 381 nr_channels); in lp_build_blend_aos() 386 nr_channels); in lp_build_blend_aos() 399 if (state->rgb_func != state->alpha_func && nr_channels > 1 && in lp_build_blend_aos() 419 nr_channels); in lp_build_blend_aos() 428 state->colormask, nr_channels, swizzle); in lp_build_blend_aos()
|
D | lp_bld_blend.h | 72 int nr_channels);
|
D | lp_screen.c | 470 if (format_desc->nr_channels < 3) in llvmpipe_is_format_supported() 500 format_desc->nr_channels == 3 && in llvmpipe_is_format_supported()
|
/external/u-boot/drivers/reset/ |
D | sti-reset.c | 58 int nr_channels; member 175 .nr_channels = ARRAY_SIZE(stih407_powerdowns), 183 .nr_channels = ARRAY_SIZE(stih407_softresets), 190 .nr_channels = ARRAY_SIZE(stih407_picophyresets), 234 if (reset_ctl->id >= reset_desc->nr_channels) in sti_reset_program_hw()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture.c | 311 for (i = 0; i < desc->nr_channels; i++) { in r300_translate_texformat() 318 for (i = 1; i < desc->nr_channels; i++) { in r300_translate_texformat() 324 switch (desc->nr_channels) { in r300_translate_texformat() 381 switch (desc->nr_channels) { in r300_translate_texformat() 390 switch (desc->nr_channels) { in r300_translate_texformat() 401 switch (desc->nr_channels) { in r300_translate_texformat() 415 switch (desc->nr_channels) { in r300_translate_texformat() 426 switch (desc->nr_channels) { in r300_translate_texformat() 615 switch (desc->nr_channels) { in r300_translate_out_fmt() 629 switch (desc->nr_channels) { in r300_translate_out_fmt() [all …]
|
D | r300_state_inlines.h | 367 if (desc->nr_channels > 2) { in r300_translate_vertex_data_type() 374 result = R300_DATA_TYPE_FLOAT_1 + (desc->nr_channels - 1); in r300_translate_vertex_data_type() 389 if (desc->nr_channels > 2) { in r300_translate_vertex_data_type() 432 for (i = 0; i < desc->nr_channels; i++) { in r300_translate_vertex_data_swizzle()
|
D | r300_screen.c | 555 desc->nr_channels == 4 && in r300_is_blending_supported() 565 if (desc->nr_channels >= 3) in r300_is_blending_supported() 572 if (desc->nr_channels == 1) in r300_is_blending_supported()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | translate_test.c | 186 for(i = 0; i < output_format_desc->nr_channels; ++i) in main() 214 for(i = 0; i < input_format_desc->nr_channels; ++i) in main() 227 …&& input_format_size * output_format_desc->nr_channels > output_format_size * input_format_desc->n… in main()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_format_parse.py | 138 def nr_channels(self): member in Format 139 nr_channels = 0 142 nr_channels += 1 143 return nr_channels
|
D | u_format.c | 292 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible() 361 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in util_format_fits_8unorm()
|
D | u_format_table.py | 131 print(" %u,\t/* nr_channels */" % (format.nr_channels(),))
|
D | u_format_pack.py | 55 if format.nr_channels() <= 1: 452 for i in range(format.nr_channels()): 460 for i in range(format.nr_channels()):
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_parse.py | 137 def nr_channels(self): member in Format 138 nr_channels = 0 141 nr_channels += 1 142 return nr_channels
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_copyimage.c | 66 if (desc->nr_channels == 4 && in get_canonical_format() 103 switch (desc->nr_channels) { in get_canonical_format() 199 for (i = 0; i < desc->nr_channels; i++) in has_identity_swizzle() 344 d1->nr_channels != d2->nr_channels || in same_size_and_swizzle() 348 for (i = 0; i < d1->nr_channels; i++) { in same_size_and_swizzle()
|
/external/mesa3d/src/mesa/main/ |
D | format_parser.py | 322 nr_channels = 0 325 nr_channels += 1 326 return nr_channels
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 1476 switch (desc->nr_channels) { in si_translate_colorformat() 1648 if (desc->nr_channels != 4 && desc->nr_channels != 1) in si_translate_texformat() 1765 for (i = 1; i < desc->nr_channels; i++) { in si_translate_texformat() 1771 switch(desc->nr_channels) { in si_translate_texformat() 1809 switch (desc->nr_channels) { in si_translate_texformat() 1819 switch (desc->nr_channels) { in si_translate_texformat() 1829 switch (desc->nr_channels) { in si_translate_texformat() 1839 switch (desc->nr_channels) { in si_translate_texformat() 1987 if (desc->nr_channels == 4 && in si_translate_buffer_dataformat() 1995 for (i = 0; i < desc->nr_channels; i++) { in si_translate_buffer_dataformat() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_soa.c | 321 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in lp_build_unpack_rgba_soa() 650 for (i = 0; i < format_desc->nr_channels; i++) { in lp_build_fetch_rgba_soa() 670 for (i = 0; i < format_desc->nr_channels; i++) { in lp_build_fetch_rgba_soa()
|