Lines Matching refs:XCAM_ASSERT

140     XCAM_ASSERT (scale < 512);  in get_gauss_coeffs()
166 XCAM_ASSERT (coeff); in gauss_blur_buffer()
172 XCAM_ASSERT (tmp_ptr); in gauss_blur_buffer()
229 XCAM_ASSERT (layer < _layers); in get_gauss_image()
230 XCAM_ASSERT (buf_index < XCAM_BLENDER_IMAGE_NUM); in get_gauss_image()
238 XCAM_ASSERT (layer < _layers); in get_lap_image()
239 XCAM_ASSERT (buf_index < XCAM_BLENDER_IMAGE_NUM); in get_lap_image()
248 XCAM_ASSERT (layer < _layers); in get_blend_image()
257 XCAM_ASSERT (layer < _layers); in get_reconstruct_image()
272 XCAM_ASSERT (layer < _layers); in get_blend_mask()
280 XCAM_ASSERT (layer < _layers); in get_seam_mask()
323 XCAM_ASSERT (in0_info.height == in1_info.height); in bind_buf_to_layer0()
324 XCAM_ASSERT (merge0_rect.width == merge1_rect.width); in bind_buf_to_layer0()
359 XCAM_ASSERT (cl_buf.ptr () && cl_buf->is_valid ()); in bind_buf_to_layer0()
366 XCAM_ASSERT (this->blend_image[i_plane][ReconstructImageIndex].ptr ()); in bind_buf_to_layer0()
374 XCAM_ASSERT (this->blend_width && this->blend_height); in init_layer0()
448 XCAM_ASSERT (cl_buf.ptr () && cl_buf->is_valid ()); in build_cl_images()
451 XCAM_ASSERT (this->gauss_image[plane][i_image].ptr ()); in build_cl_images()
461 XCAM_ASSERT (cl_buf.ptr () && cl_buf->is_valid ()); in build_cl_images()
464 XCAM_ASSERT (this->blend_image[plane][ReconstructImageIndex].ptr ()); in build_cl_images()
474 XCAM_ASSERT (this->blend_image[plane][BlendImageIndex].ptr ()); in build_cl_images()
477 XCAM_ASSERT (this->lap_image[plane][i_image].ptr ()); in build_cl_images()
488 XCAM_ASSERT (this->mask_width[0]); in copy_mask_from_y_to_uv()
489 XCAM_ASSERT (this->blend_mask[0].ptr ()); in copy_mask_from_y_to_uv()
493 XCAM_ASSERT (this->blend_mask[1].ptr ()); in copy_mask_from_y_to_uv()
504 XCAM_ASSERT (i * 2 < (int)this->mask_width[0]); in copy_mask_from_y_to_uv()
567 XCAM_ASSERT (to.blend_mask[0].ptr ()); in gauss_fill_mask()
577 XCAM_ASSERT (i * 2 < (int)prev.mask_width[0]); in gauss_fill_mask()
661 XCAM_ASSERT (_seam_pos_offset_x + _seam_pos_valid_width <= _seam_width); in init_seam_buffers()
663 XCAM_ASSERT (layer0.blend_width > 0 && layer0.blend_height > 0); in init_seam_buffers()
710XCAM_ASSERT (cl_buf0.ptr () && cl_buf0->is_valid () && cl_buf1.ptr () && cl_buf1->is_valid ()); in init_seam_buffers()
745 XCAM_ASSERT (_seam_pos_buf.ptr () && _seam_sum_buf.ptr ()); in fill_seam_mask()
860 XCAM_ASSERT (image_in0.ptr () && image_in1.ptr () && image_out.ptr ()); in prepare_arguments()
888 XCAM_ASSERT (layer <= XCAM_CL_PYRAMID_MAX_LEVEL); in CLPyramidTransformKernel()
889 XCAM_ASSERT (buf_index <= XCAM_BLENDER_IMAGE_NUM); in CLPyramidTransformKernel()
941 XCAM_ASSERT (gauss_offset_x * 8 == get_input_gauss_offset_x ()); in prepare_arguments()
1029 XCAM_ASSERT (image.ptr () && pos_buf.ptr () && sum_buf.ptr ()); in prepare_arguments()
1041 XCAM_ASSERT (convert_image.ptr () && convert_image->is_valid ()); in prepare_arguments()
1068 XCAM_ASSERT (layer < blender->get_layers ()); in CLPyramidSeamMaskKernel()
1084 XCAM_ASSERT (input_image.ptr () && out_gauss.ptr ()); in prepare_arguments()
1085 XCAM_ASSERT (input_image->is_valid () && out_gauss->is_valid ()); in prepare_arguments()
1144 XCAM_ASSERT (layer <= XCAM_CL_PYRAMID_MAX_LEVEL); in CLPyramidLapKernel()
1145 XCAM_ASSERT (buf_index <= XCAM_BLENDER_IMAGE_NUM); in CLPyramidLapKernel()
1206 XCAM_ASSERT (cur_gauss_offset_x * 8 == get_cur_gauss_offset_x ()); in prepare_arguments()
1208 XCAM_ASSERT (lap_offset_x * 8 == get_output_lap_offset_x ()); in prepare_arguments()
1237 XCAM_ASSERT (layer <= XCAM_CL_PYRAMID_MAX_LEVEL); in CLPyramidReconstructKernel()
1246 XCAM_ASSERT (window.pos_x % XCAM_CL_BLENDER_ALIGNMENT_X == 0); in get_output_reconstrcut_offset_x()
1295 XCAM_ASSERT (out_reconstruct_offset_x * 8 == get_output_reconstrcut_offset_x ()); in prepare_arguments()
1374 XCAM_ASSERT (ret == XCAM_RETURN_NO_ERROR); in dump_buffers()
1515 XCAM_ASSERT (_image_in.ptr ()); in get_output_info()
1564 XCAM_ASSERT (max_g_x > 0 && max_g_x <= (int)to_desc.width); in prepare_arguments()
1598 XCAM_ASSERT (kernel.ptr ()); in create_pyramid_transform_kernel()
1619 XCAM_ASSERT (kernel.ptr ()); in create_pyramid_lap_kernel()
1642 XCAM_ASSERT (kernel.ptr ()); in create_pyramid_reconstruct_kernel()
1670 XCAM_ASSERT (kernel.ptr ()); in create_pyramid_blend_kernel()
1690 XCAM_ASSERT (kernel.ptr ()); in create_pyramid_blender_local_scale_kernel()
1711 XCAM_ASSERT (kernel.ptr ()); in create_pyramid_copy_kernel()
1726 XCAM_ASSERT (kernel.ptr ()); in create_seam_diff_kernel()
1741 XCAM_ASSERT (kernel.ptr ()); in create_seam_DP_kernel()
1764 XCAM_ASSERT (kernel.ptr ()); in create_seam_mask_scale_kernel()
1793 XCAM_ASSERT (blender.ptr ()); in create_pyramid_blender()