Home
last modified time | relevance | path

Searched refs:cmask (Results 1 - 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state.c44 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[ in nv30_blend_state_create()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_texture.c78 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 in r600_texture_get_handle()
[all...]
H A Dr600_blit.c396 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()
H A Dr600_state.c963 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()
971 } else { /* cmask only */ 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 in r600_init_color_surface()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dutvideodec.c213 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()
471 const int cmask = ~rmode; restore_gradient_planar() local
512 const int cmask = ~(rmode ? 3 : 1); restore_gradient_planar_il() local
[all...]
H A Dutvideoenc.c390 const int cmask = ~(!plane_no && avctx->pix_fmt == AV_PIX_FMT_YUV420P); in encode_plane() local
400 send = height * (i + 1) / c->slices & cmask; in encode_plane()
409 send = height * (i + 1) / c->slices & cmask; in encode_plane()
416 send = height * (i + 1) / c->slices & cmask; in encode_plane()
480 send = height * (i + 1) / c->slices & cmask; in encode_plane()
/third_party/alsa-lib/src/pcm/
H A Dpcm_params.c94 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 | in _snd_pcm_hw_param_set_min()
2226 unsigned int cmask, changed; snd_pcm_hw_refine_slave() local
[all...]
H A Dpcm_mmap_emul.c106 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()
H A Dpcm_hw.c69 unsigned int cmask; member
2112 params->cmask = __OLD_TO_NEW_MASK(oparams->cmask); in snd_pcm_hw_convert_from_old_params()
2122 unsigned int *cmask) in snd_pcm_hw_convert_to_old_params()
2132 *cmask |= 1 << i; in snd_pcm_hw_convert_to_old_params()
2138 oparams->cmask = __NEW_TO_OLD_MASK(params->cmask); in snd_pcm_hw_convert_to_old_params()
2149 unsigned int cmask = 0; in use_old_hw_params_ioctl() local
2152 snd_pcm_hw_convert_to_old_params(&oparams, params, &cmask); in use_old_hw_params_ioctl()
2155 params->cmask | in use_old_hw_params_ioctl()
2120 snd_pcm_hw_convert_to_old_params(struct sndrv_pcm_hw_params_old *oparams, snd_pcm_hw_params_t *params, unsigned int *cmask) snd_pcm_hw_convert_to_old_params() argument
[all...]
H A Dpcm_plug.c770 const snd_pcm_access_mask_t *cmask; in check_access_change() local
788 cmask = (const snd_pcm_access_mask_t *) in check_access_change()
792 if (snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_RW_INTERLEAVED) || in check_access_change()
793 snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_MMAP_INTERLEAVED)) { in check_access_change()
798 if (snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_RW_NONINTERLEAVED) || in check_access_change()
799 snd_pcm_access_mask_test(cmask, SND_PCM_ACCESS_MMAP_NONINTERLEAVED)) { in check_access_change()
H A Dpcm_multi.c262 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/
H A Dv3dv_meta_copy.c432 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()
1578 *p = cmask; in get_texel_buffer_copy_pipeline_cache_key()
1828 VkColorComponentFlags cmask, in create_texel_buffer_copy_pipeline()
1856 .colorWriteMask = cmask, in create_texel_buffer_copy_pipeline()
1890 VkColorComponentFlags cmask, in get_copy_texel_buffer_pipeline()
1899 get_texel_buffer_copy_pipeline_cache_key(format, cmask, cswizzl in get_copy_texel_buffer_pipeline()
1565 get_texel_buffer_copy_pipeline_cache_key(VkFormat format, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, bool is_layered, uint8_t *key) get_texel_buffer_copy_pipeline_cache_key() argument
1826 create_texel_buffer_copy_pipeline(struct v3dv_device *device, VkFormat format, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, bool is_layered, VkRenderPass _pass, VkPipelineLayout pipeline_layout, VkPipeline *pipeline) create_texel_buffer_copy_pipeline() argument
1887 get_copy_texel_buffer_pipeline( struct v3dv_device *device, VkFormat format, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, VkImageType image_type, bool is_layered, struct v3dv_meta_texel_buffer_copy_pipeline **pipeline) get_copy_texel_buffer_pipeline() argument
1959 texel_buffer_shader_copy(struct v3dv_cmd_buffer *cmd_buffer, VkImageAspectFlags aspect, struct v3dv_image *image, VkFormat dst_format, VkFormat src_format, struct v3dv_buffer *buffer, uint32_t buffer_bpp, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, uint32_t region_count, const VkBufferImageCopy2 *regions) texel_buffer_shader_copy() argument
2290 copy_buffer_to_image_blit(struct v3dv_cmd_buffer *cmd_buffer, VkImageAspectFlags aspect, struct v3dv_image *image, VkFormat dst_format, VkFormat src_format, struct v3dv_buffer *buffer, uint32_t buffer_bpp, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, uint32_t region_count, const VkBufferImageCopy2 *regions) copy_buffer_to_image_blit() argument
2559 VkColorComponentFlags cmask = 0; /* Write all components */ copy_buffer_to_image_shader() local
2954 get_blit_pipeline_cache_key(VkFormat dst_format, VkFormat src_format, VkColorComponentFlags cmask, VkSampleCountFlagBits dst_samples, VkSampleCountFlagBits src_samples, uint8_t *key) get_blit_pipeline_cache_key() argument
3507 create_blit_pipeline(struct v3dv_device *device, VkFormat dst_format, VkFormat src_format, VkColorComponentFlags cmask, VkImageType src_type, VkSampleCountFlagBits dst_samples, VkSampleCountFlagBits src_samples, VkRenderPass _pass, VkPipelineLayout pipeline_layout, VkPipeline *pipeline) create_blit_pipeline() argument
3580 get_blit_pipeline(struct v3dv_device *device, VkFormat dst_format, VkFormat src_format, VkColorComponentFlags cmask, VkImageType src_type, VkSampleCountFlagBits dst_samples, VkSampleCountFlagBits src_samples, struct v3dv_meta_blit_pipeline **pipeline) get_blit_pipeline() argument
3792 blit_shader(struct v3dv_cmd_buffer *cmd_buffer, struct v3dv_image *dst, VkFormat dst_format, struct v3dv_image *src, VkFormat src_format, VkColorComponentFlags cmask, VkComponentMapping *cswizzle, const VkImageBlit2 *region, VkFilter filter, bool dst_is_padded_image) blit_shader() argument
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_opt_dce.c87 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()
H A Dmir.c278 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/
H A Dnir_lower_alu.c152 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/src/malloc/mallocng/
H A Dmalloc.c52 uint32_t cmask; in get_randomIdx() local
57 cmask = ~((2u << (last_idx - r)) - 1); in get_randomIdx()
59 if (mask & cmask) { in get_randomIdx()
60 idx = 31 - a_clz_32(mask & cmask); in get_randomIdx()
/third_party/musl/porting/linux/user/src/malloc/mallocng/
H A Dmalloc.c50 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/
H A Dcipher_aes_cbc_hmac_sha1_hw.c604 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()
H A Dcipher_aes_cbc_hmac_sha256_hw.c656 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/
H A Dcipher_aes_cbc_hmac_sha1_hw.c604 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()
H A Dcipher_aes_cbc_hmac_sha256_hw.c656 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/
H A De_aes_cbc_hmac_sha256.c707 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()
H A De_aes_cbc_hmac_sha1.c703 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()
/third_party/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c707 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()
H A De_aes_cbc_hmac_sha1.c703 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()

Completed in 33 milliseconds

12