Home | History | Annotate | Download | only in source

Lines Matching refs:YuvConstants

55 #define YUVTORGB(yuvconstants)                                                 \
58 xmm0 = _mm_maddubs_epi16(xmm0, *(__m128i*)yuvconstants->kUVToB); \
59 xmm1 = _mm_maddubs_epi16(xmm1, *(__m128i*)yuvconstants->kUVToG); \
60 xmm2 = _mm_maddubs_epi16(xmm2, *(__m128i*)yuvconstants->kUVToR); \
61 xmm0 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasB, xmm0); \
62 xmm1 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasG, xmm1); \
63 xmm2 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasR, xmm2); \
64 xmm4 = _mm_mulhi_epu16(xmm4, *(__m128i*)yuvconstants->kYToRgb); \
92 const struct YuvConstants* yuvconstants,
99 YUVTORGB(yuvconstants)
112 const struct YuvConstants* yuvconstants,
118 YUVTORGB(yuvconstants)
2030 #define YUVTORGB_AVX2(YuvConstants) __asm { \
2031 __asm vpmaddubsw ymm2, ymm0, ymmword ptr [YuvConstants + KUVTOR] /* R UV */\
2032 __asm vpmaddubsw ymm1, ymm0, ymmword ptr [YuvConstants + KUVTOG] /* G UV */\
2033 __asm vpmaddubsw ymm0, ymm0, ymmword ptr [YuvConstants + KUVTOB] /* B UV */\
2034 __asm vmovdqu ymm3, ymmword ptr [YuvConstants + KUVBIASR] \
2036 __asm vmovdqu ymm3, ymmword ptr [YuvConstants + KUVBIASG] \
2038 __asm vmovdqu ymm3, ymmword ptr [YuvConstants + KUVBIASB] \
2041 __asm vpmulhuw ymm4, ymm4, ymmword ptr [YuvConstants + KYTORGB] \
2087 const struct YuvConstants* yuvconstants,
2097 mov ebx, [esp + 12 + 20] // yuvconstants
2128 const struct YuvConstants* yuvconstants,
2140 mov ebx, [esp + 16 + 24] // yuvconstants
2170 const struct YuvConstants* yuvconstants,
2180 mov ebx, [esp + 12 + 20] // yuvconstants
2209 const struct YuvConstants* yuvconstants,
2219 mov ebx, [esp + 12 + 20] // yuvconstants
2248 const struct YuvConstants* yuvconstants,
2256 mov ebx, [esp + 8 + 16] // yuvconstants
2283 const struct YuvConstants* yuvconstants,
2291 mov ebx, [esp + 8 + 16] // yuvconstants
2317 const struct YuvConstants* yuvconstants,
2323 mov ebx, [esp + 4 + 12] // yuvconstants
2348 const struct YuvConstants* yuvconstants,
2354 mov ebx, [esp + 4 + 12] // yuvconstants
2381 const struct YuvConstants* yuvconstants,
2391 mov ebx, [esp + 12 + 20] // yuvconstants
2511 #define YUVTORGB(YuvConstants) __asm { \
2515 __asm movdqa xmm0, xmmword ptr [YuvConstants + KUVBIASB] \
2516 __asm pmaddubsw xmm1, xmmword ptr [YuvConstants + KUVTOB] \
2518 __asm movdqa xmm1, xmmword ptr [YuvConstants + KUVBIASG] \
2519 __asm pmaddubsw xmm2, xmmword ptr [YuvConstants + KUVTOG] \
2521 __asm movdqa xmm2, xmmword ptr [YuvConstants + KUVBIASR] \
2522 __asm pmaddubsw xmm3, xmmword ptr [YuvConstants + KUVTOR] \
2524 __asm pmulhuw xmm4, xmmword ptr [YuvConstants + KYTORGB] \
2634 const struct YuvConstants* yuvconstants,
2644 mov ebx, [esp + 12 + 20] // yuvconstants
2671 const struct YuvConstants* yuvconstants,
2681 mov ebx, [esp + 12 + 20] // yuvconstants
2709 const struct YuvConstants* yuvconstants,
2719 mov ebx, [esp + 12 + 20] // yuvconstants
2752 const struct YuvConstants* yuvconstants,
2762 mov ebx, [esp + 12 + 20] // yuvconstants
2790 const struct YuvConstants* yuvconstants,
2802 mov ebx, [esp + 16 + 24] // yuvconstants
2830 const struct YuvConstants* yuvconstants,
2841 mov ebp, [esp + 16 + 20] // yuvconstants
2868 const struct YuvConstants* yuvconstants,
2876 mov ebx, [esp + 8 + 16] // yuvconstants
2900 const struct YuvConstants* yuvconstants,
2908 mov ebx, [esp + 8 + 16] // yuvconstants
2931 const struct YuvConstants* yuvconstants,
2937 mov ebx, [esp + 4 + 12] // yuvconstants
2959 const struct YuvConstants* yuvconstants,
2965 mov ebx, [esp + 4 + 12] // yuvconstants
2987 const struct YuvConstants* yuvconstants,
2997 mov ebx, [esp + 12 + 20] // yuvconstants