Searched refs:n_components_per_pixel (Results 1 – 2 of 2) sorted by relevance
1272 const unsigned int n_components_per_pixel = 4; in prepareTextureData() local1273 const unsigned int line_size = n_components_per_pixel * m_texture_size; in prepareTextureData()1280 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData()2202 const unsigned int n_components_per_pixel = 1; in prepareTextureData() local2203 const unsigned int line_size = n_components_per_pixel * m_texture_size; in prepareTextureData()2212 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData()2477 const unsigned int n_components_per_pixel = 1; in prepareTextureData() local2478 const unsigned int line_size = n_components_per_pixel * texture_size; in prepareTextureData()2488 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData()
265 const glw::GLuint n_components_per_pixel = N_Components; in fillImage() local266 const glw::GLuint n_components_per_line = n_components_per_pixel * image_width; in fillImage()274 for (glw::GLuint component = 0; component < n_components_per_pixel; ++component) in fillImage()276 out_data[line_offset + x * n_components_per_pixel + component] = pixel_components[component]; in fillImage()877 static const glw::GLuint n_components_per_pixel = N_Components; in prepareDataForTexture() local880 const glw::GLuint n_total_componenets = n_components_per_pixel * n_pixels; in prepareDataForTexture()