Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
AOFormatInspector

AOFormatInspector

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

AOFormatInspector

Rate a format

Synopsis:

static AOFormatInspector media_filter =
{
    RateFormat
};

Description:

This interface defines the functions required to determine if a given format can be processed with this inspector's addon. It defines a single function:

RateFormat()

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

This function should return a rating, from 0 to 100, of how sure the addon is that it can process data of the given format, where 100 is the best rating. You can use this function before you create a handle for a filter.


Note: As a guideline, multimedia rating functions in existing addons return 80 when they can process data.

Classification:

Neutrino

See also:

AoExtInspector, AoMimetypeInspector, AoStreamInspector

Extending the Multimedia Framework.