Searched refs:max_color (Results 1 – 8 of 8) sorted by relevance
/third_party/boost/boost/gil/extension/toolbox/color_spaces/ |
D | hsl.hpp | 62 float32_t max_color = (std::max)( temp_red, (std::max)( temp_green, temp_blue )); in operator ()() local 64 if( std::abs( min_color - max_color ) < 0.001 ) in operator ()() 77 float32_t diff = max_color - min_color; in operator ()() 81 lightness = ( min_color + max_color ) / 2.f; in operator ()() 88 / ( min_color + max_color ); in operator ()() 92 saturation = ( max_color - min_color ) in operator ()() 98 if( std::abs( max_color - temp_red ) < 0.0001f ) in operator ()() 105 else if( std::abs( max_color - temp_green) < 0.0001f ) in operator ()()
|
D | hsv.hpp | 66 float32_t max_color = (std::max)( temp_red, (std::max)( temp_green, temp_blue )); in operator ()() local 68 value = max_color; in operator ()() 70 float32_t diff = max_color - min_color; in operator ()() 72 if( max_color < 0.0001f ) in operator ()() 78 saturation = diff / max_color; in operator ()() 89 if( (std::abs)( boost::numeric_cast<float32_t>(temp_red - max_color) ) < 0.0001f ) in operator ()() 94 …else if( temp_green >= max_color ) // means == but >= avoids compiler warning; color is never grea… in operator ()()
|
/third_party/ffmpeg/libavcodec/ |
D | rpzaenc.c | 385 static int encode_four_color_block(uint8_t *min_color, uint8_t *max_color, in encode_four_color_block() argument 394 rounded_max = rgb24_to_rgb555(max_color); in encode_four_color_block() 402 get_colors(min_color, max_color, color4); in encode_four_color_block() 446 uint8_t min_color[3], uint8_t max_color[3], in update_block_stats() 463 max_color[0] = 0; in update_block_stats() 464 max_color[1] = 0; in update_block_stats() 465 max_color[2] = 0; in update_block_stats() 482 max_color_blk[0] = max_color[0]; in update_block_stats() 483 max_color_blk[1] = max_color[1]; in update_block_stats() 484 max_color_blk[2] = max_color[2]; in update_block_stats() [all …]
|
/third_party/boost/boost/graph/ |
D | sequential_vertex_coloring.hpp | 50 size_type max_color = 0; in sequential_vertex_coloring() local 88 while (j < max_color && mark[j] == i) in sequential_vertex_coloring() 91 if (j == max_color) // All colors are used up. Add one more color in sequential_vertex_coloring() 92 ++max_color; in sequential_vertex_coloring() 98 return max_color; in sequential_vertex_coloring()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_vibrance.c | 86 float max_color = FFMAX3(r, g, b); in vibrance_slice8() local 88 float color_saturation = max_color - min_color; in vibrance_slice8() 145 float max_color = FFMAX3(r, g, b); in vibrance_slice16() local 147 float color_saturation = max_color - min_color; in vibrance_slice16() 202 float max_color = FFMAX3(r, g, b); in vibrance_slice8p() local 204 float color_saturation = max_color - min_color; in vibrance_slice8p() 259 float max_color = FFMAX3(r, g, b); in vibrance_slice16p() local 261 float color_saturation = max_color - min_color; in vibrance_slice16p()
|
D | vf_selectivecolor.c | 344 … const int max_color = FFMAX3(r, g, b); \ 349 … const uint32_t range_flag = (r == max_color) << RANGE_REDS \ 351 … | (g == max_color) << RANGE_GREENS \ 353 … | (b == max_color) << RANGE_BLUES \ 368 … const int scale = pr->get_scale(r, g, b, min_color, max_color); \
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/ |
D | SDL_DirectFB_WM.h | 41 DFBColor max_color; member
|
D | SDL_DirectFB_WM.c | 159 s->SetColor(s, COLOR_EXPAND(t->max_color)); in DirectFB_WM_RedrawLayout()
|