Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_scaler.c957 sint32 weight_y, uint64 position_x, uint64 increment_x, int out_width) { in _scale_row_up() argument
989 out[(x * 3) + 0] = ((top_val_r << 10) + weight_y * (bot_val_r - top_val_r)) >> 20; in _scale_row_up()
990 out[(x * 3) + 1] = ((top_val_g << 10) + weight_y * (bot_val_g - top_val_g)) >> 20; in _scale_row_up()
991 out[(x * 3) + 2] = ((top_val_b << 10) + weight_y * (bot_val_b - top_val_b)) >> 20; in _scale_row_up()