Lines Matching defs:channel
177 /* Output channel descriptor */
184 /* Output channel descriptors for one and zero */
212 /* Texture format descriptor. Maps texture format with output channel descriptors, source data and sampler descriptor */
1194 const _out_ch_desc& get_descriptor_for_channel(const _texture_format& format, const size_t channel);
1299 /** Extracts value of each channel from source data of given format
1634 * @param index_of_swizzled_channel Index of swizzled channel
1856 /** Get index of channel that will be accessed after "swizzle" is applied
1858 * @param channel_idx Index of channel before "swizzle" is applied
1861 * @return Index of "swizzled" channel
1867 size_t channel = 0;
1872 channel = 0;
1875 channel = 1;
1878 channel = 2;
1881 channel = 3;
1884 channel = CHANNEL_INDEX_ONE;
1887 channel = CHANNEL_INDEX_ZERO;
1893 return channel;
1896 /** Gets descriptor of output channel from texture format descriptor
1899 * @param channel Index of "swizzled" channel
1901 * @return Descriptor of output channel
1903 const _out_ch_desc& get_descriptor_for_channel(const _texture_format& format, const size_t channel)
1907 switch (channel)
1946 /** Gets internal_format of output channel for given texture format
1949 * @param channel Index of "swizzled" channel
1953 glw::GLenum get_internal_format_for_channel(const _texture_format& format, const size_t channel)
1955 return get_descriptor_for_channel(format, channel).m_internal_format;
2574 * @param index_of_swizzled_channel Index of swizzled channel
2666 const size_t channel = get_swizzled_channel_idx(test_case.m_channel_index, param);
2668 const glw::GLenum out_internal_format = get_internal_format_for_channel(source_format, channel);
2698 prepareAndTestProgram(test_case, out_format_idx, out_channel_size, channel, true);
2699 prepareAndTestProgram(test_case, out_format_idx, out_channel_size, channel, false);
2798 const glw::GLchar* channel = channels[test_case.m_channel_index];
2816 Utils::replaceToken("CHANNEL", position, channel, fs);
2879 const glw::GLchar* channel = channels[test_case.m_channel_index];
2892 Utils::replaceToken("CHANNEL", position, channel, vs);
3049 const size_t channel = get_swizzled_channel_idx(test_case.m_channel_index, param);
3050 const glw::GLenum out_internal_format = get_internal_format_for_channel(source_format, channel);
3076 * @param index_of_swizzled_channel Index of swizzled channel
3663 * @param index_of_swizzled_channel Index of swizzled channel
4165 * @param index_of_swizzled_channel Index of swizzled channel