Searched refs:max_color (Results 1 - 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A 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[ in update_block_stats() 446 update_block_stats(RpzaContext *s, BlockInfo *bi, uint16_t *block, uint8_t min_color[3], uint8_t max_color[3], int *total_rgb, int *total_pixels, uint8_t avg_color[3], int first_block) update_block_stats() argument 565 uint8_t min_color[3], max_color[3]; rpza_encode_stream() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A 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()
|
H A 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); \
|
Completed in 4 milliseconds