Home
last modified time | relevance | path

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

/dports/multimedia/libdv/libdv-24218c36bed3b0a3bd5a57d5790ac12ade44e88d/encodedv/
H A Dppmqscale.c104 unsigned long weight2y = 65536 - weight1y; in enlarge_picture() local
120 + ((((line2[x] * weight2y) >> 16) in enlarge_picture()
124 + ((((line2[3 + x] * weight2y) >> 16) in enlarge_picture()
128 + ((((line2[x + 1] * weight2y) >> 16) in enlarge_picture()
132 + ((((line2[3 + x + 1] * weight2y) >> 16) in enlarge_picture()
136 + ((((line2[x + 2] * weight2y) >> 16) in enlarge_picture()
140 + ((((line2[3 + x + 2] * weight2y) >> 16) in enlarge_picture()
214 unsigned long weight2y = 65536 - weight1y; in shrink_picture() local
231 w = (weight2y * weight1x) >> 16; in shrink_picture()
245 w = (weight2y * weight2x) >> 16; in shrink_picture()
/dports/graphics/blender/blender-2.91.0/source/blender/imbuf/intern/
H A Dscaling.c503 uintptr_t weight2y = 65536 - weight1y; in enlarge_picture_byte() local
517 ((((line2[x] * weight2y) >> 16) * weight1x) >> 16) + in enlarge_picture_byte()
581 uintptr_t weight2y = 65535 - weight1y; in shrink_picture_byte() local
601 w = (weight2y * weight1x) >> 16; in shrink_picture_byte()
617 w = (weight2y * weight2x) >> 16; in shrink_picture_byte()
699 const float weight2y = 1.0f - weight1y; in enlarge_picture_float() local
711 const float w21 = weight2y * weight1x; in enlarge_picture_float()
713 const float w22 = weight2y * weight2x; in enlarge_picture_float()
771 uintptr_t weight2y = 1.0f - weight1y; in shrink_picture_float() local
789 w = weight2y * weight1x; in shrink_picture_float()
[all …]