HomeSort by relevance Sort by last modified time
    Searched refs:q_value (Results 1 - 2 of 2) sorted by null

  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
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...]
fastquant.cpp 154 Int tmp, coeff, q_value; local
221 q_value = AANScale[i]; /* load scale AAN */
224 coeff = aan_scale(q_value, coeff, round, QPdiv2);
225 q_value = coeff_quant(coeff, q_scale, shift);
228 if (q_value)
231 //coeff = PV_MIN(ac_clip,PV_MAX(-ac_clip-1, q_value));
232 q_value = coeff_clip(q_value, ac_clip);
233 qcoeff[zz>>1] = q_value;
236 //coeff = PV_MIN(2047,PV_MAX(-2048, q_value));
274 Int tmp, coeff, q_value; local
549 Int tmp, coeff, q_value = 0; local
678 Int tmp, coeff, q_value = 0; local
855 Int q_value, coeff, stepsize; local
923 Int tmp, coeff, q_value; local
    [all...]

Completed in 37 milliseconds