Lines Matching refs:mask_width
197 mask_width [plane] = 0; in PyramidLayer()
377 this->mask_width[0] = this->blend_width; in init_layer0()
378 uint32_t mask_size = this->mask_width[0] * sizeof (float); in init_layer0()
387 for (uint32_t i_ptr = 0; i_ptr < this->mask_width[0]; ++i_ptr) { in init_layer0()
388 if (i_ptr <= this->mask_width[0] / 2) in init_layer0()
394 gauss_blur_buffer (this->blend_mask[0], this->mask_width[0], mask_radius, mask_sigma); in init_layer0()
488 XCAM_ASSERT (this->mask_width[0]); in copy_mask_from_y_to_uv()
491 this->mask_width[1] = (this->mask_width[0] + 1) / 2; in copy_mask_from_y_to_uv()
492 this->blend_mask[1] = new CLBuffer (context, this->mask_width[1] * sizeof(float)); in copy_mask_from_y_to_uv()
497 ret = this->blend_mask[1]->enqueue_map ((void*&)to_ptr, 0, this->mask_width[1] * sizeof(float)); in copy_mask_from_y_to_uv()
499 … ret = this->blend_mask[0]->enqueue_map((void*&)from_ptr, 0, this->mask_width[0] * sizeof(float)); in copy_mask_from_y_to_uv()
502 for (int i = 0; i < (int)this->mask_width[1]; ++i) { in copy_mask_from_y_to_uv()
503 if (i * 2 + 1 >= (int)this->mask_width[0]) { // todo i* 2 + 1 in copy_mask_from_y_to_uv()
504 XCAM_ASSERT (i * 2 < (int)this->mask_width[0]); in copy_mask_from_y_to_uv()
538 …r_layer.blend_mask[plane]->enqueue_map ((void*&)mask_ptr, 0, pyr_layer.mask_width[plane] * sizeof(… in dump_layer_mask()
544 …printf ("layer(%d)(-%s) mask, width:%d\n", layer, (is_uv ? "UV" : "Y"), pyr_layer.mask_width[plane… in dump_layer_mask()
545 for (uint32_t i = 0; i < pyr_layer.mask_width[plane]; ++i) { in dump_layer_mask()
560 uint32_t prev_size = prev.mask_width[0] * sizeof (float); in gauss_fill_mask()
565 to.mask_width[0] = to.blend_width; in gauss_fill_mask()
576 if (i * 2 + 1 >= (int)prev.mask_width[0]) { // todo i* 2 + 1 in gauss_fill_mask()
577 XCAM_ASSERT (i * 2 < (int)prev.mask_width[0]); in gauss_fill_mask()
586 gauss_blur_buffer (to.blend_mask[0], to.mask_width[0], mask_radius, mask_sigma); in gauss_fill_mask()
697 uint32_t mask_width = XCAM_ALIGN_UP(_seam_width, XCAM_CL_BLENDER_ALIGNMENT_X); in init_seam_buffers() local
702 cl_desc.width = mask_width / 8; in init_seam_buffers()
721 mask_width = XCAM_ALIGN_UP(mask_width / 2, XCAM_CL_BLENDER_ALIGNMENT_X); in init_seam_buffers()