Radeon ProRender

BGRA TO RGBA Conversion Filter

Filter

RIF_IMAGE_FILTER_BGRA_TO_RGBA

Description

Converts BGRA to RGBA and vice versa.

Usage Example

rif_image_filter denoiseFilter = nullptr;
rifContextCreateImageFilter(context, RIF_IMAGE_FILTER_BGRA_TO_RGBA, &denoiseFilter);
rifCommandQueueAttachImageFilter(queue, filter, inputImage, outputImage);
rifContextExecuteCommandQueue(context, queue, nullptr, nullptr, nullptr);