Home
last modified time | relevance | path

Searched refs:FIX (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
Dmpegaudiotab.h37 FIX(0.54119610014619701222),
38 FIX(1.3065629648763763537),
40 FIX(0.50979557910415917998),
41 FIX(2.5629154477415054814),
42 FIX(0.89997622313641556513),
43 FIX(0.60134488693504528634),
45 FIX(0.5024192861881556782),
46 FIX(5.1011486186891552563),
47 FIX(0.78815462345125020249),
48 FIX(0.64682178335999007679),
[all …]
/third_party/ffmpeg/libavutil/
Dcolorspace.h32 #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) macro
38 r_add = FIX(1.40200*255.0/224.0) * cr + ONE_HALF;\
39 g_add = - FIX(0.34414*255.0/224.0) * cb - FIX(0.71414*255.0/224.0) * cr + \
41 b_add = FIX(1.77200*255.0/224.0) * cb + ONE_HALF;\
48 r_add = ONE_HALF + FIX(1.5747 * 255.0 / 224.0) * cr; \
49 g_add = ONE_HALF - FIX(0.1873 * 255.0 / 224.0) * cb - \
50 FIX(0.4682 * 255.0 / 224.0) * cr; \
51 b_add = ONE_HALF + FIX(1.8556 * 255.0 / 224.0) * cb; \
57 y = ((y1) - 16) * FIX(255.0/219.0);\
67 r_add = FIX(1.40200) * cr + ONE_HALF;\
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Djidctint.c131 #define FIX_0_298631336 FIX(0.298631336)
132 #define FIX_0_390180644 FIX(0.390180644)
133 #define FIX_0_541196100 FIX(0.541196100)
134 #define FIX_0_765366865 FIX(0.765366865)
135 #define FIX_0_899976223 FIX(0.899976223)
136 #define FIX_1_175875602 FIX(1.175875602)
137 #define FIX_1_501321110 FIX(1.501321110)
138 #define FIX_1_847759065 FIX(1.847759065)
139 #define FIX_1_961570560 FIX(1.961570560)
140 #define FIX_2_053119869 FIX(2.053119869)
[all …]
Djfdctint.c109 #define FIX_0_298631336 FIX(0.298631336)
110 #define FIX_0_390180644 FIX(0.390180644)
111 #define FIX_0_541196100 FIX(0.541196100)
112 #define FIX_0_765366865 FIX(0.765366865)
113 #define FIX_0_899976223 FIX(0.899976223)
114 #define FIX_1_175875602 FIX(1.175875602)
115 #define FIX_1_501321110 FIX(1.501321110)
116 #define FIX_1_847759065 FIX(1.847759065)
117 #define FIX_1_961570560 FIX(1.961570560)
118 #define FIX_2_053119869 FIX(2.053119869)
[all …]
/third_party/ffmpeg/tests/
Dutils.c28 #define FIX(x) ((int) ((x) * (1 << SCALEBITS) + 0.5)) macro
56 lum[0] = (FIX(0.29900) * r + FIX(0.58700) * g + in rgb24_to_yuv420p()
57 FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; in rgb24_to_yuv420p()
64 lum[1] = (FIX(0.29900) * r + FIX(0.58700) * g + in rgb24_to_yuv420p()
65 FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; in rgb24_to_yuv420p()
75 lum[0] = (FIX(0.29900) * r + FIX(0.58700) * g + in rgb24_to_yuv420p()
76 FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; in rgb24_to_yuv420p()
83 lum[1] = (FIX(0.29900) * r + FIX(0.58700) * g + in rgb24_to_yuv420p()
84 FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; in rgb24_to_yuv420p()
86 cb[0] = ((- FIX(0.16874) * r1 - FIX(0.33126) * g1 + in rgb24_to_yuv420p()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/
Djccolext-mmx.asm288 pmaddwd mm1, [GOTOFF(eax,PW_F0299_F0337)] ; mm1=ROL*FIX(0.299)+GOL*FIX(0.337)
289 pmaddwd mm6, [GOTOFF(eax,PW_F0299_F0337)] ; mm6=ROH*FIX(0.299)+GOH*FIX(0.337)
290 pmaddwd mm7, [GOTOFF(eax,PW_MF016_MF033)] ; mm7=ROL*-FIX(0.168)+GOL*-FIX(0.331)
291 pmaddwd mm4, [GOTOFF(eax,PW_MF016_MF033)] ; mm4=ROH*-FIX(0.168)+GOH*-FIX(0.331)
293 movq MMWORD [wk(4)], mm1 ; wk(4)=ROL*FIX(0.299)+GOL*FIX(0.337)
294 movq MMWORD [wk(5)], mm6 ; wk(5)=ROH*FIX(0.299)+GOH*FIX(0.337)
300 psrld mm1, 1 ; mm1=BOL*FIX(0.500)
301 psrld mm6, 1 ; mm6=BOH*FIX(0.500)
320 pmaddwd mm0, [GOTOFF(eax,PW_F0299_F0337)] ; mm0=REL*FIX(0.299)+GEL*FIX(0.337)
321 pmaddwd mm6, [GOTOFF(eax,PW_F0299_F0337)] ; mm6=REH*FIX(0.299)+GEH*FIX(0.337)
[all …]
Djccolext-sse2.asm317 pmaddwd xmm1, [GOTOFF(eax,PW_F0299_F0337)] ; xmm1=ROL*FIX(0.299)+GOL*FIX(0.337)
318 pmaddwd xmm6, [GOTOFF(eax,PW_F0299_F0337)] ; xmm6=ROH*FIX(0.299)+GOH*FIX(0.337)
319 pmaddwd xmm7, [GOTOFF(eax,PW_MF016_MF033)] ; xmm7=ROL*-FIX(0.168)+GOL*-FIX(0.331)
320 pmaddwd xmm4, [GOTOFF(eax,PW_MF016_MF033)] ; xmm4=ROH*-FIX(0.168)+GOH*-FIX(0.331)
322 movdqa XMMWORD [wk(4)], xmm1 ; wk(4)=ROL*FIX(0.299)+GOL*FIX(0.337)
323 movdqa XMMWORD [wk(5)], xmm6 ; wk(5)=ROH*FIX(0.299)+GOH*FIX(0.337)
329 psrld xmm1, 1 ; xmm1=BOL*FIX(0.500)
330 psrld xmm6, 1 ; xmm6=BOH*FIX(0.500)
349 pmaddwd xmm0, [GOTOFF(eax,PW_F0299_F0337)] ; xmm0=REL*FIX(0.299)+GEL*FIX(0.337)
350 pmaddwd xmm6, [GOTOFF(eax,PW_F0299_F0337)] ; xmm6=REH*FIX(0.299)+GEH*FIX(0.337)
[all …]
Djccolor-sse2.asm22 F_0_081 equ 5329 ; FIX(0.08131)
23 F_0_114 equ 7471 ; FIX(0.11400)
24 F_0_168 equ 11059 ; FIX(0.16874)
25 F_0_250 equ 16384 ; FIX(0.25000)
26 F_0_299 equ 19595 ; FIX(0.29900)
27 F_0_331 equ 21709 ; FIX(0.33126)
28 F_0_418 equ 27439 ; FIX(0.41869)
29 F_0_587 equ 38470 ; FIX(0.58700)
30 F_0_337 equ (F_0_587 - F_0_250) ; FIX(0.58700) - FIX(0.25000)
Djccolor-mmx.asm23 F_0_081 equ 5329 ; FIX(0.08131)
24 F_0_114 equ 7471 ; FIX(0.11400)
25 F_0_168 equ 11059 ; FIX(0.16874)
26 F_0_250 equ 16384 ; FIX(0.25000)
27 F_0_299 equ 19595 ; FIX(0.29900)
28 F_0_331 equ 21709 ; FIX(0.33126)
29 F_0_418 equ 27439 ; FIX(0.41869)
30 F_0_587 equ 38470 ; FIX(0.58700)
31 F_0_337 equ (F_0_587 - F_0_250) ; FIX(0.58700) - FIX(0.25000)
Djdcolor-avx2.asm24 F_0_344 equ 22554 ; FIX(0.34414)
25 F_0_714 equ 46802 ; FIX(0.71414)
26 F_1_402 equ 91881 ; FIX(1.40200)
27 F_1_772 equ 116130 ; FIX(1.77200)
28 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
29 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
30 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djdcolor-mmx.asm23 F_0_344 equ 22554 ; FIX(0.34414)
24 F_0_714 equ 46802 ; FIX(0.71414)
25 F_1_402 equ 91881 ; FIX(1.40200)
26 F_1_772 equ 116130 ; FIX(1.77200)
27 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
28 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
29 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djdmerge-mmx.asm23 F_0_344 equ 22554 ; FIX(0.34414)
24 F_0_714 equ 46802 ; FIX(0.71414)
25 F_1_402 equ 91881 ; FIX(1.40200)
26 F_1_772 equ 116130 ; FIX(1.77200)
27 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
28 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
29 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djdcolor-sse2.asm23 F_0_344 equ 22554 ; FIX(0.34414)
24 F_0_714 equ 46802 ; FIX(0.71414)
25 F_1_402 equ 91881 ; FIX(1.40200)
26 F_1_772 equ 116130 ; FIX(1.77200)
27 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
28 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
29 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djdmerge-sse2.asm23 F_0_344 equ 22554 ; FIX(0.34414)
24 F_0_714 equ 46802 ; FIX(0.71414)
25 F_1_402 equ 91881 ; FIX(1.40200)
26 F_1_772 equ 116130 ; FIX(1.77200)
27 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
28 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
29 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djccolor-avx2.asm23 F_0_081 equ 5329 ; FIX(0.08131)
24 F_0_114 equ 7471 ; FIX(0.11400)
25 F_0_168 equ 11059 ; FIX(0.16874)
26 F_0_250 equ 16384 ; FIX(0.25000)
27 F_0_299 equ 19595 ; FIX(0.29900)
28 F_0_331 equ 21709 ; FIX(0.33126)
29 F_0_418 equ 27439 ; FIX(0.41869)
30 F_0_587 equ 38470 ; FIX(0.58700)
31 F_0_337 equ (F_0_587 - F_0_250) ; FIX(0.58700) - FIX(0.25000)
Djdmerge-avx2.asm24 F_0_344 equ 22554 ; FIX(0.34414)
25 F_0_714 equ 46802 ; FIX(0.71414)
26 F_1_402 equ 91881 ; FIX(1.40200)
27 F_1_772 equ 116130 ; FIX(1.77200)
28 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
29 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
30 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
Djccolext-sse2.asm302 pmaddwd xmm1, [rel PW_F0299_F0337] ; xmm1=ROL*FIX(0.299)+GOL*FIX(0.337)
303 pmaddwd xmm6, [rel PW_F0299_F0337] ; xmm6=ROH*FIX(0.299)+GOH*FIX(0.337)
304 pmaddwd xmm7, [rel PW_MF016_MF033] ; xmm7=ROL*-FIX(0.168)+GOL*-FIX(0.331)
305 pmaddwd xmm4, [rel PW_MF016_MF033] ; xmm4=ROH*-FIX(0.168)+GOH*-FIX(0.331)
307 movdqa XMMWORD [wk(4)], xmm1 ; wk(4)=ROL*FIX(0.299)+GOL*FIX(0.337)
308 movdqa XMMWORD [wk(5)], xmm6 ; wk(5)=ROH*FIX(0.299)+GOH*FIX(0.337)
314 psrld xmm1, 1 ; xmm1=BOL*FIX(0.500)
315 psrld xmm6, 1 ; xmm6=BOH*FIX(0.500)
334 pmaddwd xmm0, [rel PW_F0299_F0337] ; xmm0=REL*FIX(0.299)+GEL*FIX(0.337)
335 pmaddwd xmm6, [rel PW_F0299_F0337] ; xmm6=REH*FIX(0.299)+GEH*FIX(0.337)
[all …]
Djdcolor-sse2.asm23 F_0_344 equ 22554 ; FIX(0.34414)
24 F_0_714 equ 46802 ; FIX(0.71414)
25 F_1_402 equ 91881 ; FIX(1.40200)
26 F_1_772 equ 116130 ; FIX(1.77200)
27 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
28 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
29 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djccolor-avx2.asm23 F_0_081 equ 5329 ; FIX(0.08131)
24 F_0_114 equ 7471 ; FIX(0.11400)
25 F_0_168 equ 11059 ; FIX(0.16874)
26 F_0_250 equ 16384 ; FIX(0.25000)
27 F_0_299 equ 19595 ; FIX(0.29900)
28 F_0_331 equ 21709 ; FIX(0.33126)
29 F_0_418 equ 27439 ; FIX(0.41869)
30 F_0_587 equ 38470 ; FIX(0.58700)
31 F_0_337 equ (F_0_587 - F_0_250) ; FIX(0.58700) - FIX(0.25000)
Djdcolor-avx2.asm24 F_0_344 equ 22554 ; FIX(0.34414)
25 F_0_714 equ 46802 ; FIX(0.71414)
26 F_1_402 equ 91881 ; FIX(1.40200)
27 F_1_772 equ 116130 ; FIX(1.77200)
28 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
29 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
30 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djccolor-sse2.asm22 F_0_081 equ 5329 ; FIX(0.08131)
23 F_0_114 equ 7471 ; FIX(0.11400)
24 F_0_168 equ 11059 ; FIX(0.16874)
25 F_0_250 equ 16384 ; FIX(0.25000)
26 F_0_299 equ 19595 ; FIX(0.29900)
27 F_0_331 equ 21709 ; FIX(0.33126)
28 F_0_418 equ 27439 ; FIX(0.41869)
29 F_0_587 equ 38470 ; FIX(0.58700)
30 F_0_337 equ (F_0_587 - F_0_250) ; FIX(0.58700) - FIX(0.25000)
Djdmerge-sse2.asm23 F_0_344 equ 22554 ; FIX(0.34414)
24 F_0_714 equ 46802 ; FIX(0.71414)
25 F_1_402 equ 91881 ; FIX(1.40200)
26 F_1_772 equ 116130 ; FIX(1.77200)
27 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
28 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
29 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djdmerge-avx2.asm24 F_0_344 equ 22554 ; FIX(0.34414)
25 F_0_714 equ 46802 ; FIX(0.71414)
26 F_1_402 equ 91881 ; FIX(1.40200)
27 F_1_772 equ 116130 ; FIX(1.77200)
28 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1)
29 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414)
30 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200)
Djccolext-avx2.asm376 vpmaddwd ymm1, ymm1, [rel PW_F0299_F0337] ; ymm1=ROL*FIX(0.299)+GOL*FIX(0.337)
377 vpmaddwd ymm6, ymm6, [rel PW_F0299_F0337] ; ymm6=ROH*FIX(0.299)+GOH*FIX(0.337)
378 vpmaddwd ymm7, ymm7, [rel PW_MF016_MF033] ; ymm7=ROL*-FIX(0.168)+GOL*-FIX(0.331)
379 vpmaddwd ymm4, ymm4, [rel PW_MF016_MF033] ; ymm4=ROH*-FIX(0.168)+GOH*-FIX(0.331)
381 vmovdqa YMMWORD [wk(4)], ymm1 ; wk(4)=ROL*FIX(0.299)+GOL*FIX(0.337)
382 vmovdqa YMMWORD [wk(5)], ymm6 ; wk(5)=ROH*FIX(0.299)+GOH*FIX(0.337)
388 vpsrld ymm1, ymm1, 1 ; ymm1=BOL*FIX(0.500)
389 vpsrld ymm6, ymm6, 1 ; ymm6=BOH*FIX(0.500)
408 vpmaddwd ymm0, ymm0, [rel PW_F0299_F0337] ; ymm0=REL*FIX(0.299)+GEL*FIX(0.337)
409 vpmaddwd ymm6, ymm6, [rel PW_F0299_F0337] ; ymm6=REH*FIX(0.299)+GEH*FIX(0.337)
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_fspp.h34 #define FIX(x,s) ((x) * (1 << s) + 0.5) macro
43 static const int16_t FIX_0_382683433 = FIX(0.382683433, 14);
44 static const int16_t FIX_0_541196100 = FIX(0.541196100, 14);
45 static const int16_t FIX_0_707106781 = FIX(M_SQRT1_2 , 14);
46 static const int16_t FIX_1_306562965 = FIX(1.306562965, 14);
47 static const int16_t FIX_1_414213562_A = FIX(M_SQRT2 , 14);
48 static const int16_t FIX_1_847759065 = FIX(1.847759065, 13);
49 static const int16_t FIX_2_613125930 = FIX(-2.613125930, 13);
50 static const int16_t FIX_1_414213562 = FIX(M_SQRT2 , 13);
51 static const int16_t FIX_1_082392200 = FIX(1.082392200, 13);

1234