#include <cafe.h> AXPB_ERROR_CODE AXSetDeviceLinearUpsampler(AXPBDeviceType device, u32 deviceId, BOOL flag);
|device||Output device. (only TV & DRC supported)|
|deviceId||Device ID of the device type|
Zero if successful, an error of type
AX implements two upsampling methods. A basic linear interpolation technique that is light on CPU load and a higher quality polyphase FIR filter, which takes more CPU load.
The trade-off is between aliasing noise vs the CPU load. To let developers choose the quality of upsampling filter,
AXSetDeviceLinearUpsampler is introduced.
Setting flag to
TRUE makes the upsampler work as linear interpolator, setting flag to
FALSE makes it work as polyphase filter.
2013/05/08 Automated cleanup pass.
2011/02/21 Initial version.