Searched refs:mask (Results 1 – 8 of 8) sorted by relevance
71 RK_U32 mask = 1 << i; in hal_bufs_clear() local73 if (impl->valid & mask) { in hal_bufs_clear()84 impl->valid &= ~mask; in hal_bufs_clear()235 RK_U32 mask = 1 << buf_idx; in hal_bufs_get_buf() local237 if (!(impl->valid & mask)) { in hal_bufs_get_buf()255 impl->valid |= mask; in hal_bufs_get_buf()
146 rk_u32 mask = 1 << i; in mpp_plat_srv_init() local148 if (diff_type & mask) { in mpp_plat_srv_init()153 if (srv->soc_info->vcodec_type & mask) { in mpp_plat_srv_init()158 srv->vcodec_type &= ~mask; in mpp_plat_srv_init()
143 RK_U32 x, y, mb, mask, id; in set_segmentation() local155 for (y = 0, mb = 0, mask = 0; y < ctx->mb_per_col; y++) { in set_segmentation()167 mask |= id << (28 - 4 * (mb % 8)); in set_segmentation()169 *map++ = mask; in set_segmentation()170 mask = 0; in set_segmentation()175 *map++ = mask; in set_segmentation()180 for (mb = 0, mask = 0; mb < mapSize / 4; mb++) { in set_segmentation()181 mask = map[mb]; in set_segmentation()184 id = (mask >> (28 - 4 * x)) & 0xF; in set_segmentation()
103 uint8_t /* bit=col */ mask[2 /* 0=y, 1=uv */][2 /* 0=col, 1=row */] member
714 RK_U32 mask = 1 << i; in h264d_callback() local719 if (!(ref_used & mask) || (refer[i] < 0)) in h264d_callback()
1502 RK_U16 mask; in vdpp2_set_param() local1563 mask = (param->com2.cfg_set >> 16) & 0x7; in vdpp2_set_param()1564 cfg_set = (param->com2.cfg_set >> 0) & mask; in vdpp2_set_param()1585 if (mask & VDPP_DMSR_EN) in vdpp2_set_param()1587 if (mask & VDPP_ES_EN) in vdpp2_set_param()1589 if (mask & VDPP_SHARP_EN) in vdpp2_set_param()
1198 RK_U32 mask = 1 << i; in vdpu382_h264_get_ref_used() local1201 if (!(hw_ref_used & mask)) in vdpu382_h264_get_ref_used()
339 - [vdpu383]: fix err detection mask issue