Radeon ProRender

rifCommandQueueAttachImageFilter

Attaches the image filter to command queue and sets the input and output objects of the filter.

rif_int rifCommandQueueAttachImageFilter( rif_command_queue command_queue,
  rif_image_filter image_filter,
  rif_image input_image,
  rif_image output_image);

Parameters

Parameter Input/Output Description
command_queue input A valid command queue object.
image_filter input A valid image filter object.
input_image input A valid image object.
output_image input A valid image object.

Return

Returns RIF_SUCCESS if the function is executed successfully, or RIF_ERROR code if a problem is encountered.

Errors

Possible error codes:

  • RIF_ERROR_INVALID_QUEUE - command_queue is not a valid command queue object.
  • RIF_ERROR_INVALID_FILTER - image_filter is not a valid image filter object.
  • RIF_ERROR_INVALID_IMAGE - input_image or output_image is not a valid image object.
  • RIF_ERROR_INTERNAL_ERROR - an internal error occurs.