Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

FisheyeInfo doesn't match to OpenCL program. #831

Description

@eliao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions