Searched defs:q_value (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastquant_inline.h30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
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
52 coeff_clip(int32 q_value, int32 ac_clip) argument
62 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
83 smlabb(int32 q_value, int32 coeff, int32 round) argument
92 int32 q_value; local
108 clip_2047(int32 q_value, int32 tmp) argument
124 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
149 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
173 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
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
202 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
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
221 smlabb(int32 q_value, int32 coeff, int32 round) argument
225 smlabb q_value, coeff, q_value, round local
233 int32 q_value; local
237 smulbb q_value, q_scale, coeff local
243 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
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
268 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
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
298 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
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
317 smlabb(int32 q_value, int32 coeff, int32 round) argument
321 mla q_value, coeff, q_value, round local
329 int32 q_value; local
333 mul q_value, q_scale, coeff local
340 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
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
365 coeff_clip(int32 q_value, int32 ac_clip) argument
371 add coeff, q_value, ac_clip local
373 eorhi q_value, ac_clip, q_value, asr #31 local
392 clip_2047(int32 q_value, int32 tmp) argument
399 add coeff, q_value, tmp local
402 eorhi q_value, tmp, q_value, asr #31 local
408 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
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
428 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
469 coeff_clip(int32 q_value, int32 ac_clip) argument
483 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
510 smlabb(int32 q_value, int32 coeff, int32 round) argument
553 clip_2047(int32 q_value, int32 tmp) argument
567 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
598 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
[all...]
H A Dfastquant.cpp154 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 115 milliseconds