Home
last modified time | relevance | path

Searched refs:min_color (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Drpzaenc.c385 static int encode_four_color_block(uint8_t *min_color, uint8_t *max_color, in encode_four_color_block() argument
393 rounded_min = rgb24_to_rgb555(min_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()
460 min_color[0] = UINT8_MAX; in update_block_stats()
461 min_color[1] = UINT8_MAX; in update_block_stats()
462 min_color[2] = UINT8_MAX; in update_block_stats()
479 min_color_blk[0] = min_color[0]; in update_block_stats()
480 min_color_blk[1] = min_color[1]; in update_block_stats()
481 min_color_blk[2] = min_color[2]; in update_block_stats()
[all …]
/third_party/boost/boost/gil/extension/toolbox/color_spaces/
Dhsl.hpp61 float32_t min_color = (std::min)( temp_red, (std::min)( 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 ()()
Dhsv.hpp65 float32_t min_color = (std::min)( temp_red, (std::min)( temp_green, temp_blue )); in operator ()() local
70 float32_t diff = max_color - min_color; in operator ()()
/third_party/ffmpeg/libavfilter/
Dvf_vibrance.c87 float min_color = FFMIN3(r, g, b); in vibrance_slice8() local
88 float color_saturation = max_color - min_color; in vibrance_slice8()
146 float min_color = FFMIN3(r, g, b); in vibrance_slice16() local
147 float color_saturation = max_color - min_color; in vibrance_slice16()
203 float min_color = FFMIN3(r, g, b); in vibrance_slice8p() local
204 float color_saturation = max_color - min_color; in vibrance_slice8p()
260 float min_color = FFMIN3(r, g, b); in vibrance_slice16p() local
261 float color_saturation = max_color - min_color; in vibrance_slice16p()
Dvf_selectivecolor.c343 … const int min_color = FFMIN3(r, g, b); \
350 … | (r == min_color) << RANGE_CYANS \
352 … | (g == min_color) << RANGE_MAGENTAS \
354 … | (b == min_color) << RANGE_YELLOWS \
368 … const int scale = pr->get_scale(r, g, b, min_color, max_color); \