Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Drpzaenc.c458 uint8_t avg_color_blk[3]; in update_block_stats() local
514 avg_color_blk[0] = total_rgb_blk[0] / total_pixels_blk; in update_block_stats()
515 avg_color_blk[1] = total_rgb_blk[1] / total_pixels_blk; in update_block_stats()
516 avg_color_blk[2] = total_rgb_blk[2] / total_pixels_blk; in update_block_stats()
521 is_in_range = (max_color_blk[0] - avg_color_blk[0] <= threshold && in update_block_stats()
522 max_color_blk[1] - avg_color_blk[1] <= threshold && in update_block_stats()
523 max_color_blk[2] - avg_color_blk[2] <= threshold && in update_block_stats()
524 avg_color_blk[0] - min_color_blk[0] <= threshold && in update_block_stats()
525 avg_color_blk[1] - min_color_blk[1] <= threshold && in update_block_stats()
526 avg_color_blk[2] - min_color_blk[2] <= threshold); in update_block_stats()
[all …]