Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_scaler.c434 uint32 weight_reciprocal, int out_width) { in _scale_row_down_9in() argument
487 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in()
488 out[(x * 3) + 0] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in()
489 out[(x * 3) + 0] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in()
497 uint32 bot_weight, uint32 weight_reciprocal, in _scale_row_down_8in() argument
548 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in()
549 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in()
550 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in()
557 uint32 top_weight, uint32 bot_weight, uint32 weight_reciprocal, int out_width) { in _scale_row_down_7in() argument
604 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_7in()
[all …]