hbVPHBDemosaicing

int32_t hbVPHBDemosaicing(hbUCPTaskHandle_t *taskHandle, 
                          hbVPImage *dstImg,
                          hbVPImage const *srcImg);

The API for calling the Demosaicing. Both the minimum width and height of the image are 2 pixels.

  • Parameter
    • [out] taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.
    • [in/out] dstImg The output picture, type supports S16C1, format supports RGB_P and size are the same as the input picture.
    • [in] srcImg The input picture, type supports S16C1 and format supports RAW_RGGB_COMP_16.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.