ScaledPixelBuffer::ScaledPixelBuffer(U8 **src_data_, int src_width_,
int src_height_, int scale, PixelFormat pf_)
: xWeightTabs(0), yWeightTabs(0), scaled_data(0), scale_ratio(1),
- scaleFilterID(scaleFilterBilinear) {
+ scaleFilterID(scaleFilterBicubic) {
setSourceBuffer(src_data_, src_width_, src_height_);
setPF(pf_);
ScaledPixelBuffer::ScaledPixelBuffer()
: src_data(0), src_width(0), src_height(0), scale_ratio(1), scaled_width(0),
xWeightTabs(0), yWeightTabs(0), scaled_height(0), scaled_data(0),
- scaleFilterID(scaleFilterBilinear) {
+ scaleFilterID(scaleFilterBicubic) {
memset(&pf, 0, sizeof(pf));
}