/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_state.c | 44 uint32_t blend[2], cmask[2]; in nv30_blend_state_create() local 65 cmask[0] = !!(cso->rt[0].colormask & PIPE_MASK_A) << 24 | in nv30_blend_state_create() 71 cmask[1] = 0; in nv30_blend_state_create() 74 cmask[1] |= !!(cso->rt[i].colormask & PIPE_MASK_A) << (0 + (i * 4)) | in nv30_blend_state_create() 81 cmask[1] = 0x00001110 * !!(cmask[0] & 0x01000000); in nv30_blend_state_create() 82 cmask[1] |= 0x00002220 * !!(cmask[0] & 0x00010000); in nv30_blend_state_create() 83 cmask[1] |= 0x00004440 * !!(cmask[0] & 0x00000100); in nv30_blend_state_create() 84 cmask[1] |= 0x00008880 * !!(cmask[0] & 0x00000001); in nv30_blend_state_create() 90 SB_DATA (so, cmask[1]); in nv30_blend_state_create() 114 SB_DATA (so, cmask[0]); in nv30_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 78 if (rdst->cmask.size && rdst->dirty_level_mask & (1 << dst_level)) { in r600_prepare_for_dma_blit() 90 if (rsrc->cmask.size && rsrc->dirty_level_mask & (1 << src_level)) in r600_prepare_for_dma_blit() 335 if (!rtex->cmask.size) in r600_texture_discard_cmask() 341 memset(&rtex->cmask, 0, sizeof(rtex->cmask)); in r600_texture_discard_cmask() 342 rtex->cmask.base_address_reg = rtex->resource.gpu_address >> 8; in r600_texture_discard_cmask() 423 rtex->cmask = new_tex->cmask; in r600_reallocate_texture_inplace() 434 assert(!rtex->cmask.size); in r600_reallocate_texture_inplace() 507 rtex->cmask.size) { in r600_texture_get_handle() 514 if (rtex->cmask.size) in r600_texture_get_handle() 704 r600_texture_get_cmask_info(rscreen, rtex, &rtex->cmask); in r600_texture_allocate_cmask() [all …]
|
D | r600_blit.c | 396 assert(tex->cmask.size); in r600_decompress_color_textures() 420 assert(tex->cmask.size); in r600_decompress_color_images() 460 } else if (rtex->cmask.size) { in r600_decompress_subresource() 857 (!dst->cmask.size || !dst->dirty_level_mask) /* dst cannot be fast-cleared */) { in do_hardware_msaa_resolve() 965 if (!rtex->is_depth && rtex->cmask.size) { in r600_flush_resource()
|
D | r600_state.c | 963 if (rtex->cmask.size) { in r600_init_color_surface() 964 surf->cb_color_cmask = rtex->cmask.offset >> 8; in r600_init_color_surface() 965 surf->cb_color_mask |= S_028100_CMASK_BLOCK_MAX(rtex->cmask.slice_tile_max); in r600_init_color_surface() 981 struct r600_cmask_info cmask; in r600_init_color_surface() local 984 r600_texture_get_cmask_info(&rscreen->b, rtex, &cmask); in r600_init_color_surface() 989 rctx->dummy_cmask->b.b.width0 < cmask.size || in r600_init_color_surface() 990 (1 << rctx->dummy_cmask->buf->alignment_log2) % cmask.alignment != 0) { in r600_init_color_surface() 998 cmask.size, cmask.alignment); in r600_init_color_surface() 1007 memset(ptr, 0xCC, cmask.size); in r600_init_color_surface() 1033 surf->cb_color_mask = S_028100_CMASK_BLOCK_MAX(cmask.slice_tile_max) | in r600_init_color_surface()
|
/third_party/ffmpeg/libavcodec/ |
D | utvideodec.c | 213 const int cmask = compute_cmask(plane_no, c->interlaced, c->avctx->pix_fmt); in decode_plane() local 230 send = (height * (slice + 1) / c->slices) & cmask; in decode_plane() 272 send = (height * (slice + 1) / c->slices) & cmask; in decode_plane() 299 send = (height * (slice + 1) / c->slices) & cmask; in decode_plane() 364 const int cmask = ~rmode; in restore_median_planar() local 367 slice_start = ((slice * height) / slices) & cmask; in restore_median_planar() 368 slice_height = ((((slice + 1) * height) / slices) & cmask) - in restore_median_planar() 416 const int cmask = ~(rmode ? 3 : 1); in restore_median_planar_il() local 420 slice_start = ((slice * height) / slices) & cmask; in restore_median_planar_il() 421 slice_height = ((((slice + 1) * height) / slices) & cmask) - in restore_median_planar_il() [all …]
|
D | utvideoenc.c | 421 const int cmask = ~(!plane_no && avctx->pix_fmt == AV_PIX_FMT_YUV420P); in encode_plane() local 431 send = height * (i + 1) / c->slices & cmask; in encode_plane() 440 send = height * (i + 1) / c->slices & cmask; in encode_plane() 447 send = height * (i + 1) / c->slices & cmask; in encode_plane() 511 send = height * (i + 1) / c->slices & cmask; in encode_plane()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_params.c | 94 params->cmask |= 1 << var; in _snd_pcm_hw_param_any() 100 params->cmask |= 1 << var; in _snd_pcm_hw_param_any() 123 params->cmask = 0; in _snd_pcm_hw_params_any() 236 params->cmask |= 1 << var; in _snd_pcm_hw_param_set_interval() 247 params->cmask |= 1 << var; in _snd_pcm_hw_param_set_empty() 251 params->cmask |= 1 << var; in _snd_pcm_hw_param_set_empty() 265 params->cmask |= 1 << var; in _snd_pcm_hw_param_set_integer() 324 params->cmask |= 1 << var; in _snd_pcm_hw_param_set_first() 366 params->cmask |= 1 << var; in _snd_pcm_hw_param_set_last() 419 params->cmask |= 1 << var; in _snd_pcm_hw_param_set_min() [all …]
|
D | pcm_mmap_emul.c | 106 params->cmask |= 1<<SND_PCM_HW_PARAM_ACCESS; in snd_pcm_mmap_emul_hw_refine() 115 params->cmask |= 1<<SND_PCM_HW_PARAM_ACCESS; in snd_pcm_mmap_emul_hw_refine() 124 params->cmask |= 1<<SND_PCM_HW_PARAM_ACCESS; in snd_pcm_mmap_emul_hw_refine() 135 params->cmask |= 1<<SND_PCM_HW_PARAM_ACCESS; in snd_pcm_mmap_emul_hw_refine()
|
D | pcm_hw.c | 69 unsigned int cmask; member 1962 params->cmask = __OLD_TO_NEW_MASK(oparams->cmask); in snd_pcm_hw_convert_from_old_params() 1972 unsigned int *cmask) in snd_pcm_hw_convert_to_old_params() argument 1982 *cmask |= 1 << i; in snd_pcm_hw_convert_to_old_params() 1988 oparams->cmask = __NEW_TO_OLD_MASK(params->cmask); in snd_pcm_hw_convert_to_old_params() 1999 unsigned int cmask = 0; in use_old_hw_params_ioctl() local 2002 snd_pcm_hw_convert_to_old_params(&oparams, params, &cmask); in use_old_hw_params_ioctl() 2005 params->cmask |= cmask; in use_old_hw_params_ioctl()
|
D | pcm_plug.c | 741 const snd_pcm_access_mask_t *cmask; in check_access_change() local 759 cmask = (const snd_pcm_access_mask_t *) in check_access_change() 763 if (snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_RW_INTERLEAVED) || in check_access_change() 764 snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_MMAP_INTERLEAVED)) { in check_access_change() 769 if (snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_RW_NONINTERLEAVED) || in check_access_change() 770 snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_MMAP_NONINTERLEAVED)) { in check_access_change()
|
D | pcm_multi.c | 262 unsigned int cmask, changed; in snd_pcm_multi_hw_refine() local 274 cmask = params->cmask; in snd_pcm_multi_hw_refine() 275 params->cmask = 0; in snd_pcm_multi_hw_refine() 289 changed = params->cmask; in snd_pcm_multi_hw_refine() 290 params->cmask |= cmask; in snd_pcm_multi_hw_refine()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 432 VkColorComponentFlags cmask, 479 VkColorComponentFlags cmask = 0; /* All components */ in copy_image_to_buffer_blit() local 518 cmask = VK_COLOR_COMPONENT_R_BIT | in copy_image_to_buffer_blit() 728 cmask, &cswizzle, in copy_image_to_buffer_blit() 1566 VkColorComponentFlags cmask, in get_texel_buffer_copy_pipeline_cache_key() argument 1578 *p = cmask; in get_texel_buffer_copy_pipeline_cache_key() 1828 VkColorComponentFlags cmask, in create_texel_buffer_copy_pipeline() argument 1856 .colorWriteMask = cmask, in create_texel_buffer_copy_pipeline() 1890 VkColorComponentFlags cmask, in get_copy_texel_buffer_pipeline() argument 1899 get_texel_buffer_copy_pipeline_cache_key(format, cmask, cswizzle, is_layered, in get_copy_texel_buffer_pipeline() [all …]
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_opt_dce.c | 87 unsigned cmask = mir_from_bytemask(rounded, type_size); in midgard_opt_dead_code_eliminate_block() local 89 ins->mask &= cmask; in midgard_opt_dead_code_eliminate_block()
|
D | mir.c | 278 unsigned cmask = 0; in mir_bytemask_of_read_components_single() local 282 cmask |= (1 << swizzle[c]); in mir_bytemask_of_read_components_single() 285 return pan_to_bytemask(bits, cmask); in mir_bytemask_of_read_components_single()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_alu.c | 152 … nir_ssa_def *cmask = nir_imm_intN_t(b, (1ull << (src0->bit_size / 2)) - 1, src0->bit_size); in lower_alu_instr() local 170 nir_ssa_def *src0l = nir_iand(b, src0, cmask); in lower_alu_instr() 171 nir_ssa_def *src1l = nir_iand(b, src1, cmask); in lower_alu_instr()
|
/third_party/musl/porting/linux/user/src/malloc/mallocng/ |
D | malloc.c | 50 uint32_t cmask; in get_randomIdx() local 55 cmask = ~((2u << (last_idx - r)) - 1); in get_randomIdx() 57 if (mask & cmask) { in get_randomIdx() 58 idx = 31 - a_clz_32(mask & cmask); in get_randomIdx()
|
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
D | cipher_aes_cbc_hmac_sha1_hw.c | 604 unsigned int c, cmask; in aesni_cbc_hmac_sha1_cipher() local 608 cmask = in aesni_cbc_hmac_sha1_cipher() 611 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha1_cipher() 612 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha1_cipher() 613 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha1_cipher() 614 i += 1 & cmask; in aesni_cbc_hmac_sha1_cipher()
|
D | cipher_aes_cbc_hmac_sha256_hw.c | 656 unsigned int c, cmask; in aesni_cbc_hmac_sha256_cipher() local 662 cmask = in aesni_cbc_hmac_sha256_cipher() 665 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha256_cipher() 666 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha256_cipher() 667 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha256_cipher() 668 i += 1 & cmask; in aesni_cbc_hmac_sha256_cipher()
|
/third_party/openssl/providers/implementations/ciphers/ |
D | cipher_aes_cbc_hmac_sha1_hw.c | 604 unsigned int c, cmask; in aesni_cbc_hmac_sha1_cipher() local 608 cmask = in aesni_cbc_hmac_sha1_cipher() 611 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha1_cipher() 612 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha1_cipher() 613 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha1_cipher() 614 i += 1 & cmask; in aesni_cbc_hmac_sha1_cipher()
|
D | cipher_aes_cbc_hmac_sha256_hw.c | 656 unsigned int c, cmask; in aesni_cbc_hmac_sha256_cipher() local 662 cmask = in aesni_cbc_hmac_sha256_cipher() 665 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha256_cipher() 666 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha256_cipher() 667 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha256_cipher() 668 i += 1 & cmask; in aesni_cbc_hmac_sha256_cipher()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | e_aes_cbc_hmac_sha1.c | 703 unsigned int c, cmask; in aesni_cbc_hmac_sha1_cipher() local 707 cmask = in aesni_cbc_hmac_sha1_cipher() 710 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha1_cipher() 711 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha1_cipher() 712 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha1_cipher() 713 i += 1 & cmask; in aesni_cbc_hmac_sha1_cipher()
|
D | e_aes_cbc_hmac_sha256.c | 707 unsigned int c, cmask; in aesni_cbc_hmac_sha256_cipher() local 712 cmask = in aesni_cbc_hmac_sha256_cipher() 715 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha256_cipher() 716 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha256_cipher() 717 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha256_cipher() 718 i += 1 & cmask; in aesni_cbc_hmac_sha256_cipher()
|
/third_party/openssl/crypto/evp/ |
D | e_aes_cbc_hmac_sha1.c | 703 unsigned int c, cmask; in aesni_cbc_hmac_sha1_cipher() local 707 cmask = in aesni_cbc_hmac_sha1_cipher() 710 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha1_cipher() 711 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha1_cipher() 712 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha1_cipher() 713 i += 1 & cmask; in aesni_cbc_hmac_sha1_cipher()
|
D | e_aes_cbc_hmac_sha256.c | 707 unsigned int c, cmask; in aesni_cbc_hmac_sha256_cipher() local 712 cmask = in aesni_cbc_hmac_sha256_cipher() 715 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha256_cipher() 716 cmask &= ((int)(off - 1 - j)) >> (sizeof(int) * 8 - 1); in aesni_cbc_hmac_sha256_cipher() 717 res |= (c ^ pmac->c[i]) & cmask; in aesni_cbc_hmac_sha256_cipher() 718 i += 1 & cmask; in aesni_cbc_hmac_sha256_cipher()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.1.9.rst | 126 - radv: initialize with expanded cmask if the destination layout needs it
|