Searched refs:DESCALE (Results 1 - 25 of 27) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Djfdctint_template.c74 #define DESCALE(x,n) RIGHT_SHIFT((x) + (1 << ((n) - 1)), n) macro
76 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
223 dataptr[2] = (int16_t) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
225 dataptr[6] = (int16_t) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
251 dataptr[7] = (int16_t) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
252 dataptr[5] = (int16_t) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
253 dataptr[3] = (int16_t) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
254 dataptr[1] = (int16_t) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
300 dataptr[DCTSIZE*0] = DESCALE(tmp10 + tmp11, OUT_SHIFT);
301 dataptr[DCTSIZE*4] = DESCALE(tmp1
[all...]
H A Djrevdct.c150 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
577 dataptr[0] = (int16_t) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS);
578 dataptr[7] = (int16_t) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS);
579 dataptr[1] = (int16_t) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS);
580 dataptr[6] = (int16_t) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS);
581 dataptr[2] = (int16_t) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS);
582 dataptr[5] = (int16_t) DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS);
583 dataptr[3] = (int16_t) DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS);
584 dataptr[4] = (int16_t) DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS);
923 dataptr[DCTSIZE*0] = (int16_t) DESCALE(tmp1
[all...]
H A Djfdctfst.c134 #undef DESCALE macro
135 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
143 #define MULTIPLY(var,const) ((int16_t) DESCALE((var) * (const), CONST_BITS))
330 #undef DESCALE macro
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Djfdctint_template.c74 #define DESCALE(x,n) RIGHT_SHIFT((x) + (1 << ((n) - 1)), n) macro
76 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
223 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
225 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
251 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
252 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
253 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
254 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
300 dataptr[DCTSIZE*0] = DESCALE(tmp10 + tmp11, OUT_SHIFT);
301 dataptr[DCTSIZE*4] = DESCALE(tmp1
[all...]
H A Djrevdct.c150 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
577 dataptr[0] = (DCTELEM) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS);
578 dataptr[7] = (DCTELEM) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS);
579 dataptr[1] = (DCTELEM) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS);
580 dataptr[6] = (DCTELEM) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS);
581 dataptr[2] = (DCTELEM) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS);
582 dataptr[5] = (DCTELEM) DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS);
583 dataptr[3] = (DCTELEM) DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS);
584 dataptr[4] = (DCTELEM) DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS);
923 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp1
[all...]
H A Djfdctfst.c134 #undef DESCALE macro
135 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
143 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
330 #undef DESCALE macro
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/sh4/
H A Didct_sh4.c85 #define DESCALE(x,n) (x)*(1.0f/(1<<(n))) macro
199 block[8*0] = DESCALE(t0 + fr0,3);
200 block[8*7] = DESCALE(t0 - fr0,3);
201 block[8*1] = DESCALE(t1 + fr1,3);
202 block[8*6] = DESCALE(t1 - fr1,3);
203 block[8*2] = DESCALE(t2 + fr2,3);
204 block[8*5] = DESCALE(t2 - fr2,3);
205 block[8*3] = DESCALE(t3 + fr3,3);
206 block[8*4] = DESCALE(t3 - fr3,3);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/jpeg/
H A Djfdctint.c177 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
179 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
205 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
206 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
207 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
208 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
238 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS);
239 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS);
242 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
244 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z
[all...]
H A Djidctint.c258 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS);
259 wsptr[DCTSIZE*7] = (int) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS);
260 wsptr[DCTSIZE*1] = (int) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS);
261 wsptr[DCTSIZE*6] = (int) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS);
262 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS);
263 wsptr[DCTSIZE*5] = (int) DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS);
264 wsptr[DCTSIZE*3] = (int) DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS);
265 wsptr[DCTSIZE*4] = (int) DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS);
291 JSAMPLE dcval = range_limit[(int) DESCALE((JPEG_INT32) wsptr[0], PASS1_BITS+3)
360 outptr[0] = range_limit[(int) DESCALE(tmp1
[all...]
H A Djidctred.c188 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1);
189 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1);
190 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1);
191 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1);
205 JSAMPLE dcval = range_limit[(int) DESCALE((JPEG_INT32) wsptr[0], PASS1_BITS+3)
247 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2,
250 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2,
253 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0,
256 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0,
323 wsptr[DCTSIZE*0] = (int) DESCALE(tmp1
[all...]
H A Djidctflt.c221 outptr[0] = range_limit[(int) DESCALE((JPEG_INT32) (tmp0 + tmp7), 3)
223 outptr[7] = range_limit[(int) DESCALE((JPEG_INT32) (tmp0 - tmp7), 3)
225 outptr[1] = range_limit[(int) DESCALE((JPEG_INT32) (tmp1 + tmp6), 3)
227 outptr[6] = range_limit[(int) DESCALE((JPEG_INT32) (tmp1 - tmp6), 3)
229 outptr[2] = range_limit[(int) DESCALE((JPEG_INT32) (tmp2 + tmp5), 3)
231 outptr[5] = range_limit[(int) DESCALE((JPEG_INT32) (tmp2 - tmp5), 3)
233 outptr[4] = range_limit[(int) DESCALE((JPEG_INT32) (tmp3 + tmp4), 3)
235 outptr[3] = range_limit[(int) DESCALE((JPEG_INT32) (tmp3 - tmp4), 3)
H A Djfdctfst.c97 #undef DESCALE macro
98 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
H A Djidctfst.c110 #undef DESCALE macro
111 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
182 SHIFT_TEMPS /* for DESCALE */
H A Djdct.h146 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
H A Djddctmgr.c200 DESCALE(MULTIPLY16V16((JPEG_INT32) qtbl->quantval[i],
H A Djcdctmgr.c120 DESCALE(MULTIPLY16V16((JPEG_INT32) qtbl->quantval[i],
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/jpeg-7/
H A Djfdctint.c371 dataptr[2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS-PASS1_BITS);
375 DESCALE(z2 + z3 - MULTIPLY(tmp1 - tmp3, FIX(0.707106781)), /* c2+c6-c4 */
377 dataptr[6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS-PASS1_BITS);
391 dataptr[1] = (DCTELEM) DESCALE(tmp0, CONST_BITS-PASS1_BITS);
392 dataptr[3] = (DCTELEM) DESCALE(tmp1, CONST_BITS-PASS1_BITS);
393 dataptr[5] = (DCTELEM) DESCALE(tmp2, CONST_BITS-PASS1_BITS);
421 DESCALE(MULTIPLY(z1 + tmp1 + tmp3, FIX(1.306122449)), /* 64/49 */
429 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS+PASS1_BITS);
433 DESCALE(z2 + z3 - MULTIPLY(tmp1 - tmp3, FIX(0.923568041)), /* c2+c6-c4 */
435 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z
[all...]
H A Djidctflt.c221 outptr[0] = range_limit[(int) DESCALE((INT32) (tmp0 + tmp7), 3)
223 outptr[7] = range_limit[(int) DESCALE((INT32) (tmp0 - tmp7), 3)
225 outptr[1] = range_limit[(int) DESCALE((INT32) (tmp1 + tmp6), 3)
227 outptr[6] = range_limit[(int) DESCALE((INT32) (tmp1 - tmp6), 3)
229 outptr[2] = range_limit[(int) DESCALE((INT32) (tmp2 + tmp5), 3)
231 outptr[5] = range_limit[(int) DESCALE((INT32) (tmp2 - tmp5), 3)
233 outptr[4] = range_limit[(int) DESCALE((INT32) (tmp3 + tmp4), 3)
235 outptr[3] = range_limit[(int) DESCALE((INT32) (tmp3 - tmp4), 3)
H A Djidctfst.c110 #undef DESCALE macro
111 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
182 SHIFT_TEMPS /* for DESCALE */
H A Djfdctfst.c98 #undef DESCALE macro
99 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro
107 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
H A Djddctmgr.c313 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i],
H A Djcdctmgr.c406 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i],
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/arm/
H A Djrevdct_arm.S137 @ Compute DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS)
143 @ Compute DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS)
149 @ Compute DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS)
155 @ Compute DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS)
161 @ Compute DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS)
167 @ Compute DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS)
173 @ Compute DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS)
179 @ Compute DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS)
276 @ Compute DESCALE(tmp10 + tmp3, CONST_BITS+PASS1_BITS+3)
282 @ Compute DESCALE(tmp1
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/arm/
H A Djrevdct_arm.S137 @ Compute DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS)
143 @ Compute DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS)
149 @ Compute DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS)
155 @ Compute DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS)
161 @ Compute DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS)
167 @ Compute DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS)
173 @ Compute DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS)
179 @ Compute DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS)
276 @ Compute DESCALE(tmp10 + tmp3, CONST_BITS+PASS1_BITS+3)
282 @ Compute DESCALE(tmp1
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/libmpcodecs/
H A Dvf_fspp.c709 #define DESCALE(x,n) (((x) + (1 << ((n)-1))) >> n) macro
1662 outptr[0*output_stride]+= DESCALE(tmp0 + tmp7, 3);
1663 outptr[1*output_stride]+= DESCALE(tmp1 + tmp6, 3);
1664 outptr[2*output_stride]+= DESCALE(tmp2 + tmp5, 3);
1665 outptr[3*output_stride]+= DESCALE(tmp3 - tmp4, 3);
1666 outptr[4*output_stride]+= DESCALE(tmp3 + tmp4, 3);
1667 outptr[5*output_stride]+= DESCALE(tmp2 - tmp5, 3);
1668 outptr[6*output_stride]+= DESCALE(tmp1 - tmp6, 3); //no += ?
1669 outptr[7*output_stride]+= DESCALE(tmp0 - tmp7, 3); //no += ?

Completed in 294 milliseconds

12