/third_party/ffmpeg/libswscale/ |
H A D | output.c | 635 int yalpha, int uvalpha, int y, in yuv2mono_2_c_template() 640 int yalpha1 = 4096 - yalpha; in yuv2mono_2_c_template() 642 av_assert2(yalpha <= 4096U); in yuv2mono_2_c_template() 650 Y = (buf0[i + 0] * yalpha1 + buf1[i + 0] * yalpha) >> 19; in yuv2mono_2_c_template() 656 err = (buf0[i + 1] * yalpha1 + buf1[i + 1] * yalpha) >> 19; in yuv2mono_2_c_template() 670 Y = (buf0[i + 0] * yalpha1 + buf1[i + 0] * yalpha) >> 19; in yuv2mono_2_c_template() 672 Y = (buf0[i + 1] * yalpha1 + buf1[i + 1] * yalpha) >> 19; in yuv2mono_2_c_template() 674 Y = (buf0[i + 2] * yalpha1 + buf1[i + 2] * yalpha) >> 19; in yuv2mono_2_c_template() 676 Y = (buf0[i + 3] * yalpha1 + buf1[i + 3] * yalpha) >> 19; in yuv2mono_2_c_template() 678 Y = (buf0[i + 4] * yalpha1 + buf1[i + 4] * yalpha) >> 1 in yuv2mono_2_c_template() 632 yuv2mono_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target) yuv2mono_2_c_template() argument 836 yuv2422_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target) yuv2422_2_c_template() argument 967 yuv2ya16_2_c_template(SwsContext *c, const int32_t *buf[2], const int32_t *unused_ubuf[2], const int32_t *unused_vbuf[2], const int32_t *abuf[2], uint16_t *dest, int dstW, int yalpha, int unused_uvalpha, int y, enum AVPixelFormat target, int unused_hasAlpha, int unused_eightbytes) yuv2ya16_2_c_template() argument 1107 yuv2rgba64_2_c_template(SwsContext *c, const int32_t *buf[2], const int32_t *ubuf[2], const int32_t *vbuf[2], const int32_t *abuf[2], uint16_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes) yuv2rgba64_2_c_template() argument 1339 yuv2rgba64_full_2_c_template(SwsContext *c, const int32_t *buf[2], const int32_t *ubuf[2], const int32_t *vbuf[2], const int32_t *abuf[2], uint16_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha, int eightbytes) yuv2rgba64_full_2_c_template() argument 1734 yuv2rgb_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_2_c_template() argument 2087 yuv2rgb_full_2_c_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_full_2_c_template() argument 2469 yuv2ya8_2_c(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2ya8_2_c() argument [all...] |
H A D | swscale_internal.h | 209 * @param yalpha luma/alpha scaling coefficients for the second input line. 211 * 4096 - yalpha 225 int dstW, int yalpha, int uvalpha, int y);
|
/third_party/ffmpeg/libswscale/ppc/ |
H A D | swscale_vsx.c | 683 int yalpha, int uvalpha, int y, in yuv2rgb_full_2_vsx_template() 691 const int16_t yalpha1 = 4096 - yalpha; in yuv2rgb_full_2_vsx_template() 701 const vec_s16 vyalpha = vec_splats((int16_t) yalpha); in yuv2rgb_full_2_vsx_template() 740 av_assert2(yalpha <= 4096U); in yuv2rgb_full_2_vsx_template() 805 int yalpha, int uvalpha, int y, in yuv2rgb_2_vsx_template() 813 const int16_t yalpha1 = 4096 - yalpha; in yuv2rgb_2_vsx_template() 823 const vec_s16 vyalpha = vec_splats((int16_t) yalpha); in yuv2rgb_2_vsx_template() 870 av_assert2(yalpha <= 4096U); in yuv2rgb_2_vsx_template() 1309 int yalpha, int uvalpha, int y) \ 1312 dest, dstW, yalpha, uvalph 680 yuv2rgb_full_2_vsx_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_full_2_vsx_template() argument 802 yuv2rgb_2_vsx_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target, int hasAlpha) yuv2rgb_2_vsx_template() argument 1536 yuv2422_2_vsx_template(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y, enum AVPixelFormat target) yuv2422_2_vsx_template() argument [all...] |
/third_party/ffmpeg/libswscale/x86/ |
H A D | swscale_template.c | 795 int dstW, int yalpha, int uvalpha, int y) in yuv2rgb32_2() 859 int dstW, int yalpha, int uvalpha, int y) in yuv2bgr24_2() 882 int dstW, int yalpha, int uvalpha, int y) in yuv2rgb555_2() 911 int dstW, int yalpha, int uvalpha, int y) in yuv2rgb565_2() 980 int dstW, int yalpha, int uvalpha, int y) in yuv2yuyv422_2() 792 yuv2rgb32_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2rgb32_2() argument 856 yuv2bgr24_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2bgr24_2() argument 879 yuv2rgb555_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2rgb555_2() argument 908 yuv2rgb565_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2rgb565_2() argument 977 yuv2yuyv422_2(SwsContext *c, const int16_t *buf[2], const int16_t *ubuf[2], const int16_t *vbuf[2], const int16_t *abuf[2], uint8_t *dest, int dstW, int yalpha, int uvalpha, int y) yuv2yuyv422_2() argument
|
/third_party/glfw/tests/ |
H A D | cursor.c | 92 const float yalpha = (float) y == c ? c : k / (float) fabs(y - c); in star() local 94 return (float) fmax(0.f, fmin(1.f, i * salpha * 0.2f + salpha * xalpha * yalpha)); in star()
|