Searched refs:n_channels (Results 1 – 6 of 6) sorted by relevance
976 void initPixels(std::vector<TYPE>& pixels, GLuint n_pixels, GLuint n_channels) in initPixels() argument978 if (n_channels == 1) in initPixels()983 else if (n_channels == 2) in initPixels()992 else if (n_channels == 4) in initPixels()1876 static const GLuint n_channels = 4; in verifyInvalidResults() local1878 std::vector<GLubyte> pixels(n_pixels * n_channels); in verifyInvalidResults()1879 initPixels(pixels, n_pixels, n_channels); in verifyInvalidResults()1892 const GLubyte drawn_red = pixels[i * n_channels]; in verifyInvalidResults()1907 static const GLuint n_channels = 4; in verifyInvalidResults() local1909 std::vector<GLbyte> pixels(n_pixels * n_channels); in verifyInvalidResults()[all …]
9 field:u32 n_channels; offset:8; size:4; signed:0;
1314 size_t n_channels = 0; in calculate_values_from_source() local1325 n_channels = 1; in calculate_values_from_source()1334 n_channels = 2; in calculate_values_from_source()1343 n_channels = 3; in calculate_values_from_source()1352 n_channels = 4; in calculate_values_from_source()1488 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()1502 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()1516 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()1530 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()1544 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()[all …]
460 …const GLuint n_channels = (left_n_channels >= right_n_channels) ? right_n_channels : left_n_cha… in comparePixels() local466 for (GLuint i = 0; i < n_channels; ++i) in comparePixels()