equal
deleted
inserted
replaced
77 */ |
77 */ |
78 class DefaultSampler: public Sampler |
78 class DefaultSampler: public Sampler |
79 { |
79 { |
80 int phase; |
80 int phase; |
81 int subsample; // 0,1 = no, 1+ = size of sampling grid |
81 int subsample; // 0,1 = no, 1+ = size of sampling grid |
82 int oversample; // 0 = no, 1 = 5x, 2 = 9x, 3 = 16x |
82 int oversample; // 0 = no, 1 = 4x, 2 = 9x, 3 = 16x |
83 int sx,sy,osa_samp; // current sample properties |
83 int sx,sy,osa_samp; // current sample properties |
84 public: |
84 public: |
85 DefaultSampler(Float *abuffer, int &aw, int &ah): |
85 DefaultSampler(Float *abuffer, int &aw, int &ah): |
86 Sampler(abuffer, aw, ah), phase(-1), subsample(0), oversample(0) {}; |
86 Sampler(abuffer, aw, ah), phase(-1), subsample(0), oversample(0) {}; |
87 void init(); |
87 void init(); |