Searched refs:alpha_val (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | proresdec2.c | 51 #define ALPHA_SHIFT_16_TO_10(alpha_val) (alpha_val >> 6) argument 52 #define ALPHA_SHIFT_8_TO_10(alpha_val) ((alpha_val << 2) | (alpha_val >> 6)) argument 53 #define ALPHA_SHIFT_16_TO_12(alpha_val) (alpha_val >> 4) argument 54 #define ALPHA_SHIFT_8_TO_12(alpha_val) ((alpha_val << 4) | (alpha_val >> 4)) argument 59 int i, idx, val, alpha_val; in unpack_alpha() local 62 alpha_val = mask; in unpack_alpha() 75 alpha_val = (alpha_val + val) & mask; in unpack_alpha() 78 dst[idx++] = ALPHA_SHIFT_16_TO_10(alpha_val); in unpack_alpha() 80 dst[idx++] = ALPHA_SHIFT_16_TO_12(alpha_val); in unpack_alpha() 84 dst[idx++] = ALPHA_SHIFT_8_TO_10(alpha_val); in unpack_alpha() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-blend.c | 411 #define BLENDLOOP(op, dest_type, max, shift, alpha_val) \ in gst_video_blend() argument 418 asrc = ((guint) tmpsrcline[j]) * alpha_val / max; \ in gst_video_blend() 429 … BLENDC (op, max, alpha_val, asrc, tmpsrcline[j + 1] << shift, adst, dest[j + 1], final_alpha); \ in gst_video_blend() 430 … BLENDC (op, max, alpha_val, asrc, tmpsrcline[j + 2] << shift, adst, dest[j + 2], final_alpha); \ in gst_video_blend() 431 … BLENDC (op, max, alpha_val, asrc, tmpsrcline[j + 3] << shift, adst, dest[j + 3], final_alpha); \ in gst_video_blend()
|