Home
last modified time | relevance | path

Searched refs:mask_buf (Results 1 – 8 of 8) sorted by relevance

/external/selinux/libsepol/src/
Dnodes.c21 char *addr_buf = NULL, *mask_buf = NULL; in node_from_record() local
32 if (sepol_node_get_mask_bytes(handle, data, &mask_buf, &mask_bsize) < 0) in node_from_record()
40 memcpy(&tmp_node->u.node.mask, mask_buf, mask_bsize); in node_from_record()
44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize); in node_from_record()
51 free(mask_buf); in node_from_record()
53 mask_buf = NULL; in node_from_record()
78 free(mask_buf); in node_from_record()
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp264 std::unique_ptr<uint8_t, FxFreeDeleter> mask_buf; in SetImage() local
275 mask_buf.reset(FX_Alloc2D(uint8_t, maskHeight, maskWidth)); in SetImage()
278 memcpy(mask_buf.get() + a * maskWidth, pMaskBitmap->GetScanline(a), in SetImage()
284 std::move(mask_buf), mask_size, std::move(pMaskDict)); in SetImage()
/external/libaom/libaom/av1/encoder/
Dethread.c445 cm, thread_data->td->mask_buf, in create_enc_workers()
447 16, MAX_SB_SQUARE * sizeof(*thread_data->td->mask_buf))); in create_enc_workers()
564 thread_data->td->mb.mask_buf = thread_data->td->mask_buf; in prepare_enc_workers()
Dblock.h289 int32_t *mask_buf; member
Dencoder.h597 int32_t *mask_buf; member
Dencoder.c562 aom_free(cpi->td.mb.mask_buf); in dealloc_compressor_data()
563 cpi->td.mb.mask_buf = NULL; in dealloc_compressor_data()
2723 CHECK_MEM_ERROR(cm, cpi->td.mb.mask_buf, in av1_create_compressor()
2725 16, MAX_SB_SQUARE * sizeof(*cpi->td.mb.mask_buf))); in av1_create_compressor()
3105 aom_free(thread_data->td->mask_buf); in av1_remove_compressor()
Dmcomp.c2587 const int32_t *mask = x->mask_buf; in av1_find_best_obmc_sub_pixel_tree_up()
2896 const int32_t *mask = x->mask_buf; in obmc_full_pixel_diamond()
2963 const int32_t *mask = x->mask_buf; in av1_obmc_full_pixel_search()
Drdopt.c13841 int32_t *mask = ctxt->x->mask_buf + (rel_mi_col * MI_SIZE); in calc_target_weighted_pred_above()
13887 int32_t *mask = ctxt->x->mask_buf + (rel_mi_row * MI_SIZE * bw); in calc_target_weighted_pred_left()
13968 int32_t *mask_buf = x->mask_buf; in calc_target_weighted_pred() local
13979 for (int i = 0; i < bw * bh; ++i) mask_buf[i] = AOM_BLEND_A64_MAX_ALPHA; in calc_target_weighted_pred()
13994 mask_buf[i] *= AOM_BLEND_A64_MAX_ALPHA; in calc_target_weighted_pred()