Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c485 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/
Dradv_formats.c51 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 …]
Dvk_format_table.py79 if format.nr_channels() <= 1:
135 print " %u,\t/* nr_channels */" % (format.nr_channels(),)
Dvk_format_parse.py141 def nr_channels(self): member in Format
142 nr_channels = 0
145 nr_channels += 1
146 return nr_channels
/external/pdfium/third_party/libopenjpeg20/
Djp2.c898 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 …]
D0022-jp2_apply_pclr_overflow.patch10 + 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) {
D0007-jp2_read_cmap.patch8 for (i = 0; i < nr_channels; ++i) {
D0035-opj_image_data_free.patch8 for (j = 0; j < nr_channels; ++j) {
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c322 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()
Dlp_bld_blend.h72 int nr_channels);
Dlp_screen.c470 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/
Dsti-reset.c58 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/
Dr300_texture.c311 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 …]
Dr300_state_inlines.h367 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()
Dr300_screen.c555 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/
Dtranslate_test.c186 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/
Du_format_parse.py138 def nr_channels(self): member in Format
139 nr_channels = 0
142 nr_channels += 1
143 return nr_channels
Du_format.c292 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()
Du_format_table.py131 print(" %u,\t/* nr_channels */" % (format.nr_channels(),))
Du_format_pack.py55 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/
Du_format_parse.py137 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/
Dst_cb_copyimage.c66 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/
Dformat_parser.py322 nr_channels = 0
325 nr_channels += 1
326 return nr_channels
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1476 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/
Dlp_bld_format_soa.c321 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()

123