Lines Matching defs:channel_offsets
158 int channel_offsets[4]; // 0 = red, 1 = green, 2 = blue and 3 = alpha
1364 channel_buffer[0] = src + (td->xsize * s->channel_offsets[0]) + data_window_offset;
1365 channel_buffer[1] = src + (td->xsize * s->channel_offsets[1]) + data_window_offset;
1366 channel_buffer[2] = src + (td->xsize * s->channel_offsets[2]) + data_window_offset;
1369 channel_buffer[0] = src + (td->xsize * s->channel_offsets[1]) + data_window_offset;
1372 if (s->channel_offsets[3] >= 0)
1373 channel_buffer[3] = src + (td->xsize * s->channel_offsets[3]) + data_window_offset;
1377 int channel_count = s->channel_offsets[3] >= 0 ? 4 : rgb_channel_count;
1566 s->channel_offsets[0] = -1;
1567 s->channel_offsets[1] = -1;
1568 s->channel_offsets[2] = -1;
1569 s->channel_offsets[3] = -1;
1739 if (channel_index >= 0 && s->channel_offsets[channel_index] == -1) { /* channel has not been previously assigned */
1748 s->channel_offsets[channel_index] = s->current_channel_offset;
1779 if (FFMIN3(s->channel_offsets[0],
1780 s->channel_offsets[1],
1781 s->channel_offsets[2]) < 0) {
1782 if (s->channel_offsets[0] < 0)
1784 if (s->channel_offsets[1] < 0)
1786 if (s->channel_offsets[2] < 0)
2061 s->channel_offsets[i] *= 2;
2067 if (s->channel_offsets[3] >= 0) {
2083 if (s->channel_offsets[3] >= 0) {