source_type
span_image_resample_affine(source_type& src,
span_image_resample(source_type& src,
span_image_filter(source_type& src,
void attach(source_type& v) { m_src = &v; }
source_type& source() { return *m_src; }
const source_type& source() const { return *m_src; }
source_type* m_src;
span_image_filter_gray_bilinear(source_type& src,
typedef typename source_type::color_type color_type;
span_image_filter_gray_bilinear_clip(source_type& src,
typedef typename source_type::color_type color_type;
span_image_filter_gray_2x2(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::color_type color_type;
span_image_filter_gray(source_type& src,
typedef typename source_type::color_type color_type;
typedef span_image_resample_affine<source_type> base_type;
span_image_filter_gray_nn(source_type& src,
span_image_resample_gray_affine(source_type& src,
typedef typename source_type::color_type color_type;
span_image_resample_gray(source_type& src,
typedef typename source_type::color_type color_type;
span_image_filter_rgb_bilinear(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_filter_rgb_bilinear_clip(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_filter_rgb_2x2(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_filter_rgb_nn(source_type& src,
span_image_filter_rgb(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
typedef span_image_resample_affine<source_type> base_type;
span_image_resample_rgb_affine(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_resample_rgb(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_filter_rgba_bilinear(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_filter_rgba_bilinear_clip(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_filter_rgba_2x2(source_type& src,
span_image_filter_rgba_nn(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_filter_rgba(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
typedef span_image_resample_affine<source_type> base_type;
span_image_resample_rgba_affine(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_image_resample_rgba(source_type& src,
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
typedef typename source_type::color_type color_type;
span_pattern_gray(source_type& src,
void attach(source_type& v) { m_src = &v; }
source_type& source() { return *m_src; }
const source_type& source() const { return *m_src; }
source_type* m_src;
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_pattern_rgb(source_type& src,
void attach(source_type& v) { m_src = &v; }
source_type& source() { return *m_src; }
const source_type& source() const { return *m_src; }
source_type* m_src;
typedef typename source_type::color_type color_type;
typedef typename source_type::order_type order_type;
span_pattern_rgba(source_type& src,
void attach(source_type& v) { m_src = &v; }
source_type& source() { return *m_src; }
const source_type& source() const { return *m_src; }
source_type* m_src;
fOutputChannelInfo[i].source_type[k] = oldInfo[j].source_type[k];
fOutputChannelInfo[0].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_LEFT);
fOutputChannelInfo[0].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_RIGHT);
fOutputChannelInfo[0].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_REARLEFT);
fOutputChannelInfo[0].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_REARRIGHT);
fOutputChannelInfo[0].source_type[4] = ChannelMaskToChannelType(B_CHANNEL_CENTER);
fOutputChannelInfo[0].source_type[5] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[0].source_type[6] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[0].source_type[7] = ChannelMaskToChannelType(B_CHANNEL_SIDE_LEFT);
fOutputChannelInfo[0].source_type[8] = ChannelMaskToChannelType(B_CHANNEL_SIDE_RIGHT);
fOutputChannelInfo[0].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_LEFT);
fOutputChannelInfo[0].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_REARLEFT);
fOutputChannelInfo[0].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_CENTER);
fOutputChannelInfo[0].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[0].source_type[4] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[0].source_type[5] = ChannelMaskToChannelType(B_CHANNEL_SIDE_LEFT);
fOutputChannelInfo[1].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_RIGHT);
fOutputChannelInfo[1].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_REARRIGHT);
fOutputChannelInfo[1].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_CENTER);
fOutputChannelInfo[1].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[1].source_type[4] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[1].source_type[5] = ChannelMaskToChannelType(B_CHANNEL_SIDE_RIGHT);
fOutputChannelInfo[0].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_LEFT);
fOutputChannelInfo[0].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_CENTER);
fOutputChannelInfo[0].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[0].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[0].source_type[4] = ChannelMaskToChannelType(B_CHANNEL_SIDE_LEFT);
fOutputChannelInfo[1].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_RIGHT);
fOutputChannelInfo[1].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_CENTER);
fOutputChannelInfo[1].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[1].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[1].source_type[4] = ChannelMaskToChannelType(B_CHANNEL_SIDE_RIGHT);
fOutputChannelInfo[2].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_REARLEFT);
fOutputChannelInfo[2].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[2].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[2].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SIDE_LEFT);
fOutputChannelInfo[3].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_REARRIGHT);
fOutputChannelInfo[3].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[3].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[3].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SIDE_RIGHT);
fOutputChannelInfo[0].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_LEFT);
fOutputChannelInfo[0].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[0].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[0].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SIDE_LEFT);
fOutputChannelInfo[1].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_RIGHT);
fOutputChannelInfo[1].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[1].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[1].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SIDE_RIGHT);
fOutputChannelInfo[2].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_REARLEFT);
fOutputChannelInfo[2].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[2].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[2].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SIDE_LEFT);
fOutputChannelInfo[3].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_REARRIGHT);
fOutputChannelInfo[3].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[3].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[3].source_type[3] = ChannelMaskToChannelType(B_CHANNEL_SIDE_RIGHT);
fOutputChannelInfo[4].source_type[0] = ChannelMaskToChannelType(B_CHANNEL_CENTER);
fOutputChannelInfo[4].source_type[1] = ChannelMaskToChannelType(B_CHANNEL_SUB);
fOutputChannelInfo[4].source_type[2] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[0].source_type[fOutputChannelInfo[0].source_count] = ChannelMaskToChannelType(B_CHANNEL_MONO);
fOutputChannelInfo[1].source_type[fOutputChannelInfo[1].source_count] = ChannelMaskToChannelType(B_CHANNEL_MONO);
TRACE("AssignDefaultSources: output channel %d, source index %d: source_type %2d, source_gain %.3f\n", i, j, fOutputChannelInfo[i].source_type[j], fOutputChannelInfo[i].source_gain[j]);
MixerOutput::AddOutputChannelSource(int channel, int source_type)
if (source_type < 0 || source_type >= MAX_CHANNEL_TYPES)
if (fOutputChannelInfo[channel].source_type[i] == source_type)
float source_gain = fOutputChannelInfo[channel].source_gain_cache[source_type];
fOutputChannelInfo[channel].source_type[fOutputChannelInfo[channel].source_count] = source_type;
MixerOutput::RemoveOutputChannelSource(int channel, int source_type)
if (fOutputChannelInfo[channel].source_type[i] == source_type) {
fOutputChannelInfo[channel].source_gain_cache[source_type] = fOutputChannelInfo[channel].source_gain[i];
fOutputChannelInfo[channel].source_type[i] = fOutputChannelInfo[channel].source_type[fOutputChannelInfo[channel].source_count - 1];
MixerOutput::SetOutputChannelSourceGain(int channel, int source_type, float source_gain)
if (fOutputChannelInfo[channel].source_type[i] == source_type) {
if (source_type < 0 || source_type >= MAX_CHANNEL_TYPES)
fOutputChannelInfo[channel].source_gain_cache[source_type] = source_gain;
MixerOutput::GetOutputChannelSourceGain(int channel, int source_type)
if (fOutputChannelInfo[channel].source_type[i] == source_type) {
if (source_type < 0 || source_type >= MAX_CHANNEL_TYPES)
return fOutputChannelInfo[channel].source_gain_cache[source_type];
MixerOutput::HasOutputChannelSource(int channel, int source_type)
if (fOutputChannelInfo[channel].source_type[i] == source_type) {
fOutputChannelInfo[i].source_type[0] = fOutputChannelInfo[i].channel_type;
int *source_type,
*source_type = fOutputChannelInfo[channel].source_type[source_index];
int source_type);
int source_type);
int source_type,
int source_type);
int source_type);
int *source_type,
int source_type[MAX_SOURCE_ENTRIES];
source_type source(pixf_img, background);
source_type, interpolator_type> span_gen_type;
source_type source(pixf_img);