RateFormat()

Synopsis:

#include <aoi.h>

int32_t (*RateFormat)(const AODataFormat_t *format);

Arguments:

format
The media format you want to rate.

Description:

This function should return a rating for the given media format. Usually this function checks the media type and four character code (fourcc). If it has more stringent requirements, it checks the AODataFormat_t's corresponding union members.

Returns:

A rating from 0 to 100 of how well the addon can handle the given media format. 100 is best rating.