Searched refs:max_color (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | rpzaenc.c | 386 static int encode_four_color_block(uint8_t *min_color, uint8_t *max_color, in encode_four_color_block() argument 395 rounded_max = rgb24_to_rgb555(max_color); in encode_four_color_block() 403 get_colors(min_color, max_color, color4); in encode_four_color_block() 447 uint8_t min_color[3], uint8_t max_color[3], in update_block_stats() 464 max_color[0] = 0; in update_block_stats() 465 max_color[1] = 0; in update_block_stats() 466 max_color[2] = 0; in update_block_stats() 483 max_color_blk[0] = max_color[0]; in update_block_stats() 484 max_color_blk[1] = max_color[1]; in update_block_stats() 485 max_color_blk[2] = max_color[2]; in update_block_stats() [all …]
|
/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 | 347 … const int max_color = FFMAX3(r, g, b); \ 352 … const uint32_t range_flag = (r == max_color) << RANGE_REDS \ 354 … | (g == max_color) << RANGE_GREENS \ 356 … | (b == max_color) << RANGE_BLUES \ 371 … const int scale = pr->get_scale(r, g, b, min_color, max_color); \
|