Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FisheyeInfo doesn't match to OpenCL program. #831

Open
eliao opened this issue Sep 22, 2023 · 0 comments
Open

FisheyeInfo doesn't match to OpenCL program. #831

eliao opened this issue Sep 22, 2023 · 0 comments

Comments

@eliao
Copy link

eliao commented Sep 22, 2023

Hi,

I am trying to use libxcam to perform image stitching. While running the test-image-stitching program, I get an error:

XCAM ERROR cl_kernel.cpp:381: kernel(kernel_fisheye_2_gps) set arg_index(3) failed with -51:CL_INVALID_ARG_SIZE

When I look at this argument, it appears to be the FisheyeInfo argument.

In the shader, it looks like
typedef struct { IntrinsicParameter intrinsic; ExtrinsicParameter extrinsic; float radius; float distort_coeff[4]; float c_coeff[4]; } FisheyeInfo;

But in data_types.h it doesn't look the same. Notably, there's an extra camera_id field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant