fastquant_inline.h | 30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) 32 q_value = coeff * q_value + round; 33 coeff = q_value >> 16; 43 int32 q_value; local 45 q_value = coeff * q_scale; //q_value = -((-(coeff + QPdiv2)*q_scale)>>LSL); 46 q_value >>= shift; //q_value = (((coeff - QPdiv2)*q_scale)>>LSL ); 47 q_value += ((UInt)q_value >> 31); /* add one if negative * 92 int32 q_value; local 178 smlabb q_value, coeff, q_value, round local 179 movs coeff, q_value, asr #16 local 189 int32 q_value; local 193 smulbb q_value, q_scale, coeff \/*mov coeff, coeff, lsl #14*\/ local 194 mov coeff, q_value, asr shift \/*smull tmp, coeff, q_scale, coeff*\/ local 195 add q_value, coeff, coeff, lsr #31 local 208 cmp q_value, #0 local 209 smulbb coeff, q_value, QPx2 local 212 add q_value, coeff, tmp local 213 subs q_value, q_value, #3840 local 214 subcss q_value, q_value, #254 local 225 smlabb q_value, coeff, q_value, round local 233 int32 q_value; local 237 smulbb q_value, q_scale, coeff local 249 movs coeff, q_value, lsl #1 local 253 smulbb q_value, coeff, stepsize local 254 addlt q_value, q_value, #15 local 255 mov q_value, q_value, asr #4 local 256 add coeff, q_value, tmp local 259 eorhi q_value, tmp, q_value, asr #31 local 273 mla q_value, coeff, q_value, round local 274 movs coeff, q_value, asr #16 local 284 int32 q_value; local 288 mul q_value, q_scale, coeff \/*mov coeff, coeff, lsl #14*\/ local 289 mov coeff, q_value, asr shift \/*smull tmp, coeff, q_scale, coeff*\/ local 290 add q_value, coeff, coeff, lsr #31 local 304 cmp q_value, #0 local 305 mul coeff, q_value, QPx2 local 308 add q_value, coeff, tmp local 309 subs q_value, q_value, #3840 local 310 subcss q_value, q_value, #254 local 321 mla q_value, coeff, q_value, round local 329 int32 q_value; local 333 mul q_value, q_scale, coeff local 346 movs coeff, q_value, lsl #1 local 350 mul q_value, coeff, stepsize local 351 addlt q_value, q_value, #15 local 352 mov q_value, q_value, asr #4 local 353 add coeff, q_value, tmp local 356 eorhi q_value, tmp, q_value, asr #31 local 371 add coeff, q_value, ac_clip local 373 eorhi q_value, ac_clip, q_value, asr #31 local 399 add coeff, q_value, tmp local 402 eorhi q_value, tmp, q_value, asr #31 local 414 movs q_value, q_value, lsl #1 local 415 addlt q_value, q_value, #15 local 416 mov q_value, q_value, asr #4 local 417 add coeff, q_value, tmp local 420 eorhi q_value, tmp, q_value, asr #31 local [all...] |